Changeset 7912 for trunk/include/win


Ignore:
Timestamp:
Feb 15, 2002, 3:17:06 PM (24 years ago)
Author:
sandervl
Message:

header updates

Location:
trunk/include/win/wine
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/include/win/wine/obj_base.h

    r6715 r7912  
    741741#define ICOM_CTHIS(impl,iface)         const impl* const This=(const impl*)iface
    742742
     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
    743746#endif
    744747
  • 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 $ */
    21/*
    32 * Defines undocumented Microsoft COM interfaces and APIs seemingly related to some 'channel' notion.
     
    65#ifndef __WINE_WINE_OBJ_CHANNEL_H
    76#define __WINE_WINE_OBJ_CHANNEL_H
    8 
    9 #include "wine/obj_base.h"
    107
    118#ifdef __cplusplus
     
    3229
    3330
     31DEFINE_GUID   (CLSID_PSFactoryBuffer,   0x00000320L, 0x0000, 0x0000, 0xC0, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x46);
     32
     33
    3434/*****************************************************************************
    3535 * IChannelHook interface
     
    4949#undef ICOM_INTERFACE
    5050
    51 #ifdef ICOM_CINTERFACE
    5251/*** IUnknown methods ***/
    5352#define IChannelHook_QueryInterface(p,a,b) ICOM_CALL2(QueryInterface,p,a,b)
     
    6160#define IChannelHook_ServerGetSize(p,a,b,c,d)      ICOM_CALL(ServerGetSize,p,a,b,c,d)
    6261#define IChannelHook_ServerFillBuffer(p,a,b,c,d,e) ICOM_CALL(ServerFillBuffer,p,a,b,c,d,e)
    63 #endif
    6462
    6563
     
    7775#undef ICOM_INTERFACE
    7876
    79 #ifdef ICOM_CINTERFACE
    8077/*** IUnknown methods ***/
    8178#define IPSFactoryBuffer_QueryInterface(p,a,b) ICOM_CALL2(QueryInterface,p,a,b)
     
    8582#define IPSFactoryBuffer_CreateProxy(p,a,b,c,d) ICOM_CALL4(CreateProxy,p,a,b,c,d)
    8683#define IPSFactoryBuffer_CreateStub(p,a,b,c)    ICOM_CALL3(CreateStub,p,a,b,c)
    87 #endif
    8884
    8985
     
    117113#undef ICOM_INTERFACE
    118114
    119 #ifdef ICOM_CINTERFACE
    120115/*** IUnknown methods ***/
    121116#define IRpcChannelBuffer_QueryInterface(p,a,b) ICOM_CALL2(QueryInterface,p,a,b)
     
    128123#define IRpcChannelBuffer_GetDestCtx(p,a,b)  ICOM_CALL2(GetDestCtx,p,a,b)
    129124#define IRpcChannelBuffer_IsConnected(p)     ICOM_CALL (IsConnected,p)
    130 #endif
    131125
    132126
     
    144138#undef ICOM_INTERFACE
    145139
    146 #ifdef ICOM_CINTERFACE
    147140/*** IUnknown methods ***/
    148141#define IRpcProxyBuffer_QueryInterface(p,a,b) ICOM_CALL2(QueryInterface,p,a,b)
     
    150143#define IRpcProxyBuffer_Release(p)            ICOM_CALL (Release,p)
    151144/*** IRpcProxyBuffer methods ***/
    152 #define IRpcProxyBuffer_Connect(p,a)  ICOM_CALL2(Connect,p,a)
     145#define IRpcProxyBuffer_Connect(p,a)  ICOM_CALL1(Connect,p,a)
    153146#define IRpcProxyBuffer_Disconnect(p) ICOM_CALL (Disconnect,p)
    154 #endif
    155147
    156148
     
    163155    ICOM_VMETHOD (                Disconnect) \
    164156    ICOM_METHOD2 (HRESULT,        Invoke,                    RPCOLEMESSAGE*,_prpcmsg, IRpcChannelBuffer*,_pRpcChannelBuffer) \
    165     ICOM_METHOD1 (IRpcStubBuffer*,IsIIDSupported,            REFIID,riid) \
     157    ICOM_METHOD1 (LPRPCSTUBBUFFER,IsIIDSupported,            REFIID,riid) \
    166158    ICOM_METHOD  (ULONG,          CountRefs) \
    167159    ICOM_METHOD1 (HRESULT,        DebugServerQueryInterface, void**,ppv) \
     
    173165#undef ICOM_INTERFACE
    174166
    175 #ifdef ICOM_CINTERFACE
    176167/*** IUnknown methods ***/
    177168#define IRpcStubBuffer_QueryInterface(p,a,b) ICOM_CALL2(QueryInterface,p,a,b)
     
    186177#define IRpcStubBuffer_DebugServerQueryInterface(p,a) ICOM_CALL1(DebugServerQueryInterface,p,a)
    187178#define IRpcStubBuffer_DebugServerRelease(p,a)        ICOM_CALL1(DebugServerRelease,p,a)
    188 #endif
    189179
    190180#ifdef __cplusplus
Note: See TracChangeset for help on using the changeset viewer.