⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 setupapi.hpp

📁 human interface devices.zip 一套组件
💻 HPP
📖 第 1 页 / 共 5 页
字号:

typedef BOOL __stdcall (*TSetupRemoveFileLogEntryW)(void * FileLogHandle, const wchar_t * LogSectionName, const wchar_t * TargetFilename);

typedef BOOL __stdcall (*TSetupRemoveFileLogEntry)(void * FileLogHandle, const char * LogSectionName, const char * TargetFilename);

typedef BOOL __stdcall (*TSetupQueryFileLogA)(void * FileLogHandle, const char * LogSectionName, const char * TargetFilename, unsigned DesiredInfo, char * DataOut, unsigned ReturnBufferSize, PDWORD RequiredSize);

typedef BOOL __stdcall (*TSetupQueryFileLogW)(void * FileLogHandle, const wchar_t * LogSectionName, const wchar_t * TargetFilename, unsigned DesiredInfo, wchar_t * DataOut, unsigned ReturnBufferSize, PDWORD RequiredSize);

typedef BOOL __stdcall (*TSetupQueryFileLog)(void * FileLogHandle, const char * LogSectionName, const char * TargetFilename, unsigned DesiredInfo, char * DataOut, unsigned ReturnBufferSize, PDWORD RequiredSize);

typedef BOOL __stdcall (*TSetupOpenLog)(BOOL Erase);

typedef BOOL __stdcall (*TSetupLogErrorA)(const char * MessageString, unsigned Severity);

typedef BOOL __stdcall (*TSetupLogErrorW)(const wchar_t * MessageString, unsigned Severity);

typedef BOOL __stdcall (*TSetupLogError)(const char * MessageString, unsigned Severity);

typedef void __stdcall (*TSetupCloseLog)(void);

typedef void * __stdcall (*TSetupDiCreateDeviceInfoList)(System::PGUID ClassGuid, HWND hwndParent);

typedef void * __stdcall (*TSetupDiCreateDeviceInfoListExA)(System::PGUID ClassGuid, HWND hwndParent, const char * MachineName, void * Reserved);

typedef void * __stdcall (*TSetupDiCreateDeviceInfoListExW)(System::PGUID ClassGuid, HWND hwndParent, const wchar_t * MachineName, void * Reserved);

typedef void * __stdcall (*TSetupDiCreateDeviceInfoListEx)(System::PGUID ClassGuid, HWND hwndParent, const char * MachineName, void * Reserved);

typedef BOOL __stdcall (*TSetupDiGetDeviceInfoListClass)(void * DeviceInfoSet, GUID &ClassGuid);

typedef BOOL __stdcall (*TSetupDiGetDeviceInfoListDetailA)(void * DeviceInfoSet, SP_DEVINFO_LIST_DETAIL_DATA_A &DeviceInfoSetDetailData);

typedef BOOL __stdcall (*TSetupDiGetDeviceInfoListDetailW)(void * DeviceInfoSet, SP_DEVINFO_LIST_DETAIL_DATA_W &DeviceInfoSetDetailData);

typedef BOOL __stdcall (*TSetupDiGetDeviceInfoListDetail)(void * DeviceInfoSet, SP_DEVINFO_LIST_DETAIL_DATA_A &DeviceInfoSetDetailData);

typedef BOOL __stdcall (*TSetupDiCreateDeviceInfoA)(void * DeviceInfoSet, const char * DeviceName, GUID &ClassGuid, const char * DeviceDescription, HWND hwndParent, unsigned CreationFlags, PSPDevInfoData DeviceInfoData);

typedef BOOL __stdcall (*TSetupDiCreateDeviceInfoW)(void * DeviceInfoSet, const wchar_t * DeviceName, GUID &ClassGuid, const wchar_t * DeviceDescription, HWND hwndParent, unsigned CreationFlags, PSPDevInfoData DeviceInfoData);

typedef BOOL __stdcall (*TSetupDiCreateDeviceInfo)(void * DeviceInfoSet, const char * DeviceName, GUID &ClassGuid, const char * DeviceDescription, HWND hwndParent, unsigned CreationFlags, PSPDevInfoData DeviceInfoData);

typedef BOOL __stdcall (*TSetupDiOpenDeviceInfoA)(void * DeviceInfoSet, const char * DeviceInstanceId, HWND hwndParent, unsigned OpenFlags, PSPDevInfoData DeviceInfoData);

typedef BOOL __stdcall (*TSetupDiOpenDeviceInfoW)(void * DeviceInfoSet, const wchar_t * DeviceInstanceId, HWND hwndParent, unsigned OpenFlags, PSPDevInfoData DeviceInfoData);

typedef BOOL __stdcall (*TSetupDiOpenDeviceInfo)(void * DeviceInfoSet, const char * DeviceInstanceId, HWND hwndParent, unsigned OpenFlags, PSPDevInfoData DeviceInfoData);

typedef BOOL __stdcall (*TSetupDiGetDeviceInstanceIdA)(void * DeviceInfoSet, PSPDevInfoData DeviceInfoData, char * DeviceInstanceId, unsigned DeviceInstanceIdSize, PDWORD RequiredSize);

typedef BOOL __stdcall (*TSetupDiGetDeviceInstanceIdW)(void * DeviceInfoSet, PSPDevInfoData DeviceInfoData, wchar_t * DeviceInstanceId, unsigned DeviceInstanceIdSize, PDWORD RequiredSize);

typedef BOOL __stdcall (*TSetupDiGetDeviceInstanceId)(void * DeviceInfoSet, PSPDevInfoData DeviceInfoData, char * DeviceInstanceId, unsigned DeviceInstanceIdSize, PDWORD RequiredSize);

typedef BOOL __stdcall (*TSetupDiDeleteDeviceInfo)(void * DeviceInfoSet, PSPDevInfoData DeviceInfoData);

typedef BOOL __stdcall (*TSetupDiEnumDeviceInfo)(void * DeviceInfoSet, unsigned MemberIndex, SP_DEVINFO_DATA &DeviceInfoData);

typedef BOOL __stdcall (*TSetupDiDestroyDeviceInfoList)(void * DeviceInfoSet);

typedef BOOL __stdcall (*TSetupDiEnumDeviceInterfaces)(void * DeviceInfoSet, PSPDevInfoData DeviceInfoData, const GUID &InterfaceClassGuid, unsigned MemberIndex, SP_DEVICE_INTERFACE_DATA &DeviceInterfaceData);

typedef BOOL __stdcall (*TSetupDiEnumInterfaceDevice)(void * DeviceInfoSet, PSPDevInfoData DeviceInfoData, GUID &InterfaceClassGuid, unsigned MemberIndex, SP_DEVICE_INTERFACE_DATA &DeviceInterfaceData);

typedef BOOL __stdcall (*TSetupDiCreateDeviceInterfaceA)(void * DeviceInfoSet, SP_DEVINFO_DATA &DeviceInfoData, GUID &InterfaceClassGuid, const char * ReferenceString, unsigned CreationFlags, PSPDeviceInterfaceData DeviceInterfaceData);

typedef BOOL __stdcall (*TSetupDiCreateDeviceInterfaceW)(void * DeviceInfoSet, SP_DEVINFO_DATA &DeviceInfoData, GUID &InterfaceClassGuid, const wchar_t * ReferenceString, unsigned CreationFlags, PSPDeviceInterfaceData DeviceInterfaceData);

typedef BOOL __stdcall (*TSetupDiCreateDeviceInterface)(void * DeviceInfoSet, SP_DEVINFO_DATA &DeviceInfoData, GUID &InterfaceClassGuid, const char * ReferenceString, unsigned CreationFlags, PSPDeviceInterfaceData DeviceInterfaceData);

typedef BOOL __stdcall (*TSetupDiCreateInterfaceDeviceA)(void * DeviceInfoSet, SP_DEVINFO_DATA &DeviceInfoData, GUID &InterfaceClassGuid, const char * ReferenceString, unsigned CreationFlags, PSPDeviceInterfaceData DeviceInterfaceData);

typedef BOOL __stdcall (*TSetupDiCreateInterfaceDeviceW)(void * DeviceInfoSet, SP_DEVINFO_DATA &DeviceInfoData, GUID &InterfaceClassGuid, const wchar_t * ReferenceString, unsigned CreationFlags, PSPDeviceInterfaceData DeviceInterfaceData);

typedef BOOL __stdcall (*TSetupDiCreateInterfaceDevice)(void * DeviceInfoSet, SP_DEVINFO_DATA &DeviceInfoData, GUID &InterfaceClassGuid, const char * ReferenceString, unsigned CreationFlags, PSPDeviceInterfaceData DeviceInterfaceData);

typedef BOOL __stdcall (*TSetupDiOpenDeviceInterfaceA)(void * DeviceInfoSet, const char * DevicePath, unsigned OpenFlags, PSPDeviceInterfaceData DeviceInterfaceData);

typedef BOOL __stdcall (*TSetupDiOpenDeviceInterfaceW)(void * DeviceInfoSet, const wchar_t * DevicePath, unsigned OpenFlags, PSPDeviceInterfaceData DeviceInterfaceData);

typedef BOOL __stdcall (*TSetupDiOpenDeviceInterface)(void * DeviceInfoSet, const char * DevicePath, unsigned OpenFlags, PSPDeviceInterfaceData DeviceInterfaceData);

typedef BOOL __stdcall (*TSetupDiOpenInterfaceDeviceA)(void * DeviceInfoSet, const char * DevicePath, unsigned OpenFlags, PSPDeviceInterfaceData DeviceInterfaceData);

typedef BOOL __stdcall (*TSetupDiOpenInterfaceDeviceW)(void * DeviceInfoSet, const wchar_t * DevicePath, unsigned OpenFlags, PSPDeviceInterfaceData DeviceInterfaceData);

typedef BOOL __stdcall (*TSetupDiOpenInterfaceDevice)(void * DeviceInfoSet, const char * DevicePath, unsigned OpenFlags, PSPDeviceInterfaceData DeviceInterfaceData);

typedef BOOL __stdcall (*TSetupDiGetDeviceInterfaceAlias)(void * DeviceInfoSet, SP_DEVICE_INTERFACE_DATA &DeviceInterfaceData, GUID &AliasInterfaceClassGuid, SP_DEVICE_INTERFACE_DATA &AliasDeviceInterfaceData);

typedef BOOL __stdcall (*TSetupDiGetInterfaceDeviceAlias)(void * DeviceInfoSet, SP_DEVICE_INTERFACE_DATA &DeviceInterfaceData, GUID &AliasInterfaceClassGuid, SP_DEVICE_INTERFACE_DATA &AliasDeviceInterfaceData);

typedef BOOL __stdcall (*TSetupDiDeleteDeviceInterfaceData)(void * DeviceInfoSet, SP_DEVICE_INTERFACE_DATA &DeviceInterfaceData);

typedef BOOL __stdcall (*TSetupDiDeleteInterfaceDeviceData)(void * DeviceInfoSet, SP_DEVICE_INTERFACE_DATA &DeviceInterfaceData);

typedef BOOL __stdcall (*TSetupDiRemoveDeviceInterface)(void * DeviceInfoSet, SP_DEVICE_INTERFACE_DATA &DeviceInterfaceData);

typedef BOOL __stdcall (*TSetupDiRemoveInterfaceDevice)(void * DeviceInfoSet, SP_DEVICE_INTERFACE_DATA &DeviceInterfaceData);

typedef BOOL __stdcall (*TSetupDiGetDeviceInterfaceDetailA)(void * DeviceInfoSet, PSPDeviceInterfaceData DeviceInterfaceData, PSPDeviceInterfaceDetailDataA DeviceInterfaceDetailData, unsigned DeviceInterfaceDetailDataSize, unsigned &RequiredSize, PSPDevInfoData Device);

typedef BOOL __stdcall (*TSetupDiGetDeviceInterfaceDetailW)(void * DeviceInfoSet, PSPDeviceInterfaceData DeviceInterfaceData, PSPDeviceInterfaceDetailDataW DeviceInterfaceDetailData, unsigned DeviceInterfaceDetailDataSize, unsigned &RequiredSize, PSPDevInfoData Device);

typedef BOOL __stdcall (*TSetupDiGetDeviceInterfaceDetail)(void * DeviceInfoSet, PSPDeviceInterfaceData DeviceInterfaceData, PSPDeviceInterfaceDetailDataA DeviceInterfaceDetailData, unsigned DeviceInterfaceDetailDataSize, unsigned &RequiredSize, PSPDevInfoData Device);

typedef BOOL __stdcall (*TSetupDiGetInterfaceDeviceDetailA)(void * DeviceInfoSet, PSPDeviceInterfaceData DeviceInterfaceData, PSPDeviceInterfaceDetailDataA DeviceInterfaceDetailData, unsigned DeviceInterfaceDetailDataSize, PDWORD RequiredSize, PSPDevInfoData Device);

typedef BOOL __stdcall (*TSetupDiGetInterfaceDeviceDetailW)(void * DeviceInfoSet, PSPDeviceInterfaceData DeviceInterfaceData, PSPDeviceInterfaceDetailDataW DeviceInterfaceDetailData, unsigned DeviceInterfaceDetailDataSize, PDWORD RequiredSize, PSPDevInfoData Device);

typedef BOOL __stdcall (*TSetupDiGetInterfaceDeviceDetail)(void * DeviceInfoSet, PSPDeviceInterfaceData DeviceInterfaceData, PSPDeviceInterfaceDetailDataA DeviceInterfaceDetailData, unsigned DeviceInterfaceDetailDataSize, PDWORD RequiredSize, PSPDevInfoData Device);

typedef BOOL __stdcall (*TSetupDiInstallDeviceInterfaces)(void * DeviceInfoSet, SP_DEVINFO_DATA &DeviceInfoData);

typedef BOOL __stdcall (*TSetupDiInstallInterfaceDevices)(void * DeviceInfoSet, SP_DEVINFO_DATA &DeviceInfoData);

typedef BOOL __stdcall (*TSetupDiRegisterDeviceInfo)(void * DeviceInfoSet, SP_DEVINFO_DATA &DeviceInfoData, unsigned Flags, TSPDetsigCmpProc CompareProc, void * CompareContext, PSPDevInfoData DupDeviceInfoData);

typedef BOOL __stdcall (*TSetupDiBuildDriverInfoList)(void * DeviceInfoSet, PSPDevInfoData DeviceInfoData, unsigned DriverType);

typedef BOOL __stdcall (*TSetupDiCancelDriverInfoSearch)(void * DeviceInfoSet);

typedef BOOL __stdcall (*TSetupDiEnumDriverInfoA)(void * DeviceInfoSet, PSPDevInfoData DeviceInfoData, unsigned DriverType, unsigned MemberIndex, SP_DRVINFO_DATA_V2_A &DriverInfoData);

typedef BOOL __stdcall (*TSetupDiEnumDriverInfoW)(void * DeviceInfoSet, PSPDevInfoData DeviceInfoData, unsigned DriverType, unsigned MemberIndex, SP_DRVINFO_DATA_V2_W &DriverInfoData);

typedef BOOL __stdcall (*TSetupDiEnumDriverInfo)(void * DeviceInfoSet, PSPDevInfoData DeviceInfoData, unsigned DriverType, unsigned MemberIndex, SP_DRVINFO_DATA_V2_A &DriverInfoData);

typedef BOOL __stdcall (*TSetupDiGetSelectedDriverA)(void * DeviceInfoSet, PSPDevInfoData DeviceInfoData, SP_DRVINFO_DATA_V2_A &DriverInfoData);

typedef BOOL __stdcall (*TSetupDiGetSelectedDriverW)(void * DeviceInfoSet, PSPDevInfoData DeviceInfoData, SP_DRVINFO_DATA_V2_W &DriverInfoData);

typedef BOOL __stdcall (*TSetupDiGetSelectedDriver)(void * DeviceInfoSet, PSPDevInfoData DeviceInfoData, SP_DRVINFO_DATA_V2_A &DriverInfoData);

typedef BOOL __stdcall (*TSetupDiSetSelectedDriverA)(void * DeviceInfoSet, PSPDevInfoData DeviceInfoData, PSPDrvInfoDataV2A DriverInfoData);

typedef BOOL __stdcall (*TSetupDiSetSelectedDriverW)(void * DeviceInfoSet, PSPDevInfoData DeviceInfoData, PSPDrvInfoDataV2W DriverInfoData);

typedef BOOL __stdcall (*TSetupDiSetSelectedDriver)(void * DeviceInfoSet, PSPDevInfoData DeviceInfoData, PSPDrvInfoDataV2A DriverInfoData);

typedef BOOL __stdcall (*TSetupDiGetDriverInfoDetailA)(void * DeviceInfoSet, PSPDevInfoData DeviceInfoData, SP_DRVINFO_DATA_V2_A &DriverInfoData, PSPDrvInfoDetailDataA DriverInfoDetailData, unsigned DriverInfoDetailDataSize, PDWORD RequiredSize);

typedef BOOL __stdcall (*TSetupDiGetDriverInfoDetailW)(void * DeviceInfoSet, PSPDevInfoData DeviceInfoData, SP_DRVINFO_DATA_V2_W &DriverInfoData, PSPDrvInfoDetailDataW DriverInfoDetailData, unsigned DriverInfoDetailDataSize, PDWORD RequiredSize);

typedef BOOL __stdcall (*TSetupDiGetDriverInfoDetail)(void * DeviceInfoSet, PSPDevInfoData DeviceInfoData, SP_DRVINFO_DATA_V2_A &DriverInfoData, PSPDrvInfoDetailDataA DriverInfoDetailData, unsigned DriverInfoDetailDataSize, PDWORD RequiredSize);

typedef BOOL __stdcall (*TSetupDiDestroyDriverInfoList)(void * DeviceInfoSet, PSPDevInfoData DeviceInfoData, unsigned DriverType);

typedef void * __stdcall (*TSetupDiGetClassDevsA)(System::PGUID ClassGuid, const char * Enumerator, HWND hwndParent, unsigned Flags);

typedef void * __stdcall (*TSetupDiGetClassDevsW)(System::PGUID ClassGuid, const wchar_t * Enumerator, HWND hwndParent, unsigned Flags);

typedef void * __stdcall (*TSetupDiGetClassDevs)(System::PGUID ClassGuid, const char * Enumerator, HWND hwndParent, unsigned Flags);

typedef void * __stdcall (*TSetupDiGetClassDevsExA)(System::PGUID ClassGuid, const char * Enumerator, HWND hwndParent, unsigned Flags, void * DeviceInfoSet, const char * MachineName, void * Reserved);

typedef void * __stdcall (*TSetupDiGetClassDevsExW)(System::PGUID ClassGuid, const wchar_t * Enumerator, HWND hwndParent, unsigned Flags, void * DeviceInfoSet, const wchar_t * MachineName, void * Reserved);

typedef void * __stdcall (*TSetupDiGetClassDevsEx)(System::PGUID ClassGuid, const char * Enumerator, HWND hwndParent, unsigned Flags, void * DeviceInfoSet, const char * MachineName, void * Reserved);

typedef BOOL __stdcall (*TSetupDiGetINFClassA)(const char * InfName, GUID &ClassGuid, char * ClassName, unsigned ClassNameSize, PDWORD RequiredSize);

typedef BOOL __stdcall (*TSetupDiGetINFClassW)(const wchar_t * InfName, GUID &ClassGuid, wchar_t * ClassName, unsigned ClassNameSize, PDWORD RequiredSize);

typedef BOOL __stdcall (*TSetupDiGetINFClass)(const char * InfName, GUID &ClassGuid, char * ClassName, unsigned ClassNameSize, PDWORD RequiredSize);

typedef BOOL __stdcall (*TSetupDiBuildClassInfoList)(unsigned Flags, System::PGUID ClassGuidList, unsigned ClassGuidListSize, unsigned &RequiredSize);

typedef BOOL __stdcall (*TSetupDiBuildClassInfoListExA)(unsigned Flags, System::PGUID ClassGuidList, unsigned ClassGuidListSize, unsigned &RequiredSize, const char * MachineName, void * Reserved);

typedef BOOL __stdcall (*TSetupDiBuildClassInfoListExW)(unsigned Flags, System::PGUID ClassGuidList, unsigned ClassGuidListSize, unsigned &RequiredSize, const wchar_t * MachineName, void * Reserved);

typedef BOOL __stdcall (*TSetupDiBuildClassInfoListEx)(unsigned Flags, System::PGUID ClassGuidList, unsigned ClassGuidListSize, unsigned &RequiredSize, const char * MachineName, void * Reserved);

typedef BOOL __stdcall (*TSetupDiGetClassDescriptionA)(GUID &ClassGuid, char * ClassDescription, unsigned ClassDescriptionSize, PDWORD RequiredSize);

typedef BOOL __stdcall (*TSetupDiGetClassDescriptionW)(GUID &ClassGuid, wchar_t * ClassDescription, unsigned ClassDescriptionSize, PDWORD RequiredSize);

typedef BOOL __stdcall (*TSetupDiGetClassDescription)(GUID &ClassGuid, char * ClassDescription, unsigned ClassDescriptionSize, PDWORD RequiredSize);

typedef BOOL __stdcall (*TSetupDiGetClassDescriptionExA)(GUID &ClassGuid, char * ClassDescription, unsigned ClassDescriptionSize, PDWORD RequiredSize, const char * MachineName, void * Reserved);

typedef BOOL __stdcall (*TSetupDiGetClassDescriptionExW)(GUID &ClassGuid, wchar_t * ClassDescription, unsigned ClassDescriptionSize, PDWORD RequiredSize, const wchar_t * MachineName, void * Reserved);

typedef BOOL __stdcall (*TSetupDiGetClassDescriptionEx)(GUID &ClassGuid, char * ClassDescription, unsigned ClassDescriptionSize, PDWORD RequiredSize, const char * MachineName, void * Reserved);

typedef BOOL __stdcall (*TSetupDiCallClassInstaller)(unsigned InstallFunction, void * DeviceInfoSet, PSPDevInfoData DeviceInfoData);

typedef BOOL __stdcall (*TSetupDiSelectDevice)(void * DeviceInfoSet, PSPDevInfoData DeviceInfoData);

typedef BOOL __stdcall (*TSetupDiSelectBestCompatDrv)(void * DeviceInfoSet, PSPDevInfoData DeviceInfoData);

typedef BOOL __stdcall (*TSetupDiInstallDevice)(void * DeviceInfoSet, SP_DEVINFO_DATA &DeviceInfoData);

typedef BOOL __stdcall (*TSetupDiInstallDriverFiles)(void * DeviceInfoSet, SP_DEVINFO_DATA &DeviceInfoData);

typedef BOOL __stdcall (*TSetupDiRegisterCoDeviceInstallers)(void * DeviceInfoSet, SP_DEVINFO_DATA &DeviceInfoData);

typedef BOOL __stdcall (*TSetupDiRemoveDevice)(void * DeviceInfoSet, SP_DEVINFO_DATA &DeviceInfoData);

typedef BOOL __stdcall (*TSetupDiUnremoveDevice)(void * DeviceInfoSet, SP_DEVINFO_DATA &DeviceInfoData);

typedef BOOL __stdcall (*TSetupDiMoveDuplicateDevice)(void * DeviceInfoSet, SP_DEVINFO_DATA &DestinationDeviceInfoData);

typedef BOOL __stdcall (*TSetupDiChangeState)(void * DeviceInfoSet, SP_DEVINFO_DATA &DeviceInfoData);

typedef BOOL __stdcall (*TSetupDiInstallClassA)(HWND hwndParent, const char * InfFileName, unsigned Flags, void * FileQueue);

typedef BOOL __stdcall (*TSetupDiInstallClassW)(HWND hwndParent, const wchar_t * InfFileName, unsigned Flags, void * FileQueue);

typedef BOOL __stdcall (*TSetupDiInstallClass)(HWND hwndParent, const char * InfFileName, unsigned Flags, void * FileQueue);

typedef BOOL __stdcall (*TSetupDiInstallClassExA)(HWND hwndParent, const char * InfFileName, unsigned Flags, void * FileQueue, System::PGUID InterfaceClassGuid, void * Reserved1, void * Reserved2);

typedef BOOL __stdcall (*TSetupDiInstallClassExW)(HWND hwndParent, const w

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -