| 1 | #include <odin.h> | 
|---|
| 2 | #include <odinwrap.h> | 
|---|
| 3 | #include <os2sel.h> | 
|---|
| 4 |  | 
|---|
| 5 | #include <os2win.h> | 
|---|
| 6 | #include <winreg.h> | 
|---|
| 7 | #include <winnt.h> | 
|---|
| 8 | #include <wincon.h> | 
|---|
| 9 | #include <winthunk.h> | 
|---|
| 10 | #include <winnls.h> | 
|---|
| 11 | #include <ntddk.h> | 
|---|
| 12 | #include <heapstring.h> | 
|---|
| 13 | #include <commctrl.h> | 
|---|
| 14 | #include <setupapi.h> | 
|---|
| 15 |  | 
|---|
| 16 | #define DBGWRAP_MODULE "SETUPAPI" | 
|---|
| 17 | #include <dbgwrap.h> | 
|---|
| 18 |  | 
|---|
| 19 |  | 
|---|
| 20 | DEBUGWRAP4(SetupCloseFileQueue) | 
|---|
| 21 | DEBUGWRAP4(SetupCloseInfFile) | 
|---|
| 22 | DEBUGWRAP16(SetupCommitFileQueueA) | 
|---|
| 23 | DEBUGWRAP16(SetupCommitFileQueueW) | 
|---|
| 24 | DEBUGWRAP16(SetupDefaultQueueCallbackA) | 
|---|
| 25 | DEBUGWRAP16(SetupDefaultQueueCallbackW) | 
|---|
| 26 | NODEF_DEBUGWRAP4(SetupDiDestroyDeviceInfoList) | 
|---|
| 27 | NODEF_DEBUGWRAP12(SetupDiEnumDeviceInfo) | 
|---|
| 28 | NODEF_DEBUGWRAP20(SetupDiEnumDeviceInterfaces) | 
|---|
| 29 | DEBUGWRAP16(SetupDiGetClassDevsA) | 
|---|
| 30 | DEBUGWRAP16(SetupDiGetClassDevsW) | 
|---|
| 31 | NODEF_DEBUGWRAP28(SetupDiGetDeviceRegistryPropertyA) | 
|---|
| 32 | NODEF_DEBUGWRAP24(SetupDiGetDeviceInterfaceDetailA) | 
|---|
| 33 | NODEF_DEBUGWRAP24(SetupDiGetDeviceInterfaceDetailW) | 
|---|
| 34 | DEBUGWRAP16(SetupFindFirstLineA) | 
|---|
| 35 | DEBUGWRAP16(SetupFindFirstLineW) | 
|---|
| 36 | DEBUGWRAP8(SetupFindNextLine) | 
|---|
| 37 | DEBUGWRAP12(SetupFindNextMatchLineA) | 
|---|
| 38 | DEBUGWRAP12(SetupFindNextMatchLineW) | 
|---|
| 39 | DEBUGWRAP20(SetupGetBinaryField) | 
|---|
| 40 | DEBUGWRAP4(SetupGetFieldCount) | 
|---|
| 41 | DEBUGWRAP12(SetupGetFileQueueCount) | 
|---|
| 42 | DEBUGWRAP8(SetupGetFileQueueFlags) | 
|---|
| 43 | DEBUGWRAP12(SetupGetIntField) | 
|---|
| 44 | DEBUGWRAP16(SetupGetLineByIndexA) | 
|---|
| 45 | DEBUGWRAP16(SetupGetLineByIndexW) | 
|---|
| 46 | DEBUGWRAP8(SetupGetLineCountA) | 
|---|
| 47 | DEBUGWRAP8(SetupGetLineCountW) | 
|---|
| 48 | DEBUGWRAP28(SetupGetLineTextA) | 
|---|
| 49 | DEBUGWRAP28(SetupGetLineTextW) | 
|---|
| 50 | DEBUGWRAP20(SetupGetMultiSzFieldA) | 
|---|
| 51 | DEBUGWRAP20(SetupGetMultiSzFieldW) | 
|---|
| 52 | DEBUGWRAP20(SetupGetStringFieldA) | 
|---|
| 53 | DEBUGWRAP20(SetupGetStringFieldW) | 
|---|
| 54 | DEBUGWRAP4(SetupInitDefaultQueueCallback) | 
|---|
| 55 | DEBUGWRAP20(SetupInitDefaultQueueCallbackEx) | 
|---|
| 56 | DEBUGWRAP24(SetupInstallFilesFromInfSectionA) | 
|---|
| 57 | DEBUGWRAP24(SetupInstallFilesFromInfSectionW) | 
|---|
| 58 | DEBUGWRAP44(SetupInstallFromInfSectionA) | 
|---|
| 59 | DEBUGWRAP44(SetupInstallFromInfSectionW) | 
|---|
| 60 | NODEF_DEBUGWRAP16(SetupIterateCabinetA) | 
|---|
| 61 | NODEF_DEBUGWRAP16(SetupIterateCabinetW) | 
|---|
| 62 | DEBUGWRAP12(SetupOpenAppendInfFileA) | 
|---|
| 63 | DEBUGWRAP12(SetupOpenAppendInfFileW) | 
|---|
| 64 | DEBUGWRAP0(SetupOpenFileQueue) | 
|---|
| 65 | DEBUGWRAP16(SetupOpenInfFileA) | 
|---|
| 66 | DEBUGWRAP16(SetupOpenInfFileW) | 
|---|
| 67 | DEBUGWRAP36(SetupQueueCopyA) | 
|---|
| 68 | DEBUGWRAP4(SetupQueueCopyIndirectA) | 
|---|
| 69 | DEBUGWRAP4(SetupQueueCopyIndirectW) | 
|---|
| 70 | DEBUGWRAP24(SetupQueueCopySectionA) | 
|---|
| 71 | DEBUGWRAP24(SetupQueueCopySectionW) | 
|---|
| 72 | DEBUGWRAP36(SetupQueueCopyW) | 
|---|
| 73 | DEBUGWRAP24(SetupQueueDefaultCopyA) | 
|---|
| 74 | DEBUGWRAP24(SetupQueueDefaultCopyW) | 
|---|
| 75 | DEBUGWRAP12(SetupQueueDeleteA) | 
|---|
| 76 | DEBUGWRAP16(SetupQueueDeleteSectionA) | 
|---|
| 77 | DEBUGWRAP16(SetupQueueDeleteSectionW) | 
|---|
| 78 | DEBUGWRAP12(SetupQueueDeleteW) | 
|---|
| 79 | DEBUGWRAP20(SetupQueueRenameA) | 
|---|
| 80 | DEBUGWRAP16(SetupQueueRenameSectionA) | 
|---|
| 81 | DEBUGWRAP16(SetupQueueRenameSectionW) | 
|---|
| 82 | DEBUGWRAP20(SetupQueueRenameW) | 
|---|
| 83 | DEBUGWRAP24(SetupScanFileQueueA) | 
|---|
| 84 | DEBUGWRAP24(SetupScanFileQueueW) | 
|---|
| 85 | DEBUGWRAP12(SetupSetDirectoryIdA) | 
|---|
| 86 | DEBUGWRAP12(SetupSetDirectoryIdW) | 
|---|
| 87 | DEBUGWRAP4(SetupTermDefaultQueueCallback) | 
|---|
| 88 |  | 
|---|
| 89 |  | 
|---|
| 90 | NODEF_DEBUGWRAP8(CM_Connect_MachineW) | 
|---|
| 91 | NODEF_DEBUGWRAP4(CM_Disconnect_Machine) | 
|---|
| 92 | NODEF_DEBUGWRAP24(SetupDiBuildClassInfoListExW) | 
|---|
| 93 | NODEF_DEBUGWRAP24(SetupDiClassGuidsFromNameExW) | 
|---|
| 94 | NODEF_DEBUGWRAP24(SetupDiClassNameFromGuidExW) | 
|---|
| 95 | NODEF_DEBUGWRAP16(SetupDiCreateDeviceInfoListExW) | 
|---|
| 96 | DEBUGWRAP12(SetupSetFileQueueFlags) | 
|---|
| 97 | NODEF_DEBUGWRAP8(SetupDiGetDeviceInfoListDetailW) | 
|---|
| 98 | NODEF_DEBUGWRAP28(SetupDiGetClassDevsExW) | 
|---|
| 99 | NODEF_DEBUGWRAP20(SetupDiOpenClassRegKeyExW) | 
|---|
| 100 | NODEF_DEBUGWRAP24(SetupDiGetClassDescriptionExW) | 
|---|