_COMServer_p.c
上传用户:lxycoco
上传日期:2022-07-21
资源大小:38457k
文件大小:14k
- /* this ALWAYS GENERATED file contains the proxy stub code */
- /* File created by MIDL compiler version 6.00.0361 */
- /* at Sun Aug 24 11:58:32 2003
- */
- /* Compiler settings for _COMServer.idl:
- Oicf, W1, Zp8, env=Win32 (32b run)
- protocol : dce , ms_ext, c_ext, robust
- error checks: allocation ref bounds_check enum stub_data
- VC __declspec() decoration level:
- __declspec(uuid()), __declspec(selectany), __declspec(novtable)
- DECLSPEC_UUID(), MIDL_INTERFACE()
- */
- //@@MIDL_FILE_HEADING( )
- #if !defined(_M_IA64) && !defined(_M_AMD64)
- #pragma warning( disable: 4049 ) /* more than 64k source lines */
- #if _MSC_VER >= 1200
- #pragma warning(push)
- #endif
- #pragma warning( disable: 4100 ) /* unreferenced arguments in x86 call */
- #pragma warning( disable: 4211 ) /* redefine extent to static */
- #pragma warning( disable: 4232 ) /* dllimport identity*/
- #define USE_STUBLESS_PROXY
- /* verify that the <rpcproxy.h> version is high enough to compile this file*/
- #ifndef __REDQ_RPCPROXY_H_VERSION__
- #define __REQUIRED_RPCPROXY_H_VERSION__ 475
- #endif
- #include "rpcproxy.h"
- #ifndef __RPCPROXY_H_VERSION__
- #error this stub requires an updated version of <rpcproxy.h>
- #endif // __RPCPROXY_H_VERSION__
- #include "_COMServer.h"
- #define TYPE_FORMAT_STRING_SIZE 61
- #define PROC_FORMAT_STRING_SIZE 139
- #define TRANSMIT_AS_TABLE_SIZE 0
- #define WIRE_MARSHAL_TABLE_SIZE 1
- 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;
- static RPC_SYNTAX_IDENTIFIER _RpcTransferSyntax =
- {{0x8A885D04,0x1CEB,0x11C9,{0x9F,0xE8,0x08,0x00,0x2B,0x10,0x48,0x60}},{2,0}};
- extern const MIDL_TYPE_FORMAT_STRING __MIDL_TypeFormatString;
- extern const MIDL_PROC_FORMAT_STRING __MIDL_ProcFormatString;
- extern const MIDL_STUB_DESC Object_StubDesc;
- extern const MIDL_SERVER_INFO IMath_ServerInfo;
- extern const MIDL_STUBLESS_PROXY_INFO IMath_ProxyInfo;
- extern const MIDL_STUB_DESC Object_StubDesc;
- extern const MIDL_SERVER_INFO IWelcome_ServerInfo;
- extern const MIDL_STUBLESS_PROXY_INFO IWelcome_ProxyInfo;
- extern const USER_MARSHAL_ROUTINE_QUADRUPLE UserMarshalRoutines[ WIRE_MARSHAL_TABLE_SIZE ];
- #if !defined(__RPC_WIN32__)
- #error Invalid build platform for this stub.
- #endif
- #if !(TARGET_IS_NT50_OR_LATER)
- #error You need a Windows 2000 or later to run this stub because it uses these features:
- #error /robust command line switch.
- #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,
- {
- /* Procedure Add */
- 0x33, /* FC_AUTO_HANDLE */
- 0x6c, /* Old Flags: object, Oi2 */
- /* 2 */ NdrFcLong( 0x0 ), /* 0 */
- /* 6 */ NdrFcShort( 0x7 ), /* 7 */
- /* 8 */ NdrFcShort( 0x14 ), /* x86 Stack size/offset = 20 */
- /* 10 */ NdrFcShort( 0x10 ), /* 16 */
- /* 12 */ NdrFcShort( 0x24 ), /* 36 */
- /* 14 */ 0x44, /* Oi2 Flags: has return, has ext, */
- 0x4, /* 4 */
- /* 16 */ 0x8, /* 8 */
- 0x1, /* Ext Flags: new corr desc, */
- /* 18 */ NdrFcShort( 0x0 ), /* 0 */
- /* 20 */ NdrFcShort( 0x0 ), /* 0 */
- /* 22 */ NdrFcShort( 0x0 ), /* 0 */
- /* Parameter val1 */
- /* 24 */ NdrFcShort( 0x48 ), /* Flags: in, base type, */
- /* 26 */ NdrFcShort( 0x4 ), /* x86 Stack size/offset = 4 */
- /* 28 */ 0x8, /* FC_LONG */
- 0x0, /* 0 */
- /* Parameter val2 */
- /* 30 */ NdrFcShort( 0x48 ), /* Flags: in, base type, */
- /* 32 */ NdrFcShort( 0x8 ), /* x86 Stack size/offset = 8 */
- /* 34 */ 0x8, /* FC_LONG */
- 0x0, /* 0 */
- /* Parameter result */
- /* 36 */ NdrFcShort( 0x2150 ), /* Flags: out, base type, simple ref, srv alloc size=8 */
- /* 38 */ NdrFcShort( 0xc ), /* x86 Stack size/offset = 12 */
- /* 40 */ 0x8, /* FC_LONG */
- 0x0, /* 0 */
- /* Return value */
- /* 42 */ NdrFcShort( 0x70 ), /* Flags: out, return, base type, */
- /* 44 */ NdrFcShort( 0x10 ), /* x86 Stack size/offset = 16 */
- /* 46 */ 0x8, /* FC_LONG */
- 0x0, /* 0 */
- /* Procedure Sub */
- /* 48 */ 0x33, /* FC_AUTO_HANDLE */
- 0x6c, /* Old Flags: object, Oi2 */
- /* 50 */ NdrFcLong( 0x0 ), /* 0 */
- /* 54 */ NdrFcShort( 0x8 ), /* 8 */
- /* 56 */ NdrFcShort( 0x14 ), /* x86 Stack size/offset = 20 */
- /* 58 */ NdrFcShort( 0x10 ), /* 16 */
- /* 60 */ NdrFcShort( 0x24 ), /* 36 */
- /* 62 */ 0x44, /* Oi2 Flags: has return, has ext, */
- 0x4, /* 4 */
- /* 64 */ 0x8, /* 8 */
- 0x1, /* Ext Flags: new corr desc, */
- /* 66 */ NdrFcShort( 0x0 ), /* 0 */
- /* 68 */ NdrFcShort( 0x0 ), /* 0 */
- /* 70 */ NdrFcShort( 0x0 ), /* 0 */
- /* Parameter val1 */
- /* 72 */ NdrFcShort( 0x48 ), /* Flags: in, base type, */
- /* 74 */ NdrFcShort( 0x4 ), /* x86 Stack size/offset = 4 */
- /* 76 */ 0x8, /* FC_LONG */
- 0x0, /* 0 */
- /* Parameter val2 */
- /* 78 */ NdrFcShort( 0x48 ), /* Flags: in, base type, */
- /* 80 */ NdrFcShort( 0x8 ), /* x86 Stack size/offset = 8 */
- /* 82 */ 0x8, /* FC_LONG */
- 0x0, /* 0 */
- /* Parameter result */
- /* 84 */ NdrFcShort( 0x2150 ), /* Flags: out, base type, simple ref, srv alloc size=8 */
- /* 86 */ NdrFcShort( 0xc ), /* x86 Stack size/offset = 12 */
- /* 88 */ 0x8, /* FC_LONG */
- 0x0, /* 0 */
- /* Return value */
- /* 90 */ NdrFcShort( 0x70 ), /* Flags: out, return, base type, */
- /* 92 */ NdrFcShort( 0x10 ), /* x86 Stack size/offset = 16 */
- /* 94 */ 0x8, /* FC_LONG */
- 0x0, /* 0 */
- /* Procedure Greeting */
- /* 96 */ 0x33, /* FC_AUTO_HANDLE */
- 0x6c, /* Old Flags: object, Oi2 */
- /* 98 */ NdrFcLong( 0x0 ), /* 0 */
- /* 102 */ NdrFcShort( 0x7 ), /* 7 */
- /* 104 */ NdrFcShort( 0x10 ), /* x86 Stack size/offset = 16 */
- /* 106 */ NdrFcShort( 0x0 ), /* 0 */
- /* 108 */ NdrFcShort( 0x8 ), /* 8 */
- /* 110 */ 0x47, /* Oi2 Flags: srv must size, clt must size, has return, has ext, */
- 0x3, /* 3 */
- /* 112 */ 0x8, /* 8 */
- 0x7, /* Ext Flags: new corr desc, clt corr check, srv corr check, */
- /* 114 */ NdrFcShort( 0x1 ), /* 1 */
- /* 116 */ NdrFcShort( 0x1 ), /* 1 */
- /* 118 */ NdrFcShort( 0x0 ), /* 0 */
- /* Parameter name */
- /* 120 */ NdrFcShort( 0x8b ), /* Flags: must size, must free, in, by val, */
- /* 122 */ NdrFcShort( 0x4 ), /* x86 Stack size/offset = 4 */
- /* 124 */ NdrFcShort( 0x20 ), /* Type Offset=32 */
- /* Parameter message */
- /* 126 */ NdrFcShort( 0x2113 ), /* Flags: must size, must free, out, simple ref, srv alloc size=8 */
- /* 128 */ NdrFcShort( 0x8 ), /* x86 Stack size/offset = 8 */
- /* 130 */ NdrFcShort( 0x32 ), /* Type Offset=50 */
- /* Return value */
- /* 132 */ NdrFcShort( 0x70 ), /* Flags: out, return, base type, */
- /* 134 */ NdrFcShort( 0xc ), /* x86 Stack size/offset = 12 */
- /* 136 */ 0x8, /* FC_LONG */
- 0x0, /* 0 */
- 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( 0xe ), /* Offset= 14 (22) */
- /* 10 */
- 0x1b, /* FC_CARRAY */
- 0x1, /* 1 */
- /* 12 */ NdrFcShort( 0x2 ), /* 2 */
- /* 14 */ 0x9, /* Corr desc: FC_ULONG */
- 0x0, /* */
- /* 16 */ NdrFcShort( 0xfffc ), /* -4 */
- /* 18 */ NdrFcShort( 0x1 ), /* Corr flags: early, */
- /* 20 */ 0x6, /* FC_SHORT */
- 0x5b, /* FC_END */
- /* 22 */
- 0x17, /* FC_CSTRUCT */
- 0x3, /* 3 */
- /* 24 */ NdrFcShort( 0x8 ), /* 8 */
- /* 26 */ NdrFcShort( 0xfff0 ), /* Offset= -16 (10) */
- /* 28 */ 0x8, /* FC_LONG */
- 0x8, /* FC_LONG */
- /* 30 */ 0x5c, /* FC_PAD */
- 0x5b, /* FC_END */
- /* 32 */ 0xb4, /* FC_USER_MARSHAL */
- 0x83, /* 131 */
- /* 34 */ NdrFcShort( 0x0 ), /* 0 */
- /* 36 */ NdrFcShort( 0x4 ), /* 4 */
- /* 38 */ NdrFcShort( 0x0 ), /* 0 */
- /* 40 */ NdrFcShort( 0xffde ), /* Offset= -34 (6) */
- /* 42 */
- 0x11, 0x4, /* FC_RP [alloced_on_stack] */
- /* 44 */ NdrFcShort( 0x6 ), /* Offset= 6 (50) */
- /* 46 */
- 0x13, 0x0, /* FC_OP */
- /* 48 */ NdrFcShort( 0xffe6 ), /* Offset= -26 (22) */
- /* 50 */ 0xb4, /* FC_USER_MARSHAL */
- 0x83, /* 131 */
- /* 52 */ NdrFcShort( 0x0 ), /* 0 */
- /* 54 */ NdrFcShort( 0x4 ), /* 4 */
- /* 56 */ NdrFcShort( 0x0 ), /* 0 */
- /* 58 */ NdrFcShort( 0xfff4 ), /* Offset= -12 (46) */
- 0x0
- }
- };
- static const USER_MARSHAL_ROUTINE_QUADRUPLE UserMarshalRoutines[ WIRE_MARSHAL_TABLE_SIZE ] =
- {
-
- {
- BSTR_UserSize
- ,BSTR_UserMarshal
- ,BSTR_UserUnmarshal
- ,BSTR_UserFree
- }
- };
- /* Object interface: IUnknown, ver. 0.0,
- GUID={0x00000000,0x0000,0x0000,{0xC0,0x00,0x00,0x00,0x00,0x00,0x00,0x46}} */
- /* Object interface: IDispatch, ver. 0.0,
- GUID={0x00020400,0x0000,0x0000,{0xC0,0x00,0x00,0x00,0x00,0x00,0x00,0x46}} */
- /* Object interface: IMath, ver. 0.0,
- GUID={0x2158751B,0x896E,0x461d,{0x90,0x12,0xEF,0x16,0x80,0xBE,0x06,0x28}} */
- #pragma code_seg(".orpc")
- static const unsigned short IMath_FormatStringOffsetTable[] =
- {
- (unsigned short) -1,
- (unsigned short) -1,
- (unsigned short) -1,
- (unsigned short) -1,
- 0,
- 48
- };
- static const MIDL_STUBLESS_PROXY_INFO IMath_ProxyInfo =
- {
- &Object_StubDesc,
- __MIDL_ProcFormatString.Format,
- &IMath_FormatStringOffsetTable[-3],
- 0,
- 0,
- 0
- };
- static const MIDL_SERVER_INFO IMath_ServerInfo =
- {
- &Object_StubDesc,
- 0,
- __MIDL_ProcFormatString.Format,
- &IMath_FormatStringOffsetTable[-3],
- 0,
- 0,
- 0,
- 0};
- CINTERFACE_PROXY_VTABLE(9) _IMathProxyVtbl =
- {
- &IMath_ProxyInfo,
- &IID_IMath,
- IUnknown_QueryInterface_Proxy,
- IUnknown_AddRef_Proxy,
- IUnknown_Release_Proxy ,
- 0 /* (void *) (INT_PTR) -1 /* IDispatch::GetTypeInfoCount */ ,
- 0 /* (void *) (INT_PTR) -1 /* IDispatch::GetTypeInfo */ ,
- 0 /* (void *) (INT_PTR) -1 /* IDispatch::GetIDsOfNames */ ,
- 0 /* IDispatch_Invoke_Proxy */ ,
- (void *) (INT_PTR) -1 /* IMath::Add */ ,
- (void *) (INT_PTR) -1 /* IMath::Sub */
- };
- static const PRPC_STUB_FUNCTION IMath_table[] =
- {
- STUB_FORWARDING_FUNCTION,
- STUB_FORWARDING_FUNCTION,
- STUB_FORWARDING_FUNCTION,
- STUB_FORWARDING_FUNCTION,
- NdrStubCall2,
- NdrStubCall2
- };
- CInterfaceStubVtbl _IMathStubVtbl =
- {
- &IID_IMath,
- &IMath_ServerInfo,
- 9,
- &IMath_table[-3],
- CStdStubBuffer_DELEGATING_METHODS
- };
- /* Object interface: IWelcome, ver. 0.0,
- GUID={0x015ED275,0x3DE6,0x4716,{0xA6,0xFA,0x4E,0xBC,0x71,0xE4,0xA8,0xEA}} */
- #pragma code_seg(".orpc")
- static const unsigned short IWelcome_FormatStringOffsetTable[] =
- {
- (unsigned short) -1,
- (unsigned short) -1,
- (unsigned short) -1,
- (unsigned short) -1,
- 96
- };
- static const MIDL_STUBLESS_PROXY_INFO IWelcome_ProxyInfo =
- {
- &Object_StubDesc,
- __MIDL_ProcFormatString.Format,
- &IWelcome_FormatStringOffsetTable[-3],
- 0,
- 0,
- 0
- };
- static const MIDL_SERVER_INFO IWelcome_ServerInfo =
- {
- &Object_StubDesc,
- 0,
- __MIDL_ProcFormatString.Format,
- &IWelcome_FormatStringOffsetTable[-3],
- 0,
- 0,
- 0,
- 0};
- CINTERFACE_PROXY_VTABLE(8) _IWelcomeProxyVtbl =
- {
- &IWelcome_ProxyInfo,
- &IID_IWelcome,
- IUnknown_QueryInterface_Proxy,
- IUnknown_AddRef_Proxy,
- IUnknown_Release_Proxy ,
- 0 /* (void *) (INT_PTR) -1 /* IDispatch::GetTypeInfoCount */ ,
- 0 /* (void *) (INT_PTR) -1 /* IDispatch::GetTypeInfo */ ,
- 0 /* (void *) (INT_PTR) -1 /* IDispatch::GetIDsOfNames */ ,
- 0 /* IDispatch_Invoke_Proxy */ ,
- (void *) (INT_PTR) -1 /* IWelcome::Greeting */
- };
- static const PRPC_STUB_FUNCTION IWelcome_table[] =
- {
- STUB_FORWARDING_FUNCTION,
- STUB_FORWARDING_FUNCTION,
- STUB_FORWARDING_FUNCTION,
- STUB_FORWARDING_FUNCTION,
- NdrStubCall2
- };
- CInterfaceStubVtbl _IWelcomeStubVtbl =
- {
- &IID_IWelcome,
- &IWelcome_ServerInfo,
- 8,
- &IWelcome_table[-3],
- CStdStubBuffer_DELEGATING_METHODS
- };
- static const MIDL_STUB_DESC Object_StubDesc =
- {
- 0,
- NdrOleAllocate,
- NdrOleFree,
- 0,
- 0,
- 0,
- 0,
- 0,
- __MIDL_TypeFormatString.Format,
- 1, /* -error bounds_check flag */
- 0x50002, /* Ndr library version */
- 0,
- 0x6000169, /* MIDL Version 6.0.361 */
- 0,
- UserMarshalRoutines,
- 0, /* notify & notify_flag routine table */
- 0x1, /* MIDL flag */
- 0, /* cs routines */
- 0, /* proxy/server info */
- 0 /* Reserved5 */
- };
- const CInterfaceProxyVtbl * __COMServer_ProxyVtblList[] =
- {
- ( CInterfaceProxyVtbl *) &_IMathProxyVtbl,
- ( CInterfaceProxyVtbl *) &_IWelcomeProxyVtbl,
- 0
- };
- const CInterfaceStubVtbl * __COMServer_StubVtblList[] =
- {
- ( CInterfaceStubVtbl *) &_IMathStubVtbl,
- ( CInterfaceStubVtbl *) &_IWelcomeStubVtbl,
- 0
- };
- PCInterfaceName const __COMServer_InterfaceNamesList[] =
- {
- "IMath",
- "IWelcome",
- 0
- };
- const IID * __COMServer_BaseIIDList[] =
- {
- &IID_IDispatch,
- &IID_IDispatch,
- 0
- };
- #define __COMServer_CHECK_IID(n) IID_GENERIC_CHECK_IID( __COMServer, pIID, n)
- int __stdcall __COMServer_IID_Lookup( const IID * pIID, int * pIndex )
- {
- IID_BS_LOOKUP_SETUP
- IID_BS_LOOKUP_INITIAL_TEST( __COMServer, 2, 1 )
- IID_BS_LOOKUP_RETURN_RESULT( __COMServer, 2, *pIndex )
-
- }
- const ExtendedProxyFileInfo _COMServer_ProxyFileInfo =
- {
- (PCInterfaceProxyVtblList *) & __COMServer_ProxyVtblList,
- (PCInterfaceStubVtblList *) & __COMServer_StubVtblList,
- (const PCInterfaceName * ) & __COMServer_InterfaceNamesList,
- (const IID ** ) & __COMServer_BaseIIDList,
- & __COMServer_IID_Lookup,
- 2,
- 2,
- 0, /* table of [async_uuid] interfaces */
- 0, /* Filler1 */
- 0, /* Filler2 */
- 0 /* Filler3 */
- };
- #if _MSC_VER >= 1200
- #pragma warning(pop)
- #endif
- #endif /* !defined(_M_IA64) && !defined(_M_AMD64)*/