📄 setupapi.hpp
字号:
typedef BOOL __stdcall (*TSetupSetDirectoryIdEx)(void * InfHandle, unsigned Id, const char * Directory, unsigned Flags, unsigned Reserved1, void * Reserved2);
typedef BOOL __stdcall (*TSetupGetSourceInfoA)(void * InfHandle, unsigned SourceId, unsigned InfoDesired, char * ReturnBuffer, unsigned ReturnBufferSize, PDWORD RequiredSize);
typedef BOOL __stdcall (*TSetupGetSourceInfoW)(void * InfHandle, unsigned SourceId, unsigned InfoDesired, wchar_t * ReturnBuffer, unsigned ReturnBufferSize, PDWORD RequiredSize);
typedef BOOL __stdcall (*TSetupGetSourceInfo)(void * InfHandle, unsigned SourceId, unsigned InfoDesired, char * ReturnBuffer, unsigned ReturnBufferSize, PDWORD RequiredSize);
typedef BOOL __stdcall (*TSetupInstallFileA)(void * InfHandle, PInfContext InfContext, const char * SourceFile, const char * SourcePathRoot, const char * DestinationName, unsigned CopyStyle, TSPFileCallbackA CopyMsgHandler, void * Context);
typedef BOOL __stdcall (*TSetupInstallFileW)(void * InfHandle, PInfContext InfContext, const wchar_t * SourceFile, const wchar_t * SourcePathRoot, const wchar_t * DestinationName, unsigned CopyStyle, TSPFileCallbackW CopyMsgHandler, void * Context);
typedef BOOL __stdcall (*TSetupInstallFile)(void * InfHandle, PInfContext InfContext, const char * SourceFile, const char * SourcePathRoot, const char * DestinationName, unsigned CopyStyle, TSPFileCallbackA CopyMsgHandler, void * Context);
typedef BOOL __stdcall (*TSetupInstallFileExA)(void * InfHandle, PInfContext InfContext, const char * SourceFile, const char * SourcePathRoot, const char * DestinationName, unsigned CopyStyle, TSPFileCallbackA CopyMsgHandler, void * Context, BOOL &FileWasInUse);
typedef BOOL __stdcall (*TSetupInstallFileExW)(void * InfHandle, PInfContext InfContext, const wchar_t * SourceFile, const wchar_t * SourcePathRoot, const wchar_t * DestinationName, unsigned CopyStyle, TSPFileCallbackW CopyMsgHandler, void * Context, BOOL &FileWasInUse);
typedef BOOL __stdcall (*TSetupInstallFileEx)(void * InfHandle, PInfContext InfContext, const char * SourceFile, const char * SourcePathRoot, const char * DestinationName, unsigned CopyStyle, TSPFileCallbackA CopyMsgHandler, void * Context, BOOL &FileWasInUse);
typedef void * __stdcall (*TSetupOpenFileQueue)(void);
typedef BOOL __stdcall (*TSetupCloseFileQueue)(void * QueueHandle);
typedef BOOL __stdcall (*TSetupSetPlatformPathOverrideA)(const char * Override_);
typedef BOOL __stdcall (*TSetupSetPlatformPathOverrideW)(const wchar_t * Override_);
typedef BOOL __stdcall (*TSetupSetPlatformPathOverride)(const char * Override_);
typedef BOOL __stdcall (*TSetupQueueCopyA)(void * QueueHandle, const char * SourceRootPath, const char * SourcePath, const char * SourceFilename, const char * SourceDescription, const char * SourceTagfile, const char * TargetDirectory, const char * TargetFilename, unsigned CopyStyle);
typedef BOOL __stdcall (*TSetupQueueCopyW)(void * QueueHandle, const wchar_t * SourceRootPath, const wchar_t * SourcePath, const wchar_t * SourceFilename, const wchar_t * SourceDescription, const wchar_t * SourceTagfile, const wchar_t * TargetDirectory, const wchar_t * TargetFilename, unsigned CopyStyle);
typedef BOOL __stdcall (*TSetupQueueCopy)(void * QueueHandle, const char * SourceRootPath, const char * SourcePath, const char * SourceFilename, const char * SourceDescription, const char * SourceTagfile, const char * TargetDirectory, const char * TargetFilename, unsigned CopyStyle);
typedef BOOL __stdcall (*TSetupQueueDefaultCopyA)(void * QueueHandle, void * InfHandle, const char * SourceRootPath, const char * SourceFilename, const char * TargetFilename, unsigned CopyStyle);
typedef BOOL __stdcall (*TSetupQueueDefaultCopyW)(void * QueueHandle, void * InfHandle, const wchar_t * SourceRootPath, const wchar_t * SourceFilename, const wchar_t * TargetFilename, unsigned CopyStyle);
typedef BOOL __stdcall (*TSetupQueueDefaultCopy)(void * QueueHandle, void * InfHandle, const char * SourceRootPath, const char * SourceFilename, const char * TargetFilename, unsigned CopyStyle);
typedef BOOL __stdcall (*TSetupQueueCopySectionA)(void * QueueHandle, const char * SourceRootPath, void * InfHandle, void * ListInfHandle, const char * Section, unsigned CopyStyle);
typedef BOOL __stdcall (*TSetupQueueCopySectionW)(void * QueueHandle, const wchar_t * SourceRootPath, void * InfHandle, void * ListInfHandle, const wchar_t * Section, unsigned CopyStyle);
typedef BOOL __stdcall (*TSetupQueueCopySection)(void * QueueHandle, const char * SourceRootPath, void * InfHandle, void * ListInfHandle, const char * Section, unsigned CopyStyle);
typedef BOOL __stdcall (*TSetupQueueDeleteA)(void * QueueHandle, const char * PathPart1, const char * PathPart2);
typedef BOOL __stdcall (*TSetupQueueDeleteW)(void * QueueHandle, const wchar_t * PathPart1, const wchar_t * PathPart2);
typedef BOOL __stdcall (*TSetupQueueDelete)(void * QueueHandle, const char * PathPart1, const char * PathPart2);
typedef BOOL __stdcall (*TSetupQueueDeleteSectionA)(void * QueueHandle, void * InfHandle, void * ListInfHandle, const char * Section);
typedef BOOL __stdcall (*TSetupQueueDeleteSectionW)(void * QueueHandle, void * InfHandle, void * ListInfHandle, const wchar_t * Section);
typedef BOOL __stdcall (*TSetupQueueDeleteSection)(void * QueueHandle, void * InfHandle, void * ListInfHandle, const char * Section);
typedef BOOL __stdcall (*TSetupQueueRenameA)(void * QueueHandle, const char * SourcePath, const char * SourceFilename, const char * TargetPath, const char * TargetFilename);
typedef BOOL __stdcall (*TSetupQueueRenameW)(void * QueueHandle, const wchar_t * SourcePath, const wchar_t * SourceFilename, const wchar_t * TargetPath, const wchar_t * TargetFilename);
typedef BOOL __stdcall (*TSetupQueueRename)(void * QueueHandle, const char * SourcePath, const char * SourceFilename, const char * TargetPath, const char * TargetFilename);
typedef BOOL __stdcall (*TSetupQueueRenameSectionA)(void * QueueHandle, void * InfHandle, void * ListInfHandle, const char * Section);
typedef BOOL __stdcall (*TSetupQueueRenameSectionW)(void * QueueHandle, void * InfHandle, void * ListInfHandle, const wchar_t * Section);
typedef BOOL __stdcall (*TSetupQueueRenameSection)(void * QueueHandle, void * InfHandle, void * ListInfHandle, const char * Section);
typedef BOOL __stdcall (*TSetupCommitFileQueueA)(HWND Owner, void * QueueHandle, TSPFileCallbackA MsgHandler, void * Context);
typedef BOOL __stdcall (*TSetupCommitFileQueueW)(HWND Owner, void * QueueHandle, TSPFileCallbackW MsgHandler, void * Context);
typedef BOOL __stdcall (*TSetupCommitFileQueue)(HWND Owner, void * QueueHandle, TSPFileCallbackA MsgHandler, void * Context);
typedef BOOL __stdcall (*TSetupScanFileQueueA)(void * FileQueue, unsigned Flags, HWND Window, TSPFileCallbackA CallbackRoutine, void * CallbackContext, unsigned &Result);
typedef BOOL __stdcall (*TSetupScanFileQueueW)(void * FileQueue, unsigned Flags, HWND Window, TSPFileCallbackW CallbackRoutine, void * CallbackContext, unsigned &Result);
typedef BOOL __stdcall (*TSetupScanFileQueue)(void * FileQueue, unsigned Flags, HWND Window, TSPFileCallbackA CallbackRoutine, void * CallbackContext, unsigned &Result);
typedef BOOL __stdcall (*TSetupCopyOEMInfA)(const char * SourceInfFileName, const char * OEMSourceMediaLocation, unsigned OEMSourceMediaType, unsigned CopyStyle, char * DestinationInfFileName, unsigned DestinationInfFileNameSize, PDWORD RequiredSize, PPASTR DestinationInfFileNameComponent);
typedef BOOL __stdcall (*TSetupCopyOEMInfW)(const wchar_t * SourceInfFileName, const wchar_t * OEMSourceMediaLocation, unsigned OEMSourceMediaType, unsigned CopyStyle, wchar_t * DestinationInfFileName, unsigned DestinationInfFileNameSize, PDWORD RequiredSize, PPWSTR DestinationInfFileNameComponent);
typedef BOOL __stdcall (*TSetupCopyOEMInf)(const char * SourceInfFileName, const char * OEMSourceMediaLocation, unsigned OEMSourceMediaType, unsigned CopyStyle, char * DestinationInfFileName, unsigned DestinationInfFileNameSize, PDWORD RequiredSize, PPSTR DestinationInfFileNameComponent);
typedef void * __stdcall (*TSetupCreateDiskSpaceListA)(void * Reserved1, unsigned Reserved2, unsigned Flags);
typedef void * __stdcall (*TSetupCreateDiskSpaceListW)(void * Reserved1, unsigned Reserved2, unsigned Flags);
typedef void * __stdcall (*TSetupCreateDiskSpaceList)(void * Reserved1, unsigned Reserved2, unsigned Flags);
typedef void * __stdcall (*TSetupDuplicateDiskSpaceListA)(void * DiskSpace, void * Reserved1, unsigned Reserved2, unsigned Flags);
typedef void * __stdcall (*TSetupDuplicateDiskSpaceListW)(void * DiskSpace, void * Reserved1, unsigned Reserved2, unsigned Flags);
typedef void * __stdcall (*TSetupDuplicateDiskSpaceList)(void * DiskSpace, void * Reserved1, unsigned Reserved2, unsigned Flags);
typedef BOOL __stdcall (*TSetupDestroyDiskSpaceList)(void * DiskSpace);
typedef BOOL __stdcall (*TSetupQueryDrivesInDiskSpaceListA)(void * DiskSpace, char * ReturnBuffer, unsigned ReturnBufferSize, PDWORD RequiredSize);
typedef BOOL __stdcall (*TSetupQueryDrivesInDiskSpaceListW)(void * DiskSpace, wchar_t * ReturnBuffer, unsigned ReturnBufferSize, PDWORD RequiredSize);
typedef BOOL __stdcall (*TSetupQueryDrivesInDiskSpaceList)(void * DiskSpace, char * ReturnBuffer, unsigned ReturnBufferSize, PDWORD RequiredSize);
typedef BOOL __stdcall (*TSetupQuerySpaceRequiredOnDriveA)(void * DiskSpace, const char * DriveSpec, __int64 &SpaceRequired, void * Reserved1, unsigned Reserved2);
typedef BOOL __stdcall (*TSetupQuerySpaceRequiredOnDriveW)(void * DiskSpace, const wchar_t * DriveSpec, __int64 &SpaceRequired, void * Reserved1, unsigned Reserved2);
typedef BOOL __stdcall (*TSetupQuerySpaceRequiredOnDrive)(void * DiskSpace, const char * DriveSpec, __int64 &SpaceRequired, void * Reserved1, unsigned Reserved2);
typedef BOOL __stdcall (*TSetupAdjustDiskSpaceListA)(void * DiskSpace, const char * DriveRoot, __int64 Amount, void * Reserved1, unsigned Reserved2);
typedef BOOL __stdcall (*TSetupAdjustDiskSpaceListW)(void * DiskSpace, const wchar_t * DriveRoot, __int64 Amount, void * Reserved1, unsigned Reserved2);
typedef BOOL __stdcall (*TSetupAdjustDiskSpaceList)(void * DiskSpace, const char * DriveRoot, __int64 Amount, void * Reserved1, unsigned Reserved2);
typedef BOOL __stdcall (*TSetupAddToDiskSpaceListA)(void * DiskSpace, const char * TargetFilespec, __int64 FileSize, unsigned Operation, void * Reserved1, unsigned Reserved2);
typedef BOOL __stdcall (*TSetupAddToDiskSpaceListW)(void * DiskSpace, const wchar_t * TargetFilespec, __int64 FileSize, unsigned Operation, void * Reserved1, unsigned Reserved2);
typedef BOOL __stdcall (*TSetupAddToDiskSpaceList)(void * DiskSpace, const char * TargetFilespec, __int64 FileSize, unsigned Operation, void * Reserved1, unsigned Reserved2);
typedef BOOL __stdcall (*TSetupAddSectionToDiskSpaceListA)(void * DiskSpace, void * InfHandle, void * ListInfHandle, const char * SectionName, unsigned Operation, void * Reserved1, unsigned Reserved2);
typedef BOOL __stdcall (*TSetupAddSectionToDiskSpaceListW)(void * DiskSpace, void * InfHandle, void * ListInfHandle, const wchar_t * SectionName, unsigned Operation, void * Reserved1, unsigned Reserved2);
typedef BOOL __stdcall (*TSetupAddSectionToDiskSpaceList)(void * DiskSpace, void * InfHandle, void * ListInfHandle, const char * SectionName, unsigned Operation, void * Reserved1, unsigned Reserved2);
typedef BOOL __stdcall (*TSetupAddInstallSectionToDiskSpaceListA)(void * DiskSpace, void * InfHandle, void * LayoutInfHandle, const char * SectionName, void * Reserved1, unsigned Reserved2);
typedef BOOL __stdcall (*TSetupAddInstallSectionToDiskSpaceListW)(void * DiskSpace, void * InfHandle, void * LayoutInfHandle, const wchar_t * SectionName, void * Reserved1, unsigned Reserved2);
typedef BOOL __stdcall (*TSetupAddInstallSectionToDiskSpaceList)(void * DiskSpace, void * InfHandle, void * LayoutInfHandle, const char * SectionName, void * Reserved1, unsigned Reserved2);
typedef BOOL __stdcall (*TSetupRemoveFromDiskSpaceListA)(void * DiskSpace, const char * TargetFilespec, unsigned Operation, void * Reserved1, unsigned Reserved2);
typedef BOOL __stdcall (*TSetupRemoveFromDiskSpaceListW)(void * DiskSpace, const wchar_t * TargetFilespec, unsigned Operation, void * Reserved1, unsigned Reserved2);
typedef BOOL __stdcall (*TSetupRemoveFromDiskSpaceList)(void * DiskSpace, const char * TargetFilespec, unsigned Operation, void * Reserved1, unsigned Reserved2);
typedef BOOL __stdcall (*TSetupRemoveSectionFromDiskSpaceListA)(void * DiskSpace, void * InfHandle, void * ListInfHandle, const char * SectionName, unsigned Operation, void * Reserved1, unsigned Reserved2);
typedef BOOL __stdcall (*TSetupRemoveSectionFromDiskSpaceListW)(void * DiskSpace, void * InfHandle, void * ListInfHandle, const wchar_t * SectionName, unsigned Operation, void * Reserved1, unsigned Reserved2);
typedef BOOL __stdcall (*TSetupRemoveSectionFromDiskSpaceList)(void * DiskSpace, void * InfHandle, void * ListInfHandle, const char * SectionName, unsigned Operation, void * Reserved1, unsigned Reserved2);
typedef BOOL __stdcall (*TSetupRemoveInstallSectionFromDiskSpaceListA)(void * DiskSpace, void * InfHandle, void * LayoutInfHandle, const char * SectionName, void * Reserved1, unsigned Reserved2);
typedef BOOL __stdcall (*TSetupRemoveInstallSectionFromDiskSpaceListW)(void * DiskSpace, void * InfHandle, void * LayoutInfHandle, const wchar_t * SectionName, void * Reserved1, unsigned Reserved2);
typedef BOOL __stdcall (*TSetupRemoveInstallSectionFromDiskSpaceList)(void * DiskSpace, void * InfHandle, void * LayoutInfHandle, const char * SectionName, void * Reserved1, unsigned Reserved2);
typedef BOOL __stdcall (*TSetupIterateCabinetA)(const char * CabinetFile, unsigned Reserved, TSPFileCallbackA MsgHandler, void * Context);
typedef BOOL __stdcall (*TSetupIterateCabinetW)(const wchar_t * CabinetFile, unsigned Reserved, TSPFileCallbackW MsgHandler, void * Context);
typedef BOOL __stdcall (*TSetupIterateCabinet)(const char * CabinetFile, unsigned Reserved, TSPFileCallbackA MsgHandler, void * Context);
typedef int __stdcall (*TSetupPromptReboot)(void * FileQueue, HWND Owner, BOOL ScanOnly);
typedef void * __stdcall (*TSetupInitDefaultQueueCallback)(HWND OwnerWindow);
typedef void * __stdcall (*TSetupInitDefaultQueueCallbackEx)(HWND OwnerWindow, HWND AlternateProgressWindow, unsigned ProgressMessage, unsigned Reserved1, void * Reserved2);
typedef void __stdcall (*TSetupTermDefaultQueueCallback)(void * Context);
typedef unsigned __stdcall (*TSetupDefaultQueueCallbackA)(void * Context, unsigned Notification, unsigned Param1, unsigned Param2);
typedef unsigned __stdcall (*TSetupDefaultQueueCallbackW)(void * Context, unsigned Notification, unsigned Param1, unsigned Param2);
typedef unsigned __stdcall (*TSetupDefaultQueueCallback)(void * Context, unsigned Notification, unsigned Param1, unsigned Param2);
typedef BOOL __stdcall (*TSetupInstallFromInfSectionA)(HWND Owner, void * InfHandle, const char * SectionName, unsigned Flags, HKEY RelativeKeyRoot, const char * SourceRootPath, unsigned CopyFlags, TSPFileCallbackA MsgHandler, void * Context, void * DeviceInfoSet, PSPDevInfoData DeviceIn);
typedef BOOL __stdcall (*TSetupInstallFromInfSectionW)(HWND Owner, void * InfHandle, const wchar_t * SectionName, unsigned Flags, HKEY RelativeKeyRoot, const wchar_t * SourceRootPath, unsigned CopyFlags, TSPFileCallbackW MsgHandler, void * Context, void * DeviceInfoSet, PSPDevInfoData DeviceIn);
typedef BOOL __stdcall (*TSetupInstallFromInfSection)(HWND Owner, void * InfHandle, const char * SectionName, unsigned Flags, HKEY RelativeKeyRoot, const char * SourceRootPath, unsigned CopyFlags, TSPFileCallbackA MsgHandler, void * Context, void * DeviceInfoSet, PSPDevInfoData DeviceIn);
typedef BOOL __stdcall (*TSetupInstallFilesFromInfSectionA)(void * InfHandle, void * LayoutInfHandle, void * FileQueue, const char * SectionName, const char * SourceRootPath, unsigned CopyFlags);
typedef BOOL __stdcall (*TSetupInstallFilesFromInfSectionW)(void * InfHandle, void * LayoutInfHandle, void * FileQueue, const wchar_t * SectionName, const wchar_t * SourceRootPath, unsigned CopyFlags);
typedef BOOL __stdcall (*TSetupInstallFilesFromInfSection)(void * InfHandle, void * LayoutInfHandle, void * FileQueue, const char * SectionName, const char * SourceRootPath, unsigned CopyFlags);
typedef BOOL __stdcall (*TSetupInstallServicesFromInfSectionA)(void * InfHandle, const char * SectionName, unsigned Flags);
typedef BOOL __stdcall (*TSetupInstallServicesFromInfSectionW)(void * InfHandle, const wchar_t * SectionName, unsigned Flags);
typedef BOOL __stdcall (*TSetupInstallServicesFromInfSection)(void * InfHandle, const char * SectionName, unsigned Flags);
typedef BOOL __stdcall (*TSetupInstallServicesFromInfSectionExA)(void * InfHandle, const char * SectionName, unsigned Flags, void * DeviceInfoSet, const SP_DEVINFO_DATA DeviceInfoData, void * Reserved1, void * Reserved2);
typedef BOOL __stdcall (*TSetupInstallServicesFromInfSectionExW)(void * InfHandle, const wchar_t * SectionName, unsigned Flags, void * DeviceInfoSet, const SP_DEVINFO_DATA DeviceInfoData, void * Reserved1, void * Reserved2);
typedef BOOL __stdcall (*TSetupInstallServicesFromInfSectionEx)(void * InfHandle, const char * SectionName, unsigned Flags, void * DeviceInfoSet, const SP_DEVINFO_DATA DeviceInfoData, void * Reserved1, void * Reserved2);
typedef void * __stdcall (*TSetupInitializeFileLogA)(const char * LogFileName, unsigned Flags);
typedef void * __stdcall (*TSetupInitializeFileLogW)(const wchar_t * LogFileName, unsigned Flags);
typedef void * __stdcall (*TSetupInitializeFileLog)(const char * LogFileName, unsigned Flags);
typedef BOOL __stdcall (*TSetupTerminateFileLog)(void * FileLogHandle);
typedef BOOL __stdcall (*TSetupLogFileA)(void * FileLogHandle, const char * LogSectionName, const char * SourceFilename, const char * TargetFilename, unsigned Checksum, char * DiskTagfile, char * DiskDescription, char * OtherInfo, unsigned Flags);
typedef BOOL __stdcall (*TSetupLogFileW)(void * FileLogHandle, const wchar_t * LogSectionName, const wchar_t * SourceFilename, const wchar_t * TargetFilename, unsigned Checksum, wchar_t * DiskTagfile, wchar_t * DiskDescription, wchar_t * OtherInfo, unsigned Flags);
typedef BOOL __stdcall (*TSetupLogFile)(void * FileLogHandle, const char * LogSectionName, const char * SourceFilename, const char * TargetFilename, unsigned Checksum, char * DiskTagfile, char * DiskDescription, char * OtherInfo, unsigned Flags);
typedef BOOL __stdcall (*TSetupRemoveFileLogEntryA)(void * FileLogHandle, const char * LogSectionName, const char * TargetFilename);
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -