/* this ALWAYS GENERATED file contains the proxy stub code */ /* File created by MIDL compiler version 5.01.0164 */ /* at Fri Jan 08 22:48:55 1999 */ /* Compiler settings for tribblelib.idl: Os (OptLev=s), W1, Zp8, env=Win32, ms_ext, c_ext error checks: allocation ref bounds_check enum stub_data */ //@@MIDL_FILE_HEADING( ) /* verify that the version is high enough to compile this file*/ #ifndef __REDQ_RPCPROXY_H_VERSION__ #define __REQUIRED_RPCPROXY_H_VERSION__ 440 #endif #include "rpcproxy.h" #ifndef __RPCPROXY_H_VERSION__ #error this stub requires an updated version of #endif // __RPCPROXY_H_VERSION__ #include "tribblelib.h" #define TYPE_FORMAT_STRING_SIZE 11 #define PROC_FORMAT_STRING_SIZE 15 typedef struct _MIDL_TYPE_FORMAT_STRING { short Pad; unsigned char Format[ TYPE_FORMAT_STRING_SIZE ]; } MIDL_TYPE_FORMAT_STRING; typedef struct _MIDL_PROC_FORMAT_STRING { short Pad; unsigned char Format[ PROC_FORMAT_STRING_SIZE ]; } MIDL_PROC_FORMAT_STRING; extern const MIDL_TYPE_FORMAT_STRING __MIDL_TypeFormatString; extern const MIDL_PROC_FORMAT_STRING __MIDL_ProcFormatString; /* Object interface: IUnknown, ver. 0.0, GUID={0x00000000,0x0000,0x0000,{0xC0,0x00,0x00,0x00,0x00,0x00,0x00,0x46}} */ /* Object interface: ITribble, ver. 0.0, GUID={0x384D1ED0,0x635E,0x11d2,{0xAD,0x73,0x00,0x00,0x00,0x00,0x00,0x00}} */ extern const MIDL_STUB_DESC Object_StubDesc; #pragma code_seg(".orpc") HRESULT STDMETHODCALLTYPE ITribble_Sleep_Proxy( ITribble __RPC_FAR * This) { HRESULT _RetVal; RPC_MESSAGE _RpcMessage; MIDL_STUB_MESSAGE _StubMsg; RpcTryExcept { NdrProxyInitialize( ( void __RPC_FAR * )This, ( PRPC_MESSAGE )&_RpcMessage, ( PMIDL_STUB_MESSAGE )&_StubMsg, ( PMIDL_STUB_DESC )&Object_StubDesc, 3); RpcTryFinally { _StubMsg.BufferLength = 0U; NdrProxyGetBuffer(This, &_StubMsg); NdrProxySendReceive(This, &_StubMsg); if ( (_RpcMessage.DataRepresentation & 0X0000FFFFUL) != NDR_LOCAL_DATA_REPRESENTATION ) NdrConvert( (PMIDL_STUB_MESSAGE) &_StubMsg, (PFORMAT_STRING) &__MIDL_ProcFormatString.Format[0] ); _RetVal = *(( HRESULT __RPC_FAR * )_StubMsg.Buffer)++; } RpcFinally { NdrProxyFreeBuffer(This, &_StubMsg); } RpcEndFinally } RpcExcept(_StubMsg.dwStubPhase != PROXY_SENDRECEIVE) { _RetVal = NdrProxyErrorHandler(RpcExceptionCode()); } RpcEndExcept return _RetVal; } void __RPC_STUB ITribble_Sleep_Stub( IRpcStubBuffer *This, IRpcChannelBuffer *_pRpcChannelBuffer, PRPC_MESSAGE _pRpcMessage, DWORD *_pdwStubPhase) { HRESULT _RetVal; MIDL_STUB_MESSAGE _StubMsg; NdrStubInitialize( _pRpcMessage, &_StubMsg, &Object_StubDesc, _pRpcChannelBuffer); RpcTryFinally { *_pdwStubPhase = STUB_CALL_SERVER; _RetVal = (((ITribble*) ((CStdStubBuffer *)This)->pvServerObject)->lpVtbl) -> Sleep((ITribble *) ((CStdStubBuffer *)This)->pvServerObject); *_pdwStubPhase = STUB_MARSHAL; _StubMsg.BufferLength = 4U; NdrStubGetBuffer(This, _pRpcChannelBuffer, &_StubMsg); *(( HRESULT __RPC_FAR * )_StubMsg.Buffer)++ = _RetVal; } RpcFinally { } RpcEndFinally _pRpcMessage->BufferLength = (unsigned int)((long)_StubMsg.Buffer - (long)_pRpcMessage->Buffer); } HRESULT STDMETHODCALLTYPE ITribble_Wake_Proxy( ITribble __RPC_FAR * This) { HRESULT _RetVal; RPC_MESSAGE _RpcMessage; MIDL_STUB_MESSAGE _StubMsg; RpcTryExcept { NdrProxyInitialize( ( void __RPC_FAR * )This, ( PRPC_MESSAGE )&_RpcMessage, ( PMIDL_STUB_MESSAGE )&_StubMsg, ( PMIDL_STUB_DESC )&Object_StubDesc, 4); RpcTryFinally { _StubMsg.BufferLength = 0U; NdrProxyGetBuffer(This, &_StubMsg); NdrProxySendReceive(This, &_StubMsg); if ( (_RpcMessage.DataRepresentation & 0X0000FFFFUL) != NDR_LOCAL_DATA_REPRESENTATION ) NdrConvert( (PMIDL_STUB_MESSAGE) &_StubMsg, (PFORMAT_STRING) &__MIDL_ProcFormatString.Format[0] ); _RetVal = *(( HRESULT __RPC_FAR * )_StubMsg.Buffer)++; } RpcFinally { NdrProxyFreeBuffer(This, &_StubMsg); } RpcEndFinally } RpcExcept(_StubMsg.dwStubPhase != PROXY_SENDRECEIVE) { _RetVal = NdrProxyErrorHandler(RpcExceptionCode()); } RpcEndExcept return _RetVal; } void __RPC_STUB ITribble_Wake_Stub( IRpcStubBuffer *This, IRpcChannelBuffer *_pRpcChannelBuffer, PRPC_MESSAGE _pRpcMessage, DWORD *_pdwStubPhase) { HRESULT _RetVal; MIDL_STUB_MESSAGE _StubMsg; NdrStubInitialize( _pRpcMessage, &_StubMsg, &Object_StubDesc, _pRpcChannelBuffer); RpcTryFinally { *_pdwStubPhase = STUB_CALL_SERVER; _RetVal = (((ITribble*) ((CStdStubBuffer *)This)->pvServerObject)->lpVtbl) -> Wake((ITribble *) ((CStdStubBuffer *)This)->pvServerObject); *_pdwStubPhase = STUB_MARSHAL; _StubMsg.BufferLength = 4U; NdrStubGetBuffer(This, _pRpcChannelBuffer, &_StubMsg); *(( HRESULT __RPC_FAR * )_StubMsg.Buffer)++ = _RetVal; } RpcFinally { } RpcEndFinally _pRpcMessage->BufferLength = (unsigned int)((long)_StubMsg.Buffer - (long)_pRpcMessage->Buffer); } HRESULT STDMETHODCALLTYPE ITribble_Eat_Proxy( ITribble __RPC_FAR * This, /* [in] */ const unsigned char __RPC_FAR *strMyFood) { HRESULT _RetVal; RPC_MESSAGE _RpcMessage; MIDL_STUB_MESSAGE _StubMsg; RpcTryExcept { NdrProxyInitialize( ( void __RPC_FAR * )This, ( PRPC_MESSAGE )&_RpcMessage, ( PMIDL_STUB_MESSAGE )&_StubMsg, ( PMIDL_STUB_DESC )&Object_StubDesc, 5); if(!strMyFood) { RpcRaiseException(RPC_X_NULL_REF_POINTER); } RpcTryFinally { _StubMsg.BufferLength = 1U; NdrProxyGetBuffer(This, &_StubMsg); *(( unsigned char __RPC_FAR * )_StubMsg.Buffer)++ = *strMyFood; NdrProxySendReceive(This, &_StubMsg); if ( (_RpcMessage.DataRepresentation & 0X0000FFFFUL) != NDR_LOCAL_DATA_REPRESENTATION ) NdrConvert( (PMIDL_STUB_MESSAGE) &_StubMsg, (PFORMAT_STRING) &__MIDL_ProcFormatString.Format[2] ); _RetVal = *(( HRESULT __RPC_FAR * )_StubMsg.Buffer)++; } RpcFinally { NdrProxyFreeBuffer(This, &_StubMsg); } RpcEndFinally } RpcExcept(_StubMsg.dwStubPhase != PROXY_SENDRECEIVE) { _RetVal = NdrProxyErrorHandler(RpcExceptionCode()); } RpcEndExcept return _RetVal; } void __RPC_STUB ITribble_Eat_Stub( IRpcStubBuffer *This, IRpcChannelBuffer *_pRpcChannelBuffer, PRPC_MESSAGE _pRpcMessage, DWORD *_pdwStubPhase) { HRESULT _RetVal; MIDL_STUB_MESSAGE _StubMsg; const unsigned char __RPC_FAR *strMyFood; NdrStubInitialize( _pRpcMessage, &_StubMsg, &Object_StubDesc, _pRpcChannelBuffer); ( unsigned char __RPC_FAR * )strMyFood = 0; RpcTryFinally { if ( (_pRpcMessage->DataRepresentation & 0X0000FFFFUL) != NDR_LOCAL_DATA_REPRESENTATION ) NdrConvert( (PMIDL_STUB_MESSAGE) &_StubMsg, (PFORMAT_STRING) &__MIDL_ProcFormatString.Format[2] ); strMyFood = ( unsigned char __RPC_FAR * )_StubMsg.Buffer; _StubMsg.Buffer += sizeof( unsigned char ); *_pdwStubPhase = STUB_CALL_SERVER; _RetVal = (((ITribble*) ((CStdStubBuffer *)This)->pvServerObject)->lpVtbl) -> Eat((ITribble *) ((CStdStubBuffer *)This)->pvServerObject,strMyFood); *_pdwStubPhase = STUB_MARSHAL; _StubMsg.BufferLength = 4U; NdrStubGetBuffer(This, _pRpcChannelBuffer, &_StubMsg); *(( HRESULT __RPC_FAR * )_StubMsg.Buffer)++ = _RetVal; } RpcFinally { } RpcEndFinally _pRpcMessage->BufferLength = (unsigned int)((long)_StubMsg.Buffer - (long)_pRpcMessage->Buffer); } /* [propput] */ HRESULT STDMETHODCALLTYPE ITribble_put_Name_Proxy( ITribble __RPC_FAR * This, /* [in] */ const unsigned char __RPC_FAR *lpName) { HRESULT _RetVal; RPC_MESSAGE _RpcMessage; MIDL_STUB_MESSAGE _StubMsg; RpcTryExcept { NdrProxyInitialize( ( void __RPC_FAR * )This, ( PRPC_MESSAGE )&_RpcMessage, ( PMIDL_STUB_MESSAGE )&_StubMsg, ( PMIDL_STUB_DESC )&Object_StubDesc, 6); if(!lpName) { RpcRaiseException(RPC_X_NULL_REF_POINTER); } RpcTryFinally { _StubMsg.BufferLength = 1U; NdrProxyGetBuffer(This, &_StubMsg); *(( unsigned char __RPC_FAR * )_StubMsg.Buffer)++ = *lpName; NdrProxySendReceive(This, &_StubMsg); if ( (_RpcMessage.DataRepresentation & 0X0000FFFFUL) != NDR_LOCAL_DATA_REPRESENTATION ) NdrConvert( (PMIDL_STUB_MESSAGE) &_StubMsg, (PFORMAT_STRING) &__MIDL_ProcFormatString.Format[2] ); _RetVal = *(( HRESULT __RPC_FAR * )_StubMsg.Buffer)++; } RpcFinally { NdrProxyFreeBuffer(This, &_StubMsg); } RpcEndFinally } RpcExcept(_StubMsg.dwStubPhase != PROXY_SENDRECEIVE) { _RetVal = NdrProxyErrorHandler(RpcExceptionCode()); } RpcEndExcept return _RetVal; } void __RPC_STUB ITribble_put_Name_Stub( IRpcStubBuffer *This, IRpcChannelBuffer *_pRpcChannelBuffer, PRPC_MESSAGE _pRpcMessage, DWORD *_pdwStubPhase) { HRESULT _RetVal; MIDL_STUB_MESSAGE _StubMsg; const unsigned char __RPC_FAR *lpName; NdrStubInitialize( _pRpcMessage, &_StubMsg, &Object_StubDesc, _pRpcChannelBuffer); ( unsigned char __RPC_FAR * )lpName = 0; RpcTryFinally { if ( (_pRpcMessage->DataRepresentation & 0X0000FFFFUL) != NDR_LOCAL_DATA_REPRESENTATION ) NdrConvert( (PMIDL_STUB_MESSAGE) &_StubMsg, (PFORMAT_STRING) &__MIDL_ProcFormatString.Format[2] ); lpName = ( unsigned char __RPC_FAR * )_StubMsg.Buffer; _StubMsg.Buffer += sizeof( unsigned char ); *_pdwStubPhase = STUB_CALL_SERVER; _RetVal = (((ITribble*) ((CStdStubBuffer *)This)->pvServerObject)->lpVtbl) -> put_Name((ITribble *) ((CStdStubBuffer *)This)->pvServerObject,lpName); *_pdwStubPhase = STUB_MARSHAL; _StubMsg.BufferLength = 4U; NdrStubGetBuffer(This, _pRpcChannelBuffer, &_StubMsg); *(( HRESULT __RPC_FAR * )_StubMsg.Buffer)++ = _RetVal; } RpcFinally { } RpcEndFinally _pRpcMessage->BufferLength = (unsigned int)((long)_StubMsg.Buffer - (long)_pRpcMessage->Buffer); } /* [propput] */ HRESULT STDMETHODCALLTYPE ITribble_put_Colour_Proxy( ITribble __RPC_FAR * This, /* [in] */ const unsigned char __RPC_FAR *lpColour) { HRESULT _RetVal; RPC_MESSAGE _RpcMessage; MIDL_STUB_MESSAGE _StubMsg; RpcTryExcept { NdrProxyInitialize( ( void __RPC_FAR * )This, ( PRPC_MESSAGE )&_RpcMessage, ( PMIDL_STUB_MESSAGE )&_StubMsg, ( PMIDL_STUB_DESC )&Object_StubDesc, 7); if(!lpColour) { RpcRaiseException(RPC_X_NULL_REF_POINTER); } RpcTryFinally { _StubMsg.BufferLength = 1U; NdrProxyGetBuffer(This, &_StubMsg); *(( unsigned char __RPC_FAR * )_StubMsg.Buffer)++ = *lpColour; NdrProxySendReceive(This, &_StubMsg); if ( (_RpcMessage.DataRepresentation & 0X0000FFFFUL) != NDR_LOCAL_DATA_REPRESENTATION ) NdrConvert( (PMIDL_STUB_MESSAGE) &_StubMsg, (PFORMAT_STRING) &__MIDL_ProcFormatString.Format[2] ); _RetVal = *(( HRESULT __RPC_FAR * )_StubMsg.Buffer)++; } RpcFinally { NdrProxyFreeBuffer(This, &_StubMsg); } RpcEndFinally } RpcExcept(_StubMsg.dwStubPhase != PROXY_SENDRECEIVE) { _RetVal = NdrProxyErrorHandler(RpcExceptionCode()); } RpcEndExcept return _RetVal; } void __RPC_STUB ITribble_put_Colour_Stub( IRpcStubBuffer *This, IRpcChannelBuffer *_pRpcChannelBuffer, PRPC_MESSAGE _pRpcMessage, DWORD *_pdwStubPhase) { HRESULT _RetVal; MIDL_STUB_MESSAGE _StubMsg; const unsigned char __RPC_FAR *lpColour; NdrStubInitialize( _pRpcMessage, &_StubMsg, &Object_StubDesc, _pRpcChannelBuffer); ( unsigned char __RPC_FAR * )lpColour = 0; RpcTryFinally { if ( (_pRpcMessage->DataRepresentation & 0X0000FFFFUL) != NDR_LOCAL_DATA_REPRESENTATION ) NdrConvert( (PMIDL_STUB_MESSAGE) &_StubMsg, (PFORMAT_STRING) &__MIDL_ProcFormatString.Format[2] ); lpColour = ( unsigned char __RPC_FAR * )_StubMsg.Buffer; _StubMsg.Buffer += sizeof( unsigned char ); *_pdwStubPhase = STUB_CALL_SERVER; _RetVal = (((ITribble*) ((CStdStubBuffer *)This)->pvServerObject)->lpVtbl) -> put_Colour((ITribble *) ((CStdStubBuffer *)This)->pvServerObject,lpColour); *_pdwStubPhase = STUB_MARSHAL; _StubMsg.BufferLength = 4U; NdrStubGetBuffer(This, _pRpcChannelBuffer, &_StubMsg); *(( HRESULT __RPC_FAR * )_StubMsg.Buffer)++ = _RetVal; } RpcFinally { } RpcEndFinally _pRpcMessage->BufferLength = (unsigned int)((long)_StubMsg.Buffer - (long)_pRpcMessage->Buffer); } /* [propget] */ HRESULT STDMETHODCALLTYPE ITribble_get_Name_Proxy( ITribble __RPC_FAR * This, /* [retval][out] */ unsigned char __RPC_FAR *lpName) { HRESULT _RetVal; RPC_MESSAGE _RpcMessage; MIDL_STUB_MESSAGE _StubMsg; RpcTryExcept { NdrProxyInitialize( ( void __RPC_FAR * )This, ( PRPC_MESSAGE )&_RpcMessage, ( PMIDL_STUB_MESSAGE )&_StubMsg, ( PMIDL_STUB_DESC )&Object_StubDesc, 8); if(!lpName) { RpcRaiseException(RPC_X_NULL_REF_POINTER); } RpcTryFinally { _StubMsg.BufferLength = 0U; NdrProxyGetBuffer(This, &_StubMsg); NdrProxySendReceive(This, &_StubMsg); if ( (_RpcMessage.DataRepresentation & 0X0000FFFFUL) != NDR_LOCAL_DATA_REPRESENTATION ) NdrConvert( (PMIDL_STUB_MESSAGE) &_StubMsg, (PFORMAT_STRING) &__MIDL_ProcFormatString.Format[8] ); *lpName = *(( unsigned char __RPC_FAR * )_StubMsg.Buffer)++; _StubMsg.Buffer = (unsigned char __RPC_FAR *)(((long)_StubMsg.Buffer + 3) & ~ 0x3); _RetVal = *(( HRESULT __RPC_FAR * )_StubMsg.Buffer)++; } RpcFinally { NdrProxyFreeBuffer(This, &_StubMsg); } RpcEndFinally } RpcExcept(_StubMsg.dwStubPhase != PROXY_SENDRECEIVE) { NdrClearOutParameters( ( PMIDL_STUB_MESSAGE )&_StubMsg, ( PFORMAT_STRING )&__MIDL_TypeFormatString.Format[6], ( void __RPC_FAR * )lpName); _RetVal = NdrProxyErrorHandler(RpcExceptionCode()); } RpcEndExcept return _RetVal; } void __RPC_STUB ITribble_get_Name_Stub( IRpcStubBuffer *This, IRpcChannelBuffer *_pRpcChannelBuffer, PRPC_MESSAGE _pRpcMessage, DWORD *_pdwStubPhase) { unsigned char _M0; HRESULT _RetVal; MIDL_STUB_MESSAGE _StubMsg; unsigned char __RPC_FAR *lpName; NdrStubInitialize( _pRpcMessage, &_StubMsg, &Object_StubDesc, _pRpcChannelBuffer); ( unsigned char __RPC_FAR * )lpName = 0; RpcTryFinally { lpName = &_M0; *_pdwStubPhase = STUB_CALL_SERVER; _RetVal = (((ITribble*) ((CStdStubBuffer *)This)->pvServerObject)->lpVtbl) -> get_Name((ITribble *) ((CStdStubBuffer *)This)->pvServerObject,lpName); *_pdwStubPhase = STUB_MARSHAL; _StubMsg.BufferLength = 1U + 7U; NdrStubGetBuffer(This, _pRpcChannelBuffer, &_StubMsg); *(( unsigned char __RPC_FAR * )_StubMsg.Buffer)++ = *lpName; _StubMsg.Buffer = (unsigned char __RPC_FAR *)(((long)_StubMsg.Buffer + 3) & ~ 0x3); *(( HRESULT __RPC_FAR * )_StubMsg.Buffer)++ = _RetVal; } RpcFinally { } RpcEndFinally _pRpcMessage->BufferLength = (unsigned int)((long)_StubMsg.Buffer - (long)_pRpcMessage->Buffer); } /* [propget] */ HRESULT STDMETHODCALLTYPE ITribble_get_Colour_Proxy( ITribble __RPC_FAR * This, /* [retval][out] */ unsigned char __RPC_FAR *lpColour) { HRESULT _RetVal; RPC_MESSAGE _RpcMessage; MIDL_STUB_MESSAGE _StubMsg; RpcTryExcept { NdrProxyInitialize( ( void __RPC_FAR * )This, ( PRPC_MESSAGE )&_RpcMessage, ( PMIDL_STUB_MESSAGE )&_StubMsg, ( PMIDL_STUB_DESC )&Object_StubDesc, 9); if(!lpColour) { RpcRaiseException(RPC_X_NULL_REF_POINTER); } RpcTryFinally { _StubMsg.BufferLength = 0U; NdrProxyGetBuffer(This, &_StubMsg); NdrProxySendReceive(This, &_StubMsg); if ( (_RpcMessage.DataRepresentation & 0X0000FFFFUL) != NDR_LOCAL_DATA_REPRESENTATION ) NdrConvert( (PMIDL_STUB_MESSAGE) &_StubMsg, (PFORMAT_STRING) &__MIDL_ProcFormatString.Format[8] ); *lpColour = *(( unsigned char __RPC_FAR * )_StubMsg.Buffer)++; _StubMsg.Buffer = (unsigned char __RPC_FAR *)(((long)_StubMsg.Buffer + 3) & ~ 0x3); _RetVal = *(( HRESULT __RPC_FAR * )_StubMsg.Buffer)++; } RpcFinally { NdrProxyFreeBuffer(This, &_StubMsg); } RpcEndFinally } RpcExcept(_StubMsg.dwStubPhase != PROXY_SENDRECEIVE) { NdrClearOutParameters( ( PMIDL_STUB_MESSAGE )&_StubMsg, ( PFORMAT_STRING )&__MIDL_TypeFormatString.Format[6], ( void __RPC_FAR * )lpColour); _RetVal = NdrProxyErrorHandler(RpcExceptionCode()); } RpcEndExcept return _RetVal; } void __RPC_STUB ITribble_get_Colour_Stub( IRpcStubBuffer *This, IRpcChannelBuffer *_pRpcChannelBuffer, PRPC_MESSAGE _pRpcMessage, DWORD *_pdwStubPhase) { unsigned char _M1; HRESULT _RetVal; MIDL_STUB_MESSAGE _StubMsg; unsigned char __RPC_FAR *lpColour; NdrStubInitialize( _pRpcMessage, &_StubMsg, &Object_StubDesc, _pRpcChannelBuffer); ( unsigned char __RPC_FAR * )lpColour = 0; RpcTryFinally { lpColour = &_M1; *_pdwStubPhase = STUB_CALL_SERVER; _RetVal = (((ITribble*) ((CStdStubBuffer *)This)->pvServerObject)->lpVtbl) -> get_Colour((ITribble *) ((CStdStubBuffer *)This)->pvServerObject,lpColour); *_pdwStubPhase = STUB_MARSHAL; _StubMsg.BufferLength = 1U + 7U; NdrStubGetBuffer(This, _pRpcChannelBuffer, &_StubMsg); *(( unsigned char __RPC_FAR * )_StubMsg.Buffer)++ = *lpColour; _StubMsg.Buffer = (unsigned char __RPC_FAR *)(((long)_StubMsg.Buffer + 3) & ~ 0x3); *(( HRESULT __RPC_FAR * )_StubMsg.Buffer)++ = _RetVal; } RpcFinally { } RpcEndFinally _pRpcMessage->BufferLength = (unsigned int)((long)_StubMsg.Buffer - (long)_pRpcMessage->Buffer); } static const MIDL_STUB_DESC Object_StubDesc = { 0, NdrOleAllocate, NdrOleFree, 0, 0, 0, 0, 0, __MIDL_TypeFormatString.Format, 1, /* -error bounds_check flag */ 0x10001, /* Ndr library version */ 0, 0x50100a4, /* MIDL Version 5.1.164 */ 0, 0, 0, /* notify & notify_flag routine table */ 1, /* Flags */ 0, /* Reserved3 */ 0, /* Reserved4 */ 0 /* Reserved5 */ }; const CINTERFACE_PROXY_VTABLE(10) _ITribbleProxyVtbl = { &IID_ITribble, IUnknown_QueryInterface_Proxy, IUnknown_AddRef_Proxy, IUnknown_Release_Proxy , ITribble_Sleep_Proxy , ITribble_Wake_Proxy , ITribble_Eat_Proxy , ITribble_put_Name_Proxy , ITribble_put_Colour_Proxy , ITribble_get_Name_Proxy , ITribble_get_Colour_Proxy }; static const PRPC_STUB_FUNCTION ITribble_table[] = { ITribble_Sleep_Stub, ITribble_Wake_Stub, ITribble_Eat_Stub, ITribble_put_Name_Stub, ITribble_put_Colour_Stub, ITribble_get_Name_Stub, ITribble_get_Colour_Stub }; const CInterfaceStubVtbl _ITribbleStubVtbl = { &IID_ITribble, 0, 10, &ITribble_table[-3], CStdStubBuffer_METHODS }; #pragma data_seg(".rdata") #if !defined(__RPC_WIN32__) #error Invalid build platform for this stub. #endif static const MIDL_PROC_FORMAT_STRING __MIDL_ProcFormatString = { 0, { 0x53, /* FC_RETURN_PARAM_BASETYPE */ 0x8, /* FC_LONG */ /* 2 */ 0x4d, /* FC_IN_PARAM */ #ifndef _ALPHA_ 0x1, /* x86, MIPS & PPC Stack size = 1 */ #else 0x2, /* Alpha Stack size = 2 */ #endif /* 4 */ NdrFcShort( 0x2 ), /* Type Offset=2 */ /* 6 */ 0x53, /* FC_RETURN_PARAM_BASETYPE */ 0x8, /* FC_LONG */ /* 8 */ 0x51, /* FC_OUT_PARAM */ #ifndef _ALPHA_ 0x1, /* x86, MIPS & PPC Stack size = 1 */ #else 0x2, /* Alpha Stack size = 2 */ #endif /* 10 */ NdrFcShort( 0x6 ), /* Type Offset=6 */ /* 12 */ 0x53, /* FC_RETURN_PARAM_BASETYPE */ 0x8, /* FC_LONG */ 0x0 } }; static const MIDL_TYPE_FORMAT_STRING __MIDL_TypeFormatString = { 0, { NdrFcShort( 0x0 ), /* 0 */ /* 2 */ 0x11, 0x8, /* FC_RP [simple_pointer] */ /* 4 */ 0x2, /* FC_CHAR */ 0x5c, /* FC_PAD */ /* 6 */ 0x11, 0xc, /* FC_RP [alloced_on_stack] [simple_pointer] */ /* 8 */ 0x2, /* FC_CHAR */ 0x5c, /* FC_PAD */ 0x0 } }; const CInterfaceProxyVtbl * _tribblelib_ProxyVtblList[] = { ( CInterfaceProxyVtbl *) &_ITribbleProxyVtbl, 0 }; const CInterfaceStubVtbl * _tribblelib_StubVtblList[] = { ( CInterfaceStubVtbl *) &_ITribbleStubVtbl, 0 }; PCInterfaceName const _tribblelib_InterfaceNamesList[] = { "ITribble", 0 }; #define _tribblelib_CHECK_IID(n) IID_GENERIC_CHECK_IID( _tribblelib, pIID, n) int __stdcall _tribblelib_IID_Lookup( const IID * pIID, int * pIndex ) { if(!_tribblelib_CHECK_IID(0)) { *pIndex = 0; return 1; } return 0; } const ExtendedProxyFileInfo tribblelib_ProxyFileInfo = { (PCInterfaceProxyVtblList *) & _tribblelib_ProxyVtblList, (PCInterfaceStubVtblList *) & _tribblelib_StubVtblList, (const PCInterfaceName * ) & _tribblelib_InterfaceNamesList, 0, // no delegation & _tribblelib_IID_Lookup, 1, 1, 0, /* table of [async_uuid] interfaces */ 0, /* Filler1 */ 0, /* Filler2 */ 0 /* Filler3 */ };