Lines Matching defs:hDeviceInfo

2481         HDEVINFO hDeviceInfo = INVALID_HANDLE_VALUE;
2500 hDeviceInfo = SetupDiGetClassDevs (&netGuid, NULL, NULL, DIGCF_PRESENT);
2502 if (hDeviceInfo == INVALID_HANDLE_VALUE)
2510 ok = SetupDiEnumDeviceInfo (hDeviceInfo, index, &DeviceInfoData);
2524 ok = SetupDiGetDeviceRegistryProperty (hDeviceInfo,
2540 ok = SetupDiGetDeviceRegistryProperty (hDeviceInfo,
2599 ok = SetupDiSetSelectedDevice (hDeviceInfo, &DeviceInfoData);
2604 ok = SetupDiCallClassInstaller (DIF_REMOVE, hDeviceInfo, &DeviceInfoData);
2612 if (hDeviceInfo != INVALID_HANDLE_VALUE)
2613 SetupDiDestroyDeviceInfoList (hDeviceInfo);
2633 HDEVINFO hDeviceInfo = INVALID_HANDLE_VALUE;
2668 hDeviceInfo = SetupDiCreateDeviceInfoList(&netGuid, NULL);
2669 if (hDeviceInfo == INVALID_HANDLE_VALUE)
2681 fResult = SetupDiCreateDeviceInfo (hDeviceInfo, className, &netGuid, NULL, NULL,
2689 fResult = SetupDiSetSelectedDevice (hDeviceInfo, &DeviceInfoData);
2698 fResult = SetupDiGetDeviceInstallParams (hDeviceInfo, &DeviceInfoData,
2713 fResult = SetupDiSetDeviceInstallParams(hDeviceInfo, &DeviceInfoData,
2736 fResult = SetupDiBuildDriverInfoList (hDeviceInfo, &DeviceInfoData,
2749 ret = SetupDiEnumDriverInfo (hDeviceInfo, &DeviceInfoData,
2772 if (SetupDiGetDriverInfoDetail (hDeviceInfo,
2806 fResult = SetupDiSetSelectedDriver (hDeviceInfo, &DeviceInfoData,
2813 fResult = SetupDiCallClassInstaller (DIF_REGISTERDEVICE, hDeviceInfo,
2826 fResult = SetupDiCallClassInstaller (DIF_ALLOW_INSTALL, hDeviceInfo,
2838 fResult = SetupDiGetDeviceInstallParams (hDeviceInfo, &DeviceInfoData,
2847 fResult = SetupDiSetDeviceInstallParams (hDeviceInfo, &DeviceInfoData,
2869 fResult = SetupDiCallClassInstaller (DIF_INSTALLDEVICEFILES, hDeviceInfo,
2876 fResult = SetupDiGetDeviceInstallParams (hDeviceInfo, &DeviceInfoData,
2881 fResult = SetupDiSetDeviceInstallParams(hDeviceInfo, &DeviceInfoData,
2892 hDeviceInfo,
2903 hDeviceInfo,
2910 hDeviceInfo,
2917 hkey = SetupDiOpenDevRegKey(hDeviceInfo,
2933 if (!SetupDiGetDeviceRegistryPropertyW(hDeviceInfo, &DeviceInfoData,
2947 if (!SetupDiGetDeviceRegistryPropertyW(hDeviceInfo, &DeviceInfoData,
2969 if (hDeviceInfo != INVALID_HANDLE_VALUE)
2973 SetupDiCallClassInstaller(DIF_REMOVE, hDeviceInfo, &DeviceInfoData);
2975 found = SetupDiDeleteDeviceInfo(hDeviceInfo, &DeviceInfoData);
2979 SetupDiDestroyDriverInfoList(hDeviceInfo, &DeviceInfoData,
2982 SetupDiDestroyDeviceInfoList (hDeviceInfo);