| 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 "ole32.h" | 
|---|
| 14 | #include "wine/obj_errorinfo.h" | 
|---|
| 15 | #include "wine/obj_oleaut.h" | 
|---|
| 16 |  | 
|---|
| 17 | #define DBGWRAP_MODULE "OLE32" | 
|---|
| 18 | #include <dbgwrap.h> | 
|---|
| 19 |  | 
|---|
| 20 |  | 
|---|
| 21 | DEBUGWRAP16(BindMoniker) | 
|---|
| 22 | DEBUGWRAP8(CLSIDFromProgID) | 
|---|
| 23 | DEBUGWRAP8(CLSIDFromString) | 
|---|
| 24 | DEBUGWRAP0(CoBuildVersion) | 
|---|
| 25 | DEBUGWRAP8(CoCreateFreeThreadedMarshaler) | 
|---|
| 26 | DEBUGWRAP4(CoCreateGuid) | 
|---|
| 27 | DEBUGWRAP20(CoCreateInstance) | 
|---|
| 28 | DEBUGWRAP8(CoDisconnectObject) | 
|---|
| 29 | DEBUGWRAP12(CoDosDateTimeToFileTime) | 
|---|
| 30 | DEBUGWRAP4(CoFileTimeNow) | 
|---|
| 31 | DEBUGWRAP12(CoFileTimeToDosDateTime) | 
|---|
| 32 | DEBUGWRAP0_NORET(CoFreeAllLibraries) | 
|---|
| 33 | DEBUGWRAP4(CoFreeLibrary) | 
|---|
| 34 | DEBUGWRAP0_NORET(CoFreeUnusedLibraries) | 
|---|
| 35 | NODEF_DEBUGWRAP0(CoGetCallerTID) | 
|---|
| 36 | DEBUGWRAP20(CoGetClassObject) | 
|---|
| 37 | NODEF_DEBUGWRAP0(CoGetCurrentLogicalThreadId) | 
|---|
| 38 | DEBUGWRAP0(CoGetCurrentProcess) | 
|---|
| 39 | DEBUGWRAP12(CoGetInterfaceAndReleaseStream) | 
|---|
| 40 | DEBUGWRAP8(CoGetMalloc) | 
|---|
| 41 | DEBUGWRAP24(CoGetMarshalSizeMax) | 
|---|
| 42 | DEBUGWRAP8(CoGetPSClsid) | 
|---|
| 43 | DEBUGWRAP24(CoGetStandardMarshal) | 
|---|
| 44 | NODEF_DEBUGWRAP0(CoGetState) | 
|---|
| 45 | DEBUGWRAP8(CoGetTreatAsClass) | 
|---|
| 46 | DEBUGWRAP4(CoInitialize) | 
|---|
| 47 | NODEF_DEBUGWRAP8(CoInitializeWOW) | 
|---|
| 48 | DEBUGWRAP4(CoIsHandlerConnected) | 
|---|
| 49 | DEBUGWRAP4(CoIsOle1Class) | 
|---|
| 50 | DEBUGWRAP8(CoLoadLibrary) | 
|---|
| 51 | DEBUGWRAP12(CoLockObjectExternal) | 
|---|
| 52 | DEBUGWRAP8(CoMarshalHresult) | 
|---|
| 53 | DEBUGWRAP12(CoMarshalInterThreadInterfaceInStream) | 
|---|
| 54 | DEBUGWRAP24(CoMarshalInterface) | 
|---|
| 55 | NODEF_DEBUGWRAP0(CoQueryReleaseObject) | 
|---|
| 56 | DEBUGWRAP20(CoRegisterClassObject) | 
|---|
| 57 | DEBUGWRAP4(CoRegisterMallocSpy) | 
|---|
| 58 | DEBUGWRAP8(CoRegisterMessageFilter) | 
|---|
| 59 | DEBUGWRAP4(CoReleaseMarshalData) | 
|---|
| 60 | DEBUGWRAP4(CoRevokeClassObject) | 
|---|
| 61 | DEBUGWRAP0(CoRevokeMallocSpy) | 
|---|
| 62 | NODEF_DEBUGWRAP4(CoSetState) | 
|---|
| 63 | DEBUGWRAP4(CoTaskMemAlloc) | 
|---|
| 64 | DEBUGWRAP4(CoTaskMemFree) | 
|---|
| 65 | DEBUGWRAP8(CoTaskMemRealloc) | 
|---|
| 66 | DEBUGWRAP8(CoTreatAsClass) | 
|---|
| 67 | DEBUGWRAP0_NORET(CoUninitialize) | 
|---|
| 68 | NODEF_DEBUGWRAP0(CoUnloadingWOW) | 
|---|
| 69 | DEBUGWRAP8(CoUnmarshalHresult) | 
|---|
| 70 | DEBUGWRAP12(CoUnmarshalInterface) | 
|---|
| 71 | DEBUGWRAP4(CreateAntiMoniker) | 
|---|
| 72 | DEBUGWRAP8(CreateBindCtx) | 
|---|
| 73 | DEBUGWRAP4(CreateDataAdviseHolder) | 
|---|
| 74 | DEBUGWRAP16(CreateDataCache) | 
|---|
| 75 | DEBUGWRAP8(CreateFileMoniker) | 
|---|
| 76 | DEBUGWRAP12(CreateGenericComposite) | 
|---|
| 77 | DEBUGWRAP12(CreateILockBytesOnHGlobal) | 
|---|
| 78 | DEBUGWRAP12(CreateItemMoniker) | 
|---|
| 79 | DEBUGWRAP4(CreateOleAdviseHolder) | 
|---|
| 80 | DEBUGWRAP8(CreatePointerMoniker) | 
|---|
| 81 | DEBUGWRAP12(CreateStreamOnHGlobal) | 
|---|
| 82 | NODEF_DEBUGWRAP0(DllDebugObjectRPCHook) | 
|---|
| 83 | NODEF_DEBUGWRAP12(OLE32_DllGetClassObject) | 
|---|
| 84 | NODEF_DEBUGWRAP0(DllGetClassObjectWOW) | 
|---|
| 85 | DEBUGWRAP16(DoDragDrop) | 
|---|
| 86 | NODEF_DEBUGWRAP0(EnableHookObject) | 
|---|
| 87 | DEBUGWRAP8(GetClassFile) | 
|---|
| 88 | NODEF_DEBUGWRAP4(GetConvertStg) | 
|---|
| 89 | NODEF_DEBUGWRAP0(GetDocumentBitStg) | 
|---|
| 90 | DEBUGWRAP8(GetHGlobalFromILockBytes) | 
|---|
| 91 | NODEF_DEBUGWRAP8(GetHGlobalFromStream) | 
|---|
| 92 | NODEF_DEBUGWRAP0(GetHookInterface) | 
|---|
| 93 | DEBUGWRAP8(GetRunningObjectTable) | 
|---|
| 94 | DEBUGWRAP16(IsAccelerator) | 
|---|
| 95 | #undef IsEqualGUID | 
|---|
| 96 | NODEF_DEBUGWRAP8(IsEqualGUID) | 
|---|
| 97 | NODEF_DEBUGWRAP4(IsValidIid) | 
|---|
| 98 | DEBUGWRAP4(IsValidInterface) | 
|---|
| 99 | NODEF_DEBUGWRAP4(IsValidPtrIn) | 
|---|
| 100 | NODEF_DEBUGWRAP4(IsValidPtrOut) | 
|---|
| 101 | NODEF_DEBUGWRAP16(MkParseDisplayName) | 
|---|
| 102 | DEBUGWRAP12(MonikerCommonPrefixWith) | 
|---|
| 103 | NODEF_DEBUGWRAP16(MonikerRelativePathTo) | 
|---|
| 104 | NODEF_DEBUGWRAP0(OleBuildVersion) | 
|---|
| 105 | NODEF_DEBUGWRAP8(OleConvertIStorageToOLESTREAM) | 
|---|
| 106 | NODEF_DEBUGWRAP28(OleConvertIStorageToOLESTREAMEx) | 
|---|
| 107 | NODEF_DEBUGWRAP12(OleConvertOLESTREAMToIStorage) | 
|---|
| 108 | NODEF_DEBUGWRAP28(OleConvertOLESTREAMToIStorageEx) | 
|---|
| 109 | DEBUGWRAP28(OleCreate) | 
|---|
| 110 | DEBUGWRAP16(OleCreateDefaultHandler) | 
|---|
| 111 | NODEF_DEBUGWRAP24(OleCreateEmbeddingHelper) | 
|---|
| 112 | DEBUGWRAP28(OleCreateFromData) | 
|---|
| 113 | DEBUGWRAP32(OleCreateFromFile) | 
|---|
| 114 | DEBUGWRAP28(OleCreateLink) | 
|---|
| 115 | DEBUGWRAP28(OleCreateLinkFromData) | 
|---|
| 116 | DEBUGWRAP28(OleCreateLinkToFile) | 
|---|
| 117 | DEBUGWRAP8(OleCreateMenuDescriptor) | 
|---|
| 118 | DEBUGWRAP28(OleCreateStaticFromData) | 
|---|
| 119 | DEBUGWRAP4(OleDestroyMenuDescriptor) | 
|---|
| 120 | NODEF_DEBUGWRAP8(OleDoAutoConvert) | 
|---|
| 121 | DEBUGWRAP16(OleDraw) | 
|---|
| 122 | DEBUGWRAP12(OleDuplicateData) | 
|---|
| 123 | DEBUGWRAP0(OleFlushClipboard) | 
|---|
| 124 | NODEF_DEBUGWRAP8(OleGetAutoConvert) | 
|---|
| 125 | DEBUGWRAP4(OleGetClipboard) | 
|---|
| 126 | DEBUGWRAP12(OleGetIconOfClass) | 
|---|
| 127 | NODEF_DEBUGWRAP8(OleGetIconOfFile) | 
|---|
| 128 | DEBUGWRAP4(OleInitialize) | 
|---|
| 129 | NODEF_DEBUGWRAP0(OleInitializeWOW) | 
|---|
| 130 | DEBUGWRAP4(OleIsCurrentClipboard) | 
|---|
| 131 | DEBUGWRAP4(OleIsRunning) | 
|---|
| 132 | DEBUGWRAP16(OleLoad) | 
|---|
| 133 | DEBUGWRAP12(OleLoadFromStream) | 
|---|
| 134 | DEBUGWRAP12(OleLockRunning) | 
|---|
| 135 | NODEF_DEBUGWRAP16(OleMetafilePictFromIconAndLabel) | 
|---|
| 136 | NODEF_DEBUGWRAP8(OleNoteObjectVisible) | 
|---|
| 137 | DEBUGWRAP4(OleQueryCreateFromData) | 
|---|
| 138 | DEBUGWRAP4(OleQueryLinkFromData) | 
|---|
| 139 | DEBUGWRAP12(OleRegEnumFormatEtc) | 
|---|
| 140 | DEBUGWRAP8(OleRegEnumVerbs) | 
|---|
| 141 | DEBUGWRAP12(OleRegGetMiscStatus) | 
|---|
| 142 | DEBUGWRAP12(OleRegGetUserType) | 
|---|
| 143 | DEBUGWRAP4(OleRun) | 
|---|
| 144 | DEBUGWRAP12(OleSave) | 
|---|
| 145 | DEBUGWRAP8(OleSaveToStream) | 
|---|
| 146 | NODEF_DEBUGWRAP8(OleSetAutoConvert) | 
|---|
| 147 | DEBUGWRAP4(OleSetClipboard) | 
|---|
| 148 | DEBUGWRAP8(OleSetContainedObject) | 
|---|
| 149 | DEBUGWRAP20(OleSetMenuDescriptor) | 
|---|
| 150 | DEBUGWRAP12(OleTranslateAccelerator) | 
|---|
| 151 | DEBUGWRAP0_NORET(OleUninitialize) | 
|---|
| 152 | NODEF_DEBUGWRAP0(OpenOrCreateStream) | 
|---|
| 153 | DEBUGWRAP8(ProgIDFromCLSID) | 
|---|
| 154 | DEBUGWRAP8(ReadClassStg) | 
|---|
| 155 | DEBUGWRAP8(ReadClassStm) | 
|---|
| 156 | DEBUGWRAP12(ReadFmtUserTypeStg) | 
|---|
| 157 | NODEF_DEBUGWRAP0(ReadOleStg) | 
|---|
| 158 | NODEF_DEBUGWRAP0(ReadStringStream) | 
|---|
| 159 | DEBUGWRAP8(RegisterDragDrop) | 
|---|
| 160 | DEBUGWRAP4(ReleaseStgMedium) | 
|---|
| 161 | DEBUGWRAP4(RevokeDragDrop) | 
|---|
| 162 | DEBUGWRAP8(SetConvertStg) | 
|---|
| 163 | NODEF_DEBUGWRAP0(SetDocumentBitStg) | 
|---|
| 164 | DEBUGWRAP16(StgCreateDocfile) | 
|---|
| 165 | DEBUGWRAP16(StgCreateDocfileOnILockBytes) | 
|---|
| 166 | DEBUGWRAP4(StgIsStorageFile) | 
|---|
| 167 | DEBUGWRAP4(StgIsStorageILockBytes) | 
|---|
| 168 | DEBUGWRAP24(StgOpenStorage) | 
|---|
| 169 | DEBUGWRAP24(StgOpenStorageOnILockBytes) | 
|---|
| 170 | NODEF_DEBUGWRAP16(StgSetTimes) | 
|---|
| 171 | DEBUGWRAP8(StringFromCLSID) | 
|---|
| 172 | DEBUGWRAP12(StringFromGUID2) | 
|---|
| 173 | NODEF_DEBUGWRAP0(UtConvertDvtd16toDvtd32) | 
|---|
| 174 | NODEF_DEBUGWRAP0(UtConvertDvtd32toDvtd16) | 
|---|
| 175 | NODEF_DEBUGWRAP0(UtGetDvtd16Info) | 
|---|
| 176 | NODEF_DEBUGWRAP0(UtGetDvtd32Info) | 
|---|
| 177 | DEBUGWRAP8(WriteClassStg) | 
|---|
| 178 | DEBUGWRAP8(WriteClassStm) | 
|---|
| 179 | DEBUGWRAP12(WriteFmtUserTypeStg) | 
|---|
| 180 | NODEF_DEBUGWRAP0(WriteOleStg) | 
|---|
| 181 | NODEF_DEBUGWRAP0(WriteStringStream) | 
|---|
| 182 | DEBUGWRAP8(CoInitializeEx) | 
|---|
| 183 | DEBUGWRAP24(CoCreateInstanceEx) | 
|---|
| 184 | NODEF_DEBUGWRAP4(PropVariantClear) | 
|---|
| 185 | DEBUGWRAP0(CoResumeClassObjects) | 
|---|
| 186 | NODEF_DEBUGWRAP0(OLE32_DllRegisterServer) | 
|---|
| 187 | NODEF_DEBUGWRAP4(CreateErrorInfo) | 
|---|
| 188 | NODEF_DEBUGWRAP8(GetErrorInfo) | 
|---|
| 189 | NODEF_DEBUGWRAP8(FreePropVariantArray) | 
|---|
| 190 | NODEF_DEBUGWRAP8(PropVariantCopy) | 
|---|
| 191 | NODEF_DEBUGWRAP8(SetErrorInfo) | 
|---|
| 192 | DEBUGWRAP0(CoImpersonateClient) | 
|---|
| 193 | DEBUGWRAP36(CoInitializeSecurity) | 
|---|
| 194 | DEBUGWRAP4(CoRegisterSurrogate) | 
|---|
| 195 | DEBUGWRAP8(WINE_StringFromCLSID) | 
|---|
| 196 | DEBUGWRAP8(CLSIDFromStringA) | 
|---|
| 197 | DEBUGWRAP8(CLSIDFromString16) | 
|---|
| 198 |  | 
|---|
| 199 |  | 
|---|