/* this ALWAYS GENERATED file contains the RPC client stubs */ /* File created by MIDL compiler version 7.00.0500 */ /* at Wed Jan 07 15:31:48 2009 */ /* Compiler settings for complex.idl: Os, W1, Zp8, env=Win32 (32b run) protocol : dce , ms_ext, c_ext 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: 4211 ) /* redefine extern to static */ #pragma warning( disable: 4232 ) /* dllimport identity*/ #pragma warning( disable: 4024 ) /* array to pointer mapping*/ #include #include "complex.h" #define TYPE_FORMAT_STRING_SIZE 89 #define PROC_FORMAT_STRING_SIZE 9 #define EXPR_FORMAT_STRING_SIZE 1 #define TRANSMIT_AS_TABLE_SIZE 0 #define WIRE_MARSHAL_TABLE_SIZE 0 typedef struct _complex_MIDL_TYPE_FORMAT_STRING { short Pad; unsigned char Format[ TYPE_FORMAT_STRING_SIZE ]; } complex_MIDL_TYPE_FORMAT_STRING; typedef struct _complex_MIDL_PROC_FORMAT_STRING { short Pad; unsigned char Format[ PROC_FORMAT_STRING_SIZE ]; } complex_MIDL_PROC_FORMAT_STRING; typedef struct _complex_MIDL_EXPR_FORMAT_STRING { long Pad; unsigned char Format[ EXPR_FORMAT_STRING_SIZE ]; } complex_MIDL_EXPR_FORMAT_STRING; static RPC_SYNTAX_IDENTIFIER _RpcTransferSyntax = {{0x8A885D04,0x1CEB,0x11C9,{0x9F,0xE8,0x08,0x00,0x2B,0x10,0x48,0x60}},{2,0}}; extern const complex_MIDL_TYPE_FORMAT_STRING complex__MIDL_TypeFormatString; extern const complex_MIDL_PROC_FORMAT_STRING complex__MIDL_ProcFormatString; extern const complex_MIDL_EXPR_FORMAT_STRING complex__MIDL_ExprFormatString; #define GENERIC_BINDING_TABLE_SIZE 0 /* Standard interface: IComplex, ver. 0.0, GUID={0xD2531A27,0x4151,0x44CC,{0x9A,0x8C,0x7E,0xD0,0x0D,0x95,0x67,0x57}} */ static const RPC_CLIENT_INTERFACE IComplex___RpcClientInterface = { sizeof(RPC_CLIENT_INTERFACE), {{0xD2531A27,0x4151,0x44CC,{0x9A,0x8C,0x7E,0xD0,0x0D,0x95,0x67,0x57}},{0,0}}, {{0x8A885D04,0x1CEB,0x11C9,{0x9F,0xE8,0x08,0x00,0x2B,0x10,0x48,0x60}},{2,0}}, 0, 0, 0, 0, 0, 0x00000000 }; RPC_IF_HANDLE IComplex_v0_0_c_ifspec = (RPC_IF_HANDLE)& IComplex___RpcClientInterface; extern const MIDL_STUB_DESC IComplex_StubDesc; static RPC_BINDING_HANDLE IComplex__MIDL_AutoBindHandle; void get_complex( /* [in] */ handle_t IDL_handle, /* [out][in] */ complex_t *complex_t) { RPC_BINDING_HANDLE _Handle = 0; RPC_MESSAGE _RpcMessage; MIDL_STUB_MESSAGE _StubMsg; if(!complex_t) { RpcRaiseException(RPC_X_NULL_REF_POINTER); } RpcTryFinally { NdrClientInitializeNew( ( PRPC_MESSAGE )&_RpcMessage, ( PMIDL_STUB_MESSAGE )&_StubMsg, ( PMIDL_STUB_DESC )&IComplex_StubDesc, 0); _Handle = IDL_handle; _StubMsg.BufferLength = 0; NdrComplexStructBufferSize( (PMIDL_STUB_MESSAGE) &_StubMsg, (unsigned char *)complex_t, (PFORMAT_STRING) &complex__MIDL_TypeFormatString.Format[54] ); NdrGetBuffer( (PMIDL_STUB_MESSAGE) &_StubMsg, _StubMsg.BufferLength, _Handle ); NdrComplexStructMarshall( (PMIDL_STUB_MESSAGE)& _StubMsg, (unsigned char *)complex_t, (PFORMAT_STRING) &complex__MIDL_TypeFormatString.Format[54] ); NdrSendReceive( (PMIDL_STUB_MESSAGE) &_StubMsg, (unsigned char *) _StubMsg.Buffer ); _StubMsg.BufferStart = (unsigned char *) _RpcMessage.Buffer; _StubMsg.BufferEnd = _StubMsg.BufferStart + _RpcMessage.BufferLength; if ( (_RpcMessage.DataRepresentation & 0X0000FFFFUL) != NDR_LOCAL_DATA_REPRESENTATION ) NdrConvert( (PMIDL_STUB_MESSAGE) &_StubMsg, (PFORMAT_STRING) &complex__MIDL_ProcFormatString.Format[0] ); NdrComplexStructUnmarshall( (PMIDL_STUB_MESSAGE) &_StubMsg, (unsigned char * *)&complex_t, (PFORMAT_STRING) &complex__MIDL_TypeFormatString.Format[54], (unsigned char)0 ); } RpcFinally { NdrFreeBuffer( (PMIDL_STUB_MESSAGE) &_StubMsg ); } RpcEndFinally } #if !defined(__RPC_WIN32__) #error Invalid build platform for this stub. #endif static const complex_MIDL_PROC_FORMAT_STRING complex__MIDL_ProcFormatString = { 0, { 0x4e, /* FC_IN_PARAM_BASETYPE */ 0xf, /* FC_IGNORE */ /* 2 */ 0x50, /* FC_IN_OUT_PARAM */ 0x1, /* x86 stack size = 1 */ /* 4 */ NdrFcShort( 0x2 ), /* Type Offset=2 */ /* 6 */ 0x5b, /* FC_END */ 0x5c, /* FC_PAD */ 0x0 } }; static const complex_MIDL_TYPE_FORMAT_STRING complex__MIDL_TypeFormatString = { 0, { NdrFcShort( 0x0 ), /* 0 */ /* 2 */ 0x11, 0x0, /* FC_RP */ /* 4 */ NdrFcShort( 0x32 ), /* Offset= 50 (54) */ /* 6 */ 0x2b, /* FC_NON_ENCAPSULATED_UNION */ 0x8, /* FC_LONG */ /* 8 */ 0x8, /* Corr desc: FC_LONG */ 0x0, /* */ /* 10 */ NdrFcShort( 0x4 ), /* 4 */ /* 12 */ NdrFcShort( 0x2 ), /* Offset= 2 (14) */ /* 14 */ NdrFcShort( 0x4 ), /* 4 */ /* 16 */ NdrFcShort( 0x4 ), /* 4 */ /* 18 */ NdrFcLong( 0xa ), /* 10 */ /* 22 */ NdrFcShort( 0x8008 ), /* Simple arm type: FC_LONG */ /* 24 */ NdrFcLong( 0xfffffffe ), /* -2 */ /* 28 */ NdrFcShort( 0x800a ), /* Simple arm type: FC_FLOAT */ /* 30 */ NdrFcLong( 0x7 ), /* 7 */ /* 34 */ NdrFcShort( 0x800a ), /* Simple arm type: FC_FLOAT */ /* 36 */ NdrFcLong( 0x18f ), /* 399 */ /* 40 */ NdrFcShort( 0x4 ), /* Offset= 4 (44) */ /* 42 */ NdrFcShort( 0xffff ), /* Offset= -1 (41) */ /* 44 */ 0x12, 0x8, /* FC_UP [simple_pointer] */ /* 46 */ 0x8, /* FC_LONG */ 0x5c, /* FC_PAD */ /* 48 */ 0x22, /* FC_C_CSTRING */ 0x44, /* FC_STRING_SIZED */ /* 50 */ 0x19, /* Corr desc: field pointer, FC_ULONG */ 0x0, /* */ /* 52 */ NdrFcShort( 0x4 ), /* 4 */ /* 54 */ 0x1a, /* FC_BOGUS_STRUCT */ 0x7, /* 7 */ /* 56 */ NdrFcShort( 0x38 ), /* 56 */ /* 58 */ NdrFcShort( 0x0 ), /* 0 */ /* 60 */ NdrFcShort( 0x18 ), /* Offset= 24 (84) */ /* 62 */ 0x36, /* FC_POINTER */ 0x8, /* FC_LONG */ /* 64 */ 0xc, /* FC_DOUBLE */ 0xb, /* FC_HYPER */ /* 66 */ 0xa, /* FC_FLOAT */ 0x8, /* FC_LONG */ /* 68 */ 0x8, /* FC_LONG */ 0x6, /* FC_SHORT */ /* 70 */ 0x6, /* FC_SHORT */ 0x5, /* FC_WCHAR */ /* 72 */ 0x3, /* FC_SMALL */ 0x3, /* FC_SMALL */ /* 74 */ 0x2, /* FC_CHAR */ 0x1, /* FC_BYTE */ /* 76 */ 0x3e, /* FC_STRUCTPAD2 */ 0x4c, /* FC_EMBEDDED_COMPLEX */ /* 78 */ 0x0, /* 0 */ NdrFcShort( 0xffb7 ), /* Offset= -73 (6) */ 0x8, /* FC_LONG */ /* 82 */ 0x5c, /* FC_PAD */ 0x5b, /* FC_END */ /* 84 */ 0x12, 0x0, /* FC_UP */ /* 86 */ NdrFcShort( 0xffda ), /* Offset= -38 (48) */ 0x0 } }; static const unsigned short IComplex_FormatStringOffsetTable[] = { 0 }; static const MIDL_STUB_DESC IComplex_StubDesc = { (void *)& IComplex___RpcClientInterface, MIDL_user_allocate, MIDL_user_free, &IComplex__MIDL_AutoBindHandle, 0, 0, 0, 0, complex__MIDL_TypeFormatString.Format, 1, /* -error bounds_check flag */ 0x10001, /* Ndr library version */ 0, 0x70001f4, /* MIDL Version 7.0.500 */ 0, 0, 0, /* notify & notify_flag routine table */ 0x1, /* MIDL flag */ 0, /* cs routines */ 0, /* proxy/server info */ 0 }; #if _MSC_VER >= 1200 #pragma warning(pop) #endif #endif /* !defined(_M_IA64) && !defined(_M_AMD64)*/