![]() ![]() Return (pCMP_WaitNoPendingInstallEvents(0) = WAIT_TIMEOUT) Trust the operating system to suppress AutoRun when appropriate. ![]() We're running on a release of the operating system that doesn't supply this function. (CMP_WAITNOPENDINGINSTALLEVENTS_PROC)GetProcAddress(hModule, Should never happen since we're linked to SetupAPI, but. HModule = GetModuleHandle(TEXT("setupapi.dll")) To make your device installation application compatible with platforms that do not support CMP_WaitNoPendingInstallEvents, the application should include the following code: BOOLĬMP_WAITNOPENDINGINSTALLEVENTS_PROC pCMP_WaitNoPendingInstallEvents If the return value from this function indicates other installation activities are pending (for example, the Found New Hardware Wizard might be active), the device installation application should exit. To make this determination, the device installation application should call CMP_WaitNoPendingInstallEvents, typically with a zero time-out value. Your device installation application should determine whether other device installation activities are in progress before performing its installations.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |