2 #pragma warning( disable: 4049 ) /* more than 64k source lines */
4 /* this ALWAYS GENERATED file contains the RPC client stubs */
7 /* File created by MIDL compiler version 5.03.0280 */
8 /* at Fri Mar 24 18:32:16 2006
10 /* Compiler settings for ctx.idl:
11 Os (OptLev=s), W1, Zp8, env=Win32 (32b run), ms_ext, c_ext
12 error checks: allocation ref bounds_check enum stub_data
13 VC __declspec() decoration level:
14 __declspec(uuid()), __declspec(selectany), __declspec(novtable)
15 DECLSPEC_UUID(), MIDL_INTERFACE()
17 //@@MIDL_FILE_HEADING( )
19 #if !defined(_M_IA64) && !defined(_M_AXP64)
21 #if defined( _ALPHA_ )
27 #define TYPE_FORMAT_STRING_SIZE 23
28 #define PROC_FORMAT_STRING_SIZE 21
29 #define TRANSMIT_AS_TABLE_SIZE 0
30 #define WIRE_MARSHAL_TABLE_SIZE 0
32 typedef struct _MIDL_TYPE_FORMAT_STRING
35 unsigned char Format
[ TYPE_FORMAT_STRING_SIZE
];
36 } MIDL_TYPE_FORMAT_STRING
;
38 typedef struct _MIDL_PROC_FORMAT_STRING
41 unsigned char Format
[ PROC_FORMAT_STRING_SIZE
];
42 } MIDL_PROC_FORMAT_STRING
;
45 extern const MIDL_TYPE_FORMAT_STRING __MIDL_TypeFormatString
;
46 extern const MIDL_PROC_FORMAT_STRING __MIDL_ProcFormatString
;
48 #define GENERIC_BINDING_TABLE_SIZE 0
51 /* Standard interface: hello, ver. 1.0,
52 GUID={0x7a98c250,0x6808,0x11cf,{0xb7,0x3b,0x00,0xaa,0x00,0xb6,0x77,0xa7}} */
57 static const RPC_CLIENT_INTERFACE hello___RpcClientInterface
=
59 sizeof(RPC_CLIENT_INTERFACE
),
60 {{0x7a98c250,0x6808,0x11cf,{0xb7,0x3b,0x00,0xaa,0x00,0xb6,0x77,0xa7}},{1,0}},
61 {{0x8A885D04,0x1CEB,0x11C9,{0x9F,0xE8,0x08,0x00,0x2B,0x10,0x48,0x60}},{2,0}},
69 RPC_IF_HANDLE hello_v1_0_c_ifspec
= (RPC_IF_HANDLE
)& hello___RpcClientInterface
;
71 extern const MIDL_STUB_DESC hello_StubDesc
;
73 RPC_BINDING_HANDLE hello__MIDL_AutoBindHandle
;
77 /* [out] */ PCTXTYPE __RPC_FAR
*pphContext
,
78 /* [in] */ long Value
)
81 RPC_BINDING_HANDLE _Handle
= 0;
83 RPC_MESSAGE _RpcMessage
;
85 MIDL_STUB_MESSAGE _StubMsg
;
89 RpcRaiseException(RPC_X_NULL_REF_POINTER
);
93 NdrClientInitializeNew(
94 ( PRPC_MESSAGE
)&_RpcMessage
,
95 ( PMIDL_STUB_MESSAGE
)&_StubMsg
,
96 ( PMIDL_STUB_DESC
)&hello_StubDesc
,
103 _StubMsg
.BufferLength
= 4U;
104 NdrGetBuffer( (PMIDL_STUB_MESSAGE
) &_StubMsg
, _StubMsg
.BufferLength
, _Handle
);
106 *(( long __RPC_FAR
* )_StubMsg
.Buffer
)++ = Value
;
108 NdrSendReceive( (PMIDL_STUB_MESSAGE
) &_StubMsg
, (unsigned char __RPC_FAR
*) _StubMsg
.Buffer
);
110 if ( (_RpcMessage
.DataRepresentation
& 0X0000FFFFUL
) != NDR_LOCAL_DATA_REPRESENTATION
)
111 NdrConvert( (PMIDL_STUB_MESSAGE
) &_StubMsg
, (PFORMAT_STRING
) &__MIDL_ProcFormatString
.Format
[0] );
113 *pphContext
= (void *)0;
114 NdrClientContextUnmarshall(
115 ( PMIDL_STUB_MESSAGE
)&_StubMsg
,
116 ( NDR_CCONTEXT __RPC_FAR
* )pphContext
,
122 NdrFreeBuffer( (PMIDL_STUB_MESSAGE
) &_StubMsg
);
131 /* [in] */ PCTXTYPE phContext
)
134 RPC_BINDING_HANDLE _Handle
= 0;
136 RPC_MESSAGE _RpcMessage
;
138 MIDL_STUB_MESSAGE _StubMsg
;
142 NdrClientInitializeNew(
143 ( PRPC_MESSAGE
)&_RpcMessage
,
144 ( PMIDL_STUB_MESSAGE
)&_StubMsg
,
145 ( PMIDL_STUB_DESC
)&hello_StubDesc
,
151 _Handle
= NDRCContextBinding(( NDR_CCONTEXT
)phContext
);;
156 RpcRaiseException(RPC_X_SS_IN_NULL_CONTEXT
);
159 _StubMsg
.BufferLength
= 20U;
160 NdrGetBuffer( (PMIDL_STUB_MESSAGE
) &_StubMsg
, _StubMsg
.BufferLength
, _Handle
);
162 NdrClientContextMarshall(
163 ( PMIDL_STUB_MESSAGE
)&_StubMsg
,
164 ( NDR_CCONTEXT
)phContext
,
166 NdrSendReceive( (PMIDL_STUB_MESSAGE
) &_StubMsg
, (unsigned char __RPC_FAR
*) _StubMsg
.Buffer
);
171 NdrFreeBuffer( (PMIDL_STUB_MESSAGE
) &_StubMsg
);
180 /* [out][in] */ PCTXTYPE __RPC_FAR
*pphContext
)
183 RPC_BINDING_HANDLE _Handle
= 0;
185 RPC_MESSAGE _RpcMessage
;
187 MIDL_STUB_MESSAGE _StubMsg
;
191 RpcRaiseException(RPC_X_NULL_REF_POINTER
);
195 NdrClientInitializeNew(
196 ( PRPC_MESSAGE
)&_RpcMessage
,
197 ( PMIDL_STUB_MESSAGE
)&_StubMsg
,
198 ( PMIDL_STUB_DESC
)&hello_StubDesc
,
204 _Handle
= NDRCContextBinding(( NDR_CCONTEXT
)*pphContext
);;
208 _StubMsg
.BufferLength
= 20U;
209 NdrGetBuffer( (PMIDL_STUB_MESSAGE
) &_StubMsg
, _StubMsg
.BufferLength
, _Handle
);
211 NdrClientContextMarshall(
212 ( PMIDL_STUB_MESSAGE
)&_StubMsg
,
213 ( NDR_CCONTEXT
)*pphContext
,
215 NdrSendReceive( (PMIDL_STUB_MESSAGE
) &_StubMsg
, (unsigned char __RPC_FAR
*) _StubMsg
.Buffer
);
217 if ( (_RpcMessage
.DataRepresentation
& 0X0000FFFFUL
) != NDR_LOCAL_DATA_REPRESENTATION
)
218 NdrConvert( (PMIDL_STUB_MESSAGE
) &_StubMsg
, (PFORMAT_STRING
) &__MIDL_ProcFormatString
.Format
[14] );
220 NdrClientContextUnmarshall(
221 ( PMIDL_STUB_MESSAGE
)&_StubMsg
,
222 ( NDR_CCONTEXT __RPC_FAR
* )pphContext
,
228 NdrFreeBuffer( (PMIDL_STUB_MESSAGE
) &_StubMsg
);
236 const MIDL_STUB_DESC hello_StubDesc
=
238 (void __RPC_FAR
*)& hello___RpcClientInterface
,
246 __MIDL_TypeFormatString
.Format
,
247 1, /* -error bounds_check flag */
248 0x10001, /* Ndr library version */
250 0x5030118, /* MIDL Version 5.3.280 */
253 0, /* notify & notify_flag routine table */
260 #if !defined(__RPC_WIN32__)
261 #error Invalid build platform for this stub.
264 const MIDL_PROC_FORMAT_STRING __MIDL_ProcFormatString
=
269 0x51, /* FC_OUT_PARAM */
271 0x1, /* x86, MIPS & PPC stack size = 1 */
273 0x2, /* Alpha stack size = 2 */
275 /* 2 */ NdrFcShort( 0x2 ), /* Type Offset=2 */
276 /* 4 */ 0x4e, /* FC_IN_PARAM_BASETYPE */
278 /* 6 */ 0x5b, /* FC_END */
281 0x4d, /* FC_IN_PARAM */
283 0x1, /* x86, MIPS & PPC stack size = 1 */
285 0x2, /* Alpha stack size = 2 */
287 /* 10 */ NdrFcShort( 0xa ), /* Type Offset=10 */
288 /* 12 */ 0x5b, /* FC_END */
291 0x50, /* FC_IN_OUT_PARAM */
293 0x1, /* x86, MIPS & PPC stack size = 1 */
295 0x2, /* Alpha stack size = 2 */
297 /* 16 */ NdrFcShort( 0xe ), /* Type Offset=14 */
298 /* 18 */ 0x5b, /* FC_END */
305 const MIDL_TYPE_FORMAT_STRING __MIDL_TypeFormatString
=
309 NdrFcShort( 0x0 ), /* 0 */
311 0x11, 0x0, /* FC_RP */
312 /* 4 */ NdrFcShort( 0x2 ), /* Offset= 2 (6) */
313 /* 6 */ 0x30, /* FC_BIND_CONTEXT */
314 0xa0, /* Ctxt flags: via ptr, out, */
317 /* 10 */ 0x30, /* FC_BIND_CONTEXT */
318 0x41, /* Ctxt flags: in, can't be null */
319 /* 12 */ 0x0, /* 0 */
322 0x11, 0x0, /* FC_RP */
323 /* 16 */ NdrFcShort( 0x2 ), /* Offset= 2 (18) */
324 /* 18 */ 0x30, /* FC_BIND_CONTEXT */
325 0xe1, /* Ctxt flags: via ptr, in, out, can't be null */
326 /* 20 */ 0x0, /* 0 */
334 #endif /* !defined(_M_IA64) && !defined(_M_AXP64)*/