📄 setupapi.hpp
字号:
typedef SP_DRVINSTALL_PARAMS *PSPDrvInstallParams;
typedef SP_DRVINSTALL_PARAMS TSPDrvInstallParams;
typedef unsigned __stdcall (*TSPDetsigCmpProc)(void * DeviceInfoSet, PSPDevInfoData NewDeviceData, PSPDevInfoData ExistingDeviceData, void * CompareContext);
typedef COINSTALLER_CONTEXT_DATA *PCoInstallerContextData;
typedef COINSTALLER_CONTEXT_DATA TCoInstallerContextData;
typedef SP_CLASSIMAGELIST_DATA *PSPClassImageListData;
typedef SP_CLASSIMAGELIST_DATA TSPClassImageListData;
typedef SP_PROPSHEETPAGE_REQUEST *PSPPropSheetPageRequest;
typedef SP_PROPSHEETPAGE_REQUEST TSPPropSheetPageRequest;
typedef SP_BACKUP_QUEUE_PARAMS_A *PSPBackupQueueParamsA;
typedef SP_BACKUP_QUEUE_PARAMS_W *PSPBackupQueueParamsW;
typedef SP_BACKUP_QUEUE_PARAMS_A *PSPBackupQueueParams;
typedef SP_BACKUP_QUEUE_PARAMS_A TSPBackupQueueParamsA;
typedef SP_BACKUP_QUEUE_PARAMS_W TSPBackupQueueParamsW;
typedef SP_BACKUP_QUEUE_PARAMS_A TSPBackupQueueParams;
typedef BOOL __stdcall (*TSetupGetInfInformationA)(void * InfSpec, unsigned SearchControl, PSPInfInformation ReturnBuffer, unsigned ReturnBufferSize, PDWORD RequiredSize);
typedef BOOL __stdcall (*TSetupGetInfInformationW)(void * InfSpec, unsigned SearchControl, PSPInfInformation ReturnBuffer, unsigned ReturnBufferSize, PDWORD RequiredSize);
typedef BOOL __stdcall (*TSetupGetInfInformation)(void * InfSpec, unsigned SearchControl, PSPInfInformation ReturnBuffer, unsigned ReturnBufferSize, PDWORD RequiredSize);
typedef BOOL __stdcall (*TSetupQueryInfFileInformationA)(SP_INF_INFORMATION &InfInformation, unsigned InfIndex, char * ReturnBuffer, unsigned ReturnBufferSize, PDWORD RequiredSize);
typedef BOOL __stdcall (*TSetupQueryInfFileInformationW)(SP_INF_INFORMATION &InfInformation, unsigned InfIndex, wchar_t * ReturnBuffer, unsigned ReturnBufferSize, PDWORD RequiredSize);
typedef BOOL __stdcall (*TSetupQueryInfFileInformation)(SP_INF_INFORMATION &InfInformation, unsigned InfIndex, char * ReturnBuffer, unsigned ReturnBufferSize, PDWORD RequiredSize);
typedef BOOL __stdcall (*TSetupQueryInfVersionInformationA)(SP_INF_INFORMATION &InfInformation, unsigned InfIndex, const char * Key, const char * ReturnBuffer, unsigned ReturnBufferSize, PDWORD RequiredSize);
typedef BOOL __stdcall (*TSetupQueryInfVersionInformationW)(SP_INF_INFORMATION &InfInformation, unsigned InfIndex, const wchar_t * Key, const wchar_t * ReturnBuffer, unsigned ReturnBufferSize, PDWORD RequiredSize);
typedef BOOL __stdcall (*TSetupQueryInfVersionInformation)(SP_INF_INFORMATION &InfInformation, unsigned InfIndex, const char * Key, const char * ReturnBuffer, unsigned ReturnBufferSize, PDWORD RequiredSize);
typedef BOOL __stdcall (*TSetupGetInfFileListA)(const char * DirectoryPath, unsigned InfStyle, char * ReturnBuffer, unsigned ReturnBufferSize, PDWORD RequiredSize);
typedef BOOL __stdcall (*TSetupGetInfFileListW)(const wchar_t * DirectoryPath, unsigned InfStyle, wchar_t * ReturnBuffer, unsigned ReturnBufferSize, PDWORD RequiredSize);
typedef BOOL __stdcall (*TSetupGetInfFileList)(const char * DirectoryPath, unsigned InfStyle, char * ReturnBuffer, unsigned ReturnBufferSize, PDWORD RequiredSize);
typedef void * __stdcall (*TSetupOpenInfFileA)(const char * FileName, const char * InfClass, unsigned InfStyle, PUINT ErrorLine);
typedef void * __stdcall (*TSetupOpenInfFileW)(const wchar_t * FileName, const wchar_t * InfClass, unsigned InfStyle, PUINT ErrorLine);
typedef void * __stdcall (*TSetupOpenInfFile)(const char * FileName, const char * InfClass, unsigned InfStyle, PUINT ErrorLine);
typedef void * __stdcall (*TSetupOpenMasterInf)(void);
typedef BOOL __stdcall (*TSetupOpenAppendInfFileA)(const char * FileName, void * InfHandle, PUINT ErrorLine);
typedef BOOL __stdcall (*TSetupOpenAppendInfFileW)(const wchar_t * FileName, void * InfHandle, PUINT ErrorLine);
typedef BOOL __stdcall (*TSetupOpenAppendInfFile)(const char * FileName, void * InfHandle, PUINT ErrorLine);
typedef void __stdcall (*TSetupCloseInfFile)(void * InfHandle);
typedef BOOL __stdcall (*TSetupFindFirstLineA)(void * InfHandle, char * Section, char * Key, INFCONTEXT &Context);
typedef BOOL __stdcall (*TSetupFindFirstLineW)(void * InfHandle, wchar_t * Section, wchar_t * Key, INFCONTEXT &Context);
typedef BOOL __stdcall (*TSetupFindFirstLine)(void * InfHandle, char * Section, char * Key, INFCONTEXT &Context);
typedef BOOL __stdcall (*TSetupFindNextLine)(INFCONTEXT &ContextIn, INFCONTEXT &ContextOut);
typedef BOOL __stdcall (*TSetupFindNextMatchLineA)(INFCONTEXT &ContextIn, char * Key, INFCONTEXT &ContextOut);
typedef BOOL __stdcall (*TSetupFindNextMatchLineW)(INFCONTEXT &ContextIn, wchar_t * Key, INFCONTEXT &ContextOut);
typedef BOOL __stdcall (*TSetupFindNextMatchLine)(INFCONTEXT &ContextIn, char * Key, INFCONTEXT &ContextOut);
typedef BOOL __stdcall (*TSetupGetLineByIndexA)(void * InfHandle, char * Section, unsigned Index, INFCONTEXT &Context);
typedef BOOL __stdcall (*TSetupGetLineByIndexW)(void * InfHandle, wchar_t * Section, unsigned Index, INFCONTEXT &Context);
typedef BOOL __stdcall (*TSetupGetLineByIndex)(void * InfHandle, char * Section, unsigned Index, INFCONTEXT &Context);
typedef int __stdcall (*TSetupGetLineCountA)(void * InfHandle, char * Section);
typedef int __stdcall (*TSetupGetLineCountW)(void * InfHandle, wchar_t * Section);
typedef int __stdcall (*TSetupGetLineCount)(void * InfHandle, char * Section);
typedef BOOL __stdcall (*TSetupGetLineTextA)(PInfContext Context, void * InfHandle, char * Section, char * Key, char * ReturnBuffer, unsigned ReturnBufferSize, PDWORD RequiredSize);
typedef BOOL __stdcall (*TSetupGetLineTextW)(PInfContext Context, void * InfHandle, wchar_t * Section, wchar_t * Key, wchar_t * ReturnBuffer, unsigned ReturnBufferSize, PDWORD RequiredSize);
typedef BOOL __stdcall (*TSetupGetLineText)(PInfContext Context, void * InfHandle, char * Section, char * Key, char * ReturnBuffer, unsigned ReturnBufferSize, PDWORD RequiredSize);
typedef unsigned __stdcall (*TSetupGetFieldCount)(INFCONTEXT &Context);
typedef BOOL __stdcall (*TSetupGetStringFieldA)(INFCONTEXT &Context, unsigned FieldIndex, char * ReturnBuffer, unsigned ReturnBufferSize, PDWORD RequiredSize);
typedef BOOL __stdcall (*TSetupGetStringFieldW)(INFCONTEXT &Context, unsigned FieldIndex, wchar_t * ReturnBuffer, unsigned ReturnBufferSize, PDWORD RequiredSize);
typedef BOOL __stdcall (*TSetupGetStringField)(INFCONTEXT &Context, unsigned FieldIndex, char * ReturnBuffer, unsigned ReturnBufferSize, PDWORD RequiredSize);
typedef BOOL __stdcall (*TSetupGetIntField)(INFCONTEXT &Context, unsigned FieldIndex, int &IntegerValue);
typedef BOOL __stdcall (*TSetupGetMultiSzFieldA)(INFCONTEXT &Context, unsigned FieldIndex, char * ReturnBuffer, unsigned ReturnBufferSize, PDWORD RequiredSize);
typedef BOOL __stdcall (*TSetupGetMultiSzFieldW)(INFCONTEXT &Context, unsigned FieldIndex, wchar_t * ReturnBuffer, unsigned ReturnBufferSize, PDWORD RequiredSize);
typedef BOOL __stdcall (*TSetupGetMultiSzField)(INFCONTEXT &Context, unsigned FieldIndex, char * ReturnBuffer, unsigned ReturnBufferSize, PDWORD RequiredSize);
typedef BOOL __stdcall (*TSetupGetBinaryField)(INFCONTEXT &Context, unsigned FieldIndex, System::PByte ReturnBuffer, unsigned ReturnBufferSize, PDWORD RequiredSize);
typedef unsigned __stdcall (*TSetupGetFileCompressionInfoA)(const char * SourceFileName, char * &ActualSourceFileName, unsigned &SourceFileSize, unsigned &TargetFileSize, unsigned &CompressionType);
typedef unsigned __stdcall (*TSetupGetFileCompressionInfoW)(const wchar_t * SourceFileName, wchar_t * &ActualSourceFileName, unsigned &SourceFileSize, unsigned &TargetFileSize, unsigned &CompressionType);
typedef unsigned __stdcall (*TSetupGetFileCompressionInfo)(const char * SourceFileName, char * &ActualSourceFileName, unsigned &SourceFileSize, unsigned &TargetFileSize, unsigned &CompressionType);
typedef unsigned __stdcall (*TSetupDecompressOrCopyFileA)(const char * SourceFileName, const char * TargetFileName, unsigned &CompressionType);
typedef unsigned __stdcall (*TSetupDecompressOrCopyFileW)(const wchar_t * SourceFileName, const wchar_t * TargetFileName, unsigned &CompressionType);
typedef unsigned __stdcall (*TSetupDecompressOrCopyFile)(const char * SourceFileName, const char * TargetFileName, unsigned &CompressionType);
typedef BOOL __stdcall (*TSetupGetSourceFileLocationA)(void * InfHandle, PInfContext InfContext, const char * FileName, unsigned &SourceId, char * ReturnBuffer, unsigned ReturnBufferSize, PDWORD RequiredSize);
typedef BOOL __stdcall (*TSetupGetSourceFileLocationW)(void * InfHandle, PInfContext InfContext, const wchar_t * FileName, unsigned &SourceId, wchar_t * ReturnBuffer, unsigned ReturnBufferSize, PDWORD RequiredSize);
typedef BOOL __stdcall (*TSetupGetSourceFileLocation)(void * InfHandle, PInfContext InfContext, const char * FileName, unsigned &SourceId, char * ReturnBuffer, unsigned ReturnBufferSize, PDWORD RequiredSize);
typedef BOOL __stdcall (*TSetupGetSourceFileSizeA)(void * InfHandle, PInfContext InfContext, const char * FileName, const char * Section, unsigned &FileSize, unsigned RoundingFactor);
typedef BOOL __stdcall (*TSetupGetSourceFileSizeW)(void * InfHandle, PInfContext InfContext, const wchar_t * FileName, const wchar_t * Section, unsigned &FileSize, unsigned RoundingFactor);
typedef BOOL __stdcall (*TSetupGetSourceFileSize)(void * InfHandle, PInfContext InfContext, const char * FileName, const char * Section, unsigned &FileSize, unsigned RoundingFactor);
typedef BOOL __stdcall (*TSetupGetTargetPathA)(void * InfHandle, PInfContext InfContext, const char * Section, char * ReturnBuffer, unsigned ReturnBufferSize, PDWORD RequiredSize);
typedef BOOL __stdcall (*TSetupGetTargetPathW)(void * InfHandle, PInfContext InfContext, const wchar_t * Section, wchar_t * ReturnBuffer, unsigned ReturnBufferSize, PDWORD RequiredSize);
typedef BOOL __stdcall (*TSetupGetTargetPath)(void * InfHandle, PInfContext InfContext, const char * Section, char * ReturnBuffer, unsigned ReturnBufferSize, PDWORD RequiredSize);
typedef BOOL __stdcall (*TSetupSetSourceListA)(unsigned Flags, PPASTR SourceList, unsigned SourceCount);
typedef BOOL __stdcall (*TSetupSetSourceListW)(unsigned Flags, PPWSTR SourceList, unsigned SourceCount);
typedef BOOL __stdcall (*TSetupSetSourceList)(unsigned Flags, PPSTR SourceList, unsigned SourceCount);
typedef BOOL __stdcall (*TSetupCancelTemporarySourceList)(void);
typedef BOOL __stdcall (*TSetupAddToSourceListA)(unsigned Flags, const char * Source);
typedef BOOL __stdcall (*TSetupAddToSourceListW)(unsigned Flags, const wchar_t * Source);
typedef BOOL __stdcall (*TSetupAddToSourceList)(unsigned Flags, const char * Source);
typedef BOOL __stdcall (*TSetupRemoveFromSourceListA)(unsigned Flags, const char * Source);
typedef BOOL __stdcall (*TSetupRemoveFromSourceListW)(unsigned Flags, const wchar_t * Source);
typedef BOOL __stdcall (*TSetupRemoveFromSourceList)(unsigned Flags, const char * Source);
typedef BOOL __stdcall (*TSetupQuerySourceListA)(unsigned Flags, PPASTR &List, unsigned &Count);
typedef BOOL __stdcall (*TSetupQuerySourceListW)(unsigned Flags, PPWSTR &List, unsigned &Count);
typedef BOOL __stdcall (*TSetupQuerySourceList)(unsigned Flags, PPSTR &List, unsigned &Count);
typedef BOOL __stdcall (*TSetupFreeSourceListA)(PPWSTR &List, unsigned Count);
typedef BOOL __stdcall (*TSetupFreeSourceListW)(PPASTR &List, unsigned Count);
typedef BOOL __stdcall (*TSetupFreeSourceList)(PPSTR &List, unsigned Count);
typedef unsigned __stdcall (*TSetupPromptForDiskA)(HWND hwndParent, const char * DialogTitle, const char * DiskName, const char * PathToSource, const char * FileSought, const char * TagFile, unsigned DiskPromptStyle, char * PathBuffer, unsigned PathBufferSize, unsigned &PathRequiredSize);
typedef unsigned __stdcall (*TSetupPromptForDiskW)(HWND hwndParent, const wchar_t * DialogTitle, const wchar_t * DiskName, const wchar_t * PathToSource, const wchar_t * FileSought, const wchar_t * TagFile, unsigned DiskPromptStyle, wchar_t * PathBuffer, unsigned PathBufferSize, unsigned &PathRequiredSize);
typedef unsigned __stdcall (*TSetupPromptForDisk)(HWND hwndParent, const char * DialogTitle, const char * DiskName, const char * PathToSource, const char * FileSought, const char * TagFile, unsigned DiskPromptStyle, char * PathBuffer, unsigned PathBufferSize, unsigned &PathRequiredSize);
typedef unsigned __stdcall (*TSetupCopyErrorA)(HWND hwndParent, const char * DialogTitle, const char * DiskName, const char * PathToSource, const char * SourceFile, const char * TargetPathFile, unsigned Win32ErrorCode, unsigned Style, char * PathBuffer, unsigned PathBufferSize, PDWORD PathRequiredSize);
typedef unsigned __stdcall (*TSetupCopyErrorW)(HWND hwndParent, const wchar_t * DialogTitle, const wchar_t * DiskName, const wchar_t * PathToSource, const wchar_t * SourceFile, const wchar_t * TargetPathFile, unsigned Win32ErrorCode, unsigned Style, wchar_t * PathBuffer, unsigned PathBufferSize, PDWORD PathRequiredSize);
typedef unsigned __stdcall (*TSetupCopyError)(HWND hwndParent, const char * DialogTitle, const char * DiskName, const char * PathToSource, const char * SourceFile, const char * TargetPathFile, unsigned Win32ErrorCode, unsigned Style, char * PathBuffer, unsigned PathBufferSize, PDWORD PathRequiredSize);
typedef unsigned __stdcall (*TSetupRenameErrorA)(HWND hwndParent, const char * DialogTitle, const char * SourceFile, const char * TargetFile, unsigned Win32ErrorCode, unsigned Style);
typedef unsigned __stdcall (*TSetupRenameErrorW)(HWND hwndParent, const wchar_t * DialogTitle, const wchar_t * SourceFile, const wchar_t * TargetFile, unsigned Win32ErrorCode, unsigned Style);
typedef unsigned __stdcall (*TSetupRenameError)(HWND hwndParent, const char * DialogTitle, const char * SourceFile, const char * TargetFile, unsigned Win32ErrorCode, unsigned Style);
typedef unsigned __stdcall (*TSetupDeleteErrorA)(HWND hwndParent, const char * DialogTitle, const char * File_, unsigned Win32ErrorCode, unsigned Style);
typedef unsigned __stdcall (*TSetupDeleteErrorW)(HWND hwndParent, const wchar_t * DialogTitle, const wchar_t * File_, unsigned Win32ErrorCode, unsigned Style);
typedef unsigned __stdcall (*TSetupDeleteError)(HWND hwndParent, const char * DialogTitle, const char * File_, unsigned Win32ErrorCode, unsigned Style);
typedef BOOL __stdcall (*TSetupSetDirectoryIdA)(void * InfHandle, unsigned Id, const char * Directory);
typedef BOOL __stdcall (*TSetupSetDirectoryIdW)(void * InfHandle, unsigned Id, const wchar_t * Directory);
typedef BOOL __stdcall (*TSetupSetDirectoryId)(void * InfHandle, unsigned Id, const char * Directory);
typedef BOOL __stdcall (*TSetupSetDirectoryIdExA)(void * InfHandle, unsigned Id, const char * Directory, unsigned Flags, unsigned Reserved1, void * Reserved2);
typedef BOOL __stdcall (*TSetupSetDirectoryIdExW)(void * InfHandle, unsigned Id, const wchar_t * Directory, unsigned Flags, unsigned Reserved1, void * Reserved2);
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -