myaddinter_p.c
上传用户:weisheen
上传日期:2022-07-09
资源大小:19390k
文件大小:21k
源码类别:
ActiveX/DCOM/ATL
开发平台:
Visual C++
- /* this ALWAYS GENERATED file contains the proxy stub code */
- /* File created by MIDL compiler version 5.01.0164 */
- /* at Mon Feb 22 19:18:15 2010
- */
- /* Compiler settings for myaddinter.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 <rpcproxy.h> 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 <rpcproxy.h>
- #endif // __RPCPROXY_H_VERSION__
- #include "myaddinter.h"
- #define TYPE_FORMAT_STRING_SIZE 59
- #define PROC_FORMAT_STRING_SIZE 21
- 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: IMyfirst, ver. 0.0,
- GUID={0xB5DC4864,0x4819,0x4C1F,{0x9B,0xBE,0x07,0xCE,0x52,0x3C,0x5B,0x42}} */
- extern const MIDL_STUB_DESC Object_StubDesc;
- #pragma code_seg(".orpc")
- /* [helpstring] */ HRESULT STDMETHODCALLTYPE IMyfirst_add_Proxy(
- IMyfirst __RPC_FAR * This,
- /* [in] */ int a,
- /* [in] */ int b,
- /* [out] */ int __RPC_FAR *c)
- {
- 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);
- if(!c)
- {
- RpcRaiseException(RPC_X_NULL_REF_POINTER);
- }
- RpcTryFinally
- {
- _StubMsg.BufferLength = 4U + 4U;
- NdrProxyGetBuffer(This, &_StubMsg);
- *(( int __RPC_FAR * )_StubMsg.Buffer)++ = a;
- *(( int __RPC_FAR * )_StubMsg.Buffer)++ = b;
- NdrProxySendReceive(This, &_StubMsg);
- if ( (_RpcMessage.DataRepresentation & 0X0000FFFFUL) != NDR_LOCAL_DATA_REPRESENTATION )
- NdrConvert( (PMIDL_STUB_MESSAGE) &_StubMsg, (PFORMAT_STRING) &__MIDL_ProcFormatString.Format[0] );
- *c = *(( int __RPC_FAR * )_StubMsg.Buffer)++;
- _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[2],
- ( void __RPC_FAR * )c);
- _RetVal = NdrProxyErrorHandler(RpcExceptionCode());
- }
- RpcEndExcept
- return _RetVal;
- }
- void __RPC_STUB IMyfirst_add_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase)
- {
- int _M0;
- HRESULT _RetVal;
- MIDL_STUB_MESSAGE _StubMsg;
- int a;
- int b;
- int __RPC_FAR *c;
- NdrStubInitialize(
- _pRpcMessage,
- &_StubMsg,
- &Object_StubDesc,
- _pRpcChannelBuffer);
- ( int __RPC_FAR * )c = 0;
- RpcTryFinally
- {
- if ( (_pRpcMessage->DataRepresentation & 0X0000FFFFUL) != NDR_LOCAL_DATA_REPRESENTATION )
- NdrConvert( (PMIDL_STUB_MESSAGE) &_StubMsg, (PFORMAT_STRING) &__MIDL_ProcFormatString.Format[0] );
- a = *(( int __RPC_FAR * )_StubMsg.Buffer)++;
- b = *(( int __RPC_FAR * )_StubMsg.Buffer)++;
- c = &_M0;
- *_pdwStubPhase = STUB_CALL_SERVER;
- _RetVal = (((IMyfirst*) ((CStdStubBuffer *)This)->pvServerObject)->lpVtbl) -> add(
- (IMyfirst *) ((CStdStubBuffer *)This)->pvServerObject,
- a,
- b,
- c);
- *_pdwStubPhase = STUB_MARSHAL;
- _StubMsg.BufferLength = 4U + 4U;
- NdrStubGetBuffer(This, _pRpcChannelBuffer, &_StubMsg);
- *(( int __RPC_FAR * )_StubMsg.Buffer)++ = *c;
- *(( HRESULT __RPC_FAR * )_StubMsg.Buffer)++ = _RetVal;
- }
- RpcFinally
- {
- }
- RpcEndFinally
- _pRpcMessage->BufferLength =
- (unsigned int)((long)_StubMsg.Buffer - (long)_pRpcMessage->Buffer);
- }
- /* [helpstring] */ HRESULT STDMETHODCALLTYPE IMyfirst_sub_Proxy(
- IMyfirst __RPC_FAR * This,
- /* [in] */ int a,
- /* [in] */ int b,
- /* [out] */ int __RPC_FAR *c)
- {
- 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);
- if(!c)
- {
- RpcRaiseException(RPC_X_NULL_REF_POINTER);
- }
- RpcTryFinally
- {
- _StubMsg.BufferLength = 4U + 4U;
- NdrProxyGetBuffer(This, &_StubMsg);
- *(( int __RPC_FAR * )_StubMsg.Buffer)++ = a;
- *(( int __RPC_FAR * )_StubMsg.Buffer)++ = b;
- NdrProxySendReceive(This, &_StubMsg);
- if ( (_RpcMessage.DataRepresentation & 0X0000FFFFUL) != NDR_LOCAL_DATA_REPRESENTATION )
- NdrConvert( (PMIDL_STUB_MESSAGE) &_StubMsg, (PFORMAT_STRING) &__MIDL_ProcFormatString.Format[0] );
- *c = *(( int __RPC_FAR * )_StubMsg.Buffer)++;
- _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[2],
- ( void __RPC_FAR * )c);
- _RetVal = NdrProxyErrorHandler(RpcExceptionCode());
- }
- RpcEndExcept
- return _RetVal;
- }
- void __RPC_STUB IMyfirst_sub_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase)
- {
- int _M1;
- HRESULT _RetVal;
- MIDL_STUB_MESSAGE _StubMsg;
- int a;
- int b;
- int __RPC_FAR *c;
- NdrStubInitialize(
- _pRpcMessage,
- &_StubMsg,
- &Object_StubDesc,
- _pRpcChannelBuffer);
- ( int __RPC_FAR * )c = 0;
- RpcTryFinally
- {
- if ( (_pRpcMessage->DataRepresentation & 0X0000FFFFUL) != NDR_LOCAL_DATA_REPRESENTATION )
- NdrConvert( (PMIDL_STUB_MESSAGE) &_StubMsg, (PFORMAT_STRING) &__MIDL_ProcFormatString.Format[0] );
- a = *(( int __RPC_FAR * )_StubMsg.Buffer)++;
- b = *(( int __RPC_FAR * )_StubMsg.Buffer)++;
- c = &_M1;
- *_pdwStubPhase = STUB_CALL_SERVER;
- _RetVal = (((IMyfirst*) ((CStdStubBuffer *)This)->pvServerObject)->lpVtbl) -> sub(
- (IMyfirst *) ((CStdStubBuffer *)This)->pvServerObject,
- a,
- b,
- c);
- *_pdwStubPhase = STUB_MARSHAL;
- _StubMsg.BufferLength = 4U + 4U;
- NdrStubGetBuffer(This, _pRpcChannelBuffer, &_StubMsg);
- *(( int __RPC_FAR * )_StubMsg.Buffer)++ = *c;
- *(( HRESULT __RPC_FAR * )_StubMsg.Buffer)++ = _RetVal;
- }
- RpcFinally
- {
- }
- RpcEndFinally
- _pRpcMessage->BufferLength =
- (unsigned int)((long)_StubMsg.Buffer - (long)_pRpcMessage->Buffer);
- }
- const CINTERFACE_PROXY_VTABLE(5) _IMyfirstProxyVtbl =
- {
- &IID_IMyfirst,
- IUnknown_QueryInterface_Proxy,
- IUnknown_AddRef_Proxy,
- IUnknown_Release_Proxy ,
- IMyfirst_add_Proxy ,
- IMyfirst_sub_Proxy
- };
- static const PRPC_STUB_FUNCTION IMyfirst_table[] =
- {
- IMyfirst_add_Stub,
- IMyfirst_sub_Stub
- };
- const CInterfaceStubVtbl _IMyfirstStubVtbl =
- {
- &IID_IMyfirst,
- 0,
- 5,
- &IMyfirst_table[-3],
- CStdStubBuffer_METHODS
- };
- /* Object interface: IHello, ver. 0.0,
- GUID={0x674F7BAF,0xA5B0,0x4b8d,{0x87,0x1C,0x1C,0x0A,0x6A,0x08,0x5D,0xC3}} */
- extern const MIDL_STUB_DESC Object_StubDesc;
- #pragma code_seg(".orpc")
- /* [helpstring] */ HRESULT STDMETHODCALLTYPE IHello_MyHello_Proxy(
- IHello __RPC_FAR * This,
- /* [in] */ BSTR name,
- /* [out] */ BSTR __RPC_FAR *strResult)
- {
- HRESULT _RetVal;
- RPC_MESSAGE _RpcMessage;
- MIDL_STUB_MESSAGE _StubMsg;
- if(strResult)
- {
- MIDL_memset(
- strResult,
- 0,
- sizeof( BSTR ));
- }
- RpcTryExcept
- {
- NdrProxyInitialize(
- ( void __RPC_FAR * )This,
- ( PRPC_MESSAGE )&_RpcMessage,
- ( PMIDL_STUB_MESSAGE )&_StubMsg,
- ( PMIDL_STUB_DESC )&Object_StubDesc,
- 3);
- if(!strResult)
- {
- RpcRaiseException(RPC_X_NULL_REF_POINTER);
- }
- RpcTryFinally
- {
- _StubMsg.BufferLength = 8U;
- NdrUserMarshalBufferSize( (PMIDL_STUB_MESSAGE) &_StubMsg,
- (unsigned char __RPC_FAR *)&name,
- (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[30] );
- NdrProxyGetBuffer(This, &_StubMsg);
- NdrUserMarshalMarshall( (PMIDL_STUB_MESSAGE)& _StubMsg,
- (unsigned char __RPC_FAR *)&name,
- (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[30] );
- NdrProxySendReceive(This, &_StubMsg);
- if ( (_RpcMessage.DataRepresentation & 0X0000FFFFUL) != NDR_LOCAL_DATA_REPRESENTATION )
- NdrConvert( (PMIDL_STUB_MESSAGE) &_StubMsg, (PFORMAT_STRING) &__MIDL_ProcFormatString.Format[10] );
- NdrUserMarshalUnmarshall( (PMIDL_STUB_MESSAGE) &_StubMsg,
- (unsigned char __RPC_FAR * __RPC_FAR *)&strResult,
- (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[48],
- (unsigned char)0 );
- _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[40],
- ( void __RPC_FAR * )strResult);
- _RetVal = NdrProxyErrorHandler(RpcExceptionCode());
- }
- RpcEndExcept
- return _RetVal;
- }
- void __RPC_STUB IHello_MyHello_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase)
- {
- BSTR _M2;
- HRESULT _RetVal;
- MIDL_STUB_MESSAGE _StubMsg;
- void __RPC_FAR *_p_name;
- BSTR name;
- BSTR __RPC_FAR *strResult;
- NdrStubInitialize(
- _pRpcMessage,
- &_StubMsg,
- &Object_StubDesc,
- _pRpcChannelBuffer);
- _p_name = &name;
- MIDL_memset(
- _p_name,
- 0,
- sizeof( BSTR ));
- ( BSTR __RPC_FAR * )strResult = 0;
- RpcTryFinally
- {
- if ( (_pRpcMessage->DataRepresentation & 0X0000FFFFUL) != NDR_LOCAL_DATA_REPRESENTATION )
- NdrConvert( (PMIDL_STUB_MESSAGE) &_StubMsg, (PFORMAT_STRING) &__MIDL_ProcFormatString.Format[10] );
- NdrUserMarshalUnmarshall( (PMIDL_STUB_MESSAGE) &_StubMsg,
- (unsigned char __RPC_FAR * __RPC_FAR *)&_p_name,
- (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[30],
- (unsigned char)0 );
- strResult = &_M2;
- MIDL_memset(
- strResult,
- 0,
- sizeof( BSTR ));
- *_pdwStubPhase = STUB_CALL_SERVER;
- _RetVal = (((IHello*) ((CStdStubBuffer *)This)->pvServerObject)->lpVtbl) -> MyHello(
- (IHello *) ((CStdStubBuffer *)This)->pvServerObject,
- name,
- strResult);
- *_pdwStubPhase = STUB_MARSHAL;
- _StubMsg.BufferLength = 8U + 11U;
- NdrUserMarshalBufferSize( (PMIDL_STUB_MESSAGE) &_StubMsg,
- (unsigned char __RPC_FAR *)strResult,
- (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[48] );
- _StubMsg.BufferLength += 16;
- NdrStubGetBuffer(This, _pRpcChannelBuffer, &_StubMsg);
- NdrUserMarshalMarshall( (PMIDL_STUB_MESSAGE)& _StubMsg,
- (unsigned char __RPC_FAR *)strResult,
- (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[48] );
- _StubMsg.Buffer = (unsigned char __RPC_FAR *)(((long)_StubMsg.Buffer + 3) & ~ 0x3);
- *(( HRESULT __RPC_FAR * )_StubMsg.Buffer)++ = _RetVal;
- }
- RpcFinally
- {
- NdrUserMarshalFree( &_StubMsg,
- (unsigned char __RPC_FAR *)&name,
- &__MIDL_TypeFormatString.Format[30] );
- NdrPointerFree( &_StubMsg,
- (unsigned char __RPC_FAR *)strResult,
- &__MIDL_TypeFormatString.Format[40] );
- }
- RpcEndFinally
- _pRpcMessage->BufferLength =
- (unsigned int)((long)_StubMsg.Buffer - (long)_pRpcMessage->Buffer);
- }
- extern const USER_MARSHAL_ROUTINE_QUADRUPLE UserMarshalRoutines[1];
- static const MIDL_STUB_DESC Object_StubDesc =
- {
- 0,
- NdrOleAllocate,
- NdrOleFree,
- 0,
- 0,
- 0,
- 0,
- 0,
- __MIDL_TypeFormatString.Format,
- 1, /* -error bounds_check flag */
- 0x20000, /* Ndr library version */
- 0,
- 0x50100a4, /* MIDL Version 5.1.164 */
- 0,
- UserMarshalRoutines,
- 0, /* notify & notify_flag routine table */
- 1, /* Flags */
- 0, /* Reserved3 */
- 0, /* Reserved4 */
- 0 /* Reserved5 */
- };
- const CINTERFACE_PROXY_VTABLE(4) _IHelloProxyVtbl =
- {
- &IID_IHello,
- IUnknown_QueryInterface_Proxy,
- IUnknown_AddRef_Proxy,
- IUnknown_Release_Proxy ,
- IHello_MyHello_Proxy
- };
- static const PRPC_STUB_FUNCTION IHello_table[] =
- {
- IHello_MyHello_Stub
- };
- const CInterfaceStubVtbl _IHelloStubVtbl =
- {
- &IID_IHello,
- 0,
- 4,
- &IHello_table[-3],
- CStdStubBuffer_METHODS
- };
- #pragma data_seg(".rdata")
- static const USER_MARSHAL_ROUTINE_QUADRUPLE UserMarshalRoutines[1] =
- {
- {
- BSTR_UserSize
- ,BSTR_UserMarshal
- ,BSTR_UserUnmarshal
- ,BSTR_UserFree
- }
- };
- #if !defined(__RPC_WIN32__)
- #error Invalid build platform for this stub.
- #endif
- #if !(TARGET_IS_NT40_OR_LATER)
- #error You need a Windows NT 4.0 or later to run this stub because it uses these features:
- #error [wire_marshal] or [user_marshal] attribute.
- #error However, your C/C++ compilation flags indicate you intend to run this app on earlier systems.
- #error This app will die there with the RPC_X_WRONG_STUB_VERSION error.
- #endif
- static const MIDL_PROC_FORMAT_STRING __MIDL_ProcFormatString =
- {
- 0,
- {
- 0x4e, /* FC_IN_PARAM_BASETYPE */
- 0x8, /* FC_LONG */
- /* 2 */ 0x4e, /* FC_IN_PARAM_BASETYPE */
- 0x8, /* FC_LONG */
- /* 4 */
- 0x51, /* FC_OUT_PARAM */
- #ifndef _ALPHA_
- 0x1, /* x86, MIPS & PPC Stack size = 1 */
- #else
- 0x2, /* Alpha Stack size = 2 */
- #endif
- /* 6 */ NdrFcShort( 0x2 ), /* Type Offset=2 */
- /* 8 */ 0x53, /* FC_RETURN_PARAM_BASETYPE */
- 0x8, /* FC_LONG */
- /* 10 */
- 0x4d, /* FC_IN_PARAM */
- #ifndef _ALPHA_
- 0x1, /* x86, MIPS & PPC Stack size = 1 */
- #else
- 0x2, /* Alpha Stack size = 2 */
- #endif
- /* 12 */ NdrFcShort( 0x1e ), /* Type Offset=30 */
- /* 14 */
- 0x51, /* FC_OUT_PARAM */
- #ifndef _ALPHA_
- 0x1, /* x86, MIPS & PPC Stack size = 1 */
- #else
- 0x2, /* Alpha Stack size = 2 */
- #endif
- /* 16 */ NdrFcShort( 0x28 ), /* Type Offset=40 */
- /* 18 */ 0x53, /* FC_RETURN_PARAM_BASETYPE */
- 0x8, /* FC_LONG */
- 0x0
- }
- };
- static const MIDL_TYPE_FORMAT_STRING __MIDL_TypeFormatString =
- {
- 0,
- {
- NdrFcShort( 0x0 ), /* 0 */
- /* 2 */
- 0x11, 0xc, /* FC_RP [alloced_on_stack] [simple_pointer] */
- /* 4 */ 0x8, /* FC_LONG */
- 0x5c, /* FC_PAD */
- /* 6 */
- 0x12, 0x0, /* FC_UP */
- /* 8 */ NdrFcShort( 0xc ), /* Offset= 12 (20) */
- /* 10 */
- 0x1b, /* FC_CARRAY */
- 0x1, /* 1 */
- /* 12 */ NdrFcShort( 0x2 ), /* 2 */
- /* 14 */ 0x9, /* Corr desc: FC_ULONG */
- 0x0, /* */
- /* 16 */ NdrFcShort( 0xfffc ), /* -4 */
- /* 18 */ 0x6, /* FC_SHORT */
- 0x5b, /* FC_END */
- /* 20 */
- 0x17, /* FC_CSTRUCT */
- 0x3, /* 3 */
- /* 22 */ NdrFcShort( 0x8 ), /* 8 */
- /* 24 */ NdrFcShort( 0xfffffff2 ), /* Offset= -14 (10) */
- /* 26 */ 0x8, /* FC_LONG */
- 0x8, /* FC_LONG */
- /* 28 */ 0x5c, /* FC_PAD */
- 0x5b, /* FC_END */
- /* 30 */ 0xb4, /* FC_USER_MARSHAL */
- 0x83, /* 131 */
- /* 32 */ NdrFcShort( 0x0 ), /* 0 */
- /* 34 */ NdrFcShort( 0x4 ), /* 4 */
- /* 36 */ NdrFcShort( 0x0 ), /* 0 */
- /* 38 */ NdrFcShort( 0xffffffe0 ), /* Offset= -32 (6) */
- /* 40 */
- 0x11, 0x4, /* FC_RP [alloced_on_stack] */
- /* 42 */ NdrFcShort( 0x6 ), /* Offset= 6 (48) */
- /* 44 */
- 0x13, 0x0, /* FC_OP */
- /* 46 */ NdrFcShort( 0xffffffe6 ), /* Offset= -26 (20) */
- /* 48 */ 0xb4, /* FC_USER_MARSHAL */
- 0x83, /* 131 */
- /* 50 */ NdrFcShort( 0x0 ), /* 0 */
- /* 52 */ NdrFcShort( 0x4 ), /* 4 */
- /* 54 */ NdrFcShort( 0x0 ), /* 0 */
- /* 56 */ NdrFcShort( 0xfffffff4 ), /* Offset= -12 (44) */
- 0x0
- }
- };
- const CInterfaceProxyVtbl * _myaddinter_ProxyVtblList[] =
- {
- ( CInterfaceProxyVtbl *) &_IMyfirstProxyVtbl,
- ( CInterfaceProxyVtbl *) &_IHelloProxyVtbl,
- 0
- };
- const CInterfaceStubVtbl * _myaddinter_StubVtblList[] =
- {
- ( CInterfaceStubVtbl *) &_IMyfirstStubVtbl,
- ( CInterfaceStubVtbl *) &_IHelloStubVtbl,
- 0
- };
- PCInterfaceName const _myaddinter_InterfaceNamesList[] =
- {
- "IMyfirst",
- "IHello",
- 0
- };
- #define _myaddinter_CHECK_IID(n) IID_GENERIC_CHECK_IID( _myaddinter, pIID, n)
- int __stdcall _myaddinter_IID_Lookup( const IID * pIID, int * pIndex )
- {
- IID_BS_LOOKUP_SETUP
- IID_BS_LOOKUP_INITIAL_TEST( _myaddinter, 2, 1 )
- IID_BS_LOOKUP_RETURN_RESULT( _myaddinter, 2, *pIndex )
- }
- const ExtendedProxyFileInfo myaddinter_ProxyFileInfo =
- {
- (PCInterfaceProxyVtblList *) & _myaddinter_ProxyVtblList,
- (PCInterfaceStubVtblList *) & _myaddinter_StubVtblList,
- (const PCInterfaceName * ) & _myaddinter_InterfaceNamesList,
- 0, // no delegation
- & _myaddinter_IID_Lookup,
- 2,
- 1,
- 0, /* table of [async_uuid] interfaces */
- 0, /* Filler1 */
- 0, /* Filler2 */
- 0 /* Filler3 */
- };