Changeset 7912 for trunk/include/win
- Timestamp:
- Feb 15, 2002, 3:17:06 PM (24 years ago)
- Location:
- trunk/include/win/wine
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/include/win/wine/obj_base.h
r6715 r7912 741 741 #define ICOM_CTHIS(impl,iface) const impl* const This=(const impl*)iface 742 742 743 #define ICOM_THIS_MULTI(impl,field,iface) impl* const This=(impl*)((char*)(iface) - offsetof(impl,field)) 744 #define ICOM_CTHIS_MULTI(impl,field,iface) const impl* const This=(const impl*)((char*)(iface) - offsetof(impl,field)) 745 743 746 #endif 744 747 -
trunk/include/win/wine/obj_channel.h
r641 r7912 1 /* $Id: obj_channel.h,v 1.5 1999-08-22 22:52:06 sandervl Exp $ */2 1 /* 3 2 * Defines undocumented Microsoft COM interfaces and APIs seemingly related to some 'channel' notion. … … 6 5 #ifndef __WINE_WINE_OBJ_CHANNEL_H 7 6 #define __WINE_WINE_OBJ_CHANNEL_H 8 9 #include "wine/obj_base.h"10 7 11 8 #ifdef __cplusplus … … 32 29 33 30 31 DEFINE_GUID (CLSID_PSFactoryBuffer, 0x00000320L, 0x0000, 0x0000, 0xC0, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x46); 32 33 34 34 /***************************************************************************** 35 35 * IChannelHook interface … … 49 49 #undef ICOM_INTERFACE 50 50 51 #ifdef ICOM_CINTERFACE52 51 /*** IUnknown methods ***/ 53 52 #define IChannelHook_QueryInterface(p,a,b) ICOM_CALL2(QueryInterface,p,a,b) … … 61 60 #define IChannelHook_ServerGetSize(p,a,b,c,d) ICOM_CALL(ServerGetSize,p,a,b,c,d) 62 61 #define IChannelHook_ServerFillBuffer(p,a,b,c,d,e) ICOM_CALL(ServerFillBuffer,p,a,b,c,d,e) 63 #endif64 62 65 63 … … 77 75 #undef ICOM_INTERFACE 78 76 79 #ifdef ICOM_CINTERFACE80 77 /*** IUnknown methods ***/ 81 78 #define IPSFactoryBuffer_QueryInterface(p,a,b) ICOM_CALL2(QueryInterface,p,a,b) … … 85 82 #define IPSFactoryBuffer_CreateProxy(p,a,b,c,d) ICOM_CALL4(CreateProxy,p,a,b,c,d) 86 83 #define IPSFactoryBuffer_CreateStub(p,a,b,c) ICOM_CALL3(CreateStub,p,a,b,c) 87 #endif88 84 89 85 … … 117 113 #undef ICOM_INTERFACE 118 114 119 #ifdef ICOM_CINTERFACE120 115 /*** IUnknown methods ***/ 121 116 #define IRpcChannelBuffer_QueryInterface(p,a,b) ICOM_CALL2(QueryInterface,p,a,b) … … 128 123 #define IRpcChannelBuffer_GetDestCtx(p,a,b) ICOM_CALL2(GetDestCtx,p,a,b) 129 124 #define IRpcChannelBuffer_IsConnected(p) ICOM_CALL (IsConnected,p) 130 #endif131 125 132 126 … … 144 138 #undef ICOM_INTERFACE 145 139 146 #ifdef ICOM_CINTERFACE147 140 /*** IUnknown methods ***/ 148 141 #define IRpcProxyBuffer_QueryInterface(p,a,b) ICOM_CALL2(QueryInterface,p,a,b) … … 150 143 #define IRpcProxyBuffer_Release(p) ICOM_CALL (Release,p) 151 144 /*** IRpcProxyBuffer methods ***/ 152 #define IRpcProxyBuffer_Connect(p,a) ICOM_CALL 2(Connect,p,a)145 #define IRpcProxyBuffer_Connect(p,a) ICOM_CALL1(Connect,p,a) 153 146 #define IRpcProxyBuffer_Disconnect(p) ICOM_CALL (Disconnect,p) 154 #endif155 147 156 148 … … 163 155 ICOM_VMETHOD ( Disconnect) \ 164 156 ICOM_METHOD2 (HRESULT, Invoke, RPCOLEMESSAGE*,_prpcmsg, IRpcChannelBuffer*,_pRpcChannelBuffer) \ 165 ICOM_METHOD1 ( IRpcStubBuffer*,IsIIDSupported, REFIID,riid) \157 ICOM_METHOD1 (LPRPCSTUBBUFFER,IsIIDSupported, REFIID,riid) \ 166 158 ICOM_METHOD (ULONG, CountRefs) \ 167 159 ICOM_METHOD1 (HRESULT, DebugServerQueryInterface, void**,ppv) \ … … 173 165 #undef ICOM_INTERFACE 174 166 175 #ifdef ICOM_CINTERFACE176 167 /*** IUnknown methods ***/ 177 168 #define IRpcStubBuffer_QueryInterface(p,a,b) ICOM_CALL2(QueryInterface,p,a,b) … … 186 177 #define IRpcStubBuffer_DebugServerQueryInterface(p,a) ICOM_CALL1(DebugServerQueryInterface,p,a) 187 178 #define IRpcStubBuffer_DebugServerRelease(p,a) ICOM_CALL1(DebugServerRelease,p,a) 188 #endif189 179 190 180 #ifdef __cplusplus
Note:
See TracChangeset
for help on using the changeset viewer.