| /*** Autogenerated by WIDL 1.6 from include/objidl.idl - Do not edit ***/ |
| |
| #ifndef __REQUIRED_RPCNDR_H_VERSION__ |
| #define __REQUIRED_RPCNDR_H_VERSION__ 475 |
| #endif |
| |
| #include <rpc.h> |
| #include <rpcndr.h> |
| |
| #ifndef COM_NO_WINDOWS_H |
| #include <windows.h> |
| #include <ole2.h> |
| #endif |
| |
| #ifndef __objidl_h__ |
| #define __objidl_h__ |
| |
| /* Forward declarations */ |
| |
| #ifndef __IMarshal_FWD_DEFINED__ |
| #define __IMarshal_FWD_DEFINED__ |
| typedef interface IMarshal IMarshal; |
| #endif |
| |
| #ifndef __INoMarshal_FWD_DEFINED__ |
| #define __INoMarshal_FWD_DEFINED__ |
| typedef interface INoMarshal INoMarshal; |
| #endif |
| |
| #ifndef __IAgileObject_FWD_DEFINED__ |
| #define __IAgileObject_FWD_DEFINED__ |
| typedef interface IAgileObject IAgileObject; |
| #endif |
| |
| #ifndef __IMarshal2_FWD_DEFINED__ |
| #define __IMarshal2_FWD_DEFINED__ |
| typedef interface IMarshal2 IMarshal2; |
| #endif |
| |
| #ifndef __IMalloc_FWD_DEFINED__ |
| #define __IMalloc_FWD_DEFINED__ |
| typedef interface IMalloc IMalloc; |
| #endif |
| |
| #ifndef __IStdMarshalInfo_FWD_DEFINED__ |
| #define __IStdMarshalInfo_FWD_DEFINED__ |
| typedef interface IStdMarshalInfo IStdMarshalInfo; |
| #endif |
| |
| #ifndef __IExternalConnection_FWD_DEFINED__ |
| #define __IExternalConnection_FWD_DEFINED__ |
| typedef interface IExternalConnection IExternalConnection; |
| #endif |
| |
| #ifndef __IMultiQI_FWD_DEFINED__ |
| #define __IMultiQI_FWD_DEFINED__ |
| typedef interface IMultiQI IMultiQI; |
| #endif |
| |
| #ifndef __AsyncIMultiQI_FWD_DEFINED__ |
| #define __AsyncIMultiQI_FWD_DEFINED__ |
| typedef interface AsyncIMultiQI AsyncIMultiQI; |
| #endif |
| |
| #ifndef __IInternalUnknown_FWD_DEFINED__ |
| #define __IInternalUnknown_FWD_DEFINED__ |
| typedef interface IInternalUnknown IInternalUnknown; |
| #endif |
| |
| #ifndef __IEnumUnknown_FWD_DEFINED__ |
| #define __IEnumUnknown_FWD_DEFINED__ |
| typedef interface IEnumUnknown IEnumUnknown; |
| #endif |
| |
| #ifndef __IEnumString_FWD_DEFINED__ |
| #define __IEnumString_FWD_DEFINED__ |
| typedef interface IEnumString IEnumString; |
| #endif |
| |
| #ifndef __ISequentialStream_FWD_DEFINED__ |
| #define __ISequentialStream_FWD_DEFINED__ |
| typedef interface ISequentialStream ISequentialStream; |
| #endif |
| |
| #ifndef __IStream_FWD_DEFINED__ |
| #define __IStream_FWD_DEFINED__ |
| typedef interface IStream IStream; |
| #endif |
| |
| #ifndef __IRpcChannelBuffer_FWD_DEFINED__ |
| #define __IRpcChannelBuffer_FWD_DEFINED__ |
| typedef interface IRpcChannelBuffer IRpcChannelBuffer; |
| #endif |
| |
| #ifndef __IRpcChannelBuffer2_FWD_DEFINED__ |
| #define __IRpcChannelBuffer2_FWD_DEFINED__ |
| typedef interface IRpcChannelBuffer2 IRpcChannelBuffer2; |
| #endif |
| |
| #ifndef __IAsyncRpcChannelBuffer_FWD_DEFINED__ |
| #define __IAsyncRpcChannelBuffer_FWD_DEFINED__ |
| typedef interface IAsyncRpcChannelBuffer IAsyncRpcChannelBuffer; |
| #endif |
| |
| #ifndef __IRpcChannelBuffer3_FWD_DEFINED__ |
| #define __IRpcChannelBuffer3_FWD_DEFINED__ |
| typedef interface IRpcChannelBuffer3 IRpcChannelBuffer3; |
| #endif |
| |
| #ifndef __IRpcSyntaxNegotiate_FWD_DEFINED__ |
| #define __IRpcSyntaxNegotiate_FWD_DEFINED__ |
| typedef interface IRpcSyntaxNegotiate IRpcSyntaxNegotiate; |
| #endif |
| |
| #ifndef __IRpcProxyBuffer_FWD_DEFINED__ |
| #define __IRpcProxyBuffer_FWD_DEFINED__ |
| typedef interface IRpcProxyBuffer IRpcProxyBuffer; |
| #endif |
| |
| #ifndef __IRpcStubBuffer_FWD_DEFINED__ |
| #define __IRpcStubBuffer_FWD_DEFINED__ |
| typedef interface IRpcStubBuffer IRpcStubBuffer; |
| #endif |
| |
| #ifndef __IPSFactoryBuffer_FWD_DEFINED__ |
| #define __IPSFactoryBuffer_FWD_DEFINED__ |
| typedef interface IPSFactoryBuffer IPSFactoryBuffer; |
| #endif |
| |
| #ifndef __IChannelHook_FWD_DEFINED__ |
| #define __IChannelHook_FWD_DEFINED__ |
| typedef interface IChannelHook IChannelHook; |
| #endif |
| |
| #ifndef __IClientSecurity_FWD_DEFINED__ |
| #define __IClientSecurity_FWD_DEFINED__ |
| typedef interface IClientSecurity IClientSecurity; |
| #endif |
| |
| #ifndef __IServerSecurity_FWD_DEFINED__ |
| #define __IServerSecurity_FWD_DEFINED__ |
| typedef interface IServerSecurity IServerSecurity; |
| #endif |
| |
| #ifndef __IRpcOptions_FWD_DEFINED__ |
| #define __IRpcOptions_FWD_DEFINED__ |
| typedef interface IRpcOptions IRpcOptions; |
| #endif |
| |
| #ifndef __IGlobalOptions_FWD_DEFINED__ |
| #define __IGlobalOptions_FWD_DEFINED__ |
| typedef interface IGlobalOptions IGlobalOptions; |
| #endif |
| |
| #ifndef __ISurrogate_FWD_DEFINED__ |
| #define __ISurrogate_FWD_DEFINED__ |
| typedef interface ISurrogate ISurrogate; |
| #endif |
| |
| #ifndef __IGlobalInterfaceTable_FWD_DEFINED__ |
| #define __IGlobalInterfaceTable_FWD_DEFINED__ |
| typedef interface IGlobalInterfaceTable IGlobalInterfaceTable; |
| #endif |
| |
| #ifndef __ISynchronize_FWD_DEFINED__ |
| #define __ISynchronize_FWD_DEFINED__ |
| typedef interface ISynchronize ISynchronize; |
| #endif |
| |
| #ifndef __ISynchronizeHandle_FWD_DEFINED__ |
| #define __ISynchronizeHandle_FWD_DEFINED__ |
| typedef interface ISynchronizeHandle ISynchronizeHandle; |
| #endif |
| |
| #ifndef __ISynchronizeEvent_FWD_DEFINED__ |
| #define __ISynchronizeEvent_FWD_DEFINED__ |
| typedef interface ISynchronizeEvent ISynchronizeEvent; |
| #endif |
| |
| #ifndef __ISynchronizeContainer_FWD_DEFINED__ |
| #define __ISynchronizeContainer_FWD_DEFINED__ |
| typedef interface ISynchronizeContainer ISynchronizeContainer; |
| #endif |
| |
| #ifndef __ISynchronizeMutex_FWD_DEFINED__ |
| #define __ISynchronizeMutex_FWD_DEFINED__ |
| typedef interface ISynchronizeMutex ISynchronizeMutex; |
| #endif |
| |
| #ifndef __ICancelMethodCalls_FWD_DEFINED__ |
| #define __ICancelMethodCalls_FWD_DEFINED__ |
| typedef interface ICancelMethodCalls ICancelMethodCalls; |
| #endif |
| |
| #ifndef __IAsyncManager_FWD_DEFINED__ |
| #define __IAsyncManager_FWD_DEFINED__ |
| typedef interface IAsyncManager IAsyncManager; |
| #endif |
| |
| #ifndef __ICallFactory_FWD_DEFINED__ |
| #define __ICallFactory_FWD_DEFINED__ |
| typedef interface ICallFactory ICallFactory; |
| #endif |
| |
| #ifndef __IRpcHelper_FWD_DEFINED__ |
| #define __IRpcHelper_FWD_DEFINED__ |
| typedef interface IRpcHelper IRpcHelper; |
| #endif |
| |
| #ifndef __IReleaseMarshalBuffers_FWD_DEFINED__ |
| #define __IReleaseMarshalBuffers_FWD_DEFINED__ |
| typedef interface IReleaseMarshalBuffers IReleaseMarshalBuffers; |
| #endif |
| |
| #ifndef __IWaitMultiple_FWD_DEFINED__ |
| #define __IWaitMultiple_FWD_DEFINED__ |
| typedef interface IWaitMultiple IWaitMultiple; |
| #endif |
| |
| #ifndef __IAddrTrackingControl_FWD_DEFINED__ |
| #define __IAddrTrackingControl_FWD_DEFINED__ |
| typedef interface IAddrTrackingControl IAddrTrackingControl; |
| #endif |
| |
| #ifndef __IAddrExclusionControl_FWD_DEFINED__ |
| #define __IAddrExclusionControl_FWD_DEFINED__ |
| typedef interface IAddrExclusionControl IAddrExclusionControl; |
| #endif |
| |
| #ifndef __IPipeByte_FWD_DEFINED__ |
| #define __IPipeByte_FWD_DEFINED__ |
| typedef interface IPipeByte IPipeByte; |
| #endif |
| |
| #ifndef __IPipeLong_FWD_DEFINED__ |
| #define __IPipeLong_FWD_DEFINED__ |
| typedef interface IPipeLong IPipeLong; |
| #endif |
| |
| #ifndef __IPipeDouble_FWD_DEFINED__ |
| #define __IPipeDouble_FWD_DEFINED__ |
| typedef interface IPipeDouble IPipeDouble; |
| #endif |
| |
| #ifndef __IEnumContextProps_FWD_DEFINED__ |
| #define __IEnumContextProps_FWD_DEFINED__ |
| typedef interface IEnumContextProps IEnumContextProps; |
| #endif |
| |
| #ifndef __IContext_FWD_DEFINED__ |
| #define __IContext_FWD_DEFINED__ |
| typedef interface IContext IContext; |
| #endif |
| |
| #ifndef __IComThreadingInfo_FWD_DEFINED__ |
| #define __IComThreadingInfo_FWD_DEFINED__ |
| typedef interface IComThreadingInfo IComThreadingInfo; |
| #endif |
| |
| #ifndef __IProcessInitControl_FWD_DEFINED__ |
| #define __IProcessInitControl_FWD_DEFINED__ |
| typedef interface IProcessInitControl IProcessInitControl; |
| #endif |
| |
| #ifndef __IFastRundown_FWD_DEFINED__ |
| #define __IFastRundown_FWD_DEFINED__ |
| typedef interface IFastRundown IFastRundown; |
| #endif |
| |
| #ifndef __IMarshalingStream_FWD_DEFINED__ |
| #define __IMarshalingStream_FWD_DEFINED__ |
| typedef interface IMarshalingStream IMarshalingStream; |
| #endif |
| |
| #ifndef __IMallocSpy_FWD_DEFINED__ |
| #define __IMallocSpy_FWD_DEFINED__ |
| typedef interface IMallocSpy IMallocSpy; |
| #endif |
| |
| #ifndef __IBindCtx_FWD_DEFINED__ |
| #define __IBindCtx_FWD_DEFINED__ |
| typedef interface IBindCtx IBindCtx; |
| #endif |
| |
| #ifndef __IEnumMoniker_FWD_DEFINED__ |
| #define __IEnumMoniker_FWD_DEFINED__ |
| typedef interface IEnumMoniker IEnumMoniker; |
| #endif |
| |
| #ifndef __IRunnableObject_FWD_DEFINED__ |
| #define __IRunnableObject_FWD_DEFINED__ |
| typedef interface IRunnableObject IRunnableObject; |
| #endif |
| |
| #ifndef __IRunningObjectTable_FWD_DEFINED__ |
| #define __IRunningObjectTable_FWD_DEFINED__ |
| typedef interface IRunningObjectTable IRunningObjectTable; |
| #endif |
| |
| #ifndef __IPersist_FWD_DEFINED__ |
| #define __IPersist_FWD_DEFINED__ |
| typedef interface IPersist IPersist; |
| #endif |
| |
| #ifndef __IPersistStream_FWD_DEFINED__ |
| #define __IPersistStream_FWD_DEFINED__ |
| typedef interface IPersistStream IPersistStream; |
| #endif |
| |
| #ifndef __IMoniker_FWD_DEFINED__ |
| #define __IMoniker_FWD_DEFINED__ |
| typedef interface IMoniker IMoniker; |
| #endif |
| |
| #ifndef __IROTData_FWD_DEFINED__ |
| #define __IROTData_FWD_DEFINED__ |
| typedef interface IROTData IROTData; |
| #endif |
| |
| #ifndef __IEnumSTATSTG_FWD_DEFINED__ |
| #define __IEnumSTATSTG_FWD_DEFINED__ |
| typedef interface IEnumSTATSTG IEnumSTATSTG; |
| #endif |
| |
| #ifndef __IStorage_FWD_DEFINED__ |
| #define __IStorage_FWD_DEFINED__ |
| typedef interface IStorage IStorage; |
| #endif |
| |
| #ifndef __IPersistFile_FWD_DEFINED__ |
| #define __IPersistFile_FWD_DEFINED__ |
| typedef interface IPersistFile IPersistFile; |
| #endif |
| |
| #ifndef __IPersistStorage_FWD_DEFINED__ |
| #define __IPersistStorage_FWD_DEFINED__ |
| typedef interface IPersistStorage IPersistStorage; |
| #endif |
| |
| #ifndef __ILockBytes_FWD_DEFINED__ |
| #define __ILockBytes_FWD_DEFINED__ |
| typedef interface ILockBytes ILockBytes; |
| #endif |
| |
| #ifndef __IEnumFORMATETC_FWD_DEFINED__ |
| #define __IEnumFORMATETC_FWD_DEFINED__ |
| typedef interface IEnumFORMATETC IEnumFORMATETC; |
| #endif |
| |
| #ifndef __IEnumSTATDATA_FWD_DEFINED__ |
| #define __IEnumSTATDATA_FWD_DEFINED__ |
| typedef interface IEnumSTATDATA IEnumSTATDATA; |
| #endif |
| |
| #ifndef __IRootStorage_FWD_DEFINED__ |
| #define __IRootStorage_FWD_DEFINED__ |
| typedef interface IRootStorage IRootStorage; |
| #endif |
| |
| #ifndef __IAdviseSink_FWD_DEFINED__ |
| #define __IAdviseSink_FWD_DEFINED__ |
| typedef interface IAdviseSink IAdviseSink; |
| #endif |
| |
| #ifndef __AsyncIAdviseSink_FWD_DEFINED__ |
| #define __AsyncIAdviseSink_FWD_DEFINED__ |
| typedef interface AsyncIAdviseSink AsyncIAdviseSink; |
| #endif |
| |
| #ifndef __IAdviseSink2_FWD_DEFINED__ |
| #define __IAdviseSink2_FWD_DEFINED__ |
| typedef interface IAdviseSink2 IAdviseSink2; |
| #endif |
| |
| #ifndef __AsyncIAdviseSink2_FWD_DEFINED__ |
| #define __AsyncIAdviseSink2_FWD_DEFINED__ |
| typedef interface AsyncIAdviseSink2 AsyncIAdviseSink2; |
| #endif |
| |
| #ifndef __IDataObject_FWD_DEFINED__ |
| #define __IDataObject_FWD_DEFINED__ |
| typedef interface IDataObject IDataObject; |
| #endif |
| |
| #ifndef __IDataAdviseHolder_FWD_DEFINED__ |
| #define __IDataAdviseHolder_FWD_DEFINED__ |
| typedef interface IDataAdviseHolder IDataAdviseHolder; |
| #endif |
| |
| #ifndef __IMessageFilter_FWD_DEFINED__ |
| #define __IMessageFilter_FWD_DEFINED__ |
| typedef interface IMessageFilter IMessageFilter; |
| #endif |
| |
| #ifndef __IClassActivator_FWD_DEFINED__ |
| #define __IClassActivator_FWD_DEFINED__ |
| typedef interface IClassActivator IClassActivator; |
| #endif |
| |
| #ifndef __IFillLockBytes_FWD_DEFINED__ |
| #define __IFillLockBytes_FWD_DEFINED__ |
| typedef interface IFillLockBytes IFillLockBytes; |
| #endif |
| |
| #ifndef __IProgressNotify_FWD_DEFINED__ |
| #define __IProgressNotify_FWD_DEFINED__ |
| typedef interface IProgressNotify IProgressNotify; |
| #endif |
| |
| #ifndef __ILayoutStorage_FWD_DEFINED__ |
| #define __ILayoutStorage_FWD_DEFINED__ |
| typedef interface ILayoutStorage ILayoutStorage; |
| #endif |
| |
| #ifndef __IBlockingLock_FWD_DEFINED__ |
| #define __IBlockingLock_FWD_DEFINED__ |
| typedef interface IBlockingLock IBlockingLock; |
| #endif |
| |
| #ifndef __ITimeAndNoticeControl_FWD_DEFINED__ |
| #define __ITimeAndNoticeControl_FWD_DEFINED__ |
| typedef interface ITimeAndNoticeControl ITimeAndNoticeControl; |
| #endif |
| |
| #ifndef __IOplockStorage_FWD_DEFINED__ |
| #define __IOplockStorage_FWD_DEFINED__ |
| typedef interface IOplockStorage IOplockStorage; |
| #endif |
| |
| #ifndef __IDirectWriterLock_FWD_DEFINED__ |
| #define __IDirectWriterLock_FWD_DEFINED__ |
| typedef interface IDirectWriterLock IDirectWriterLock; |
| #endif |
| |
| #ifndef __IUrlMon_FWD_DEFINED__ |
| #define __IUrlMon_FWD_DEFINED__ |
| typedef interface IUrlMon IUrlMon; |
| #endif |
| |
| #ifndef __IForegroundTransfer_FWD_DEFINED__ |
| #define __IForegroundTransfer_FWD_DEFINED__ |
| typedef interface IForegroundTransfer IForegroundTransfer; |
| #endif |
| |
| #ifndef __IThumbnailExtractor_FWD_DEFINED__ |
| #define __IThumbnailExtractor_FWD_DEFINED__ |
| typedef interface IThumbnailExtractor IThumbnailExtractor; |
| #endif |
| |
| #ifndef __IDummyHICONIncluder_FWD_DEFINED__ |
| #define __IDummyHICONIncluder_FWD_DEFINED__ |
| typedef interface IDummyHICONIncluder IDummyHICONIncluder; |
| #endif |
| |
| #ifndef __IProcessLock_FWD_DEFINED__ |
| #define __IProcessLock_FWD_DEFINED__ |
| typedef interface IProcessLock IProcessLock; |
| #endif |
| |
| #ifndef __ISurrogateService_FWD_DEFINED__ |
| #define __ISurrogateService_FWD_DEFINED__ |
| typedef interface ISurrogateService ISurrogateService; |
| #endif |
| |
| #ifndef __IInitializeSpy_FWD_DEFINED__ |
| #define __IInitializeSpy_FWD_DEFINED__ |
| typedef interface IInitializeSpy IInitializeSpy; |
| #endif |
| |
| #ifndef __IApartmentShutdown_FWD_DEFINED__ |
| #define __IApartmentShutdown_FWD_DEFINED__ |
| typedef interface IApartmentShutdown IApartmentShutdown; |
| #endif |
| |
| /* Headers for imported files */ |
| |
| #include <unknwn.h> |
| #include <wtypes.h> |
| |
| #ifdef __cplusplus |
| extern "C" { |
| #endif |
| |
| /** |
| * This file is part of the mingw-w64 runtime package. |
| * No warranty is given; refer to the file DISCLAIMER within this package. |
| */ |
| |
| #include <winapifamily.h> |
| |
| #if (NTDDI_VERSION >= NTDDI_VISTA && !defined(_WIN32_WINNT)) |
| #define _WIN32_WINNT 0x0600 |
| #endif |
| #if(NTDDI_VERSION >= NTDDI_WS03 && !defined(_WIN32_WINNT)) |
| #define _WIN32_WINNT 0x0502 |
| #endif |
| #if(NTDDI_VERSION >= NTDDI_WINXP && !defined(_WIN32_WINNT)) |
| #define _WIN32_WINNT 0x0501 |
| #endif |
| /** |
| * This file is part of the mingw-w64 runtime package. |
| * No warranty is given; refer to the file DISCLAIMER within this package. |
| */ |
| |
| #include <winapifamily.h> |
| |
| #if (NTDDI_VERSION >= NTDDI_VISTA && !defined(_WIN32_WINNT)) |
| #define _WIN32_WINNT 0x0600 |
| #endif |
| |
| #if (NTDDI_VERSION >= NTDDI_WS03 && !defined(_WIN32_WINNT)) |
| #define _WIN32_WINNT 0x0502 |
| #endif |
| |
| #if (NTDDI_VERSION >= NTDDI_WINXP && !defined(_WIN32_WINNT)) |
| #define _WIN32_WINNT 0x0501 |
| #endif |
| |
| #ifndef _OBJIDLBASE_ |
| #if WINAPI_FAMILY_PARTITION(WINAPI_PARTITION_APP) |
| #ifndef __IStream_FWD_DEFINED__ |
| #define __IStream_FWD_DEFINED__ |
| typedef interface IStream IStream; |
| #endif |
| |
| #ifndef __IEnumString_FWD_DEFINED__ |
| #define __IEnumString_FWD_DEFINED__ |
| typedef interface IEnumString IEnumString; |
| #endif |
| |
| #ifndef __IMultiQI_FWD_DEFINED__ |
| #define __IMultiQI_FWD_DEFINED__ |
| typedef interface IMultiQI IMultiQI; |
| #endif |
| |
| #ifndef __AsyncIMultiQI_FWD_DEFINED__ |
| #define __AsyncIMultiQI_FWD_DEFINED__ |
| typedef interface AsyncIMultiQI AsyncIMultiQI; |
| #endif |
| |
| #endif |
| |
| #if WINAPI_FAMILY_PARTITION(WINAPI_PARTITION_DESKTOP) |
| #ifndef __IAsyncManager_FWD_DEFINED__ |
| #define __IAsyncManager_FWD_DEFINED__ |
| typedef interface IAsyncManager IAsyncManager; |
| #endif |
| |
| #ifndef __ICallFactory_FWD_DEFINED__ |
| #define __ICallFactory_FWD_DEFINED__ |
| typedef interface ICallFactory ICallFactory; |
| #endif |
| |
| #ifndef __ISynchronize_FWD_DEFINED__ |
| #define __ISynchronize_FWD_DEFINED__ |
| typedef interface ISynchronize ISynchronize; |
| #endif |
| |
| #endif |
| |
| #if WINAPI_FAMILY_PARTITION(WINAPI_PARTITION_APP) |
| typedef struct _COSERVERINFO { |
| DWORD dwReserved1; |
| LPWSTR pwszName; |
| COAUTHINFO *pAuthInfo; |
| DWORD dwReserved2; |
| } COSERVERINFO; |
| |
| /***************************************************************************** |
| * IMarshal interface |
| */ |
| #ifndef __IMarshal_INTERFACE_DEFINED__ |
| #define __IMarshal_INTERFACE_DEFINED__ |
| |
| typedef IMarshal *LPMARSHAL; |
| DEFINE_GUID(IID_IMarshal, 0x00000003, 0x0000, 0x0000, 0xc0,0x00, 0x00,0x00,0x00,0x00,0x00,0x46); |
| #if defined(__cplusplus) && !defined(CINTERFACE) |
| MIDL_INTERFACE("00000003-0000-0000-c000-000000000046") |
| IMarshal : public IUnknown |
| { |
| virtual HRESULT STDMETHODCALLTYPE GetUnmarshalClass( |
| REFIID riid, |
| void *pv, |
| DWORD dwDestContext, |
| void *pvDestContext, |
| DWORD mshlflags, |
| CLSID *pCid) = 0; |
| |
| virtual HRESULT STDMETHODCALLTYPE GetMarshalSizeMax( |
| REFIID riid, |
| void *pv, |
| DWORD dwDestContext, |
| void *pvDestContext, |
| DWORD mshlflags, |
| DWORD *pSize) = 0; |
| |
| virtual HRESULT STDMETHODCALLTYPE MarshalInterface( |
| IStream *pStm, |
| REFIID riid, |
| void *pv, |
| DWORD dwDestContext, |
| void *pvDestContext, |
| DWORD mshlflags) = 0; |
| |
| virtual HRESULT STDMETHODCALLTYPE UnmarshalInterface( |
| IStream *pStm, |
| REFIID riid, |
| void **ppv) = 0; |
| |
| virtual HRESULT STDMETHODCALLTYPE ReleaseMarshalData( |
| IStream *pStm) = 0; |
| |
| virtual HRESULT STDMETHODCALLTYPE DisconnectObject( |
| DWORD dwReserved) = 0; |
| |
| }; |
| #ifdef __CRT_UUID_DECL |
| __CRT_UUID_DECL(IMarshal, 0x00000003, 0x0000, 0x0000, 0xc0,0x00, 0x00,0x00,0x00,0x00,0x00,0x46) |
| #endif |
| #else |
| typedef struct IMarshalVtbl { |
| BEGIN_INTERFACE |
| |
| /*** IUnknown methods ***/ |
| HRESULT (STDMETHODCALLTYPE *QueryInterface)( |
| IMarshal* This, |
| REFIID riid, |
| void **ppvObject); |
| |
| ULONG (STDMETHODCALLTYPE *AddRef)( |
| IMarshal* This); |
| |
| ULONG (STDMETHODCALLTYPE *Release)( |
| IMarshal* This); |
| |
| /*** IMarshal methods ***/ |
| HRESULT (STDMETHODCALLTYPE *GetUnmarshalClass)( |
| IMarshal* This, |
| REFIID riid, |
| void *pv, |
| DWORD dwDestContext, |
| void *pvDestContext, |
| DWORD mshlflags, |
| CLSID *pCid); |
| |
| HRESULT (STDMETHODCALLTYPE *GetMarshalSizeMax)( |
| IMarshal* This, |
| REFIID riid, |
| void *pv, |
| DWORD dwDestContext, |
| void *pvDestContext, |
| DWORD mshlflags, |
| DWORD *pSize); |
| |
| HRESULT (STDMETHODCALLTYPE *MarshalInterface)( |
| IMarshal* This, |
| IStream *pStm, |
| REFIID riid, |
| void *pv, |
| DWORD dwDestContext, |
| void *pvDestContext, |
| DWORD mshlflags); |
| |
| HRESULT (STDMETHODCALLTYPE *UnmarshalInterface)( |
| IMarshal* This, |
| IStream *pStm, |
| REFIID riid, |
| void **ppv); |
| |
| HRESULT (STDMETHODCALLTYPE *ReleaseMarshalData)( |
| IMarshal* This, |
| IStream *pStm); |
| |
| HRESULT (STDMETHODCALLTYPE *DisconnectObject)( |
| IMarshal* This, |
| DWORD dwReserved); |
| |
| END_INTERFACE |
| } IMarshalVtbl; |
| interface IMarshal { |
| CONST_VTBL IMarshalVtbl* lpVtbl; |
| }; |
| |
| #ifdef COBJMACROS |
| #ifndef WIDL_C_INLINE_WRAPPERS |
| /*** IUnknown methods ***/ |
| #define IMarshal_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) |
| #define IMarshal_AddRef(This) (This)->lpVtbl->AddRef(This) |
| #define IMarshal_Release(This) (This)->lpVtbl->Release(This) |
| /*** IMarshal methods ***/ |
| #define IMarshal_GetUnmarshalClass(This,riid,pv,dwDestContext,pvDestContext,mshlflags,pCid) (This)->lpVtbl->GetUnmarshalClass(This,riid,pv,dwDestContext,pvDestContext,mshlflags,pCid) |
| #define IMarshal_GetMarshalSizeMax(This,riid,pv,dwDestContext,pvDestContext,mshlflags,pSize) (This)->lpVtbl->GetMarshalSizeMax(This,riid,pv,dwDestContext,pvDestContext,mshlflags,pSize) |
| #define IMarshal_MarshalInterface(This,pStm,riid,pv,dwDestContext,pvDestContext,mshlflags) (This)->lpVtbl->MarshalInterface(This,pStm,riid,pv,dwDestContext,pvDestContext,mshlflags) |
| #define IMarshal_UnmarshalInterface(This,pStm,riid,ppv) (This)->lpVtbl->UnmarshalInterface(This,pStm,riid,ppv) |
| #define IMarshal_ReleaseMarshalData(This,pStm) (This)->lpVtbl->ReleaseMarshalData(This,pStm) |
| #define IMarshal_DisconnectObject(This,dwReserved) (This)->lpVtbl->DisconnectObject(This,dwReserved) |
| #else |
| /*** IUnknown methods ***/ |
| static FORCEINLINE HRESULT IMarshal_QueryInterface(IMarshal* This,REFIID riid,void **ppvObject) { |
| return This->lpVtbl->QueryInterface(This,riid,ppvObject); |
| } |
| static FORCEINLINE ULONG IMarshal_AddRef(IMarshal* This) { |
| return This->lpVtbl->AddRef(This); |
| } |
| static FORCEINLINE ULONG IMarshal_Release(IMarshal* This) { |
| return This->lpVtbl->Release(This); |
| } |
| /*** IMarshal methods ***/ |
| static FORCEINLINE HRESULT IMarshal_GetUnmarshalClass(IMarshal* This,REFIID riid,void *pv,DWORD dwDestContext,void *pvDestContext,DWORD mshlflags,CLSID *pCid) { |
| return This->lpVtbl->GetUnmarshalClass(This,riid,pv,dwDestContext,pvDestContext,mshlflags,pCid); |
| } |
| static FORCEINLINE HRESULT IMarshal_GetMarshalSizeMax(IMarshal* This,REFIID riid,void *pv,DWORD dwDestContext,void *pvDestContext,DWORD mshlflags,DWORD *pSize) { |
| return This->lpVtbl->GetMarshalSizeMax(This,riid,pv,dwDestContext,pvDestContext,mshlflags,pSize); |
| } |
| static FORCEINLINE HRESULT IMarshal_MarshalInterface(IMarshal* This,IStream *pStm,REFIID riid,void *pv,DWORD dwDestContext,void *pvDestContext,DWORD mshlflags) { |
| return This->lpVtbl->MarshalInterface(This,pStm,riid,pv,dwDestContext,pvDestContext,mshlflags); |
| } |
| static FORCEINLINE HRESULT IMarshal_UnmarshalInterface(IMarshal* This,IStream *pStm,REFIID riid,void **ppv) { |
| return This->lpVtbl->UnmarshalInterface(This,pStm,riid,ppv); |
| } |
| static FORCEINLINE HRESULT IMarshal_ReleaseMarshalData(IMarshal* This,IStream *pStm) { |
| return This->lpVtbl->ReleaseMarshalData(This,pStm); |
| } |
| static FORCEINLINE HRESULT IMarshal_DisconnectObject(IMarshal* This,DWORD dwReserved) { |
| return This->lpVtbl->DisconnectObject(This,dwReserved); |
| } |
| #endif |
| #endif |
| |
| #endif |
| |
| HRESULT STDMETHODCALLTYPE IMarshal_GetUnmarshalClass_Proxy( |
| IMarshal* This, |
| REFIID riid, |
| void *pv, |
| DWORD dwDestContext, |
| void *pvDestContext, |
| DWORD mshlflags, |
| CLSID *pCid); |
| void __RPC_STUB IMarshal_GetUnmarshalClass_Stub( |
| IRpcStubBuffer* This, |
| IRpcChannelBuffer* pRpcChannelBuffer, |
| PRPC_MESSAGE pRpcMessage, |
| DWORD* pdwStubPhase); |
| HRESULT STDMETHODCALLTYPE IMarshal_GetMarshalSizeMax_Proxy( |
| IMarshal* This, |
| REFIID riid, |
| void *pv, |
| DWORD dwDestContext, |
| void *pvDestContext, |
| DWORD mshlflags, |
| DWORD *pSize); |
| void __RPC_STUB IMarshal_GetMarshalSizeMax_Stub( |
| IRpcStubBuffer* This, |
| IRpcChannelBuffer* pRpcChannelBuffer, |
| PRPC_MESSAGE pRpcMessage, |
| DWORD* pdwStubPhase); |
| HRESULT STDMETHODCALLTYPE IMarshal_MarshalInterface_Proxy( |
| IMarshal* This, |
| IStream *pStm, |
| REFIID riid, |
| void *pv, |
| DWORD dwDestContext, |
| void *pvDestContext, |
| DWORD mshlflags); |
| void __RPC_STUB IMarshal_MarshalInterface_Stub( |
| IRpcStubBuffer* This, |
| IRpcChannelBuffer* pRpcChannelBuffer, |
| PRPC_MESSAGE pRpcMessage, |
| DWORD* pdwStubPhase); |
| HRESULT STDMETHODCALLTYPE IMarshal_UnmarshalInterface_Proxy( |
| IMarshal* This, |
| IStream *pStm, |
| REFIID riid, |
| void **ppv); |
| void __RPC_STUB IMarshal_UnmarshalInterface_Stub( |
| IRpcStubBuffer* This, |
| IRpcChannelBuffer* pRpcChannelBuffer, |
| PRPC_MESSAGE pRpcMessage, |
| DWORD* pdwStubPhase); |
| HRESULT STDMETHODCALLTYPE IMarshal_ReleaseMarshalData_Proxy( |
| IMarshal* This, |
| IStream *pStm); |
| void __RPC_STUB IMarshal_ReleaseMarshalData_Stub( |
| IRpcStubBuffer* This, |
| IRpcChannelBuffer* pRpcChannelBuffer, |
| PRPC_MESSAGE pRpcMessage, |
| DWORD* pdwStubPhase); |
| HRESULT STDMETHODCALLTYPE IMarshal_DisconnectObject_Proxy( |
| IMarshal* This, |
| DWORD dwReserved); |
| void __RPC_STUB IMarshal_DisconnectObject_Stub( |
| IRpcStubBuffer* This, |
| IRpcChannelBuffer* pRpcChannelBuffer, |
| PRPC_MESSAGE pRpcMessage, |
| DWORD* pdwStubPhase); |
| |
| #endif /* __IMarshal_INTERFACE_DEFINED__ */ |
| |
| |
| /***************************************************************************** |
| * INoMarshal interface |
| */ |
| #ifndef __INoMarshal_INTERFACE_DEFINED__ |
| #define __INoMarshal_INTERFACE_DEFINED__ |
| |
| DEFINE_GUID(IID_INoMarshal, 0xecc8691b, 0xc1db, 0x4dc0, 0x85,0x5e, 0x65,0xf6,0xc5,0x51,0xaf,0x49); |
| #if defined(__cplusplus) && !defined(CINTERFACE) |
| MIDL_INTERFACE("ecc8691b-c1db-4dc0-855e-65f6c551af49") |
| INoMarshal : public IUnknown |
| { |
| }; |
| #ifdef __CRT_UUID_DECL |
| __CRT_UUID_DECL(INoMarshal, 0xecc8691b, 0xc1db, 0x4dc0, 0x85,0x5e, 0x65,0xf6,0xc5,0x51,0xaf,0x49) |
| #endif |
| #else |
| typedef struct INoMarshalVtbl { |
| BEGIN_INTERFACE |
| |
| /*** IUnknown methods ***/ |
| HRESULT (STDMETHODCALLTYPE *QueryInterface)( |
| INoMarshal* This, |
| REFIID riid, |
| void **ppvObject); |
| |
| ULONG (STDMETHODCALLTYPE *AddRef)( |
| INoMarshal* This); |
| |
| ULONG (STDMETHODCALLTYPE *Release)( |
| INoMarshal* This); |
| |
| END_INTERFACE |
| } INoMarshalVtbl; |
| interface INoMarshal { |
| CONST_VTBL INoMarshalVtbl* lpVtbl; |
| }; |
| |
| #ifdef COBJMACROS |
| #ifndef WIDL_C_INLINE_WRAPPERS |
| /*** IUnknown methods ***/ |
| #define INoMarshal_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) |
| #define INoMarshal_AddRef(This) (This)->lpVtbl->AddRef(This) |
| #define INoMarshal_Release(This) (This)->lpVtbl->Release(This) |
| #else |
| /*** IUnknown methods ***/ |
| static FORCEINLINE HRESULT INoMarshal_QueryInterface(INoMarshal* This,REFIID riid,void **ppvObject) { |
| return This->lpVtbl->QueryInterface(This,riid,ppvObject); |
| } |
| static FORCEINLINE ULONG INoMarshal_AddRef(INoMarshal* This) { |
| return This->lpVtbl->AddRef(This); |
| } |
| static FORCEINLINE ULONG INoMarshal_Release(INoMarshal* This) { |
| return This->lpVtbl->Release(This); |
| } |
| #endif |
| #endif |
| |
| #endif |
| |
| |
| #endif /* __INoMarshal_INTERFACE_DEFINED__ */ |
| |
| |
| /***************************************************************************** |
| * IAgileObject interface |
| */ |
| #ifndef __IAgileObject_INTERFACE_DEFINED__ |
| #define __IAgileObject_INTERFACE_DEFINED__ |
| |
| DEFINE_GUID(IID_IAgileObject, 0x94ea2b94, 0xe9cc, 0x49e0, 0xc0,0xff, 0xee,0x64,0xca,0x8f,0x5b,0x90); |
| #if defined(__cplusplus) && !defined(CINTERFACE) |
| MIDL_INTERFACE("94ea2b94-e9cc-49e0-c0ff-ee64ca8f5b90") |
| IAgileObject : public IUnknown |
| { |
| }; |
| #ifdef __CRT_UUID_DECL |
| __CRT_UUID_DECL(IAgileObject, 0x94ea2b94, 0xe9cc, 0x49e0, 0xc0,0xff, 0xee,0x64,0xca,0x8f,0x5b,0x90) |
| #endif |
| #else |
| typedef struct IAgileObjectVtbl { |
| BEGIN_INTERFACE |
| |
| /*** IUnknown methods ***/ |
| HRESULT (STDMETHODCALLTYPE *QueryInterface)( |
| IAgileObject* This, |
| REFIID riid, |
| void **ppvObject); |
| |
| ULONG (STDMETHODCALLTYPE *AddRef)( |
| IAgileObject* This); |
| |
| ULONG (STDMETHODCALLTYPE *Release)( |
| IAgileObject* This); |
| |
| END_INTERFACE |
| } IAgileObjectVtbl; |
| interface IAgileObject { |
| CONST_VTBL IAgileObjectVtbl* lpVtbl; |
| }; |
| |
| #ifdef COBJMACROS |
| #ifndef WIDL_C_INLINE_WRAPPERS |
| /*** IUnknown methods ***/ |
| #define IAgileObject_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) |
| #define IAgileObject_AddRef(This) (This)->lpVtbl->AddRef(This) |
| #define IAgileObject_Release(This) (This)->lpVtbl->Release(This) |
| #else |
| /*** IUnknown methods ***/ |
| static FORCEINLINE HRESULT IAgileObject_QueryInterface(IAgileObject* This,REFIID riid,void **ppvObject) { |
| return This->lpVtbl->QueryInterface(This,riid,ppvObject); |
| } |
| static FORCEINLINE ULONG IAgileObject_AddRef(IAgileObject* This) { |
| return This->lpVtbl->AddRef(This); |
| } |
| static FORCEINLINE ULONG IAgileObject_Release(IAgileObject* This) { |
| return This->lpVtbl->Release(This); |
| } |
| #endif |
| #endif |
| |
| #endif |
| |
| |
| #endif /* __IAgileObject_INTERFACE_DEFINED__ */ |
| |
| #endif |
| |
| #if WINAPI_FAMILY_PARTITION(WINAPI_PARTITION_DESKTOP) |
| /***************************************************************************** |
| * IMarshal2 interface |
| */ |
| #ifndef __IMarshal2_INTERFACE_DEFINED__ |
| #define __IMarshal2_INTERFACE_DEFINED__ |
| |
| typedef IMarshal2 *LPMARSHAL2; |
| DEFINE_GUID(IID_IMarshal2, 0x000001cf, 0x0000, 0x0000, 0xc0,0x00, 0x00,0x00,0x00,0x00,0x00,0x46); |
| #if defined(__cplusplus) && !defined(CINTERFACE) |
| MIDL_INTERFACE("000001cf-0000-0000-c000-000000000046") |
| IMarshal2 : public IMarshal |
| { |
| }; |
| #ifdef __CRT_UUID_DECL |
| __CRT_UUID_DECL(IMarshal2, 0x000001cf, 0x0000, 0x0000, 0xc0,0x00, 0x00,0x00,0x00,0x00,0x00,0x46) |
| #endif |
| #else |
| typedef struct IMarshal2Vtbl { |
| BEGIN_INTERFACE |
| |
| /*** IUnknown methods ***/ |
| HRESULT (STDMETHODCALLTYPE *QueryInterface)( |
| IMarshal2* This, |
| REFIID riid, |
| void **ppvObject); |
| |
| ULONG (STDMETHODCALLTYPE *AddRef)( |
| IMarshal2* This); |
| |
| ULONG (STDMETHODCALLTYPE *Release)( |
| IMarshal2* This); |
| |
| /*** IMarshal methods ***/ |
| HRESULT (STDMETHODCALLTYPE *GetUnmarshalClass)( |
| IMarshal2* This, |
| REFIID riid, |
| void *pv, |
| DWORD dwDestContext, |
| void *pvDestContext, |
| DWORD mshlflags, |
| CLSID *pCid); |
| |
| HRESULT (STDMETHODCALLTYPE *GetMarshalSizeMax)( |
| IMarshal2* This, |
| REFIID riid, |
| void *pv, |
| DWORD dwDestContext, |
| void *pvDestContext, |
| DWORD mshlflags, |
| DWORD *pSize); |
| |
| HRESULT (STDMETHODCALLTYPE *MarshalInterface)( |
| IMarshal2* This, |
| IStream *pStm, |
| REFIID riid, |
| void *pv, |
| DWORD dwDestContext, |
| void *pvDestContext, |
| DWORD mshlflags); |
| |
| HRESULT (STDMETHODCALLTYPE *UnmarshalInterface)( |
| IMarshal2* This, |
| IStream *pStm, |
| REFIID riid, |
| void **ppv); |
| |
| HRESULT (STDMETHODCALLTYPE *ReleaseMarshalData)( |
| IMarshal2* This, |
| IStream *pStm); |
| |
| HRESULT (STDMETHODCALLTYPE *DisconnectObject)( |
| IMarshal2* This, |
| DWORD dwReserved); |
| |
| END_INTERFACE |
| } IMarshal2Vtbl; |
| interface IMarshal2 { |
| CONST_VTBL IMarshal2Vtbl* lpVtbl; |
| }; |
| |
| #ifdef COBJMACROS |
| #ifndef WIDL_C_INLINE_WRAPPERS |
| /*** IUnknown methods ***/ |
| #define IMarshal2_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) |
| #define IMarshal2_AddRef(This) (This)->lpVtbl->AddRef(This) |
| #define IMarshal2_Release(This) (This)->lpVtbl->Release(This) |
| /*** IMarshal methods ***/ |
| #define IMarshal2_GetUnmarshalClass(This,riid,pv,dwDestContext,pvDestContext,mshlflags,pCid) (This)->lpVtbl->GetUnmarshalClass(This,riid,pv,dwDestContext,pvDestContext,mshlflags,pCid) |
| #define IMarshal2_GetMarshalSizeMax(This,riid,pv,dwDestContext,pvDestContext,mshlflags,pSize) (This)->lpVtbl->GetMarshalSizeMax(This,riid,pv,dwDestContext,pvDestContext,mshlflags,pSize) |
| #define IMarshal2_MarshalInterface(This,pStm,riid,pv,dwDestContext,pvDestContext,mshlflags) (This)->lpVtbl->MarshalInterface(This,pStm,riid,pv,dwDestContext,pvDestContext,mshlflags) |
| #define IMarshal2_UnmarshalInterface(This,pStm,riid,ppv) (This)->lpVtbl->UnmarshalInterface(This,pStm,riid,ppv) |
| #define IMarshal2_ReleaseMarshalData(This,pStm) (This)->lpVtbl->ReleaseMarshalData(This,pStm) |
| #define IMarshal2_DisconnectObject(This,dwReserved) (This)->lpVtbl->DisconnectObject(This,dwReserved) |
| #else |
| /*** IUnknown methods ***/ |
| static FORCEINLINE HRESULT IMarshal2_QueryInterface(IMarshal2* This,REFIID riid,void **ppvObject) { |
| return This->lpVtbl->QueryInterface(This,riid,ppvObject); |
| } |
| static FORCEINLINE ULONG IMarshal2_AddRef(IMarshal2* This) { |
| return This->lpVtbl->AddRef(This); |
| } |
| static FORCEINLINE ULONG IMarshal2_Release(IMarshal2* This) { |
| return This->lpVtbl->Release(This); |
| } |
| /*** IMarshal methods ***/ |
| static FORCEINLINE HRESULT IMarshal2_GetUnmarshalClass(IMarshal2* This,REFIID riid,void *pv,DWORD dwDestContext,void *pvDestContext,DWORD mshlflags,CLSID *pCid) { |
| return This->lpVtbl->GetUnmarshalClass(This,riid,pv,dwDestContext,pvDestContext,mshlflags,pCid); |
| } |
| static FORCEINLINE HRESULT IMarshal2_GetMarshalSizeMax(IMarshal2* This,REFIID riid,void *pv,DWORD dwDestContext,void *pvDestContext,DWORD mshlflags,DWORD *pSize) { |
| return This->lpVtbl->GetMarshalSizeMax(This,riid,pv,dwDestContext,pvDestContext,mshlflags,pSize); |
| } |
| static FORCEINLINE HRESULT IMarshal2_MarshalInterface(IMarshal2* This,IStream *pStm,REFIID riid,void *pv,DWORD dwDestContext,void *pvDestContext,DWORD mshlflags) { |
| return This->lpVtbl->MarshalInterface(This,pStm,riid,pv,dwDestContext,pvDestContext,mshlflags); |
| } |
| static FORCEINLINE HRESULT IMarshal2_UnmarshalInterface(IMarshal2* This,IStream *pStm,REFIID riid,void **ppv) { |
| return This->lpVtbl->UnmarshalInterface(This,pStm,riid,ppv); |
| } |
| static FORCEINLINE HRESULT IMarshal2_ReleaseMarshalData(IMarshal2* This,IStream *pStm) { |
| return This->lpVtbl->ReleaseMarshalData(This,pStm); |
| } |
| static FORCEINLINE HRESULT IMarshal2_DisconnectObject(IMarshal2* This,DWORD dwReserved) { |
| return This->lpVtbl->DisconnectObject(This,dwReserved); |
| } |
| #endif |
| #endif |
| |
| #endif |
| |
| |
| #endif /* __IMarshal2_INTERFACE_DEFINED__ */ |
| |
| |
| /***************************************************************************** |
| * IMalloc interface |
| */ |
| #ifndef __IMalloc_INTERFACE_DEFINED__ |
| #define __IMalloc_INTERFACE_DEFINED__ |
| |
| typedef IMalloc *LPMALLOC; |
| |
| DEFINE_GUID(IID_IMalloc, 0x00000002, 0x0000, 0x0000, 0xc0,0x00, 0x00,0x00,0x00,0x00,0x00,0x46); |
| #if defined(__cplusplus) && !defined(CINTERFACE) |
| MIDL_INTERFACE("00000002-0000-0000-c000-000000000046") |
| IMalloc : public IUnknown |
| { |
| virtual void * STDMETHODCALLTYPE Alloc( |
| SIZE_T cb) = 0; |
| |
| virtual void * STDMETHODCALLTYPE Realloc( |
| void *pv, |
| SIZE_T cb) = 0; |
| |
| virtual void STDMETHODCALLTYPE Free( |
| void *pv) = 0; |
| |
| virtual SIZE_T STDMETHODCALLTYPE GetSize( |
| void *pv) = 0; |
| |
| virtual int STDMETHODCALLTYPE DidAlloc( |
| void *pv) = 0; |
| |
| virtual void STDMETHODCALLTYPE HeapMinimize( |
| ) = 0; |
| |
| }; |
| #ifdef __CRT_UUID_DECL |
| __CRT_UUID_DECL(IMalloc, 0x00000002, 0x0000, 0x0000, 0xc0,0x00, 0x00,0x00,0x00,0x00,0x00,0x46) |
| #endif |
| #else |
| typedef struct IMallocVtbl { |
| BEGIN_INTERFACE |
| |
| /*** IUnknown methods ***/ |
| HRESULT (STDMETHODCALLTYPE *QueryInterface)( |
| IMalloc* This, |
| REFIID riid, |
| void **ppvObject); |
| |
| ULONG (STDMETHODCALLTYPE *AddRef)( |
| IMalloc* This); |
| |
| ULONG (STDMETHODCALLTYPE *Release)( |
| IMalloc* This); |
| |
| /*** IMalloc methods ***/ |
| void * (STDMETHODCALLTYPE *Alloc)( |
| IMalloc* This, |
| SIZE_T cb); |
| |
| void * (STDMETHODCALLTYPE *Realloc)( |
| IMalloc* This, |
| void *pv, |
| SIZE_T cb); |
| |
| void (STDMETHODCALLTYPE *Free)( |
| IMalloc* This, |
| void *pv); |
| |
| SIZE_T (STDMETHODCALLTYPE *GetSize)( |
| IMalloc* This, |
| void *pv); |
| |
| int (STDMETHODCALLTYPE *DidAlloc)( |
| IMalloc* This, |
| void *pv); |
| |
| void (STDMETHODCALLTYPE *HeapMinimize)( |
| IMalloc* This); |
| |
| END_INTERFACE |
| } IMallocVtbl; |
| interface IMalloc { |
| CONST_VTBL IMallocVtbl* lpVtbl; |
| }; |
| |
| #ifdef COBJMACROS |
| #ifndef WIDL_C_INLINE_WRAPPERS |
| /*** IUnknown methods ***/ |
| #define IMalloc_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) |
| #define IMalloc_AddRef(This) (This)->lpVtbl->AddRef(This) |
| #define IMalloc_Release(This) (This)->lpVtbl->Release(This) |
| /*** IMalloc methods ***/ |
| #define IMalloc_Alloc(This,cb) (This)->lpVtbl->Alloc(This,cb) |
| #define IMalloc_Realloc(This,pv,cb) (This)->lpVtbl->Realloc(This,pv,cb) |
| #define IMalloc_Free(This,pv) (This)->lpVtbl->Free(This,pv) |
| #define IMalloc_GetSize(This,pv) (This)->lpVtbl->GetSize(This,pv) |
| #define IMalloc_DidAlloc(This,pv) (This)->lpVtbl->DidAlloc(This,pv) |
| #define IMalloc_HeapMinimize(This) (This)->lpVtbl->HeapMinimize(This) |
| #else |
| /*** IUnknown methods ***/ |
| static FORCEINLINE HRESULT IMalloc_QueryInterface(IMalloc* This,REFIID riid,void **ppvObject) { |
| return This->lpVtbl->QueryInterface(This,riid,ppvObject); |
| } |
| static FORCEINLINE ULONG IMalloc_AddRef(IMalloc* This) { |
| return This->lpVtbl->AddRef(This); |
| } |
| static FORCEINLINE ULONG IMalloc_Release(IMalloc* This) { |
| return This->lpVtbl->Release(This); |
| } |
| /*** IMalloc methods ***/ |
| static FORCEINLINE void * IMalloc_Alloc(IMalloc* This,SIZE_T cb) { |
| return This->lpVtbl->Alloc(This,cb); |
| } |
| static FORCEINLINE void * IMalloc_Realloc(IMalloc* This,void *pv,SIZE_T cb) { |
| return This->lpVtbl->Realloc(This,pv,cb); |
| } |
| static FORCEINLINE void IMalloc_Free(IMalloc* This,void *pv) { |
| This->lpVtbl->Free(This,pv); |
| } |
| static FORCEINLINE SIZE_T IMalloc_GetSize(IMalloc* This,void *pv) { |
| return This->lpVtbl->GetSize(This,pv); |
| } |
| static FORCEINLINE int IMalloc_DidAlloc(IMalloc* This,void *pv) { |
| return This->lpVtbl->DidAlloc(This,pv); |
| } |
| static FORCEINLINE void IMalloc_HeapMinimize(IMalloc* This) { |
| This->lpVtbl->HeapMinimize(This); |
| } |
| #endif |
| #endif |
| |
| #endif |
| |
| void * STDMETHODCALLTYPE IMalloc_Alloc_Proxy( |
| IMalloc* This, |
| SIZE_T cb); |
| void __RPC_STUB IMalloc_Alloc_Stub( |
| IRpcStubBuffer* This, |
| IRpcChannelBuffer* pRpcChannelBuffer, |
| PRPC_MESSAGE pRpcMessage, |
| DWORD* pdwStubPhase); |
| void * STDMETHODCALLTYPE IMalloc_Realloc_Proxy( |
| IMalloc* This, |
| void *pv, |
| SIZE_T cb); |
| void __RPC_STUB IMalloc_Realloc_Stub( |
| IRpcStubBuffer* This, |
| IRpcChannelBuffer* pRpcChannelBuffer, |
| PRPC_MESSAGE pRpcMessage, |
| DWORD* pdwStubPhase); |
| void STDMETHODCALLTYPE IMalloc_Free_Proxy( |
| IMalloc* This, |
| void *pv); |
| void __RPC_STUB IMalloc_Free_Stub( |
| IRpcStubBuffer* This, |
| IRpcChannelBuffer* pRpcChannelBuffer, |
| PRPC_MESSAGE pRpcMessage, |
| DWORD* pdwStubPhase); |
| SIZE_T STDMETHODCALLTYPE IMalloc_GetSize_Proxy( |
| IMalloc* This, |
| void *pv); |
| void __RPC_STUB IMalloc_GetSize_Stub( |
| IRpcStubBuffer* This, |
| IRpcChannelBuffer* pRpcChannelBuffer, |
| PRPC_MESSAGE pRpcMessage, |
| DWORD* pdwStubPhase); |
| int STDMETHODCALLTYPE IMalloc_DidAlloc_Proxy( |
| IMalloc* This, |
| void *pv); |
| void __RPC_STUB IMalloc_DidAlloc_Stub( |
| IRpcStubBuffer* This, |
| IRpcChannelBuffer* pRpcChannelBuffer, |
| PRPC_MESSAGE pRpcMessage, |
| DWORD* pdwStubPhase); |
| void STDMETHODCALLTYPE IMalloc_HeapMinimize_Proxy( |
| IMalloc* This); |
| void __RPC_STUB IMalloc_HeapMinimize_Stub( |
| IRpcStubBuffer* This, |
| IRpcChannelBuffer* pRpcChannelBuffer, |
| PRPC_MESSAGE pRpcMessage, |
| DWORD* pdwStubPhase); |
| |
| #endif /* __IMalloc_INTERFACE_DEFINED__ */ |
| |
| |
| /***************************************************************************** |
| * IStdMarshalInfo interface |
| */ |
| #ifndef __IStdMarshalInfo_INTERFACE_DEFINED__ |
| #define __IStdMarshalInfo_INTERFACE_DEFINED__ |
| |
| typedef IStdMarshalInfo *LPSTDMARSHALINFO; |
| |
| DEFINE_GUID(IID_IStdMarshalInfo, 0x00000018, 0x0000, 0x0000, 0xc0,0x00, 0x00,0x00,0x00,0x00,0x00,0x46); |
| #if defined(__cplusplus) && !defined(CINTERFACE) |
| MIDL_INTERFACE("00000018-0000-0000-c000-000000000046") |
| IStdMarshalInfo : public IUnknown |
| { |
| virtual HRESULT STDMETHODCALLTYPE GetClassForHandler( |
| DWORD dwDestContext, |
| void *pvDestContext, |
| CLSID *pClsid) = 0; |
| |
| }; |
| #ifdef __CRT_UUID_DECL |
| __CRT_UUID_DECL(IStdMarshalInfo, 0x00000018, 0x0000, 0x0000, 0xc0,0x00, 0x00,0x00,0x00,0x00,0x00,0x46) |
| #endif |
| #else |
| typedef struct IStdMarshalInfoVtbl { |
| BEGIN_INTERFACE |
| |
| /*** IUnknown methods ***/ |
| HRESULT (STDMETHODCALLTYPE *QueryInterface)( |
| IStdMarshalInfo* This, |
| REFIID riid, |
| void **ppvObject); |
| |
| ULONG (STDMETHODCALLTYPE *AddRef)( |
| IStdMarshalInfo* This); |
| |
| ULONG (STDMETHODCALLTYPE *Release)( |
| IStdMarshalInfo* This); |
| |
| /*** IStdMarshalInfo methods ***/ |
| HRESULT (STDMETHODCALLTYPE *GetClassForHandler)( |
| IStdMarshalInfo* This, |
| DWORD dwDestContext, |
| void *pvDestContext, |
| CLSID *pClsid); |
| |
| END_INTERFACE |
| } IStdMarshalInfoVtbl; |
| interface IStdMarshalInfo { |
| CONST_VTBL IStdMarshalInfoVtbl* lpVtbl; |
| }; |
| |
| #ifdef COBJMACROS |
| #ifndef WIDL_C_INLINE_WRAPPERS |
| /*** IUnknown methods ***/ |
| #define IStdMarshalInfo_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) |
| #define IStdMarshalInfo_AddRef(This) (This)->lpVtbl->AddRef(This) |
| #define IStdMarshalInfo_Release(This) (This)->lpVtbl->Release(This) |
| /*** IStdMarshalInfo methods ***/ |
| #define IStdMarshalInfo_GetClassForHandler(This,dwDestContext,pvDestContext,pClsid) (This)->lpVtbl->GetClassForHandler(This,dwDestContext,pvDestContext,pClsid) |
| #else |
| /*** IUnknown methods ***/ |
| static FORCEINLINE HRESULT IStdMarshalInfo_QueryInterface(IStdMarshalInfo* This,REFIID riid,void **ppvObject) { |
| return This->lpVtbl->QueryInterface(This,riid,ppvObject); |
| } |
| static FORCEINLINE ULONG IStdMarshalInfo_AddRef(IStdMarshalInfo* This) { |
| return This->lpVtbl->AddRef(This); |
| } |
| static FORCEINLINE ULONG IStdMarshalInfo_Release(IStdMarshalInfo* This) { |
| return This->lpVtbl->Release(This); |
| } |
| /*** IStdMarshalInfo methods ***/ |
| static FORCEINLINE HRESULT IStdMarshalInfo_GetClassForHandler(IStdMarshalInfo* This,DWORD dwDestContext,void *pvDestContext,CLSID *pClsid) { |
| return This->lpVtbl->GetClassForHandler(This,dwDestContext,pvDestContext,pClsid); |
| } |
| #endif |
| #endif |
| |
| #endif |
| |
| HRESULT STDMETHODCALLTYPE IStdMarshalInfo_GetClassForHandler_Proxy( |
| IStdMarshalInfo* This, |
| DWORD dwDestContext, |
| void *pvDestContext, |
| CLSID *pClsid); |
| void __RPC_STUB IStdMarshalInfo_GetClassForHandler_Stub( |
| IRpcStubBuffer* This, |
| IRpcChannelBuffer* pRpcChannelBuffer, |
| PRPC_MESSAGE pRpcMessage, |
| DWORD* pdwStubPhase); |
| |
| #endif /* __IStdMarshalInfo_INTERFACE_DEFINED__ */ |
| |
| |
| /***************************************************************************** |
| * IExternalConnection interface |
| */ |
| #ifndef __IExternalConnection_INTERFACE_DEFINED__ |
| #define __IExternalConnection_INTERFACE_DEFINED__ |
| |
| typedef IExternalConnection *LPEXTERNALCONNECTION; |
| |
| typedef enum tagEXTCONN { |
| EXTCONN_STRONG = 0x1, |
| EXTCONN_WEAK = 0x2, |
| EXTCONN_CALLABLE = 0x4 |
| } EXTCONN; |
| |
| DEFINE_GUID(IID_IExternalConnection, 0x00000019, 0x0000, 0x0000, 0xc0,0x00, 0x00,0x00,0x00,0x00,0x00,0x46); |
| #if defined(__cplusplus) && !defined(CINTERFACE) |
| MIDL_INTERFACE("00000019-0000-0000-c000-000000000046") |
| IExternalConnection : public IUnknown |
| { |
| virtual DWORD STDMETHODCALLTYPE AddConnection( |
| DWORD extconn, |
| DWORD reserved) = 0; |
| |
| virtual DWORD STDMETHODCALLTYPE ReleaseConnection( |
| DWORD extconn, |
| DWORD reserved, |
| WINBOOL fLastReleaseCloses) = 0; |
| |
| }; |
| #ifdef __CRT_UUID_DECL |
| __CRT_UUID_DECL(IExternalConnection, 0x00000019, 0x0000, 0x0000, 0xc0,0x00, 0x00,0x00,0x00,0x00,0x00,0x46) |
| #endif |
| #else |
| typedef struct IExternalConnectionVtbl { |
| BEGIN_INTERFACE |
| |
| /*** IUnknown methods ***/ |
| HRESULT (STDMETHODCALLTYPE *QueryInterface)( |
| IExternalConnection* This, |
| REFIID riid, |
| void **ppvObject); |
| |
| ULONG (STDMETHODCALLTYPE *AddRef)( |
| IExternalConnection* This); |
| |
| ULONG (STDMETHODCALLTYPE *Release)( |
| IExternalConnection* This); |
| |
| /*** IExternalConnection methods ***/ |
| DWORD (STDMETHODCALLTYPE *AddConnection)( |
| IExternalConnection* This, |
| DWORD extconn, |
| DWORD reserved); |
| |
| DWORD (STDMETHODCALLTYPE *ReleaseConnection)( |
| IExternalConnection* This, |
| DWORD extconn, |
| DWORD reserved, |
| WINBOOL fLastReleaseCloses); |
| |
| END_INTERFACE |
| } IExternalConnectionVtbl; |
| interface IExternalConnection { |
| CONST_VTBL IExternalConnectionVtbl* lpVtbl; |
| }; |
| |
| #ifdef COBJMACROS |
| #ifndef WIDL_C_INLINE_WRAPPERS |
| /*** IUnknown methods ***/ |
| #define IExternalConnection_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) |
| #define IExternalConnection_AddRef(This) (This)->lpVtbl->AddRef(This) |
| #define IExternalConnection_Release(This) (This)->lpVtbl->Release(This) |
| /*** IExternalConnection methods ***/ |
| #define IExternalConnection_AddConnection(This,extconn,reserved) (This)->lpVtbl->AddConnection(This,extconn,reserved) |
| #define IExternalConnection_ReleaseConnection(This,extconn,reserved,fLastReleaseCloses) (This)->lpVtbl->ReleaseConnection(This,extconn,reserved,fLastReleaseCloses) |
| #else |
| /*** IUnknown methods ***/ |
| static FORCEINLINE HRESULT IExternalConnection_QueryInterface(IExternalConnection* This,REFIID riid,void **ppvObject) { |
| return This->lpVtbl->QueryInterface(This,riid,ppvObject); |
| } |
| static FORCEINLINE ULONG IExternalConnection_AddRef(IExternalConnection* This) { |
| return This->lpVtbl->AddRef(This); |
| } |
| static FORCEINLINE ULONG IExternalConnection_Release(IExternalConnection* This) { |
| return This->lpVtbl->Release(This); |
| } |
| /*** IExternalConnection methods ***/ |
| static FORCEINLINE DWORD IExternalConnection_AddConnection(IExternalConnection* This,DWORD extconn,DWORD reserved) { |
| return This->lpVtbl->AddConnection(This,extconn,reserved); |
| } |
| static FORCEINLINE DWORD IExternalConnection_ReleaseConnection(IExternalConnection* This,DWORD extconn,DWORD reserved,WINBOOL fLastReleaseCloses) { |
| return This->lpVtbl->ReleaseConnection(This,extconn,reserved,fLastReleaseCloses); |
| } |
| #endif |
| #endif |
| |
| #endif |
| |
| DWORD STDMETHODCALLTYPE IExternalConnection_AddConnection_Proxy( |
| IExternalConnection* This, |
| DWORD extconn, |
| DWORD reserved); |
| void __RPC_STUB IExternalConnection_AddConnection_Stub( |
| IRpcStubBuffer* This, |
| IRpcChannelBuffer* pRpcChannelBuffer, |
| PRPC_MESSAGE pRpcMessage, |
| DWORD* pdwStubPhase); |
| DWORD STDMETHODCALLTYPE IExternalConnection_ReleaseConnection_Proxy( |
| IExternalConnection* This, |
| DWORD extconn, |
| DWORD reserved, |
| WINBOOL fLastReleaseCloses); |
| void __RPC_STUB IExternalConnection_ReleaseConnection_Stub( |
| IRpcStubBuffer* This, |
| IRpcChannelBuffer* pRpcChannelBuffer, |
| PRPC_MESSAGE pRpcMessage, |
| DWORD* pdwStubPhase); |
| |
| #endif /* __IExternalConnection_INTERFACE_DEFINED__ */ |
| |
| |
| typedef IMultiQI *LPMULTIQI; |
| #endif |
| |
| #if WINAPI_FAMILY_PARTITION(WINAPI_PARTITION_APP) |
| typedef struct tagMULTI_QI { |
| const IID *pIID; |
| IUnknown *pItf; |
| HRESULT hr; |
| } MULTI_QI; |
| |
| /***************************************************************************** |
| * IMultiQI interface |
| */ |
| #ifndef __IMultiQI_INTERFACE_DEFINED__ |
| #define __IMultiQI_INTERFACE_DEFINED__ |
| |
| DEFINE_GUID(IID_IMultiQI, 0x00000020, 0x0000, 0x0000, 0xc0,0x00, 0x00,0x00,0x00,0x00,0x00,0x46); |
| #if defined(__cplusplus) && !defined(CINTERFACE) |
| MIDL_INTERFACE("00000020-0000-0000-c000-000000000046") |
| IMultiQI : public IUnknown |
| { |
| virtual HRESULT STDMETHODCALLTYPE QueryMultipleInterfaces( |
| ULONG cMQIs, |
| MULTI_QI *pMQIs) = 0; |
| |
| }; |
| #ifdef __CRT_UUID_DECL |
| __CRT_UUID_DECL(IMultiQI, 0x00000020, 0x0000, 0x0000, 0xc0,0x00, 0x00,0x00,0x00,0x00,0x00,0x46) |
| #endif |
| #else |
| typedef struct IMultiQIVtbl { |
| BEGIN_INTERFACE |
| |
| /*** IUnknown methods ***/ |
| HRESULT (STDMETHODCALLTYPE *QueryInterface)( |
| IMultiQI* This, |
| REFIID riid, |
| void **ppvObject); |
| |
| ULONG (STDMETHODCALLTYPE *AddRef)( |
| IMultiQI* This); |
| |
| ULONG (STDMETHODCALLTYPE *Release)( |
| IMultiQI* This); |
| |
| /*** IMultiQI methods ***/ |
| HRESULT (STDMETHODCALLTYPE *QueryMultipleInterfaces)( |
| IMultiQI* This, |
| ULONG cMQIs, |
| MULTI_QI *pMQIs); |
| |
| END_INTERFACE |
| } IMultiQIVtbl; |
| interface IMultiQI { |
| CONST_VTBL IMultiQIVtbl* lpVtbl; |
| }; |
| |
| #ifdef COBJMACROS |
| #ifndef WIDL_C_INLINE_WRAPPERS |
| /*** IUnknown methods ***/ |
| #define IMultiQI_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) |
| #define IMultiQI_AddRef(This) (This)->lpVtbl->AddRef(This) |
| #define IMultiQI_Release(This) (This)->lpVtbl->Release(This) |
| /*** IMultiQI methods ***/ |
| #define IMultiQI_QueryMultipleInterfaces(This,cMQIs,pMQIs) (This)->lpVtbl->QueryMultipleInterfaces(This,cMQIs,pMQIs) |
| #else |
| /*** IUnknown methods ***/ |
| static FORCEINLINE HRESULT IMultiQI_QueryInterface(IMultiQI* This,REFIID riid,void **ppvObject) { |
| return This->lpVtbl->QueryInterface(This,riid,ppvObject); |
| } |
| static FORCEINLINE ULONG IMultiQI_AddRef(IMultiQI* This) { |
| return This->lpVtbl->AddRef(This); |
| } |
| static FORCEINLINE ULONG IMultiQI_Release(IMultiQI* This) { |
| return This->lpVtbl->Release(This); |
| } |
| /*** IMultiQI methods ***/ |
| static FORCEINLINE HRESULT IMultiQI_QueryMultipleInterfaces(IMultiQI* This,ULONG cMQIs,MULTI_QI *pMQIs) { |
| return This->lpVtbl->QueryMultipleInterfaces(This,cMQIs,pMQIs); |
| } |
| #endif |
| #endif |
| |
| #endif |
| |
| HRESULT STDMETHODCALLTYPE IMultiQI_QueryMultipleInterfaces_Proxy( |
| IMultiQI* This, |
| ULONG cMQIs, |
| MULTI_QI *pMQIs); |
| void __RPC_STUB IMultiQI_QueryMultipleInterfaces_Stub( |
| IRpcStubBuffer* This, |
| IRpcChannelBuffer* pRpcChannelBuffer, |
| PRPC_MESSAGE pRpcMessage, |
| DWORD* pdwStubPhase); |
| |
| #endif /* __IMultiQI_INTERFACE_DEFINED__ */ |
| |
| /***************************************************************************** |
| * AsyncIMultiQI interface |
| */ |
| #ifndef __AsyncIMultiQI_INTERFACE_DEFINED__ |
| #define __AsyncIMultiQI_INTERFACE_DEFINED__ |
| |
| DEFINE_GUID(IID_AsyncIMultiQI, 0x000e0020, 0x0000, 0x0000, 0xc0,0x00, 0x00,0x00,0x00,0x00,0x00,0x46); |
| #if defined(__cplusplus) && !defined(CINTERFACE) |
| MIDL_INTERFACE("000e0020-0000-0000-c000-000000000046") |
| AsyncIMultiQI : public IUnknown |
| { |
| virtual void STDMETHODCALLTYPE Begin_QueryMultipleInterfaces( |
| ULONG cMQIs, |
| MULTI_QI *pMQIs) = 0; |
| |
| virtual HRESULT STDMETHODCALLTYPE Finish_QueryMultipleInterfaces( |
| MULTI_QI *pMQIs) = 0; |
| |
| }; |
| #ifdef __CRT_UUID_DECL |
| __CRT_UUID_DECL(AsyncIMultiQI, 0x000e0020, 0x0000, 0x0000, 0xc0,0x00, 0x00,0x00,0x00,0x00,0x00,0x46) |
| #endif |
| #else |
| typedef struct AsyncIMultiQIVtbl { |
| BEGIN_INTERFACE |
| |
| /*** IUnknown methods ***/ |
| HRESULT (STDMETHODCALLTYPE *QueryInterface)( |
| AsyncIMultiQI* This, |
| REFIID riid, |
| void **ppvObject); |
| |
| ULONG (STDMETHODCALLTYPE *AddRef)( |
| AsyncIMultiQI* This); |
| |
| ULONG (STDMETHODCALLTYPE *Release)( |
| AsyncIMultiQI* This); |
| |
| /*** IMultiQI methods ***/ |
| void (STDMETHODCALLTYPE *Begin_QueryMultipleInterfaces)( |
| AsyncIMultiQI* This, |
| ULONG cMQIs, |
| MULTI_QI *pMQIs); |
| |
| HRESULT (STDMETHODCALLTYPE *Finish_QueryMultipleInterfaces)( |
| AsyncIMultiQI* This, |
| MULTI_QI *pMQIs); |
| |
| END_INTERFACE |
| } AsyncIMultiQIVtbl; |
| interface AsyncIMultiQI { |
| CONST_VTBL AsyncIMultiQIVtbl* lpVtbl; |
| }; |
| |
| #ifdef COBJMACROS |
| #ifndef WIDL_C_INLINE_WRAPPERS |
| /*** IUnknown methods ***/ |
| #define AsyncIMultiQI_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) |
| #define AsyncIMultiQI_AddRef(This) (This)->lpVtbl->AddRef(This) |
| #define AsyncIMultiQI_Release(This) (This)->lpVtbl->Release(This) |
| /*** IMultiQI methods ***/ |
| #define AsyncIMultiQI_Begin_QueryMultipleInterfaces(This,cMQIs,pMQIs) (This)->lpVtbl->Begin_QueryMultipleInterfaces(This,cMQIs,pMQIs) |
| #define AsyncIMultiQI_Finish_QueryMultipleInterfaces(This,pMQIs) (This)->lpVtbl->Finish_QueryMultipleInterfaces(This,pMQIs) |
| #else |
| /*** IUnknown methods ***/ |
| static FORCEINLINE HRESULT AsyncIMultiQI_QueryInterface(AsyncIMultiQI* This,REFIID riid,void **ppvObject) { |
| return This->lpVtbl->QueryInterface(This,riid,ppvObject); |
| } |
| static FORCEINLINE ULONG AsyncIMultiQI_AddRef(AsyncIMultiQI* This) { |
| return This->lpVtbl->AddRef(This); |
| } |
| static FORCEINLINE ULONG AsyncIMultiQI_Release(AsyncIMultiQI* This) { |
| return This->lpVtbl->Release(This); |
| } |
| /*** IMultiQI methods ***/ |
| static FORCEINLINE void Begin_AsyncIMultiQI_QueryMultipleInterfaces(AsyncIMultiQI* This,ULONG cMQIs,MULTI_QI *pMQIs) { |
| This->lpVtbl->Begin_QueryMultipleInterfaces(This,cMQIs,pMQIs); |
| } |
| static FORCEINLINE HRESULT Finish_AsyncIMultiQI_QueryMultipleInterfaces(AsyncIMultiQI* This,MULTI_QI *pMQIs) { |
| return This->lpVtbl->Finish_QueryMultipleInterfaces(This); |
| } |
| #endif |
| #endif |
| |
| #endif |
| |
| HRESULT STDMETHODCALLTYPE AsyncIMultiQI_Begin_QueryMultipleInterfaces_Proxy( |
| IMultiQI* This, |
| ULONG cMQIs, |
| MULTI_QI *pMQIs); |
| void __RPC_STUB AsyncIMultiQI_Begin_QueryMultipleInterfaces_Stub( |
| IRpcStubBuffer* This, |
| IRpcChannelBuffer* pRpcChannelBuffer, |
| PRPC_MESSAGE pRpcMessage, |
| DWORD* pdwStubPhase); |
| HRESULT STDMETHODCALLTYPE AsyncIMultiQI_Finish_QueryMultipleInterfaces_Proxy( |
| IMultiQI* This, |
| ULONG cMQIs, |
| MULTI_QI *pMQIs); |
| void __RPC_STUB AsyncIMultiQI_Finish_QueryMultipleInterfaces_Stub( |
| IRpcStubBuffer* This, |
| IRpcChannelBuffer* pRpcChannelBuffer, |
| PRPC_MESSAGE pRpcMessage, |
| DWORD* pdwStubPhase); |
| |
| #endif /* __AsyncIMultiQI_INTERFACE_DEFINED__ */ |
| |
| #endif |
| |
| #if WINAPI_FAMILY_PARTITION(WINAPI_PARTITION_DESKTOP) |
| /***************************************************************************** |
| * IInternalUnknown interface |
| */ |
| #ifndef __IInternalUnknown_INTERFACE_DEFINED__ |
| #define __IInternalUnknown_INTERFACE_DEFINED__ |
| |
| DEFINE_GUID(IID_IInternalUnknown, 0x00000021, 0x0000, 0x0000, 0xc0,0x00, 0x00,0x00,0x00,0x00,0x00,0x46); |
| #if defined(__cplusplus) && !defined(CINTERFACE) |
| MIDL_INTERFACE("00000021-0000-0000-c000-000000000046") |
| IInternalUnknown : public IUnknown |
| { |
| virtual HRESULT STDMETHODCALLTYPE QueryInternalInterface( |
| REFIID riid, |
| void **ppv) = 0; |
| |
| }; |
| #ifdef __CRT_UUID_DECL |
| __CRT_UUID_DECL(IInternalUnknown, 0x00000021, 0x0000, 0x0000, 0xc0,0x00, 0x00,0x00,0x00,0x00,0x00,0x46) |
| #endif |
| #else |
| typedef struct IInternalUnknownVtbl { |
| BEGIN_INTERFACE |
| |
| /*** IUnknown methods ***/ |
| HRESULT (STDMETHODCALLTYPE *QueryInterface)( |
| IInternalUnknown* This, |
| REFIID riid, |
| void **ppvObject); |
| |
| ULONG (STDMETHODCALLTYPE *AddRef)( |
| IInternalUnknown* This); |
| |
| ULONG (STDMETHODCALLTYPE *Release)( |
| IInternalUnknown* This); |
| |
| /*** IInternalUnknown methods ***/ |
| HRESULT (STDMETHODCALLTYPE *QueryInternalInterface)( |
| IInternalUnknown* This, |
| REFIID riid, |
| void **ppv); |
| |
| END_INTERFACE |
| } IInternalUnknownVtbl; |
| interface IInternalUnknown { |
| CONST_VTBL IInternalUnknownVtbl* lpVtbl; |
| }; |
| |
| #ifdef COBJMACROS |
| #ifndef WIDL_C_INLINE_WRAPPERS |
| /*** IUnknown methods ***/ |
| #define IInternalUnknown_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) |
| #define IInternalUnknown_AddRef(This) (This)->lpVtbl->AddRef(This) |
| #define IInternalUnknown_Release(This) (This)->lpVtbl->Release(This) |
| /*** IInternalUnknown methods ***/ |
| #define IInternalUnknown_QueryInternalInterface(This,riid,ppv) (This)->lpVtbl->QueryInternalInterface(This,riid,ppv) |
| #else |
| /*** IUnknown methods ***/ |
| static FORCEINLINE HRESULT IInternalUnknown_QueryInterface(IInternalUnknown* This,REFIID riid,void **ppvObject) { |
| return This->lpVtbl->QueryInterface(This,riid,ppvObject); |
| } |
| static FORCEINLINE ULONG IInternalUnknown_AddRef(IInternalUnknown* This) { |
| return This->lpVtbl->AddRef(This); |
| } |
| static FORCEINLINE ULONG IInternalUnknown_Release(IInternalUnknown* This) { |
| return This->lpVtbl->Release(This); |
| } |
| /*** IInternalUnknown methods ***/ |
| static FORCEINLINE HRESULT IInternalUnknown_QueryInternalInterface(IInternalUnknown* This,REFIID riid,void **ppv) { |
| return This->lpVtbl->QueryInternalInterface(This,riid,ppv); |
| } |
| #endif |
| #endif |
| |
| #endif |
| |
| HRESULT STDMETHODCALLTYPE IInternalUnknown_QueryInternalInterface_Proxy( |
| IInternalUnknown* This, |
| REFIID riid, |
| void **ppv); |
| void __RPC_STUB IInternalUnknown_QueryInternalInterface_Stub( |
| IRpcStubBuffer* This, |
| IRpcChannelBuffer* pRpcChannelBuffer, |
| PRPC_MESSAGE pRpcMessage, |
| DWORD* pdwStubPhase); |
| |
| #endif /* __IInternalUnknown_INTERFACE_DEFINED__ */ |
| |
| #endif |
| |
| #if WINAPI_FAMILY_PARTITION(WINAPI_PARTITION_APP) |
| /***************************************************************************** |
| * IEnumUnknown interface |
| */ |
| #ifndef __IEnumUnknown_INTERFACE_DEFINED__ |
| #define __IEnumUnknown_INTERFACE_DEFINED__ |
| |
| typedef IEnumUnknown *LPENUMUNKNOWN; |
| |
| DEFINE_GUID(IID_IEnumUnknown, 0x00000100, 0x0000, 0x0000, 0xc0,0x00, 0x00,0x00,0x00,0x00,0x00,0x46); |
| #if defined(__cplusplus) && !defined(CINTERFACE) |
| MIDL_INTERFACE("00000100-0000-0000-c000-000000000046") |
| IEnumUnknown : public IUnknown |
| { |
| virtual HRESULT STDMETHODCALLTYPE Next( |
| ULONG celt, |
| IUnknown **rgelt, |
| ULONG *pceltFetched) = 0; |
| |
| virtual HRESULT STDMETHODCALLTYPE Skip( |
| ULONG celt) = 0; |
| |
| virtual HRESULT STDMETHODCALLTYPE Reset( |
| ) = 0; |
| |
| virtual HRESULT STDMETHODCALLTYPE Clone( |
| IEnumUnknown **ppenum) = 0; |
| |
| }; |
| #ifdef __CRT_UUID_DECL |
| __CRT_UUID_DECL(IEnumUnknown, 0x00000100, 0x0000, 0x0000, 0xc0,0x00, 0x00,0x00,0x00,0x00,0x00,0x46) |
| #endif |
| #else |
| typedef struct IEnumUnknownVtbl { |
| BEGIN_INTERFACE |
| |
| /*** IUnknown methods ***/ |
| HRESULT (STDMETHODCALLTYPE *QueryInterface)( |
| IEnumUnknown* This, |
| REFIID riid, |
| void **ppvObject); |
| |
| ULONG (STDMETHODCALLTYPE *AddRef)( |
| IEnumUnknown* This); |
| |
| ULONG (STDMETHODCALLTYPE *Release)( |
| IEnumUnknown* This); |
| |
| /*** IEnumUnknown methods ***/ |
| HRESULT (STDMETHODCALLTYPE *Next)( |
| IEnumUnknown* This, |
| ULONG celt, |
| IUnknown **rgelt, |
| ULONG *pceltFetched); |
| |
| HRESULT (STDMETHODCALLTYPE *Skip)( |
| IEnumUnknown* This, |
| ULONG celt); |
| |
| HRESULT (STDMETHODCALLTYPE *Reset)( |
| IEnumUnknown* This); |
| |
| HRESULT (STDMETHODCALLTYPE *Clone)( |
| IEnumUnknown* This, |
| IEnumUnknown **ppenum); |
| |
| END_INTERFACE |
| } IEnumUnknownVtbl; |
| interface IEnumUnknown { |
| CONST_VTBL IEnumUnknownVtbl* lpVtbl; |
| }; |
| |
| #ifdef COBJMACROS |
| #ifndef WIDL_C_INLINE_WRAPPERS |
| /*** IUnknown methods ***/ |
| #define IEnumUnknown_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) |
| #define IEnumUnknown_AddRef(This) (This)->lpVtbl->AddRef(This) |
| #define IEnumUnknown_Release(This) (This)->lpVtbl->Release(This) |
| /*** IEnumUnknown methods ***/ |
| #define IEnumUnknown_Next(This,celt,rgelt,pceltFetched) (This)->lpVtbl->Next(This,celt,rgelt,pceltFetched) |
| #define IEnumUnknown_Skip(This,celt) (This)->lpVtbl->Skip(This,celt) |
| #define IEnumUnknown_Reset(This) (This)->lpVtbl->Reset(This) |
| #define IEnumUnknown_Clone(This,ppenum) (This)->lpVtbl->Clone(This,ppenum) |
| #else |
| /*** IUnknown methods ***/ |
| static FORCEINLINE HRESULT IEnumUnknown_QueryInterface(IEnumUnknown* This,REFIID riid,void **ppvObject) { |
| return This->lpVtbl->QueryInterface(This,riid,ppvObject); |
| } |
| static FORCEINLINE ULONG IEnumUnknown_AddRef(IEnumUnknown* This) { |
| return This->lpVtbl->AddRef(This); |
| } |
| static FORCEINLINE ULONG IEnumUnknown_Release(IEnumUnknown* This) { |
| return This->lpVtbl->Release(This); |
| } |
| /*** IEnumUnknown methods ***/ |
| static FORCEINLINE HRESULT IEnumUnknown_Next(IEnumUnknown* This,ULONG celt,IUnknown **rgelt,ULONG *pceltFetched) { |
| return This->lpVtbl->Next(This,celt,rgelt,pceltFetched); |
| } |
| static FORCEINLINE HRESULT IEnumUnknown_Skip(IEnumUnknown* This,ULONG celt) { |
| return This->lpVtbl->Skip(This,celt); |
| } |
| static FORCEINLINE HRESULT IEnumUnknown_Reset(IEnumUnknown* This) { |
| return This->lpVtbl->Reset(This); |
| } |
| static FORCEINLINE HRESULT IEnumUnknown_Clone(IEnumUnknown* This,IEnumUnknown **ppenum) { |
| return This->lpVtbl->Clone(This,ppenum); |
| } |
| #endif |
| #endif |
| |
| #endif |
| |
| HRESULT STDMETHODCALLTYPE IEnumUnknown_RemoteNext_Proxy( |
| IEnumUnknown* This, |
| ULONG celt, |
| IUnknown **rgelt, |
| ULONG *pceltFetched); |
| void __RPC_STUB IEnumUnknown_RemoteNext_Stub( |
| IRpcStubBuffer* This, |
| IRpcChannelBuffer* pRpcChannelBuffer, |
| PRPC_MESSAGE pRpcMessage, |
| DWORD* pdwStubPhase); |
| HRESULT STDMETHODCALLTYPE IEnumUnknown_Skip_Proxy( |
| IEnumUnknown* This, |
| ULONG celt); |
| void __RPC_STUB IEnumUnknown_Skip_Stub( |
| IRpcStubBuffer* This, |
| IRpcChannelBuffer* pRpcChannelBuffer, |
| PRPC_MESSAGE pRpcMessage, |
| DWORD* pdwStubPhase); |
| HRESULT STDMETHODCALLTYPE IEnumUnknown_Reset_Proxy( |
| IEnumUnknown* This); |
| void __RPC_STUB IEnumUnknown_Reset_Stub( |
| IRpcStubBuffer* This, |
| IRpcChannelBuffer* pRpcChannelBuffer, |
| PRPC_MESSAGE pRpcMessage, |
| DWORD* pdwStubPhase); |
| HRESULT STDMETHODCALLTYPE IEnumUnknown_Clone_Proxy( |
| IEnumUnknown* This, |
| IEnumUnknown **ppenum); |
| void __RPC_STUB IEnumUnknown_Clone_Stub( |
| IRpcStubBuffer* This, |
| IRpcChannelBuffer* pRpcChannelBuffer, |
| PRPC_MESSAGE pRpcMessage, |
| DWORD* pdwStubPhase); |
| HRESULT CALLBACK IEnumUnknown_Next_Proxy( |
| IEnumUnknown* This, |
| ULONG celt, |
| IUnknown **rgelt, |
| ULONG *pceltFetched); |
| HRESULT __RPC_STUB IEnumUnknown_Next_Stub( |
| IEnumUnknown* This, |
| ULONG celt, |
| IUnknown **rgelt, |
| ULONG *pceltFetched); |
| |
| #endif /* __IEnumUnknown_INTERFACE_DEFINED__ */ |
| |
| |
| /***************************************************************************** |
| * IEnumString interface |
| */ |
| #ifndef __IEnumString_INTERFACE_DEFINED__ |
| #define __IEnumString_INTERFACE_DEFINED__ |
| |
| typedef IEnumString *LPENUMSTRING; |
| |
| DEFINE_GUID(IID_IEnumString, 0x00000101, 0x0000, 0x0000, 0xc0,0x00, 0x00,0x00,0x00,0x00,0x00,0x46); |
| #if defined(__cplusplus) && !defined(CINTERFACE) |
| MIDL_INTERFACE("00000101-0000-0000-c000-000000000046") |
| IEnumString : public IUnknown |
| { |
| virtual HRESULT STDMETHODCALLTYPE Next( |
| ULONG celt, |
| LPOLESTR *rgelt, |
| ULONG *pceltFetched) = 0; |
| |
| virtual HRESULT STDMETHODCALLTYPE Skip( |
| ULONG celt) = 0; |
| |
| virtual HRESULT STDMETHODCALLTYPE Reset( |
| ) = 0; |
| |
| virtual HRESULT STDMETHODCALLTYPE Clone( |
| IEnumString **ppenum) = 0; |
| |
| }; |
| #ifdef __CRT_UUID_DECL |
| __CRT_UUID_DECL(IEnumString, 0x00000101, 0x0000, 0x0000, 0xc0,0x00, 0x00,0x00,0x00,0x00,0x00,0x46) |
| #endif |
| #else |
| typedef struct IEnumStringVtbl { |
| BEGIN_INTERFACE |
| |
| /*** IUnknown methods ***/ |
| HRESULT (STDMETHODCALLTYPE *QueryInterface)( |
| IEnumString* This, |
| REFIID riid, |
| void **ppvObject); |
| |
| ULONG (STDMETHODCALLTYPE *AddRef)( |
| IEnumString* This); |
| |
| ULONG (STDMETHODCALLTYPE *Release)( |
| IEnumString* This); |
| |
| /*** IEnumString methods ***/ |
| HRESULT (STDMETHODCALLTYPE *Next)( |
| IEnumString* This, |
| ULONG celt, |
| LPOLESTR *rgelt, |
| ULONG *pceltFetched); |
| |
| HRESULT (STDMETHODCALLTYPE *Skip)( |
| IEnumString* This, |
| ULONG celt); |
| |
| HRESULT (STDMETHODCALLTYPE *Reset)( |
| IEnumString* This); |
| |
| HRESULT (STDMETHODCALLTYPE *Clone)( |
| IEnumString* This, |
| IEnumString **ppenum); |
| |
| END_INTERFACE |
| } IEnumStringVtbl; |
| interface IEnumString { |
| CONST_VTBL IEnumStringVtbl* lpVtbl; |
| }; |
| |
| #ifdef COBJMACROS |
| #ifndef WIDL_C_INLINE_WRAPPERS |
| /*** IUnknown methods ***/ |
| #define IEnumString_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) |
| #define IEnumString_AddRef(This) (This)->lpVtbl->AddRef(This) |
| #define IEnumString_Release(This) (This)->lpVtbl->Release(This) |
| /*** IEnumString methods ***/ |
| #define IEnumString_Next(This,celt,rgelt,pceltFetched) (This)->lpVtbl->Next(This,celt,rgelt,pceltFetched) |
| #define IEnumString_Skip(This,celt) (This)->lpVtbl->Skip(This,celt) |
| #define IEnumString_Reset(This) (This)->lpVtbl->Reset(This) |
| #define IEnumString_Clone(This,ppenum) (This)->lpVtbl->Clone(This,ppenum) |
| #else |
| /*** IUnknown methods ***/ |
| static FORCEINLINE HRESULT IEnumString_QueryInterface(IEnumString* This,REFIID riid,void **ppvObject) { |
| return This->lpVtbl->QueryInterface(This,riid,ppvObject); |
| } |
| static FORCEINLINE ULONG IEnumString_AddRef(IEnumString* This) { |
| return This->lpVtbl->AddRef(This); |
| } |
| static FORCEINLINE ULONG IEnumString_Release(IEnumString* This) { |
| return This->lpVtbl->Release(This); |
| } |
| /*** IEnumString methods ***/ |
| static FORCEINLINE HRESULT IEnumString_Next(IEnumString* This,ULONG celt,LPOLESTR *rgelt,ULONG *pceltFetched) { |
| return This->lpVtbl->Next(This,celt,rgelt,pceltFetched); |
| } |
| static FORCEINLINE HRESULT IEnumString_Skip(IEnumString* This,ULONG celt) { |
| return This->lpVtbl->Skip(This,celt); |
| } |
| static FORCEINLINE HRESULT IEnumString_Reset(IEnumString* This) { |
| return This->lpVtbl->Reset(This); |
| } |
| static FORCEINLINE HRESULT IEnumString_Clone(IEnumString* This,IEnumString **ppenum) { |
| return This->lpVtbl->Clone(This,ppenum); |
| } |
| #endif |
| #endif |
| |
| #endif |
| |
| HRESULT STDMETHODCALLTYPE IEnumString_RemoteNext_Proxy( |
| IEnumString* This, |
| ULONG celt, |
| LPOLESTR *rgelt, |
| ULONG *pceltFetched); |
| void __RPC_STUB IEnumString_RemoteNext_Stub( |
| IRpcStubBuffer* This, |
| IRpcChannelBuffer* pRpcChannelBuffer, |
| PRPC_MESSAGE pRpcMessage, |
| DWORD* pdwStubPhase); |
| HRESULT STDMETHODCALLTYPE IEnumString_Skip_Proxy( |
| IEnumString* This, |
| ULONG celt); |
| void __RPC_STUB IEnumString_Skip_Stub( |
| IRpcStubBuffer* This, |
| IRpcChannelBuffer* pRpcChannelBuffer, |
| PRPC_MESSAGE pRpcMessage, |
| DWORD* pdwStubPhase); |
| HRESULT STDMETHODCALLTYPE IEnumString_Reset_Proxy( |
| IEnumString* This); |
| void __RPC_STUB IEnumString_Reset_Stub( |
| IRpcStubBuffer* This, |
| IRpcChannelBuffer* pRpcChannelBuffer, |
| PRPC_MESSAGE pRpcMessage, |
| DWORD* pdwStubPhase); |
| HRESULT STDMETHODCALLTYPE IEnumString_Clone_Proxy( |
| IEnumString* This, |
| IEnumString **ppenum); |
| void __RPC_STUB IEnumString_Clone_Stub( |
| IRpcStubBuffer* This, |
| IRpcChannelBuffer* pRpcChannelBuffer, |
| PRPC_MESSAGE pRpcMessage, |
| DWORD* pdwStubPhase); |
| HRESULT CALLBACK IEnumString_Next_Proxy( |
| IEnumString* This, |
| ULONG celt, |
| LPOLESTR *rgelt, |
| ULONG *pceltFetched); |
| HRESULT __RPC_STUB IEnumString_Next_Stub( |
| IEnumString* This, |
| ULONG celt, |
| LPOLESTR *rgelt, |
| ULONG *pceltFetched); |
| |
| #endif /* __IEnumString_INTERFACE_DEFINED__ */ |
| |
| |
| /***************************************************************************** |
| * ISequentialStream interface |
| */ |
| #ifndef __ISequentialStream_INTERFACE_DEFINED__ |
| #define __ISequentialStream_INTERFACE_DEFINED__ |
| |
| DEFINE_GUID(IID_ISequentialStream, 0x0c733a30, 0x2a1c, 0x11ce, 0xad,0xe5, 0x00,0xaa,0x00,0x44,0x77,0x3d); |
| #if defined(__cplusplus) && !defined(CINTERFACE) |
| MIDL_INTERFACE("0c733a30-2a1c-11ce-ade5-00aa0044773d") |
| ISequentialStream : public IUnknown |
| { |
| virtual HRESULT STDMETHODCALLTYPE Read( |
| void *pv, |
| ULONG cb, |
| ULONG *pcbRead) = 0; |
| |
| virtual HRESULT STDMETHODCALLTYPE Write( |
| const void *pv, |
| ULONG cb, |
| ULONG *pcbWritten) = 0; |
| |
| }; |
| #ifdef __CRT_UUID_DECL |
| __CRT_UUID_DECL(ISequentialStream, 0x0c733a30, 0x2a1c, 0x11ce, 0xad,0xe5, 0x00,0xaa,0x00,0x44,0x77,0x3d) |
| #endif |
| #else |
| typedef struct ISequentialStreamVtbl { |
| BEGIN_INTERFACE |
| |
| /*** IUnknown methods ***/ |
| HRESULT (STDMETHODCALLTYPE *QueryInterface)( |
| ISequentialStream* This, |
| REFIID riid, |
| void **ppvObject); |
| |
| ULONG (STDMETHODCALLTYPE *AddRef)( |
| ISequentialStream* This); |
| |
| ULONG (STDMETHODCALLTYPE *Release)( |
| ISequentialStream* This); |
| |
| /*** ISequentialStream methods ***/ |
| HRESULT (STDMETHODCALLTYPE *Read)( |
| ISequentialStream* This, |
| void *pv, |
| ULONG cb, |
| ULONG *pcbRead); |
| |
| HRESULT (STDMETHODCALLTYPE *Write)( |
| ISequentialStream* This, |
| const void *pv, |
| ULONG cb, |
| ULONG *pcbWritten); |
| |
| END_INTERFACE |
| } ISequentialStreamVtbl; |
| interface ISequentialStream { |
| CONST_VTBL ISequentialStreamVtbl* lpVtbl; |
| }; |
| |
| #ifdef COBJMACROS |
| #ifndef WIDL_C_INLINE_WRAPPERS |
| /*** IUnknown methods ***/ |
| #define ISequentialStream_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) |
| #define ISequentialStream_AddRef(This) (This)->lpVtbl->AddRef(This) |
| #define ISequentialStream_Release(This) (This)->lpVtbl->Release(This) |
| /*** ISequentialStream methods ***/ |
| #define ISequentialStream_Read(This,pv,cb,pcbRead) (This)->lpVtbl->Read(This,pv,cb,pcbRead) |
| #define ISequentialStream_Write(This,pv,cb,pcbWritten) (This)->lpVtbl->Write(This,pv,cb,pcbWritten) |
| #else |
| /*** IUnknown methods ***/ |
| static FORCEINLINE HRESULT ISequentialStream_QueryInterface(ISequentialStream* This,REFIID riid,void **ppvObject) { |
| return This->lpVtbl->QueryInterface(This,riid,ppvObject); |
| } |
| static FORCEINLINE ULONG ISequentialStream_AddRef(ISequentialStream* This) { |
| return This->lpVtbl->AddRef(This); |
| } |
| static FORCEINLINE ULONG ISequentialStream_Release(ISequentialStream* This) { |
| return This->lpVtbl->Release(This); |
| } |
| /*** ISequentialStream methods ***/ |
| static FORCEINLINE HRESULT ISequentialStream_Read(ISequentialStream* This,void *pv,ULONG cb,ULONG *pcbRead) { |
| return This->lpVtbl->Read(This,pv,cb,pcbRead); |
| } |
| static FORCEINLINE HRESULT ISequentialStream_Write(ISequentialStream* This,const void *pv,ULONG cb,ULONG *pcbWritten) { |
| return This->lpVtbl->Write(This,pv,cb,pcbWritten); |
| } |
| #endif |
| #endif |
| |
| #endif |
| |
| HRESULT STDMETHODCALLTYPE ISequentialStream_RemoteRead_Proxy( |
| ISequentialStream* This, |
| byte *pv, |
| ULONG cb, |
| ULONG *pcbRead); |
| void __RPC_STUB ISequentialStream_RemoteRead_Stub( |
| IRpcStubBuffer* This, |
| IRpcChannelBuffer* pRpcChannelBuffer, |
| PRPC_MESSAGE pRpcMessage, |
| DWORD* pdwStubPhase); |
| HRESULT STDMETHODCALLTYPE ISequentialStream_RemoteWrite_Proxy( |
| ISequentialStream* This, |
| const byte *pv, |
| ULONG cb, |
| ULONG *pcbWritten); |
| void __RPC_STUB ISequentialStream_RemoteWrite_Stub( |
| IRpcStubBuffer* This, |
| IRpcChannelBuffer* pRpcChannelBuffer, |
| PRPC_MESSAGE pRpcMessage, |
| DWORD* pdwStubPhase); |
| HRESULT CALLBACK ISequentialStream_Read_Proxy( |
| ISequentialStream* This, |
| void *pv, |
| ULONG cb, |
| ULONG *pcbRead); |
| HRESULT __RPC_STUB ISequentialStream_Read_Stub( |
| ISequentialStream* This, |
| byte *pv, |
| ULONG cb, |
| ULONG *pcbRead); |
| HRESULT CALLBACK ISequentialStream_Write_Proxy( |
| ISequentialStream* This, |
| const void *pv, |
| ULONG cb, |
| ULONG *pcbWritten); |
| HRESULT __RPC_STUB ISequentialStream_Write_Stub( |
| ISequentialStream* This, |
| const byte *pv, |
| ULONG cb, |
| ULONG *pcbWritten); |
| |
| #endif /* __ISequentialStream_INTERFACE_DEFINED__ */ |
| |
| |
| /***************************************************************************** |
| * IStream interface |
| */ |
| #ifndef __IStream_INTERFACE_DEFINED__ |
| #define __IStream_INTERFACE_DEFINED__ |
| |
| typedef IStream *LPSTREAM; |
| |
| typedef struct tagSTATSTG { |
| LPOLESTR pwcsName; |
| DWORD type; |
| ULARGE_INTEGER cbSize; |
| FILETIME mtime; |
| FILETIME ctime; |
| FILETIME atime; |
| DWORD grfMode; |
| DWORD grfLocksSupported; |
| CLSID clsid; |
| DWORD grfStateBits; |
| DWORD reserved; |
| } STATSTG; |
| |
| typedef enum tagSTGTY { |
| STGTY_STORAGE = 1, |
| STGTY_STREAM = 2, |
| STGTY_LOCKBYTES = 3, |
| STGTY_PROPERTY = 4 |
| } STGTY; |
| |
| typedef enum tagSTREAM_SEEK { |
| STREAM_SEEK_SET = 0, |
| STREAM_SEEK_CUR = 1, |
| STREAM_SEEK_END = 2 |
| } STREAM_SEEK; |
| |
| typedef enum tagLOCKTYPE { |
| LOCK_WRITE = 1, |
| LOCK_EXCLUSIVE = 2, |
| LOCK_ONLYONCE = 4 |
| } LOCKTYPE; |
| |
| DEFINE_GUID(IID_IStream, 0x0000000c, 0x0000, 0x0000, 0xc0,0x00, 0x00,0x00,0x00,0x00,0x00,0x46); |
| #if defined(__cplusplus) && !defined(CINTERFACE) |
| MIDL_INTERFACE("0000000c-0000-0000-c000-000000000046") |
| IStream : public ISequentialStream |
| { |
| virtual HRESULT STDMETHODCALLTYPE Seek( |
| LARGE_INTEGER dlibMove, |
| DWORD dwOrigin, |
| ULARGE_INTEGER *plibNewPosition) = 0; |
| |
| virtual HRESULT STDMETHODCALLTYPE SetSize( |
| ULARGE_INTEGER libNewSize) = 0; |
| |
| virtual HRESULT STDMETHODCALLTYPE CopyTo( |
| IStream *pstm, |
| ULARGE_INTEGER cb, |
| ULARGE_INTEGER *pcbRead, |
| ULARGE_INTEGER *pcbWritten) = 0; |
| |
| virtual HRESULT STDMETHODCALLTYPE Commit( |
| DWORD grfCommitFlags) = 0; |
| |
| virtual HRESULT STDMETHODCALLTYPE Revert( |
| ) = 0; |
| |
| virtual HRESULT STDMETHODCALLTYPE LockRegion( |
| ULARGE_INTEGER libOffset, |
| ULARGE_INTEGER cb, |
| DWORD dwLockType) = 0; |
| |
| virtual HRESULT STDMETHODCALLTYPE UnlockRegion( |
| ULARGE_INTEGER libOffset, |
| ULARGE_INTEGER cb, |
| DWORD dwLockType) = 0; |
| |
| virtual HRESULT STDMETHODCALLTYPE Stat( |
| STATSTG *pstatstg, |
| DWORD grfStatFlag) = 0; |
| |
| virtual HRESULT STDMETHODCALLTYPE Clone( |
| IStream **ppstm) = 0; |
| |
| }; |
| #ifdef __CRT_UUID_DECL |
| __CRT_UUID_DECL(IStream, 0x0000000c, 0x0000, 0x0000, 0xc0,0x00, 0x00,0x00,0x00,0x00,0x00,0x46) |
| #endif |
| #else |
| typedef struct IStreamVtbl { |
| BEGIN_INTERFACE |
| |
| /*** IUnknown methods ***/ |
| HRESULT (STDMETHODCALLTYPE *QueryInterface)( |
| IStream* This, |
| REFIID riid, |
| void **ppvObject); |
| |
| ULONG (STDMETHODCALLTYPE *AddRef)( |
| IStream* This); |
| |
| ULONG (STDMETHODCALLTYPE *Release)( |
| IStream* This); |
| |
| /*** ISequentialStream methods ***/ |
| HRESULT (STDMETHODCALLTYPE *Read)( |
| IStream* This, |
| void *pv, |
| ULONG cb, |
| ULONG *pcbRead); |
| |
| HRESULT (STDMETHODCALLTYPE *Write)( |
| IStream* This, |
| const void *pv, |
| ULONG cb, |
| ULONG *pcbWritten); |
| |
| /*** IStream methods ***/ |
| HRESULT (STDMETHODCALLTYPE *Seek)( |
| IStream* This, |
| LARGE_INTEGER dlibMove, |
| DWORD dwOrigin, |
| ULARGE_INTEGER *plibNewPosition); |
| |
| HRESULT (STDMETHODCALLTYPE *SetSize)( |
| IStream* This, |
| ULARGE_INTEGER libNewSize); |
| |
| HRESULT (STDMETHODCALLTYPE *CopyTo)( |
| IStream* This, |
| IStream *pstm, |
| ULARGE_INTEGER cb, |
| ULARGE_INTEGER *pcbRead, |
| ULARGE_INTEGER *pcbWritten); |
| |
| HRESULT (STDMETHODCALLTYPE *Commit)( |
| IStream* This, |
| DWORD grfCommitFlags); |
| |
| HRESULT (STDMETHODCALLTYPE *Revert)( |
| IStream* This); |
| |
| HRESULT (STDMETHODCALLTYPE *LockRegion)( |
| IStream* This, |
| ULARGE_INTEGER libOffset, |
| ULARGE_INTEGER cb, |
| DWORD dwLockType); |
| |
| HRESULT (STDMETHODCALLTYPE *UnlockRegion)( |
| IStream* This, |
| ULARGE_INTEGER libOffset, |
| ULARGE_INTEGER cb, |
| DWORD dwLockType); |
| |
| HRESULT (STDMETHODCALLTYPE *Stat)( |
| IStream* This, |
| STATSTG *pstatstg, |
| DWORD grfStatFlag); |
| |
| HRESULT (STDMETHODCALLTYPE *Clone)( |
| IStream* This, |
| IStream **ppstm); |
| |
| END_INTERFACE |
| } IStreamVtbl; |
| interface IStream { |
| CONST_VTBL IStreamVtbl* lpVtbl; |
| }; |
| |
| #ifdef COBJMACROS |
| #ifndef WIDL_C_INLINE_WRAPPERS |
| /*** IUnknown methods ***/ |
| #define IStream_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) |
| #define IStream_AddRef(This) (This)->lpVtbl->AddRef(This) |
| #define IStream_Release(This) (This)->lpVtbl->Release(This) |
| /*** ISequentialStream methods ***/ |
| #define IStream_Read(This,pv,cb,pcbRead) (This)->lpVtbl->Read(This,pv,cb,pcbRead) |
| #define IStream_Write(This,pv,cb,pcbWritten) (This)->lpVtbl->Write(This,pv,cb,pcbWritten) |
| /*** IStream methods ***/ |
| #define IStream_Seek(This,dlibMove,dwOrigin,plibNewPosition) (This)->lpVtbl->Seek(This,dlibMove,dwOrigin,plibNewPosition) |
| #define IStream_SetSize(This,libNewSize) (This)->lpVtbl->SetSize(This,libNewSize) |
| #define IStream_CopyTo(This,pstm,cb,pcbRead,pcbWritten) (This)->lpVtbl->CopyTo(This,pstm,cb,pcbRead,pcbWritten) |
| #define IStream_Commit(This,grfCommitFlags) (This)->lpVtbl->Commit(This,grfCommitFlags) |
| #define IStream_Revert(This) (This)->lpVtbl->Revert(This) |
| #define IStream_LockRegion(This,libOffset,cb,dwLockType) (This)->lpVtbl->LockRegion(This,libOffset,cb,dwLockType) |
| #define IStream_UnlockRegion(This,libOffset,cb,dwLockType) (This)->lpVtbl->UnlockRegion(This,libOffset,cb,dwLockType) |
| #define IStream_Stat(This,pstatstg,grfStatFlag) (This)->lpVtbl->Stat(This,pstatstg,grfStatFlag) |
| #define IStream_Clone(This,ppstm) (This)->lpVtbl->Clone(This,ppstm) |
| #else |
| /*** IUnknown methods ***/ |
| static FORCEINLINE HRESULT IStream_QueryInterface(IStream* This,REFIID riid,void **ppvObject) { |
| return This->lpVtbl->QueryInterface(This,riid,ppvObject); |
| } |
| static FORCEINLINE ULONG IStream_AddRef(IStream* This) { |
| return This->lpVtbl->AddRef(This); |
| } |
| static FORCEINLINE ULONG IStream_Release(IStream* This) { |
| return This->lpVtbl->Release(This); |
| } |
| /*** ISequentialStream methods ***/ |
| static FORCEINLINE HRESULT IStream_Read(IStream* This,void *pv,ULONG cb,ULONG *pcbRead) { |
| return This->lpVtbl->Read(This,pv,cb,pcbRead); |
| } |
| static FORCEINLINE HRESULT IStream_Write(IStream* This,const void *pv,ULONG cb,ULONG *pcbWritten) { |
| return This->lpVtbl->Write(This,pv,cb,pcbWritten); |
| } |
| /*** IStream methods ***/ |
| static FORCEINLINE HRESULT IStream_Seek(IStream* This,LARGE_INTEGER dlibMove,DWORD dwOrigin,ULARGE_INTEGER *plibNewPosition) { |
| return This->lpVtbl->Seek(This,dlibMove,dwOrigin,plibNewPosition); |
| } |
| static FORCEINLINE HRESULT IStream_SetSize(IStream* This,ULARGE_INTEGER libNewSize) { |
| return This->lpVtbl->SetSize(This,libNewSize); |
| } |
| static FORCEINLINE HRESULT IStream_CopyTo(IStream* This,IStream *pstm,ULARGE_INTEGER cb,ULARGE_INTEGER *pcbRead,ULARGE_INTEGER *pcbWritten) { |
| return This->lpVtbl->CopyTo(This,pstm,cb,pcbRead,pcbWritten); |
| } |
| static FORCEINLINE HRESULT IStream_Commit(IStream* This,DWORD grfCommitFlags) { |
| return This->lpVtbl->Commit(This,grfCommitFlags); |
| } |
| static FORCEINLINE HRESULT IStream_Revert(IStream* This) { |
| return This->lpVtbl->Revert(This); |
| } |
| static FORCEINLINE HRESULT IStream_LockRegion(IStream* This,ULARGE_INTEGER libOffset,ULARGE_INTEGER cb,DWORD dwLockType) { |
| return This->lpVtbl->LockRegion(This,libOffset,cb,dwLockType); |
| } |
| static FORCEINLINE HRESULT IStream_UnlockRegion(IStream* This,ULARGE_INTEGER libOffset,ULARGE_INTEGER cb,DWORD dwLockType) { |
| return This->lpVtbl->UnlockRegion(This,libOffset,cb,dwLockType); |
| } |
| static FORCEINLINE HRESULT IStream_Stat(IStream* This,STATSTG *pstatstg,DWORD grfStatFlag) { |
| return This->lpVtbl->Stat(This,pstatstg,grfStatFlag); |
| } |
| static FORCEINLINE HRESULT IStream_Clone(IStream* This,IStream **ppstm) { |
| return This->lpVtbl->Clone(This,ppstm); |
| } |
| #endif |
| #endif |
| |
| #endif |
| |
| HRESULT STDMETHODCALLTYPE IStream_RemoteSeek_Proxy( |
| IStream* This, |
| LARGE_INTEGER dlibMove, |
| DWORD dwOrigin, |
| ULARGE_INTEGER *plibNewPosition); |
| void __RPC_STUB IStream_RemoteSeek_Stub( |
| IRpcStubBuffer* This, |
| IRpcChannelBuffer* pRpcChannelBuffer, |
| PRPC_MESSAGE pRpcMessage, |
| DWORD* pdwStubPhase); |
| HRESULT STDMETHODCALLTYPE IStream_SetSize_Proxy( |
| IStream* This, |
| ULARGE_INTEGER libNewSize); |
| void __RPC_STUB IStream_SetSize_Stub( |
| IRpcStubBuffer* This, |
| IRpcChannelBuffer* pRpcChannelBuffer, |
| PRPC_MESSAGE pRpcMessage, |
| DWORD* pdwStubPhase); |
| HRESULT STDMETHODCALLTYPE IStream_RemoteCopyTo_Proxy( |
| IStream* This, |
| IStream *pstm, |
| ULARGE_INTEGER cb, |
| ULARGE_INTEGER *pcbRead, |
| ULARGE_INTEGER *pcbWritten); |
| void __RPC_STUB IStream_RemoteCopyTo_Stub( |
| IRpcStubBuffer* This, |
| IRpcChannelBuffer* pRpcChannelBuffer, |
| PRPC_MESSAGE pRpcMessage, |
| DWORD* pdwStubPhase); |
| HRESULT STDMETHODCALLTYPE IStream_Commit_Proxy( |
| IStream* This, |
| DWORD grfCommitFlags); |
| void __RPC_STUB IStream_Commit_Stub( |
| IRpcStubBuffer* This, |
| IRpcChannelBuffer* pRpcChannelBuffer, |
| PRPC_MESSAGE pRpcMessage, |
| DWORD* pdwStubPhase); |
| HRESULT STDMETHODCALLTYPE IStream_Revert_Proxy( |
| IStream* This); |
| void __RPC_STUB IStream_Revert_Stub( |
| IRpcStubBuffer* This, |
| IRpcChannelBuffer* pRpcChannelBuffer, |
| PRPC_MESSAGE pRpcMessage, |
| DWORD* pdwStubPhase); |
| HRESULT STDMETHODCALLTYPE IStream_LockRegion_Proxy( |
| IStream* This, |
| ULARGE_INTEGER libOffset, |
| ULARGE_INTEGER cb, |
| DWORD dwLockType); |
| void __RPC_STUB IStream_LockRegion_Stub( |
| IRpcStubBuffer* This, |
| IRpcChannelBuffer* pRpcChannelBuffer, |
| PRPC_MESSAGE pRpcMessage, |
| DWORD* pdwStubPhase); |
| HRESULT STDMETHODCALLTYPE IStream_UnlockRegion_Proxy( |
| IStream* This, |
| ULARGE_INTEGER libOffset, |
| ULARGE_INTEGER cb, |
| DWORD dwLockType); |
| void __RPC_STUB IStream_UnlockRegion_Stub( |
| IRpcStubBuffer* This, |
| IRpcChannelBuffer* pRpcChannelBuffer, |
| PRPC_MESSAGE pRpcMessage, |
| DWORD* pdwStubPhase); |
| HRESULT STDMETHODCALLTYPE IStream_Stat_Proxy( |
| IStream* This, |
| STATSTG *pstatstg, |
| DWORD grfStatFlag); |
| void __RPC_STUB IStream_Stat_Stub( |
| IRpcStubBuffer* This, |
| IRpcChannelBuffer* pRpcChannelBuffer, |
| PRPC_MESSAGE pRpcMessage, |
| DWORD* pdwStubPhase); |
| HRESULT STDMETHODCALLTYPE IStream_Clone_Proxy( |
| IStream* This, |
| IStream **ppstm); |
| void __RPC_STUB IStream_Clone_Stub( |
| IRpcStubBuffer* This, |
| IRpcChannelBuffer* pRpcChannelBuffer, |
| PRPC_MESSAGE pRpcMessage, |
| DWORD* pdwStubPhase); |
| HRESULT CALLBACK IStream_Seek_Proxy( |
| IStream* This, |
| LARGE_INTEGER dlibMove, |
| DWORD dwOrigin, |
| ULARGE_INTEGER *plibNewPosition); |
| HRESULT __RPC_STUB IStream_Seek_Stub( |
| IStream* This, |
| LARGE_INTEGER dlibMove, |
| DWORD dwOrigin, |
| ULARGE_INTEGER *plibNewPosition); |
| HRESULT CALLBACK IStream_CopyTo_Proxy( |
| IStream* This, |
| IStream *pstm, |
| ULARGE_INTEGER cb, |
| ULARGE_INTEGER *pcbRead, |
| ULARGE_INTEGER *pcbWritten); |
| HRESULT __RPC_STUB IStream_CopyTo_Stub( |
| IStream* This, |
| IStream *pstm, |
| ULARGE_INTEGER cb, |
| ULARGE_INTEGER *pcbRead, |
| ULARGE_INTEGER *pcbWritten); |
| |
| #endif /* __IStream_INTERFACE_DEFINED__ */ |
| |
| |
| /***************************************************************************** |
| * IRpcChannelBuffer interface |
| */ |
| #ifndef __IRpcChannelBuffer_INTERFACE_DEFINED__ |
| #define __IRpcChannelBuffer_INTERFACE_DEFINED__ |
| |
| typedef ULONG RPCOLEDATAREP; |
| |
| typedef struct tagRPCOLEMESSAGE { |
| void *reserved1; |
| RPCOLEDATAREP dataRepresentation; |
| void *Buffer; |
| ULONG cbBuffer; |
| ULONG iMethod; |
| void * reserved2[5]; |
| ULONG rpcFlags; |
| } RPCOLEMESSAGE; |
| |
| typedef RPCOLEMESSAGE *PRPCOLEMESSAGE; |
| |
| DEFINE_GUID(IID_IRpcChannelBuffer, 0xd5f56b60, 0x593b, 0x101a, 0xb5,0x69, 0x08,0x00,0x2b,0x2d,0xbf,0x7a); |
| #if defined(__cplusplus) && !defined(CINTERFACE) |
| MIDL_INTERFACE("d5f56b60-593b-101a-b569-08002b2dbf7a") |
| IRpcChannelBuffer : public IUnknown |
| { |
| virtual HRESULT STDMETHODCALLTYPE GetBuffer( |
| RPCOLEMESSAGE *pMessage, |
| REFIID riid) = 0; |
| |
| virtual HRESULT STDMETHODCALLTYPE SendReceive( |
| RPCOLEMESSAGE *pMessage, |
| ULONG *pStatus) = 0; |
| |
| virtual HRESULT STDMETHODCALLTYPE FreeBuffer( |
| RPCOLEMESSAGE *pMessage) = 0; |
| |
| virtual HRESULT STDMETHODCALLTYPE GetDestCtx( |
| DWORD *pdwDestContext, |
| void **ppvDestContext) = 0; |
| |
| virtual HRESULT STDMETHODCALLTYPE IsConnected( |
| ) = 0; |
| |
| }; |
| #ifdef __CRT_UUID_DECL |
| __CRT_UUID_DECL(IRpcChannelBuffer, 0xd5f56b60, 0x593b, 0x101a, 0xb5,0x69, 0x08,0x00,0x2b,0x2d,0xbf,0x7a) |
| #endif |
| #else |
| typedef struct IRpcChannelBufferVtbl { |
| BEGIN_INTERFACE |
| |
| /*** IUnknown methods ***/ |
| HRESULT (STDMETHODCALLTYPE *QueryInterface)( |
| IRpcChannelBuffer* This, |
| REFIID riid, |
| void **ppvObject); |
| |
| ULONG (STDMETHODCALLTYPE *AddRef)( |
| IRpcChannelBuffer* This); |
| |
| ULONG (STDMETHODCALLTYPE *Release)( |
| IRpcChannelBuffer* This); |
| |
| /*** IRpcChannelBuffer methods ***/ |
| HRESULT (STDMETHODCALLTYPE *GetBuffer)( |
| IRpcChannelBuffer* This, |
| RPCOLEMESSAGE *pMessage, |
| REFIID riid); |
| |
| HRESULT (STDMETHODCALLTYPE *SendReceive)( |
| IRpcChannelBuffer* This, |
| RPCOLEMESSAGE *pMessage, |
| ULONG *pStatus); |
| |
| HRESULT (STDMETHODCALLTYPE *FreeBuffer)( |
| IRpcChannelBuffer* This, |
| RPCOLEMESSAGE *pMessage); |
| |
| HRESULT (STDMETHODCALLTYPE *GetDestCtx)( |
| IRpcChannelBuffer* This, |
| DWORD *pdwDestContext, |
| void **ppvDestContext); |
| |
| HRESULT (STDMETHODCALLTYPE *IsConnected)( |
| IRpcChannelBuffer* This); |
| |
| END_INTERFACE |
| } IRpcChannelBufferVtbl; |
| interface IRpcChannelBuffer { |
| CONST_VTBL IRpcChannelBufferVtbl* lpVtbl; |
| }; |
| |
| #ifdef COBJMACROS |
| #ifndef WIDL_C_INLINE_WRAPPERS |
| /*** IUnknown methods ***/ |
| #define IRpcChannelBuffer_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) |
| #define IRpcChannelBuffer_AddRef(This) (This)->lpVtbl->AddRef(This) |
| #define IRpcChannelBuffer_Release(This) (This)->lpVtbl->Release(This) |
| /*** IRpcChannelBuffer methods ***/ |
| #define IRpcChannelBuffer_GetBuffer(This,pMessage,riid) (This)->lpVtbl->GetBuffer(This,pMessage,riid) |
| #define IRpcChannelBuffer_SendReceive(This,pMessage,pStatus) (This)->lpVtbl->SendReceive(This,pMessage,pStatus) |
| #define IRpcChannelBuffer_FreeBuffer(This,pMessage) (This)->lpVtbl->FreeBuffer(This,pMessage) |
| #define IRpcChannelBuffer_GetDestCtx(This,pdwDestContext,ppvDestContext) (This)->lpVtbl->GetDestCtx(This,pdwDestContext,ppvDestContext) |
| #define IRpcChannelBuffer_IsConnected(This) (This)->lpVtbl->IsConnected(This) |
| #else |
| /*** IUnknown methods ***/ |
| static FORCEINLINE HRESULT IRpcChannelBuffer_QueryInterface(IRpcChannelBuffer* This,REFIID riid,void **ppvObject) { |
| return This->lpVtbl->QueryInterface(This,riid,ppvObject); |
| } |
| static FORCEINLINE ULONG IRpcChannelBuffer_AddRef(IRpcChannelBuffer* This) { |
| return This->lpVtbl->AddRef(This); |
| } |
| static FORCEINLINE ULONG IRpcChannelBuffer_Release(IRpcChannelBuffer* This) { |
| return This->lpVtbl->Release(This); |
| } |
| /*** IRpcChannelBuffer methods ***/ |
| static FORCEINLINE HRESULT IRpcChannelBuffer_GetBuffer(IRpcChannelBuffer* This,RPCOLEMESSAGE *pMessage,REFIID riid) { |
| return This->lpVtbl->GetBuffer(This,pMessage,riid); |
| } |
| static FORCEINLINE HRESULT IRpcChannelBuffer_SendReceive(IRpcChannelBuffer* This,RPCOLEMESSAGE *pMessage,ULONG *pStatus) { |
| return This->lpVtbl->SendReceive(This,pMessage,pStatus); |
| } |
| static FORCEINLINE HRESULT IRpcChannelBuffer_FreeBuffer(IRpcChannelBuffer* This,RPCOLEMESSAGE *pMessage) { |
| return This->lpVtbl->FreeBuffer(This,pMessage); |
| } |
| static FORCEINLINE HRESULT IRpcChannelBuffer_GetDestCtx(IRpcChannelBuffer* This,DWORD *pdwDestContext,void **ppvDestContext) { |
| return This->lpVtbl->GetDestCtx(This,pdwDestContext,ppvDestContext); |
| } |
| static FORCEINLINE HRESULT IRpcChannelBuffer_IsConnected(IRpcChannelBuffer* This) { |
| return This->lpVtbl->IsConnected(This); |
| } |
| #endif |
| #endif |
| |
| #endif |
| |
| HRESULT STDMETHODCALLTYPE IRpcChannelBuffer_GetBuffer_Proxy( |
| IRpcChannelBuffer* This, |
| RPCOLEMESSAGE *pMessage, |
| REFIID riid); |
| void __RPC_STUB IRpcChannelBuffer_GetBuffer_Stub( |
| IRpcStubBuffer* This, |
| IRpcChannelBuffer* pRpcChannelBuffer, |
| PRPC_MESSAGE pRpcMessage, |
| DWORD* pdwStubPhase); |
| HRESULT STDMETHODCALLTYPE IRpcChannelBuffer_SendReceive_Proxy( |
| IRpcChannelBuffer* This, |
| RPCOLEMESSAGE *pMessage, |
| ULONG *pStatus); |
| void __RPC_STUB IRpcChannelBuffer_SendReceive_Stub( |
| IRpcStubBuffer* This, |
| IRpcChannelBuffer* pRpcChannelBuffer, |
| PRPC_MESSAGE pRpcMessage, |
| DWORD* pdwStubPhase); |
| HRESULT STDMETHODCALLTYPE IRpcChannelBuffer_FreeBuffer_Proxy( |
| IRpcChannelBuffer* This, |
| RPCOLEMESSAGE *pMessage); |
| void __RPC_STUB IRpcChannelBuffer_FreeBuffer_Stub( |
| IRpcStubBuffer* This, |
| IRpcChannelBuffer* pRpcChannelBuffer, |
| PRPC_MESSAGE pRpcMessage, |
| DWORD* pdwStubPhase); |
| HRESULT STDMETHODCALLTYPE IRpcChannelBuffer_GetDestCtx_Proxy( |
| IRpcChannelBuffer* This, |
| DWORD *pdwDestContext, |
| void **ppvDestContext); |
| void __RPC_STUB IRpcChannelBuffer_GetDestCtx_Stub( |
| IRpcStubBuffer* This, |
| IRpcChannelBuffer* pRpcChannelBuffer, |
| PRPC_MESSAGE pRpcMessage, |
| DWORD* pdwStubPhase); |
| HRESULT STDMETHODCALLTYPE IRpcChannelBuffer_IsConnected_Proxy( |
| IRpcChannelBuffer* This); |
| void __RPC_STUB IRpcChannelBuffer_IsConnected_Stub( |
| IRpcStubBuffer* This, |
| IRpcChannelBuffer* pRpcChannelBuffer, |
| PRPC_MESSAGE pRpcMessage, |
| DWORD* pdwStubPhase); |
| |
| #endif /* __IRpcChannelBuffer_INTERFACE_DEFINED__ */ |
| |
| #endif |
| |
| #if WINAPI_FAMILY_PARTITION(WINAPI_PARTITION_DESKTOP) |
| /***************************************************************************** |
| * IRpcChannelBuffer2 interface |
| */ |
| #ifndef __IRpcChannelBuffer2_INTERFACE_DEFINED__ |
| #define __IRpcChannelBuffer2_INTERFACE_DEFINED__ |
| |
| DEFINE_GUID(IID_IRpcChannelBuffer2, 0x594f31d0, 0x7f19, 0x11d0, 0xb1,0x94, 0x00,0xa0,0xc9,0x0d,0xc8,0xbf); |
| #if defined(__cplusplus) && !defined(CINTERFACE) |
| MIDL_INTERFACE("594f31d0-7f19-11d0-b194-00a0c90dc8bf") |
| IRpcChannelBuffer2 : public IRpcChannelBuffer |
| { |
| virtual HRESULT STDMETHODCALLTYPE GetProtocolVersion( |
| DWORD *pdwVersion) = 0; |
| |
| }; |
| #ifdef __CRT_UUID_DECL |
| __CRT_UUID_DECL(IRpcChannelBuffer2, 0x594f31d0, 0x7f19, 0x11d0, 0xb1,0x94, 0x00,0xa0,0xc9,0x0d,0xc8,0xbf) |
| #endif |
| #else |
| typedef struct IRpcChannelBuffer2Vtbl { |
| BEGIN_INTERFACE |
| |
| /*** IUnknown methods ***/ |
| HRESULT (STDMETHODCALLTYPE *QueryInterface)( |
| IRpcChannelBuffer2* This, |
| REFIID riid, |
| void **ppvObject); |
| |
| ULONG (STDMETHODCALLTYPE *AddRef)( |
| IRpcChannelBuffer2* This); |
| |
| ULONG (STDMETHODCALLTYPE *Release)( |
| IRpcChannelBuffer2* This); |
| |
| /*** IRpcChannelBuffer methods ***/ |
| HRESULT (STDMETHODCALLTYPE *GetBuffer)( |
| IRpcChannelBuffer2* This, |
| RPCOLEMESSAGE *pMessage, |
| REFIID riid); |
| |
| HRESULT (STDMETHODCALLTYPE *SendReceive)( |
| IRpcChannelBuffer2* This, |
| RPCOLEMESSAGE *pMessage, |
| ULONG *pStatus); |
| |
| HRESULT (STDMETHODCALLTYPE *FreeBuffer)( |
| IRpcChannelBuffer2* This, |
| RPCOLEMESSAGE *pMessage); |
| |
| HRESULT (STDMETHODCALLTYPE *GetDestCtx)( |
| IRpcChannelBuffer2* This, |
| DWORD *pdwDestContext, |
| void **ppvDestContext); |
| |
| HRESULT (STDMETHODCALLTYPE *IsConnected)( |
| IRpcChannelBuffer2* This); |
| |
| /*** IRpcChannelBuffer2 methods ***/ |
| HRESULT (STDMETHODCALLTYPE *GetProtocolVersion)( |
| IRpcChannelBuffer2* This, |
| DWORD *pdwVersion); |
| |
| END_INTERFACE |
| } IRpcChannelBuffer2Vtbl; |
| interface IRpcChannelBuffer2 { |
| CONST_VTBL IRpcChannelBuffer2Vtbl* lpVtbl; |
| }; |
| |
| #ifdef COBJMACROS |
| #ifndef WIDL_C_INLINE_WRAPPERS |
| /*** IUnknown methods ***/ |
| #define IRpcChannelBuffer2_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) |
| #define IRpcChannelBuffer2_AddRef(This) (This)->lpVtbl->AddRef(This) |
| #define IRpcChannelBuffer2_Release(This) (This)->lpVtbl->Release(This) |
| /*** IRpcChannelBuffer methods ***/ |
| #define IRpcChannelBuffer2_GetBuffer(This,pMessage,riid) (This)->lpVtbl->GetBuffer(This,pMessage,riid) |
| #define IRpcChannelBuffer2_SendReceive(This,pMessage,pStatus) (This)->lpVtbl->SendReceive(This,pMessage,pStatus) |
| #define IRpcChannelBuffer2_FreeBuffer(This,pMessage) (This)->lpVtbl->FreeBuffer(This,pMessage) |
| #define IRpcChannelBuffer2_GetDestCtx(This,pdwDestContext,ppvDestContext) (This)->lpVtbl->GetDestCtx(This,pdwDestContext,ppvDestContext) |
| #define IRpcChannelBuffer2_IsConnected(This) (This)->lpVtbl->IsConnected(This) |
| /*** IRpcChannelBuffer2 methods ***/ |
| #define IRpcChannelBuffer2_GetProtocolVersion(This,pdwVersion) (This)->lpVtbl->GetProtocolVersion(This,pdwVersion) |
| #else |
| /*** IUnknown methods ***/ |
| static FORCEINLINE HRESULT IRpcChannelBuffer2_QueryInterface(IRpcChannelBuffer2* This,REFIID riid,void **ppvObject) { |
| return This->lpVtbl->QueryInterface(This,riid,ppvObject); |
| } |
| static FORCEINLINE ULONG IRpcChannelBuffer2_AddRef(IRpcChannelBuffer2* This) { |
| return This->lpVtbl->AddRef(This); |
| } |
| static FORCEINLINE ULONG IRpcChannelBuffer2_Release(IRpcChannelBuffer2* This) { |
| return This->lpVtbl->Release(This); |
| } |
| /*** IRpcChannelBuffer methods ***/ |
| static FORCEINLINE HRESULT IRpcChannelBuffer2_GetBuffer(IRpcChannelBuffer2* This,RPCOLEMESSAGE *pMessage,REFIID riid) { |
| return This->lpVtbl->GetBuffer(This,pMessage,riid); |
| } |
| static FORCEINLINE HRESULT IRpcChannelBuffer2_SendReceive(IRpcChannelBuffer2* This,RPCOLEMESSAGE *pMessage,ULONG *pStatus) { |
| return This->lpVtbl->SendReceive(This,pMessage,pStatus); |
| } |
| static FORCEINLINE HRESULT IRpcChannelBuffer2_FreeBuffer(IRpcChannelBuffer2* This,RPCOLEMESSAGE *pMessage) { |
| return This->lpVtbl->FreeBuffer(This,pMessage); |
| } |
| static FORCEINLINE HRESULT IRpcChannelBuffer2_GetDestCtx(IRpcChannelBuffer2* This,DWORD *pdwDestContext,void **ppvDestContext) { |
| return This->lpVtbl->GetDestCtx(This,pdwDestContext,ppvDestContext); |
| } |
| static FORCEINLINE HRESULT IRpcChannelBuffer2_IsConnected(IRpcChannelBuffer2* This) { |
| return This->lpVtbl->IsConnected(This); |
| } |
| /*** IRpcChannelBuffer2 methods ***/ |
| static FORCEINLINE HRESULT IRpcChannelBuffer2_GetProtocolVersion(IRpcChannelBuffer2* This,DWORD *pdwVersion) { |
| return This->lpVtbl->GetProtocolVersion(This,pdwVersion); |
| } |
| #endif |
| #endif |
| |
| #endif |
| |
| HRESULT STDMETHODCALLTYPE IRpcChannelBuffer2_GetProtocolVersion_Proxy( |
| IRpcChannelBuffer2* This, |
| DWORD *pdwVersion); |
| void __RPC_STUB IRpcChannelBuffer2_GetProtocolVersion_Stub( |
| IRpcStubBuffer* This, |
| IRpcChannelBuffer* pRpcChannelBuffer, |
| PRPC_MESSAGE pRpcMessage, |
| DWORD* pdwStubPhase); |
| |
| #endif /* __IRpcChannelBuffer2_INTERFACE_DEFINED__ */ |
| |
| |
| /***************************************************************************** |
| * IAsyncRpcChannelBuffer interface |
| */ |
| #ifndef __IAsyncRpcChannelBuffer_INTERFACE_DEFINED__ |
| #define __IAsyncRpcChannelBuffer_INTERFACE_DEFINED__ |
| |
| DEFINE_GUID(IID_IAsyncRpcChannelBuffer, 0xa5029fb6, 0x3c34, 0x11d1, 0x9c,0x99, 0x00,0xc0,0x4f,0xb9,0x98,0xaa); |
| #if defined(__cplusplus) && !defined(CINTERFACE) |
| MIDL_INTERFACE("a5029fb6-3c34-11d1-9c99-00c04fb998aa") |
| IAsyncRpcChannelBuffer : public IRpcChannelBuffer2 |
| { |
| virtual HRESULT STDMETHODCALLTYPE Send( |
| RPCOLEMESSAGE *pMsg, |
| ISynchronize *pSync, |
| ULONG *pulStatus) = 0; |
| |
| virtual HRESULT STDMETHODCALLTYPE Receive( |
| RPCOLEMESSAGE *pMsg, |
| ULONG *pulStatus) = 0; |
| |
| virtual HRESULT STDMETHODCALLTYPE GetDestCtxEx( |
| RPCOLEMESSAGE *pMsg, |
| DWORD *pdwDestContext, |
| void **ppvDestContext) = 0; |
| |
| }; |
| #ifdef __CRT_UUID_DECL |
| __CRT_UUID_DECL(IAsyncRpcChannelBuffer, 0xa5029fb6, 0x3c34, 0x11d1, 0x9c,0x99, 0x00,0xc0,0x4f,0xb9,0x98,0xaa) |
| #endif |
| #else |
| typedef struct IAsyncRpcChannelBufferVtbl { |
| BEGIN_INTERFACE |
| |
| /*** IUnknown methods ***/ |
| HRESULT (STDMETHODCALLTYPE *QueryInterface)( |
| IAsyncRpcChannelBuffer* This, |
| REFIID riid, |
| void **ppvObject); |
| |
| ULONG (STDMETHODCALLTYPE *AddRef)( |
| IAsyncRpcChannelBuffer* This); |
| |
| ULONG (STDMETHODCALLTYPE *Release)( |
| IAsyncRpcChannelBuffer* This); |
| |
| /*** IRpcChannelBuffer methods ***/ |
| HRESULT (STDMETHODCALLTYPE *GetBuffer)( |
| IAsyncRpcChannelBuffer* This, |
| RPCOLEMESSAGE *pMessage, |
| REFIID riid); |
| |
| HRESULT (STDMETHODCALLTYPE *SendReceive)( |
| IAsyncRpcChannelBuffer* This, |
| RPCOLEMESSAGE *pMessage, |
| ULONG *pStatus); |
| |
| HRESULT (STDMETHODCALLTYPE *FreeBuffer)( |
| IAsyncRpcChannelBuffer* This, |
| RPCOLEMESSAGE *pMessage); |
| |
| HRESULT (STDMETHODCALLTYPE *GetDestCtx)( |
| IAsyncRpcChannelBuffer* This, |
| DWORD *pdwDestContext, |
| void **ppvDestContext); |
| |
| HRESULT (STDMETHODCALLTYPE *IsConnected)( |
| IAsyncRpcChannelBuffer* This); |
| |
| /*** IRpcChannelBuffer2 methods ***/ |
| HRESULT (STDMETHODCALLTYPE *GetProtocolVersion)( |
| IAsyncRpcChannelBuffer* This, |
| DWORD *pdwVersion); |
| |
| /*** IAsyncRpcChannelBuffer methods ***/ |
| HRESULT (STDMETHODCALLTYPE *Send)( |
| IAsyncRpcChannelBuffer* This, |
| RPCOLEMESSAGE *pMsg, |
| ISynchronize *pSync, |
| ULONG *pulStatus); |
| |
| HRESULT (STDMETHODCALLTYPE *Receive)( |
| IAsyncRpcChannelBuffer* This, |
| RPCOLEMESSAGE *pMsg, |
| ULONG *pulStatus); |
| |
| HRESULT (STDMETHODCALLTYPE *GetDestCtxEx)( |
| IAsyncRpcChannelBuffer* This, |
| RPCOLEMESSAGE *pMsg, |
| DWORD *pdwDestContext, |
| void **ppvDestContext); |
| |
| END_INTERFACE |
| } IAsyncRpcChannelBufferVtbl; |
| interface IAsyncRpcChannelBuffer { |
| CONST_VTBL IAsyncRpcChannelBufferVtbl* lpVtbl; |
| }; |
| |
| #ifdef COBJMACROS |
| #ifndef WIDL_C_INLINE_WRAPPERS |
| /*** IUnknown methods ***/ |
| #define IAsyncRpcChannelBuffer_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) |
| #define IAsyncRpcChannelBuffer_AddRef(This) (This)->lpVtbl->AddRef(This) |
| #define IAsyncRpcChannelBuffer_Release(This) (This)->lpVtbl->Release(This) |
| /*** IRpcChannelBuffer methods ***/ |
| #define IAsyncRpcChannelBuffer_GetBuffer(This,pMessage,riid) (This)->lpVtbl->GetBuffer(This,pMessage,riid) |
| #define IAsyncRpcChannelBuffer_SendReceive(This,pMessage,pStatus) (This)->lpVtbl->SendReceive(This,pMessage,pStatus) |
| #define IAsyncRpcChannelBuffer_FreeBuffer(This,pMessage) (This)->lpVtbl->FreeBuffer(This,pMessage) |
| #define IAsyncRpcChannelBuffer_GetDestCtx(This,pdwDestContext,ppvDestContext) (This)->lpVtbl->GetDestCtx(This,pdwDestContext,ppvDestContext) |
| #define IAsyncRpcChannelBuffer_IsConnected(This) (This)->lpVtbl->IsConnected(This) |
| /*** IRpcChannelBuffer2 methods ***/ |
| #define IAsyncRpcChannelBuffer_GetProtocolVersion(This,pdwVersion) (This)->lpVtbl->GetProtocolVersion(This,pdwVersion) |
| /*** IAsyncRpcChannelBuffer methods ***/ |
| #define IAsyncRpcChannelBuffer_Send(This,pMsg,pSync,pulStatus) (This)->lpVtbl->Send(This,pMsg,pSync,pulStatus) |
| #define IAsyncRpcChannelBuffer_Receive(This,pMsg,pulStatus) (This)->lpVtbl->Receive(This,pMsg,pulStatus) |
| #define IAsyncRpcChannelBuffer_GetDestCtxEx(This,pMsg,pdwDestContext,ppvDestContext) (This)->lpVtbl->GetDestCtxEx(This,pMsg,pdwDestContext,ppvDestContext) |
| #else |
| /*** IUnknown methods ***/ |
| static FORCEINLINE HRESULT IAsyncRpcChannelBuffer_QueryInterface(IAsyncRpcChannelBuffer* This,REFIID riid,void **ppvObject) { |
| return This->lpVtbl->QueryInterface(This,riid,ppvObject); |
| } |
| static FORCEINLINE ULONG IAsyncRpcChannelBuffer_AddRef(IAsyncRpcChannelBuffer* This) { |
| return This->lpVtbl->AddRef(This); |
| } |
| static FORCEINLINE ULONG IAsyncRpcChannelBuffer_Release(IAsyncRpcChannelBuffer* This) { |
| return This->lpVtbl->Release(This); |
| } |
| /*** IRpcChannelBuffer methods ***/ |
| static FORCEINLINE HRESULT IAsyncRpcChannelBuffer_GetBuffer(IAsyncRpcChannelBuffer* This,RPCOLEMESSAGE *pMessage,REFIID riid) { |
| return This->lpVtbl->GetBuffer(This,pMessage,riid); |
| } |
| static FORCEINLINE HRESULT IAsyncRpcChannelBuffer_SendReceive(IAsyncRpcChannelBuffer* This,RPCOLEMESSAGE *pMessage,ULONG *pStatus) { |
| return This->lpVtbl->SendReceive(This,pMessage,pStatus); |
| } |
| static FORCEINLINE HRESULT IAsyncRpcChannelBuffer_FreeBuffer(IAsyncRpcChannelBuffer* This,RPCOLEMESSAGE *pMessage) { |
| return This->lpVtbl->FreeBuffer(This,pMessage); |
| } |
| static FORCEINLINE HRESULT IAsyncRpcChannelBuffer_GetDestCtx(IAsyncRpcChannelBuffer* This,DWORD *pdwDestContext,void **ppvDestContext) { |
| return This->lpVtbl->GetDestCtx(This,pdwDestContext,ppvDestContext); |
| } |
| static FORCEINLINE HRESULT IAsyncRpcChannelBuffer_IsConnected(IAsyncRpcChannelBuffer* This) { |
| return This->lpVtbl->IsConnected(This); |
| } |
| /*** IRpcChannelBuffer2 methods ***/ |
| static FORCEINLINE HRESULT IAsyncRpcChannelBuffer_GetProtocolVersion(IAsyncRpcChannelBuffer* This,DWORD *pdwVersion) { |
| return This->lpVtbl->GetProtocolVersion(This,pdwVersion); |
| } |
| /*** IAsyncRpcChannelBuffer methods ***/ |
| static FORCEINLINE HRESULT IAsyncRpcChannelBuffer_Send(IAsyncRpcChannelBuffer* This,RPCOLEMESSAGE *pMsg,ISynchronize *pSync,ULONG *pulStatus) { |
| return This->lpVtbl->Send(This,pMsg,pSync,pulStatus); |
| } |
| static FORCEINLINE HRESULT IAsyncRpcChannelBuffer_Receive(IAsyncRpcChannelBuffer* This,RPCOLEMESSAGE *pMsg,ULONG *pulStatus) { |
| return This->lpVtbl->Receive(This,pMsg,pulStatus); |
| } |
| static FORCEINLINE HRESULT IAsyncRpcChannelBuffer_GetDestCtxEx(IAsyncRpcChannelBuffer* This,RPCOLEMESSAGE *pMsg,DWORD *pdwDestContext,void **ppvDestContext) { |
| return This->lpVtbl->GetDestCtxEx(This,pMsg,pdwDestContext,ppvDestContext); |
| } |
| #endif |
| #endif |
| |
| #endif |
| |
| HRESULT STDMETHODCALLTYPE IAsyncRpcChannelBuffer_Send_Proxy( |
| IAsyncRpcChannelBuffer* This, |
| RPCOLEMESSAGE *pMsg, |
| ISynchronize *pSync, |
| ULONG *pulStatus); |
| void __RPC_STUB IAsyncRpcChannelBuffer_Send_Stub( |
| IRpcStubBuffer* This, |
| IRpcChannelBuffer* pRpcChannelBuffer, |
| PRPC_MESSAGE pRpcMessage, |
| DWORD* pdwStubPhase); |
| HRESULT STDMETHODCALLTYPE IAsyncRpcChannelBuffer_Receive_Proxy( |
| IAsyncRpcChannelBuffer* This, |
| RPCOLEMESSAGE *pMsg, |
| ULONG *pulStatus); |
| void __RPC_STUB IAsyncRpcChannelBuffer_Receive_Stub( |
| IRpcStubBuffer* This, |
| IRpcChannelBuffer* pRpcChannelBuffer, |
| PRPC_MESSAGE pRpcMessage, |
| DWORD* pdwStubPhase); |
| HRESULT STDMETHODCALLTYPE IAsyncRpcChannelBuffer_GetDestCtxEx_Proxy( |
| IAsyncRpcChannelBuffer* This, |
| RPCOLEMESSAGE *pMsg, |
| DWORD *pdwDestContext, |
| void **ppvDestContext); |
| void __RPC_STUB IAsyncRpcChannelBuffer_GetDestCtxEx_Stub( |
| IRpcStubBuffer* This, |
|
|