Added YUV routines needed for v4l driver, and in the future possibly
[wine/gsoc-2012-control.git] / dlls / oleaut32 / oaidl_p.c
blob18109da829fe251d36d3a92573fce8814221bd69
1 /* This file contains the proxy/stub code for core COM interfaces.
3 It is usually generated directly by MIDL, however this file has
4 been tweaked since then to account for slight differences in the way
5 gcc and MSVC++ compile it. In particular, in some functions REFIIDs
6 declared on the stack have been converted to plain IID* in order to eliminate
7 the constness of the REFIID type, ensuring that the zero initializer is not
8 discarded.
10 Therefore, please do not regenerate this file.
13 /* File created by MIDL compiler version 5.01.0164 */
14 /* at Tue Jan 07 22:24:52 2003
16 /* Compiler settings for oaidl.idl:
17 Os (OptLev=s), W1, Zp8, env=Win32, ms_ext, c_ext
18 error checks: allocation ref bounds_check enum stub_data
20 /*@@MIDL_FILE_HEADING( ) */
23 /* verify that the <rpcproxy.h> version is high enough to compile this file*/
24 #ifndef __REDQ_RPCPROXY_H_VERSION__
25 #define __REQUIRED_RPCPROXY_H_VERSION__ 440
26 #endif
29 #include <stdarg.h>
31 #define COBJMACROS
33 #include "windef.h"
34 #include "winbase.h"
35 #include "objbase.h"
36 #include "rpcproxy.h"
37 #ifndef __RPCPROXY_H_VERSION__
38 #error this stub requires an updated version of <rpcproxy.h>
39 #endif /* __RPCPROXY_H_VERSION__ */
42 #include "oaidl.h"
44 #define TYPE_FORMAT_STRING_SIZE 1907
45 #define PROC_FORMAT_STRING_SIZE 495
47 typedef struct _MIDL_TYPE_FORMAT_STRING
49 short Pad;
50 unsigned char Format[ TYPE_FORMAT_STRING_SIZE ];
51 } MIDL_TYPE_FORMAT_STRING;
53 typedef struct _MIDL_PROC_FORMAT_STRING
55 short Pad;
56 unsigned char Format[ PROC_FORMAT_STRING_SIZE ];
57 } MIDL_PROC_FORMAT_STRING;
60 static const MIDL_TYPE_FORMAT_STRING __MIDL_TypeFormatString;
61 static const MIDL_PROC_FORMAT_STRING __MIDL_ProcFormatString;
64 /* Standard interface: __MIDL_itf_oaidl_0000, ver. 0.0,
65 GUID={0x00000000,0x0000,0x0000,{0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00}} */
68 /* Standard interface: IOleAutomationTypes, ver. 1.0,
69 GUID={0x00000000,0x0000,0x0000,{0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00}} */
72 /* Object interface: IUnknown, ver. 0.0,
73 GUID={0x00000000,0x0000,0x0000,{0xC0,0x00,0x00,0x00,0x00,0x00,0x00,0x46}} */
76 /* Object interface: IDispatch, ver. 0.0,
77 GUID={0x00020400,0x0000,0x0000,{0xC0,0x00,0x00,0x00,0x00,0x00,0x00,0x46}} */
80 static const MIDL_STUB_DESC Object_StubDesc;
83 HRESULT STDMETHODCALLTYPE IDispatch_GetTypeInfoCount_Proxy(
84 IDispatch __RPC_FAR * This,
85 /* [out] */ UINT __RPC_FAR *pctinfo)
88 HRESULT _RetVal;
90 RPC_MESSAGE _RpcMessage;
92 MIDL_STUB_MESSAGE _StubMsg;
94 RpcTryExcept
96 NdrProxyInitialize(
97 ( void __RPC_FAR * )This,
98 ( PRPC_MESSAGE )&_RpcMessage,
99 ( PMIDL_STUB_MESSAGE )&_StubMsg,
100 ( PMIDL_STUB_DESC )&Object_StubDesc,
105 if(!pctinfo)
107 RpcRaiseException(RPC_X_NULL_REF_POINTER);
109 RpcTryFinally
112 _StubMsg.BufferLength = 0U;
113 NdrProxyGetBuffer(This, &_StubMsg);
114 NdrProxySendReceive(This, &_StubMsg);
116 if ( (_RpcMessage.DataRepresentation & 0X0000FFFFUL) != NDR_LOCAL_DATA_REPRESENTATION )
117 NdrConvert( (PMIDL_STUB_MESSAGE) &_StubMsg, (PFORMAT_STRING) &__MIDL_ProcFormatString.Format[0] );
119 *pctinfo = *( UINT __RPC_FAR * )_StubMsg.Buffer;
120 _StubMsg.Buffer += sizeof(UINT);
122 _RetVal = *( HRESULT __RPC_FAR * )_StubMsg.Buffer;
123 _StubMsg.Buffer += sizeof(HRESULT);
126 RpcFinally
128 NdrProxyFreeBuffer(This, &_StubMsg);
131 RpcEndFinally
134 RpcExcept(_StubMsg.dwStubPhase != PROXY_SENDRECEIVE)
136 NdrClearOutParameters(
137 ( PMIDL_STUB_MESSAGE )&_StubMsg,
138 ( PFORMAT_STRING )&__MIDL_TypeFormatString.Format[2],
139 ( void __RPC_FAR * )pctinfo);
140 _RetVal = NdrProxyErrorHandler(RpcExceptionCode());
142 RpcEndExcept
143 return _RetVal;
146 void __RPC_STUB IDispatch_GetTypeInfoCount_Stub(
147 IRpcStubBuffer *This,
148 IRpcChannelBuffer *_pRpcChannelBuffer,
149 PRPC_MESSAGE _pRpcMessage,
150 DWORD *_pdwStubPhase)
152 UINT _M0;
153 HRESULT _RetVal;
154 MIDL_STUB_MESSAGE _StubMsg;
155 UINT __RPC_FAR *pctinfo;
157 NdrStubInitialize(
158 _pRpcMessage,
159 &_StubMsg,
160 &Object_StubDesc,
161 _pRpcChannelBuffer);
162 pctinfo = 0;
163 RpcTryFinally
165 pctinfo = &_M0;
167 *_pdwStubPhase = STUB_CALL_SERVER;
168 _RetVal = (((IDispatch*) ((CStdStubBuffer *)This)->pvServerObject)->lpVtbl) -> GetTypeInfoCount((IDispatch *) ((CStdStubBuffer *)This)->pvServerObject,pctinfo);
170 *_pdwStubPhase = STUB_MARSHAL;
172 _StubMsg.BufferLength = 4U + 4U;
173 NdrStubGetBuffer(This, _pRpcChannelBuffer, &_StubMsg);
174 *( UINT __RPC_FAR * )_StubMsg.Buffer = *pctinfo;
175 _StubMsg.Buffer += sizeof(UINT);
177 *( HRESULT __RPC_FAR * )_StubMsg.Buffer = _RetVal;
178 _StubMsg.Buffer += sizeof(HRESULT);
181 RpcFinally
184 RpcEndFinally
185 _pRpcMessage->BufferLength =
186 (unsigned int)((long)_StubMsg.Buffer - (long)_pRpcMessage->Buffer);
191 HRESULT STDMETHODCALLTYPE IDispatch_GetTypeInfo_Proxy(
192 IDispatch __RPC_FAR * This,
193 /* [in] */ UINT iTInfo,
194 /* [in] */ LCID lcid,
195 /* [out] */ ITypeInfo __RPC_FAR *__RPC_FAR *ppTInfo)
198 HRESULT _RetVal;
200 RPC_MESSAGE _RpcMessage;
202 MIDL_STUB_MESSAGE _StubMsg;
204 if(ppTInfo)
206 MIDL_memset(
207 ppTInfo,
209 sizeof( ITypeInfo __RPC_FAR *__RPC_FAR * ));
211 RpcTryExcept
213 NdrProxyInitialize(
214 ( void __RPC_FAR * )This,
215 ( PRPC_MESSAGE )&_RpcMessage,
216 ( PMIDL_STUB_MESSAGE )&_StubMsg,
217 ( PMIDL_STUB_DESC )&Object_StubDesc,
222 if(!ppTInfo)
224 RpcRaiseException(RPC_X_NULL_REF_POINTER);
226 RpcTryFinally
229 _StubMsg.BufferLength = 4U + 4U;
230 NdrProxyGetBuffer(This, &_StubMsg);
231 *( UINT __RPC_FAR * )_StubMsg.Buffer = iTInfo;
232 _StubMsg.Buffer += sizeof(UINT);
234 *( LCID __RPC_FAR * )_StubMsg.Buffer = lcid;
235 _StubMsg.Buffer += sizeof(LCID);
237 NdrProxySendReceive(This, &_StubMsg);
239 if ( (_RpcMessage.DataRepresentation & 0X0000FFFFUL) != NDR_LOCAL_DATA_REPRESENTATION )
240 NdrConvert( (PMIDL_STUB_MESSAGE) &_StubMsg, (PFORMAT_STRING) &__MIDL_ProcFormatString.Format[6] );
242 NdrPointerUnmarshall( (PMIDL_STUB_MESSAGE) &_StubMsg,
243 (unsigned char __RPC_FAR * __RPC_FAR *)&ppTInfo,
244 (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[6],
245 (unsigned char)0 );
247 _StubMsg.Buffer = (unsigned char __RPC_FAR *)(((long)_StubMsg.Buffer + 3) & ~ 0x3);
248 _RetVal = *( HRESULT __RPC_FAR * )_StubMsg.Buffer;
249 _StubMsg.Buffer += sizeof(HRESULT);
252 RpcFinally
254 NdrProxyFreeBuffer(This, &_StubMsg);
257 RpcEndFinally
260 RpcExcept(_StubMsg.dwStubPhase != PROXY_SENDRECEIVE)
262 NdrClearOutParameters(
263 ( PMIDL_STUB_MESSAGE )&_StubMsg,
264 ( PFORMAT_STRING )&__MIDL_TypeFormatString.Format[6],
265 ( void __RPC_FAR * )ppTInfo);
266 _RetVal = NdrProxyErrorHandler(RpcExceptionCode());
268 RpcEndExcept
269 return _RetVal;
272 void __RPC_STUB IDispatch_GetTypeInfo_Stub(
273 IRpcStubBuffer *This,
274 IRpcChannelBuffer *_pRpcChannelBuffer,
275 PRPC_MESSAGE _pRpcMessage,
276 DWORD *_pdwStubPhase)
278 ITypeInfo __RPC_FAR *_M1;
279 HRESULT _RetVal;
280 MIDL_STUB_MESSAGE _StubMsg;
281 UINT iTInfo;
282 LCID lcid;
283 ITypeInfo __RPC_FAR *__RPC_FAR *ppTInfo;
285 NdrStubInitialize(
286 _pRpcMessage,
287 &_StubMsg,
288 &Object_StubDesc,
289 _pRpcChannelBuffer);
290 ppTInfo = 0;
291 RpcTryFinally
293 if ( (_pRpcMessage->DataRepresentation & 0X0000FFFFUL) != NDR_LOCAL_DATA_REPRESENTATION )
294 NdrConvert( (PMIDL_STUB_MESSAGE) &_StubMsg, (PFORMAT_STRING) &__MIDL_ProcFormatString.Format[6] );
296 iTInfo = *( UINT __RPC_FAR * )_StubMsg.Buffer;
297 _StubMsg.Buffer += sizeof(UINT);
299 lcid = *( LCID __RPC_FAR * )_StubMsg.Buffer;
300 _StubMsg.Buffer += sizeof(LCID);
302 ppTInfo = &_M1;
303 _M1 = 0;
305 *_pdwStubPhase = STUB_CALL_SERVER;
306 _RetVal = (((IDispatch*) ((CStdStubBuffer *)This)->pvServerObject)->lpVtbl) -> GetTypeInfo(
307 (IDispatch *) ((CStdStubBuffer *)This)->pvServerObject,
308 iTInfo,
309 lcid,
310 ppTInfo);
312 *_pdwStubPhase = STUB_MARSHAL;
314 _StubMsg.BufferLength = 0U + 4U;
315 NdrPointerBufferSize( (PMIDL_STUB_MESSAGE) &_StubMsg,
316 (unsigned char __RPC_FAR *)ppTInfo,
317 (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[6] );
319 _StubMsg.BufferLength += 16;
321 NdrStubGetBuffer(This, _pRpcChannelBuffer, &_StubMsg);
322 NdrPointerMarshall( (PMIDL_STUB_MESSAGE)& _StubMsg,
323 (unsigned char __RPC_FAR *)ppTInfo,
324 (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[6] );
326 _StubMsg.Buffer = (unsigned char __RPC_FAR *)(((long)_StubMsg.Buffer + 3) & ~ 0x3);
327 *( HRESULT __RPC_FAR * )_StubMsg.Buffer = _RetVal;
328 _StubMsg.Buffer += sizeof(HRESULT);
331 RpcFinally
333 NdrPointerFree( &_StubMsg,
334 (unsigned char __RPC_FAR *)ppTInfo,
335 &__MIDL_TypeFormatString.Format[6] );
338 RpcEndFinally
339 _pRpcMessage->BufferLength =
340 (unsigned int)((long)_StubMsg.Buffer - (long)_pRpcMessage->Buffer);
345 HRESULT STDMETHODCALLTYPE IDispatch_GetIDsOfNames_Proxy(
346 IDispatch __RPC_FAR * This,
347 /* [in] */ REFIID riid,
348 /* [size_is][in] */ LPOLESTR __RPC_FAR *rgszNames,
349 /* [in] */ UINT cNames,
350 /* [in] */ LCID lcid,
351 /* [size_is][out] */ DISPID __RPC_FAR *rgDispId)
354 HRESULT _RetVal;
356 RPC_MESSAGE _RpcMessage;
358 MIDL_STUB_MESSAGE _StubMsg;
360 RpcTryExcept
362 NdrProxyInitialize(
363 ( void __RPC_FAR * )This,
364 ( PRPC_MESSAGE )&_RpcMessage,
365 ( PMIDL_STUB_MESSAGE )&_StubMsg,
366 ( PMIDL_STUB_DESC )&Object_StubDesc,
371 if(!riid)
373 RpcRaiseException(RPC_X_NULL_REF_POINTER);
375 if(!rgszNames)
377 RpcRaiseException(RPC_X_NULL_REF_POINTER);
379 if(!rgDispId)
381 RpcRaiseException(RPC_X_NULL_REF_POINTER);
383 RpcTryFinally
386 _StubMsg.BufferLength = 0U + 7U + 7U + 7U;
387 NdrSimpleStructBufferSize( (PMIDL_STUB_MESSAGE) &_StubMsg,
388 (unsigned char __RPC_FAR *)riid,
389 (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[38] );
391 _StubMsg.MaxCount = cNames;
393 NdrConformantArrayBufferSize( (PMIDL_STUB_MESSAGE) &_StubMsg,
394 (unsigned char __RPC_FAR *)rgszNames,
395 (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[54] );
397 NdrProxyGetBuffer(This, &_StubMsg);
398 NdrSimpleStructMarshall( (PMIDL_STUB_MESSAGE)& _StubMsg,
399 (unsigned char __RPC_FAR *)riid,
400 (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[38] );
402 _StubMsg.MaxCount = cNames;
404 NdrConformantArrayMarshall( (PMIDL_STUB_MESSAGE)& _StubMsg,
405 (unsigned char __RPC_FAR *)rgszNames,
406 (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[54] );
408 _StubMsg.Buffer = (unsigned char __RPC_FAR *)(((long)_StubMsg.Buffer + 3) & ~ 0x3);
409 *( UINT __RPC_FAR * )_StubMsg.Buffer = cNames;
410 _StubMsg.Buffer += sizeof(UINT);
412 *( LCID __RPC_FAR * )_StubMsg.Buffer = lcid;
413 _StubMsg.Buffer += sizeof(LCID);
415 NdrProxySendReceive(This, &_StubMsg);
417 if ( (_RpcMessage.DataRepresentation & 0X0000FFFFUL) != NDR_LOCAL_DATA_REPRESENTATION )
418 NdrConvert( (PMIDL_STUB_MESSAGE) &_StubMsg, (PFORMAT_STRING) &__MIDL_ProcFormatString.Format[16] );
420 NdrConformantArrayUnmarshall( (PMIDL_STUB_MESSAGE) &_StubMsg,
421 (unsigned char __RPC_FAR * __RPC_FAR *)&rgDispId,
422 (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[88],
423 (unsigned char)0 );
425 _RetVal = *( HRESULT __RPC_FAR * )_StubMsg.Buffer;
426 _StubMsg.Buffer += sizeof(HRESULT);
429 RpcFinally
431 NdrProxyFreeBuffer(This, &_StubMsg);
434 RpcEndFinally
437 RpcExcept(_StubMsg.dwStubPhase != PROXY_SENDRECEIVE)
439 _StubMsg.MaxCount = cNames;
441 NdrClearOutParameters(
442 ( PMIDL_STUB_MESSAGE )&_StubMsg,
443 ( PFORMAT_STRING )&__MIDL_TypeFormatString.Format[84],
444 ( void __RPC_FAR * )rgDispId);
445 _RetVal = NdrProxyErrorHandler(RpcExceptionCode());
447 RpcEndExcept
448 return _RetVal;
451 void __RPC_STUB IDispatch_GetIDsOfNames_Stub(
452 IRpcStubBuffer *This,
453 IRpcChannelBuffer *_pRpcChannelBuffer,
454 PRPC_MESSAGE _pRpcMessage,
455 DWORD *_pdwStubPhase)
457 HRESULT _RetVal;
458 MIDL_STUB_MESSAGE _StubMsg;
459 UINT cNames;
460 LCID lcid;
461 DISPID __RPC_FAR *rgDispId;
462 LPOLESTR __RPC_FAR *rgszNames;
463 IID* riid = 0;
465 NdrStubInitialize(
466 _pRpcMessage,
467 &_StubMsg,
468 &Object_StubDesc,
469 _pRpcChannelBuffer);
470 rgszNames = 0;
471 rgDispId = 0;
472 RpcTryFinally
474 if ( (_pRpcMessage->DataRepresentation & 0X0000FFFFUL) != NDR_LOCAL_DATA_REPRESENTATION )
475 NdrConvert( (PMIDL_STUB_MESSAGE) &_StubMsg, (PFORMAT_STRING) &__MIDL_ProcFormatString.Format[16] );
477 NdrSimpleStructUnmarshall( (PMIDL_STUB_MESSAGE) &_StubMsg,
478 (unsigned char __RPC_FAR * __RPC_FAR *)&riid,
479 (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[38],
480 (unsigned char)0 );
482 NdrConformantArrayUnmarshall( (PMIDL_STUB_MESSAGE) &_StubMsg,
483 (unsigned char __RPC_FAR * __RPC_FAR *)&rgszNames,
484 (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[54],
485 (unsigned char)0 );
487 _StubMsg.Buffer = (unsigned char __RPC_FAR *)(((long)_StubMsg.Buffer + 3) & ~ 0x3);
488 cNames = *( UINT __RPC_FAR * )_StubMsg.Buffer;
489 _StubMsg.Buffer += sizeof(UINT);
492 lcid = *( LCID __RPC_FAR * )_StubMsg.Buffer;
493 _StubMsg.Buffer += sizeof(LCID);
495 rgDispId = NdrAllocate(&_StubMsg,cNames * 4);
497 *_pdwStubPhase = STUB_CALL_SERVER;
498 _RetVal = (((IDispatch*) ((CStdStubBuffer *)This)->pvServerObject)->lpVtbl) -> GetIDsOfNames(
499 (IDispatch *) ((CStdStubBuffer *)This)->pvServerObject,
500 riid,
501 rgszNames,
502 cNames,
503 lcid,
504 rgDispId);
506 *_pdwStubPhase = STUB_MARSHAL;
508 _StubMsg.BufferLength = 4U + 7U;
509 _StubMsg.MaxCount = cNames;
511 NdrConformantArrayBufferSize( (PMIDL_STUB_MESSAGE) &_StubMsg,
512 (unsigned char __RPC_FAR *)rgDispId,
513 (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[88] );
515 _StubMsg.BufferLength += 16;
517 NdrStubGetBuffer(This, _pRpcChannelBuffer, &_StubMsg);
518 _StubMsg.MaxCount = cNames;
520 NdrConformantArrayMarshall( (PMIDL_STUB_MESSAGE)& _StubMsg,
521 (unsigned char __RPC_FAR *)rgDispId,
522 (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[88] );
524 *( HRESULT __RPC_FAR * )_StubMsg.Buffer = _RetVal;
525 _StubMsg.Buffer += sizeof(HRESULT);
528 RpcFinally
530 _StubMsg.MaxCount = cNames;
532 NdrPointerFree( &_StubMsg,
533 (unsigned char __RPC_FAR *)rgszNames,
534 &__MIDL_TypeFormatString.Format[50] );
536 if ( rgDispId )
537 _StubMsg.pfnFree( rgDispId );
540 RpcEndFinally
541 _pRpcMessage->BufferLength =
542 (unsigned int)((long)_StubMsg.Buffer - (long)_pRpcMessage->Buffer);
547 /* [call_as] */ HRESULT STDMETHODCALLTYPE IDispatch_RemoteInvoke_Proxy(
548 IDispatch __RPC_FAR * This,
549 /* [in] */ DISPID dispIdMember,
550 /* [in] */ REFIID riid,
551 /* [in] */ LCID lcid,
552 /* [in] */ DWORD dwFlags,
553 /* [in] */ DISPPARAMS __RPC_FAR *pDispParams,
554 /* [out] */ VARIANT __RPC_FAR *pVarResult,
555 /* [out] */ EXCEPINFO __RPC_FAR *pExcepInfo,
556 /* [out] */ UINT __RPC_FAR *pArgErr,
557 /* [in] */ UINT cVarRef,
558 /* [size_is][in] */ UINT __RPC_FAR *rgVarRefIdx,
559 /* [size_is][out][in] */ VARIANTARG __RPC_FAR *rgVarRef)
562 HRESULT _RetVal;
564 RPC_MESSAGE _RpcMessage;
566 MIDL_STUB_MESSAGE _StubMsg;
568 if(pVarResult)
570 MIDL_memset(
571 pVarResult,
573 sizeof( VARIANT ));
575 if(pExcepInfo)
577 MIDL_memset(
578 pExcepInfo,
580 sizeof( EXCEPINFO ));
582 RpcTryExcept
584 NdrProxyInitialize(
585 ( void __RPC_FAR * )This,
586 ( PRPC_MESSAGE )&_RpcMessage,
587 ( PMIDL_STUB_MESSAGE )&_StubMsg,
588 ( PMIDL_STUB_DESC )&Object_StubDesc,
593 if(!riid)
595 RpcRaiseException(RPC_X_NULL_REF_POINTER);
597 if(!pDispParams)
599 RpcRaiseException(RPC_X_NULL_REF_POINTER);
601 if(!pVarResult)
603 RpcRaiseException(RPC_X_NULL_REF_POINTER);
605 if(!pExcepInfo)
607 RpcRaiseException(RPC_X_NULL_REF_POINTER);
609 if(!pArgErr)
611 RpcRaiseException(RPC_X_NULL_REF_POINTER);
613 if(!rgVarRefIdx)
615 RpcRaiseException(RPC_X_NULL_REF_POINTER);
617 if(!rgVarRef)
619 RpcRaiseException(RPC_X_NULL_REF_POINTER);
621 RpcTryFinally
624 _StubMsg.BufferLength = 4U + 4U + 11U + 7U + 4U + 11U + 7U + 7U;
625 NdrSimpleStructBufferSize( (PMIDL_STUB_MESSAGE) &_StubMsg,
626 (unsigned char __RPC_FAR *)riid,
627 (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[38] );
629 NdrComplexStructBufferSize( (PMIDL_STUB_MESSAGE) &_StubMsg,
630 (unsigned char __RPC_FAR *)pDispParams,
631 (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[1080] );
633 _StubMsg.MaxCount = cVarRef;
635 NdrConformantArrayBufferSize( (PMIDL_STUB_MESSAGE) &_StubMsg,
636 (unsigned char __RPC_FAR *)rgVarRefIdx,
637 (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[1170] );
639 _StubMsg.MaxCount = cVarRef;
641 NdrComplexArrayBufferSize( (PMIDL_STUB_MESSAGE) &_StubMsg,
642 (unsigned char __RPC_FAR *)rgVarRef,
643 (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[1184] );
645 NdrProxyGetBuffer(This, &_StubMsg);
646 *( DISPID __RPC_FAR * )_StubMsg.Buffer = dispIdMember;
647 _StubMsg.Buffer += sizeof(DISPID);
649 NdrSimpleStructMarshall( (PMIDL_STUB_MESSAGE)& _StubMsg,
650 (unsigned char __RPC_FAR *)riid,
651 (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[38] );
653 *( LCID __RPC_FAR * )_StubMsg.Buffer = lcid;
654 _StubMsg.Buffer += sizeof(LCID);
656 *( DWORD __RPC_FAR * )_StubMsg.Buffer = dwFlags;
657 _StubMsg.Buffer += sizeof(DWORD);
659 NdrComplexStructMarshall( (PMIDL_STUB_MESSAGE)& _StubMsg,
660 (unsigned char __RPC_FAR *)pDispParams,
661 (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[1080] );
663 _StubMsg.Buffer = (unsigned char __RPC_FAR *)(((long)_StubMsg.Buffer + 3) & ~ 0x3);
664 *( UINT __RPC_FAR * )_StubMsg.Buffer = cVarRef;
665 _StubMsg.Buffer += sizeof(UINT);
667 _StubMsg.MaxCount = cVarRef;
669 NdrConformantArrayMarshall( (PMIDL_STUB_MESSAGE)& _StubMsg,
670 (unsigned char __RPC_FAR *)rgVarRefIdx,
671 (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[1170] );
673 _StubMsg.MaxCount = cVarRef;
675 NdrComplexArrayMarshall( (PMIDL_STUB_MESSAGE)& _StubMsg,
676 (unsigned char __RPC_FAR *)rgVarRef,
677 (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[1184] );
679 NdrProxySendReceive(This, &_StubMsg);
681 if ( (_RpcMessage.DataRepresentation & 0X0000FFFFUL) != NDR_LOCAL_DATA_REPRESENTATION )
682 NdrConvert( (PMIDL_STUB_MESSAGE) &_StubMsg, (PFORMAT_STRING) &__MIDL_ProcFormatString.Format[34] );
684 NdrUserMarshalUnmarshall( (PMIDL_STUB_MESSAGE) &_StubMsg,
685 (unsigned char __RPC_FAR * __RPC_FAR *)&pVarResult,
686 (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[1110],
687 (unsigned char)0 );
689 NdrComplexStructUnmarshall( (PMIDL_STUB_MESSAGE) &_StubMsg,
690 (unsigned char __RPC_FAR * __RPC_FAR *)&pExcepInfo,
691 (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[1138],
692 (unsigned char)0 );
694 _StubMsg.Buffer = (unsigned char __RPC_FAR *)(((long)_StubMsg.Buffer + 3) & ~ 0x3);
695 *pArgErr = *( UINT __RPC_FAR * )_StubMsg.Buffer;
696 _StubMsg.Buffer += sizeof(UINT);
698 NdrComplexArrayUnmarshall( (PMIDL_STUB_MESSAGE) &_StubMsg,
699 (unsigned char __RPC_FAR * __RPC_FAR *)&rgVarRef,
700 (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[1184],
701 (unsigned char)0 );
703 _StubMsg.Buffer = (unsigned char __RPC_FAR *)(((long)_StubMsg.Buffer + 3) & ~ 0x3);
704 _RetVal = *( HRESULT __RPC_FAR * )_StubMsg.Buffer;
705 _StubMsg.Buffer += sizeof(HRESULT);
708 RpcFinally
710 NdrProxyFreeBuffer(This, &_StubMsg);
713 RpcEndFinally
716 RpcExcept(_StubMsg.dwStubPhase != PROXY_SENDRECEIVE)
718 NdrClearOutParameters(
719 ( PMIDL_STUB_MESSAGE )&_StubMsg,
720 ( PFORMAT_STRING )&__MIDL_TypeFormatString.Format[1102],
721 ( void __RPC_FAR * )pVarResult);
722 NdrClearOutParameters(
723 ( PMIDL_STUB_MESSAGE )&_StubMsg,
724 ( PFORMAT_STRING )&__MIDL_TypeFormatString.Format[1120],
725 ( void __RPC_FAR * )pExcepInfo);
726 NdrClearOutParameters(
727 ( PMIDL_STUB_MESSAGE )&_StubMsg,
728 ( PFORMAT_STRING )&__MIDL_TypeFormatString.Format[2],
729 ( void __RPC_FAR * )pArgErr);
730 _StubMsg.MaxCount = cVarRef;
732 NdrClearOutParameters(
733 ( PMIDL_STUB_MESSAGE )&_StubMsg,
734 ( PFORMAT_STRING )&__MIDL_TypeFormatString.Format[1180],
735 ( void __RPC_FAR * )rgVarRef);
736 _RetVal = NdrProxyErrorHandler(RpcExceptionCode());
738 RpcEndExcept
739 return _RetVal;
742 void __RPC_STUB IDispatch_RemoteInvoke_Stub(
743 IRpcStubBuffer *This,
744 IRpcChannelBuffer *_pRpcChannelBuffer,
745 PRPC_MESSAGE _pRpcMessage,
746 DWORD *_pdwStubPhase)
748 VARIANT _M6;
749 UINT _M7;
750 HRESULT _RetVal;
751 MIDL_STUB_MESSAGE _StubMsg;
752 EXCEPINFO _pExcepInfoM;
753 UINT cVarRef;
754 DISPID dispIdMember;
755 DWORD dwFlags;
756 LCID lcid;
757 UINT __RPC_FAR *pArgErr;
758 DISPPARAMS __RPC_FAR *pDispParams;
759 EXCEPINFO __RPC_FAR *pExcepInfo;
760 VARIANT __RPC_FAR *pVarResult;
761 VARIANTARG __RPC_FAR *rgVarRef;
762 UINT __RPC_FAR *rgVarRefIdx;
763 IID* riid = 0;
765 NdrStubInitialize(
766 _pRpcMessage,
767 &_StubMsg,
768 &Object_StubDesc,
769 _pRpcChannelBuffer);
770 pDispParams = 0;
771 pVarResult = 0;
772 pExcepInfo = 0;
773 pArgErr = 0;
774 rgVarRefIdx = 0;
775 rgVarRef = 0;
776 RpcTryFinally
778 if ( (_pRpcMessage->DataRepresentation & 0X0000FFFFUL) != NDR_LOCAL_DATA_REPRESENTATION )
779 NdrConvert( (PMIDL_STUB_MESSAGE) &_StubMsg, (PFORMAT_STRING) &__MIDL_ProcFormatString.Format[34] );
781 dispIdMember = *( DISPID __RPC_FAR * )_StubMsg.Buffer;
782 _StubMsg.Buffer += sizeof(DISPID);
784 NdrSimpleStructUnmarshall( (PMIDL_STUB_MESSAGE) &_StubMsg,
785 (unsigned char __RPC_FAR * __RPC_FAR *)&riid,
786 (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[38],
787 (unsigned char)0 );
789 lcid = *( LCID __RPC_FAR * )_StubMsg.Buffer;
790 _StubMsg.Buffer += sizeof(LCID);
792 dwFlags = *( DWORD __RPC_FAR * )_StubMsg.Buffer;
793 _StubMsg.Buffer += sizeof(DWORD);
795 NdrComplexStructUnmarshall( (PMIDL_STUB_MESSAGE) &_StubMsg,
796 (unsigned char __RPC_FAR * __RPC_FAR *)&pDispParams,
797 (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[1080],
798 (unsigned char)0 );
800 _StubMsg.Buffer = (unsigned char __RPC_FAR *)(((long)_StubMsg.Buffer + 3) & ~ 0x3);
801 cVarRef = *( UINT __RPC_FAR * )_StubMsg.Buffer;
802 _StubMsg.Buffer += sizeof(UINT);
804 NdrConformantArrayUnmarshall( (PMIDL_STUB_MESSAGE) &_StubMsg,
805 (unsigned char __RPC_FAR * __RPC_FAR *)&rgVarRefIdx,
806 (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[1170],
807 (unsigned char)0 );
809 NdrComplexArrayUnmarshall( (PMIDL_STUB_MESSAGE) &_StubMsg,
810 (unsigned char __RPC_FAR * __RPC_FAR *)&rgVarRef,
811 (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[1184],
812 (unsigned char)0 );
814 pVarResult = &_M6;
815 MIDL_memset(
816 pVarResult,
818 sizeof( VARIANT ));
819 pExcepInfo = &_pExcepInfoM;
820 pArgErr = &_M7;
822 *_pdwStubPhase = STUB_CALL_SERVER;
825 _RetVal = IDispatch_Invoke_Stub(
826 (IDispatch *) ((CStdStubBuffer *)This)->pvServerObject,
827 dispIdMember,
828 riid,
829 lcid,
830 dwFlags,
831 pDispParams,
832 pVarResult,
833 pExcepInfo,
834 pArgErr,
835 cVarRef,
836 rgVarRefIdx,
837 rgVarRef);
839 *_pdwStubPhase = STUB_MARSHAL;
841 _StubMsg.BufferLength = 8U + 7U + 11U + 7U + 7U;
842 NdrUserMarshalBufferSize( (PMIDL_STUB_MESSAGE) &_StubMsg,
843 (unsigned char __RPC_FAR *)pVarResult,
844 (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[1110] );
846 NdrComplexStructBufferSize( (PMIDL_STUB_MESSAGE) &_StubMsg,
847 (unsigned char __RPC_FAR *)pExcepInfo,
848 (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[1138] );
850 _StubMsg.MaxCount = cVarRef;
852 NdrComplexArrayBufferSize( (PMIDL_STUB_MESSAGE) &_StubMsg,
853 (unsigned char __RPC_FAR *)rgVarRef,
854 (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[1184] );
856 _StubMsg.BufferLength += 16;
858 NdrStubGetBuffer(This, _pRpcChannelBuffer, &_StubMsg);
859 NdrUserMarshalMarshall( (PMIDL_STUB_MESSAGE)& _StubMsg,
860 (unsigned char __RPC_FAR *)pVarResult,
861 (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[1110] );
863 NdrComplexStructMarshall( (PMIDL_STUB_MESSAGE)& _StubMsg,
864 (unsigned char __RPC_FAR *)pExcepInfo,
865 (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[1138] );
867 _StubMsg.Buffer = (unsigned char __RPC_FAR *)(((long)_StubMsg.Buffer + 3) & ~ 0x3);
868 *( UINT __RPC_FAR * )_StubMsg.Buffer = *pArgErr;
869 _StubMsg.Buffer += sizeof(UINT);
871 _StubMsg.MaxCount = cVarRef;
873 NdrComplexArrayMarshall( (PMIDL_STUB_MESSAGE)& _StubMsg,
874 (unsigned char __RPC_FAR *)rgVarRef,
875 (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[1184] );
877 _StubMsg.Buffer = (unsigned char __RPC_FAR *)(((long)_StubMsg.Buffer + 3) & ~ 0x3);
878 *( HRESULT __RPC_FAR * )_StubMsg.Buffer = _RetVal;
879 _StubMsg.Buffer += sizeof(HRESULT);
882 RpcFinally
884 NdrPointerFree( &_StubMsg,
885 (unsigned char __RPC_FAR *)pDispParams,
886 &__MIDL_TypeFormatString.Format[98] );
888 NdrPointerFree( &_StubMsg,
889 (unsigned char __RPC_FAR *)pVarResult,
890 &__MIDL_TypeFormatString.Format[1102] );
892 NdrPointerFree( &_StubMsg,
893 (unsigned char __RPC_FAR *)pExcepInfo,
894 &__MIDL_TypeFormatString.Format[1120] );
896 _StubMsg.MaxCount = cVarRef;
898 NdrPointerFree( &_StubMsg,
899 (unsigned char __RPC_FAR *)rgVarRef,
900 &__MIDL_TypeFormatString.Format[1180] );
903 RpcEndFinally
904 _pRpcMessage->BufferLength =
905 (unsigned int)((long)_StubMsg.Buffer - (long)_pRpcMessage->Buffer);
909 const CINTERFACE_PROXY_VTABLE(7) _IDispatchProxyVtbl =
911 { &IID_IDispatch },
913 IUnknown_QueryInterface_Proxy,
914 IUnknown_AddRef_Proxy,
915 IUnknown_Release_Proxy ,
916 IDispatch_GetTypeInfoCount_Proxy ,
917 IDispatch_GetTypeInfo_Proxy ,
918 IDispatch_GetIDsOfNames_Proxy ,
919 IDispatch_Invoke_Proxy
924 static const PRPC_STUB_FUNCTION IDispatch_table[] =
926 IDispatch_GetTypeInfoCount_Stub,
927 IDispatch_GetTypeInfo_Stub,
928 IDispatch_GetIDsOfNames_Stub,
929 IDispatch_RemoteInvoke_Stub
932 const CInterfaceStubVtbl _IDispatchStubVtbl =
935 &IID_IDispatch,
938 &IDispatch_table[-3]
940 { CStdStubBuffer_METHODS }
944 /* Object interface: IEnumVARIANT, ver. 0.0,
945 GUID={0x00020404,0x0000,0x0000,{0xC0,0x00,0x00,0x00,0x00,0x00,0x00,0x46}} */
948 extern const MIDL_STUB_DESC Object_StubDesc;
951 /* [call_as] */ HRESULT STDMETHODCALLTYPE IEnumVARIANT_RemoteNext_Proxy(
952 IEnumVARIANT __RPC_FAR * This,
953 /* [in] */ ULONG celt,
954 /* [length_is][size_is][out] */ VARIANT __RPC_FAR *rgVar,
955 /* [out] */ ULONG __RPC_FAR *pCeltFetched)
958 HRESULT _RetVal;
960 RPC_MESSAGE _RpcMessage;
962 MIDL_STUB_MESSAGE _StubMsg;
964 if(rgVar)
966 MIDL_memset(
967 rgVar,
969 celt * sizeof( VARIANT ));
971 RpcTryExcept
973 NdrProxyInitialize(
974 ( void __RPC_FAR * )This,
975 ( PRPC_MESSAGE )&_RpcMessage,
976 ( PMIDL_STUB_MESSAGE )&_StubMsg,
977 ( PMIDL_STUB_DESC )&Object_StubDesc,
982 if(!rgVar)
984 RpcRaiseException(RPC_X_NULL_REF_POINTER);
986 if(!pCeltFetched)
988 RpcRaiseException(RPC_X_NULL_REF_POINTER);
990 RpcTryFinally
993 _StubMsg.BufferLength = 4U;
994 NdrProxyGetBuffer(This, &_StubMsg);
995 *( ULONG __RPC_FAR * )_StubMsg.Buffer = celt;
996 _StubMsg.Buffer += sizeof(ULONG);
998 NdrProxySendReceive(This, &_StubMsg);
1000 if ( (_RpcMessage.DataRepresentation & 0X0000FFFFUL) != NDR_LOCAL_DATA_REPRESENTATION )
1001 NdrConvert( (PMIDL_STUB_MESSAGE) &_StubMsg, (PFORMAT_STRING) &__MIDL_ProcFormatString.Format[72] );
1003 NdrComplexArrayUnmarshall( (PMIDL_STUB_MESSAGE) &_StubMsg,
1004 (unsigned char __RPC_FAR * __RPC_FAR *)&rgVar,
1005 (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[1206],
1006 (unsigned char)0 );
1008 _StubMsg.Buffer = (unsigned char __RPC_FAR *)(((long)_StubMsg.Buffer + 3) & ~ 0x3);
1009 *pCeltFetched = *( ULONG __RPC_FAR * )_StubMsg.Buffer;
1010 _StubMsg.Buffer += sizeof(ULONG);
1012 _RetVal = *( HRESULT __RPC_FAR * )_StubMsg.Buffer;
1013 _StubMsg.Buffer += sizeof(HRESULT);
1016 RpcFinally
1018 NdrProxyFreeBuffer(This, &_StubMsg);
1021 RpcEndFinally
1024 RpcExcept(_StubMsg.dwStubPhase != PROXY_SENDRECEIVE)
1026 _StubMsg.MaxCount = celt;
1027 _StubMsg.Offset = 0;
1028 _StubMsg.ActualCount = _StubMsg.MaxCount;
1030 NdrClearOutParameters(
1031 ( PMIDL_STUB_MESSAGE )&_StubMsg,
1032 ( PFORMAT_STRING )&__MIDL_TypeFormatString.Format[1202],
1033 ( void __RPC_FAR * )rgVar);
1034 NdrClearOutParameters(
1035 ( PMIDL_STUB_MESSAGE )&_StubMsg,
1036 ( PFORMAT_STRING )&__MIDL_TypeFormatString.Format[2],
1037 ( void __RPC_FAR * )pCeltFetched);
1038 _RetVal = NdrProxyErrorHandler(RpcExceptionCode());
1040 RpcEndExcept
1041 return _RetVal;
1044 void __RPC_STUB IEnumVARIANT_RemoteNext_Stub(
1045 IRpcStubBuffer *This,
1046 IRpcChannelBuffer *_pRpcChannelBuffer,
1047 PRPC_MESSAGE _pRpcMessage,
1048 DWORD *_pdwStubPhase)
1050 ULONG _M11;
1051 HRESULT _RetVal;
1052 MIDL_STUB_MESSAGE _StubMsg;
1053 ULONG celt;
1054 ULONG __RPC_FAR *pCeltFetched;
1055 VARIANT __RPC_FAR *rgVar;
1057 NdrStubInitialize(
1058 _pRpcMessage,
1059 &_StubMsg,
1060 &Object_StubDesc,
1061 _pRpcChannelBuffer);
1062 rgVar = 0;
1063 pCeltFetched = 0;
1064 RpcTryFinally
1066 if ( (_pRpcMessage->DataRepresentation & 0X0000FFFFUL) != NDR_LOCAL_DATA_REPRESENTATION )
1067 NdrConvert( (PMIDL_STUB_MESSAGE) &_StubMsg, (PFORMAT_STRING) &__MIDL_ProcFormatString.Format[72] );
1069 celt = *( ULONG __RPC_FAR * )_StubMsg.Buffer;
1070 _StubMsg.Buffer += sizeof(ULONG);
1072 rgVar = NdrAllocate(&_StubMsg,celt * 16);
1073 pCeltFetched = &_M11;
1075 *_pdwStubPhase = STUB_CALL_SERVER;
1078 _RetVal = IEnumVARIANT_Next_Stub(
1079 (IEnumVARIANT *) ((CStdStubBuffer *)This)->pvServerObject,
1080 celt,
1081 rgVar,
1082 pCeltFetched);
1084 *_pdwStubPhase = STUB_MARSHAL;
1086 _StubMsg.BufferLength = 12U + 7U + 7U;
1087 _StubMsg.MaxCount = celt;
1088 _StubMsg.Offset = 0;
1089 _StubMsg.ActualCount = pCeltFetched ? *pCeltFetched : 0;
1091 NdrComplexArrayBufferSize( (PMIDL_STUB_MESSAGE) &_StubMsg,
1092 (unsigned char __RPC_FAR *)rgVar,
1093 (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[1206] );
1095 _StubMsg.BufferLength += 16;
1097 NdrStubGetBuffer(This, _pRpcChannelBuffer, &_StubMsg);
1098 _StubMsg.MaxCount = celt;
1099 _StubMsg.Offset = 0;
1100 _StubMsg.ActualCount = pCeltFetched ? *pCeltFetched : 0;
1102 NdrComplexArrayMarshall( (PMIDL_STUB_MESSAGE)& _StubMsg,
1103 (unsigned char __RPC_FAR *)rgVar,
1104 (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[1206] );
1106 _StubMsg.Buffer = (unsigned char __RPC_FAR *)(((long)_StubMsg.Buffer + 3) & ~ 0x3);
1107 *( ULONG __RPC_FAR * )_StubMsg.Buffer = *pCeltFetched;
1108 _StubMsg.Buffer += sizeof(ULONG);
1110 *( HRESULT __RPC_FAR * )_StubMsg.Buffer = _RetVal;
1111 _StubMsg.Buffer += sizeof(HRESULT);
1114 RpcFinally
1116 _StubMsg.MaxCount = celt;
1117 _StubMsg.Offset = 0;
1118 _StubMsg.ActualCount = pCeltFetched ? *pCeltFetched : 0;
1120 NdrPointerFree( &_StubMsg,
1121 (unsigned char __RPC_FAR *)rgVar,
1122 &__MIDL_TypeFormatString.Format[1202] );
1125 RpcEndFinally
1126 _pRpcMessage->BufferLength =
1127 (unsigned int)((long)_StubMsg.Buffer - (long)_pRpcMessage->Buffer);
1132 HRESULT STDMETHODCALLTYPE IEnumVARIANT_Skip_Proxy(
1133 IEnumVARIANT __RPC_FAR * This,
1134 /* [in] */ ULONG celt)
1137 HRESULT _RetVal;
1139 RPC_MESSAGE _RpcMessage;
1141 MIDL_STUB_MESSAGE _StubMsg;
1143 RpcTryExcept
1145 NdrProxyInitialize(
1146 ( void __RPC_FAR * )This,
1147 ( PRPC_MESSAGE )&_RpcMessage,
1148 ( PMIDL_STUB_MESSAGE )&_StubMsg,
1149 ( PMIDL_STUB_DESC )&Object_StubDesc,
1154 RpcTryFinally
1157 _StubMsg.BufferLength = 4U;
1158 NdrProxyGetBuffer(This, &_StubMsg);
1159 *( ULONG __RPC_FAR * )_StubMsg.Buffer = celt;
1160 _StubMsg.Buffer += sizeof(ULONG);
1162 NdrProxySendReceive(This, &_StubMsg);
1164 if ( (_RpcMessage.DataRepresentation & 0X0000FFFFUL) != NDR_LOCAL_DATA_REPRESENTATION )
1165 NdrConvert( (PMIDL_STUB_MESSAGE) &_StubMsg, (PFORMAT_STRING) &__MIDL_ProcFormatString.Format[84] );
1167 _RetVal = *( HRESULT __RPC_FAR * )_StubMsg.Buffer;
1168 _StubMsg.Buffer += sizeof(HRESULT);
1171 RpcFinally
1173 NdrProxyFreeBuffer(This, &_StubMsg);
1176 RpcEndFinally
1179 RpcExcept(_StubMsg.dwStubPhase != PROXY_SENDRECEIVE)
1181 _RetVal = NdrProxyErrorHandler(RpcExceptionCode());
1183 RpcEndExcept
1184 return _RetVal;
1187 void __RPC_STUB IEnumVARIANT_Skip_Stub(
1188 IRpcStubBuffer *This,
1189 IRpcChannelBuffer *_pRpcChannelBuffer,
1190 PRPC_MESSAGE _pRpcMessage,
1191 DWORD *_pdwStubPhase)
1193 HRESULT _RetVal;
1194 MIDL_STUB_MESSAGE _StubMsg;
1195 ULONG celt;
1197 NdrStubInitialize(
1198 _pRpcMessage,
1199 &_StubMsg,
1200 &Object_StubDesc,
1201 _pRpcChannelBuffer);
1202 RpcTryFinally
1204 if ( (_pRpcMessage->DataRepresentation & 0X0000FFFFUL) != NDR_LOCAL_DATA_REPRESENTATION )
1205 NdrConvert( (PMIDL_STUB_MESSAGE) &_StubMsg, (PFORMAT_STRING) &__MIDL_ProcFormatString.Format[84] );
1207 celt = *( ULONG __RPC_FAR * )_StubMsg.Buffer;
1208 _StubMsg.Buffer += sizeof(ULONG);
1210 *_pdwStubPhase = STUB_CALL_SERVER;
1211 _RetVal = (((IEnumVARIANT*) ((CStdStubBuffer *)This)->pvServerObject)->lpVtbl) -> Skip((IEnumVARIANT *) ((CStdStubBuffer *)This)->pvServerObject,celt);
1213 *_pdwStubPhase = STUB_MARSHAL;
1215 _StubMsg.BufferLength = 4U;
1216 NdrStubGetBuffer(This, _pRpcChannelBuffer, &_StubMsg);
1217 *( HRESULT __RPC_FAR * )_StubMsg.Buffer = _RetVal;
1218 _StubMsg.Buffer += sizeof(HRESULT);
1221 RpcFinally
1224 RpcEndFinally
1225 _pRpcMessage->BufferLength =
1226 (unsigned int)((long)_StubMsg.Buffer - (long)_pRpcMessage->Buffer);
1231 HRESULT STDMETHODCALLTYPE IEnumVARIANT_Reset_Proxy(
1232 IEnumVARIANT __RPC_FAR * This)
1235 HRESULT _RetVal;
1237 RPC_MESSAGE _RpcMessage;
1239 MIDL_STUB_MESSAGE _StubMsg;
1241 RpcTryExcept
1243 NdrProxyInitialize(
1244 ( void __RPC_FAR * )This,
1245 ( PRPC_MESSAGE )&_RpcMessage,
1246 ( PMIDL_STUB_MESSAGE )&_StubMsg,
1247 ( PMIDL_STUB_DESC )&Object_StubDesc,
1252 RpcTryFinally
1255 _StubMsg.BufferLength = 0U;
1256 NdrProxyGetBuffer(This, &_StubMsg);
1257 NdrProxySendReceive(This, &_StubMsg);
1259 if ( (_RpcMessage.DataRepresentation & 0X0000FFFFUL) != NDR_LOCAL_DATA_REPRESENTATION )
1260 NdrConvert( (PMIDL_STUB_MESSAGE) &_StubMsg, (PFORMAT_STRING) &__MIDL_ProcFormatString.Format[88] );
1262 _RetVal = *( HRESULT __RPC_FAR * )_StubMsg.Buffer;
1263 _StubMsg.Buffer += sizeof(HRESULT);
1266 RpcFinally
1268 NdrProxyFreeBuffer(This, &_StubMsg);
1271 RpcEndFinally
1274 RpcExcept(_StubMsg.dwStubPhase != PROXY_SENDRECEIVE)
1276 _RetVal = NdrProxyErrorHandler(RpcExceptionCode());
1278 RpcEndExcept
1279 return _RetVal;
1282 void __RPC_STUB IEnumVARIANT_Reset_Stub(
1283 IRpcStubBuffer *This,
1284 IRpcChannelBuffer *_pRpcChannelBuffer,
1285 PRPC_MESSAGE _pRpcMessage,
1286 DWORD *_pdwStubPhase)
1288 HRESULT _RetVal;
1289 MIDL_STUB_MESSAGE _StubMsg;
1291 NdrStubInitialize(
1292 _pRpcMessage,
1293 &_StubMsg,
1294 &Object_StubDesc,
1295 _pRpcChannelBuffer);
1296 RpcTryFinally
1299 *_pdwStubPhase = STUB_CALL_SERVER;
1300 _RetVal = (((IEnumVARIANT*) ((CStdStubBuffer *)This)->pvServerObject)->lpVtbl) -> Reset((IEnumVARIANT *) ((CStdStubBuffer *)This)->pvServerObject);
1302 *_pdwStubPhase = STUB_MARSHAL;
1304 _StubMsg.BufferLength = 4U;
1305 NdrStubGetBuffer(This, _pRpcChannelBuffer, &_StubMsg);
1306 *( HRESULT __RPC_FAR * )_StubMsg.Buffer = _RetVal;
1307 _StubMsg.Buffer += sizeof(HRESULT);
1310 RpcFinally
1313 RpcEndFinally
1314 _pRpcMessage->BufferLength =
1315 (unsigned int)((long)_StubMsg.Buffer - (long)_pRpcMessage->Buffer);
1320 HRESULT STDMETHODCALLTYPE IEnumVARIANT_Clone_Proxy(
1321 IEnumVARIANT __RPC_FAR * This,
1322 /* [out] */ IEnumVARIANT __RPC_FAR *__RPC_FAR *ppEnum)
1325 HRESULT _RetVal;
1327 RPC_MESSAGE _RpcMessage;
1329 MIDL_STUB_MESSAGE _StubMsg;
1331 if(ppEnum)
1333 MIDL_memset(
1334 ppEnum,
1336 sizeof( IEnumVARIANT __RPC_FAR *__RPC_FAR * ));
1338 RpcTryExcept
1340 NdrProxyInitialize(
1341 ( void __RPC_FAR * )This,
1342 ( PRPC_MESSAGE )&_RpcMessage,
1343 ( PMIDL_STUB_MESSAGE )&_StubMsg,
1344 ( PMIDL_STUB_DESC )&Object_StubDesc,
1349 if(!ppEnum)
1351 RpcRaiseException(RPC_X_NULL_REF_POINTER);
1353 RpcTryFinally
1356 _StubMsg.BufferLength = 0U;
1357 NdrProxyGetBuffer(This, &_StubMsg);
1358 NdrProxySendReceive(This, &_StubMsg);
1360 if ( (_RpcMessage.DataRepresentation & 0X0000FFFFUL) != NDR_LOCAL_DATA_REPRESENTATION )
1361 NdrConvert( (PMIDL_STUB_MESSAGE) &_StubMsg, (PFORMAT_STRING) &__MIDL_ProcFormatString.Format[90] );
1363 NdrPointerUnmarshall( (PMIDL_STUB_MESSAGE) &_StubMsg,
1364 (unsigned char __RPC_FAR * __RPC_FAR *)&ppEnum,
1365 (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[1224],
1366 (unsigned char)0 );
1368 _StubMsg.Buffer = (unsigned char __RPC_FAR *)(((long)_StubMsg.Buffer + 3) & ~ 0x3);
1369 _RetVal = *( HRESULT __RPC_FAR * )_StubMsg.Buffer;
1370 _StubMsg.Buffer += sizeof(HRESULT);
1373 RpcFinally
1375 NdrProxyFreeBuffer(This, &_StubMsg);
1378 RpcEndFinally
1381 RpcExcept(_StubMsg.dwStubPhase != PROXY_SENDRECEIVE)
1383 NdrClearOutParameters(
1384 ( PMIDL_STUB_MESSAGE )&_StubMsg,
1385 ( PFORMAT_STRING )&__MIDL_TypeFormatString.Format[1224],
1386 ( void __RPC_FAR * )ppEnum);
1387 _RetVal = NdrProxyErrorHandler(RpcExceptionCode());
1389 RpcEndExcept
1390 return _RetVal;
1393 void __RPC_STUB IEnumVARIANT_Clone_Stub(
1394 IRpcStubBuffer *This,
1395 IRpcChannelBuffer *_pRpcChannelBuffer,
1396 PRPC_MESSAGE _pRpcMessage,
1397 DWORD *_pdwStubPhase)
1399 IEnumVARIANT __RPC_FAR *_M12;
1400 HRESULT _RetVal;
1401 MIDL_STUB_MESSAGE _StubMsg;
1402 IEnumVARIANT __RPC_FAR *__RPC_FAR *ppEnum;
1404 NdrStubInitialize(
1405 _pRpcMessage,
1406 &_StubMsg,
1407 &Object_StubDesc,
1408 _pRpcChannelBuffer);
1409 ppEnum = 0;
1410 RpcTryFinally
1412 ppEnum = &_M12;
1413 _M12 = 0;
1415 *_pdwStubPhase = STUB_CALL_SERVER;
1416 _RetVal = (((IEnumVARIANT*) ((CStdStubBuffer *)This)->pvServerObject)->lpVtbl) -> Clone((IEnumVARIANT *) ((CStdStubBuffer *)This)->pvServerObject,ppEnum);
1418 *_pdwStubPhase = STUB_MARSHAL;
1420 _StubMsg.BufferLength = 0U + 4U;
1421 NdrPointerBufferSize( (PMIDL_STUB_MESSAGE) &_StubMsg,
1422 (unsigned char __RPC_FAR *)ppEnum,
1423 (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[1224] );
1425 _StubMsg.BufferLength += 16;
1427 NdrStubGetBuffer(This, _pRpcChannelBuffer, &_StubMsg);
1428 NdrPointerMarshall( (PMIDL_STUB_MESSAGE)& _StubMsg,
1429 (unsigned char __RPC_FAR *)ppEnum,
1430 (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[1224] );
1432 _StubMsg.Buffer = (unsigned char __RPC_FAR *)(((long)_StubMsg.Buffer + 3) & ~ 0x3);
1433 *( HRESULT __RPC_FAR * )_StubMsg.Buffer = _RetVal;
1434 _StubMsg.Buffer += sizeof(HRESULT);
1437 RpcFinally
1439 NdrPointerFree( &_StubMsg,
1440 (unsigned char __RPC_FAR *)ppEnum,
1441 &__MIDL_TypeFormatString.Format[1224] );
1444 RpcEndFinally
1445 _pRpcMessage->BufferLength =
1446 (unsigned int)((long)_StubMsg.Buffer - (long)_pRpcMessage->Buffer);
1450 const CINTERFACE_PROXY_VTABLE(7) _IEnumVARIANTProxyVtbl =
1452 { &IID_IEnumVARIANT },
1454 IUnknown_QueryInterface_Proxy,
1455 IUnknown_AddRef_Proxy,
1456 IUnknown_Release_Proxy ,
1457 IEnumVARIANT_Next_Proxy ,
1458 IEnumVARIANT_Skip_Proxy ,
1459 IEnumVARIANT_Reset_Proxy ,
1460 IEnumVARIANT_Clone_Proxy
1465 static const PRPC_STUB_FUNCTION IEnumVARIANT_table[] =
1467 IEnumVARIANT_RemoteNext_Stub,
1468 IEnumVARIANT_Skip_Stub,
1469 IEnumVARIANT_Reset_Stub,
1470 IEnumVARIANT_Clone_Stub
1473 const CInterfaceStubVtbl _IEnumVARIANTStubVtbl =
1476 &IID_IEnumVARIANT,
1479 &IEnumVARIANT_table[-3]
1481 { CStdStubBuffer_METHODS }
1485 /* Object interface: ITypeComp, ver. 0.0,
1486 GUID={0x00020403,0x0000,0x0000,{0xC0,0x00,0x00,0x00,0x00,0x00,0x00,0x46}} */
1489 extern const MIDL_STUB_DESC Object_StubDesc;
1492 /* [call_as] */ HRESULT STDMETHODCALLTYPE ITypeComp_RemoteBind_Proxy(
1493 ITypeComp __RPC_FAR * This,
1494 /* [in] */ LPOLESTR szName,
1495 /* [in] */ ULONG lHashVal,
1496 /* [in] */ WORD wFlags,
1497 /* [out] */ ITypeInfo __RPC_FAR *__RPC_FAR *ppTInfo,
1498 /* [out] */ DESCKIND __RPC_FAR *pDescKind,
1499 /* [out] */ LPFUNCDESC __RPC_FAR *ppFuncDesc,
1500 /* [out] */ LPVARDESC __RPC_FAR *ppVarDesc,
1501 /* [out] */ ITypeComp __RPC_FAR *__RPC_FAR *ppTypeComp,
1502 /* [out] */ CLEANLOCALSTORAGE __RPC_FAR *pDummy)
1505 HRESULT _RetVal;
1507 RPC_MESSAGE _RpcMessage;
1509 MIDL_STUB_MESSAGE _StubMsg;
1511 if(ppTInfo)
1513 MIDL_memset(
1514 ppTInfo,
1516 sizeof( ITypeInfo __RPC_FAR *__RPC_FAR * ));
1518 if(ppFuncDesc)
1520 *ppFuncDesc = 0;
1522 if(ppVarDesc)
1524 *ppVarDesc = 0;
1526 if(ppTypeComp)
1528 MIDL_memset(
1529 ppTypeComp,
1531 sizeof( ITypeComp __RPC_FAR *__RPC_FAR * ));
1533 if(pDummy)
1535 MIDL_memset(
1536 pDummy,
1538 sizeof( CLEANLOCALSTORAGE ));
1540 RpcTryExcept
1542 NdrProxyInitialize(
1543 ( void __RPC_FAR * )This,
1544 ( PRPC_MESSAGE )&_RpcMessage,
1545 ( PMIDL_STUB_MESSAGE )&_StubMsg,
1546 ( PMIDL_STUB_DESC )&Object_StubDesc,
1551 if(!szName)
1553 RpcRaiseException(RPC_X_NULL_REF_POINTER);
1555 if(!ppTInfo)
1557 RpcRaiseException(RPC_X_NULL_REF_POINTER);
1559 if(!pDescKind)
1561 RpcRaiseException(RPC_X_NULL_REF_POINTER);
1563 if(!ppFuncDesc)
1565 RpcRaiseException(RPC_X_NULL_REF_POINTER);
1567 if(!ppVarDesc)
1569 RpcRaiseException(RPC_X_NULL_REF_POINTER);
1571 if(!ppTypeComp)
1573 RpcRaiseException(RPC_X_NULL_REF_POINTER);
1575 if(!pDummy)
1577 RpcRaiseException(RPC_X_NULL_REF_POINTER);
1579 RpcTryFinally
1582 _StubMsg.BufferLength = 12U + 10U + 4U;
1583 NdrConformantStringBufferSize( (PMIDL_STUB_MESSAGE) &_StubMsg,
1584 (unsigned char __RPC_FAR *)szName,
1585 (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[1248] );
1587 NdrProxyGetBuffer(This, &_StubMsg);
1588 NdrConformantStringMarshall( (PMIDL_STUB_MESSAGE)& _StubMsg,
1589 (unsigned char __RPC_FAR *)szName,
1590 (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[1248] );
1592 _StubMsg.Buffer = (unsigned char __RPC_FAR *)(((long)_StubMsg.Buffer + 3) & ~ 0x3);
1593 *( ULONG __RPC_FAR * )_StubMsg.Buffer = lHashVal;
1594 _StubMsg.Buffer += sizeof(ULONG);
1596 *( WORD __RPC_FAR * )_StubMsg.Buffer = wFlags;
1597 _StubMsg.Buffer += sizeof(WORD);
1599 NdrProxySendReceive(This, &_StubMsg);
1601 if ( (_RpcMessage.DataRepresentation & 0X0000FFFFUL) != NDR_LOCAL_DATA_REPRESENTATION )
1602 NdrConvert( (PMIDL_STUB_MESSAGE) &_StubMsg, (PFORMAT_STRING) &__MIDL_ProcFormatString.Format[96] );
1604 NdrPointerUnmarshall( (PMIDL_STUB_MESSAGE) &_StubMsg,
1605 (unsigned char __RPC_FAR * __RPC_FAR *)&ppTInfo,
1606 (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[6],
1607 (unsigned char)0 );
1609 NdrPointerUnmarshall( (PMIDL_STUB_MESSAGE) &_StubMsg,
1610 (unsigned char __RPC_FAR * __RPC_FAR *)&pDescKind,
1611 (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[1250],
1612 (unsigned char)0 );
1614 NdrPointerUnmarshall( (PMIDL_STUB_MESSAGE) &_StubMsg,
1615 (unsigned char __RPC_FAR * __RPC_FAR *)&ppFuncDesc,
1616 (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[1254],
1617 (unsigned char)0 );
1619 NdrPointerUnmarshall( (PMIDL_STUB_MESSAGE) &_StubMsg,
1620 (unsigned char __RPC_FAR * __RPC_FAR *)&ppVarDesc,
1621 (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[1464],
1622 (unsigned char)0 );
1624 NdrPointerUnmarshall( (PMIDL_STUB_MESSAGE) &_StubMsg,
1625 (unsigned char __RPC_FAR * __RPC_FAR *)&ppTypeComp,
1626 (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[1540],
1627 (unsigned char)0 );
1629 NdrUserMarshalUnmarshall( (PMIDL_STUB_MESSAGE) &_StubMsg,
1630 (unsigned char __RPC_FAR * __RPC_FAR *)&pDummy,
1631 (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[1568],
1632 (unsigned char)0 );
1634 _StubMsg.Buffer = (unsigned char __RPC_FAR *)(((long)_StubMsg.Buffer + 3) & ~ 0x3);
1635 _RetVal = *( HRESULT __RPC_FAR * )_StubMsg.Buffer;
1636 _StubMsg.Buffer += sizeof(HRESULT);
1639 RpcFinally
1641 NdrProxyFreeBuffer(This, &_StubMsg);
1644 RpcEndFinally
1647 RpcExcept(_StubMsg.dwStubPhase != PROXY_SENDRECEIVE)
1649 NdrClearOutParameters(
1650 ( PMIDL_STUB_MESSAGE )&_StubMsg,
1651 ( PFORMAT_STRING )&__MIDL_TypeFormatString.Format[6],
1652 ( void __RPC_FAR * )ppTInfo);
1653 NdrClearOutParameters(
1654 ( PMIDL_STUB_MESSAGE )&_StubMsg,
1655 ( PFORMAT_STRING )&__MIDL_TypeFormatString.Format[1250],
1656 ( void __RPC_FAR * )pDescKind);
1657 NdrClearOutParameters(
1658 ( PMIDL_STUB_MESSAGE )&_StubMsg,
1659 ( PFORMAT_STRING )&__MIDL_TypeFormatString.Format[1254],
1660 ( void __RPC_FAR * )ppFuncDesc);
1661 NdrClearOutParameters(
1662 ( PMIDL_STUB_MESSAGE )&_StubMsg,
1663 ( PFORMAT_STRING )&__MIDL_TypeFormatString.Format[1464],
1664 ( void __RPC_FAR * )ppVarDesc);
1665 NdrClearOutParameters(
1666 ( PMIDL_STUB_MESSAGE )&_StubMsg,
1667 ( PFORMAT_STRING )&__MIDL_TypeFormatString.Format[1540],
1668 ( void __RPC_FAR * )ppTypeComp);
1669 NdrClearOutParameters(
1670 ( PMIDL_STUB_MESSAGE )&_StubMsg,
1671 ( PFORMAT_STRING )&__MIDL_TypeFormatString.Format[1562],
1672 ( void __RPC_FAR * )pDummy);
1673 _RetVal = NdrProxyErrorHandler(RpcExceptionCode());
1675 RpcEndExcept
1676 return _RetVal;
1679 void __RPC_STUB ITypeComp_RemoteBind_Stub(
1680 IRpcStubBuffer *This,
1681 IRpcChannelBuffer *_pRpcChannelBuffer,
1682 PRPC_MESSAGE _pRpcMessage,
1683 DWORD *_pdwStubPhase)
1685 ITypeInfo __RPC_FAR *_M15;
1686 DESCKIND _M16;
1687 LPFUNCDESC _M17;
1688 LPVARDESC _M18;
1689 ITypeComp __RPC_FAR *_M19;
1690 CLEANLOCALSTORAGE _M20;
1691 HRESULT _RetVal;
1692 MIDL_STUB_MESSAGE _StubMsg;
1693 ULONG lHashVal;
1694 DESCKIND __RPC_FAR *pDescKind;
1695 CLEANLOCALSTORAGE __RPC_FAR *pDummy;
1696 LPFUNCDESC __RPC_FAR *ppFuncDesc;
1697 ITypeInfo __RPC_FAR *__RPC_FAR *ppTInfo;
1698 ITypeComp __RPC_FAR *__RPC_FAR *ppTypeComp;
1699 LPVARDESC __RPC_FAR *ppVarDesc;
1700 LPOLESTR szName;
1701 WORD wFlags;
1703 NdrStubInitialize(
1704 _pRpcMessage,
1705 &_StubMsg,
1706 &Object_StubDesc,
1707 _pRpcChannelBuffer);
1708 szName = 0;
1709 ppTInfo = 0;
1710 pDescKind = 0;
1711 ppFuncDesc = 0;
1712 ppVarDesc = 0;
1713 ppTypeComp = 0;
1714 pDummy = 0;
1715 RpcTryFinally
1717 if ( (_pRpcMessage->DataRepresentation & 0X0000FFFFUL) != NDR_LOCAL_DATA_REPRESENTATION )
1718 NdrConvert( (PMIDL_STUB_MESSAGE) &_StubMsg, (PFORMAT_STRING) &__MIDL_ProcFormatString.Format[96] );
1720 NdrConformantStringUnmarshall( (PMIDL_STUB_MESSAGE) &_StubMsg,
1721 (unsigned char __RPC_FAR * __RPC_FAR *)&szName,
1722 (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[1248],
1723 (unsigned char)0 );
1725 _StubMsg.Buffer = (unsigned char __RPC_FAR *)(((long)_StubMsg.Buffer + 3) & ~ 0x3);
1726 lHashVal = *( ULONG __RPC_FAR * )_StubMsg.Buffer;
1727 _StubMsg.Buffer += sizeof(ULONG);
1729 wFlags = *( WORD __RPC_FAR * )_StubMsg.Buffer;
1730 _StubMsg.Buffer += sizeof(WORD);
1732 ppTInfo = &_M15;
1733 _M15 = 0;
1734 pDescKind = &_M16;
1735 ppFuncDesc = &_M17;
1736 _M17 = 0;
1737 ppVarDesc = &_M18;
1738 _M18 = 0;
1739 ppTypeComp = &_M19;
1740 _M19 = 0;
1741 pDummy = &_M20;
1742 MIDL_memset(
1743 pDummy,
1745 sizeof( CLEANLOCALSTORAGE ));
1747 *_pdwStubPhase = STUB_CALL_SERVER;
1750 _RetVal = ITypeComp_Bind_Stub(
1751 (ITypeComp *) ((CStdStubBuffer *)This)->pvServerObject,
1752 szName,
1753 lHashVal,
1754 wFlags,
1755 ppTInfo,
1756 pDescKind,
1757 ppFuncDesc,
1758 ppVarDesc,
1759 ppTypeComp,
1760 pDummy);
1762 *_pdwStubPhase = STUB_MARSHAL;
1764 _StubMsg.BufferLength = 0U + 4U + 4U + 15U + 0U + 11U + 7U;
1765 NdrPointerBufferSize( (PMIDL_STUB_MESSAGE) &_StubMsg,
1766 (unsigned char __RPC_FAR *)ppTInfo,
1767 (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[6] );
1769 NdrPointerBufferSize( (PMIDL_STUB_MESSAGE) &_StubMsg,
1770 (unsigned char __RPC_FAR *)ppFuncDesc,
1771 (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[1254] );
1773 NdrPointerBufferSize( (PMIDL_STUB_MESSAGE) &_StubMsg,
1774 (unsigned char __RPC_FAR *)ppVarDesc,
1775 (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[1464] );
1777 NdrPointerBufferSize( (PMIDL_STUB_MESSAGE) &_StubMsg,
1778 (unsigned char __RPC_FAR *)ppTypeComp,
1779 (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[1540] );
1781 _StubMsg.BufferLength += 16;
1783 NdrStubGetBuffer(This, _pRpcChannelBuffer, &_StubMsg);
1784 NdrPointerMarshall( (PMIDL_STUB_MESSAGE)& _StubMsg,
1785 (unsigned char __RPC_FAR *)ppTInfo,
1786 (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[6] );
1788 NdrPointerMarshall( (PMIDL_STUB_MESSAGE)& _StubMsg,
1789 (unsigned char __RPC_FAR *)pDescKind,
1790 (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[1250] );
1792 NdrPointerMarshall( (PMIDL_STUB_MESSAGE)& _StubMsg,
1793 (unsigned char __RPC_FAR *)ppFuncDesc,
1794 (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[1254] );
1796 NdrPointerMarshall( (PMIDL_STUB_MESSAGE)& _StubMsg,
1797 (unsigned char __RPC_FAR *)ppVarDesc,
1798 (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[1464] );
1800 NdrPointerMarshall( (PMIDL_STUB_MESSAGE)& _StubMsg,
1801 (unsigned char __RPC_FAR *)ppTypeComp,
1802 (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[1540] );
1804 NdrUserMarshalMarshall( (PMIDL_STUB_MESSAGE)& _StubMsg,
1805 (unsigned char __RPC_FAR *)pDummy,
1806 (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[1568] );
1808 _StubMsg.Buffer = (unsigned char __RPC_FAR *)(((long)_StubMsg.Buffer + 3) & ~ 0x3);
1809 *( HRESULT __RPC_FAR * )_StubMsg.Buffer = _RetVal;
1810 _StubMsg.Buffer += sizeof(HRESULT);
1813 RpcFinally
1815 NdrPointerFree( &_StubMsg,
1816 (unsigned char __RPC_FAR *)ppTInfo,
1817 &__MIDL_TypeFormatString.Format[6] );
1819 NdrPointerFree( &_StubMsg,
1820 (unsigned char __RPC_FAR *)ppFuncDesc,
1821 &__MIDL_TypeFormatString.Format[1254] );
1823 NdrPointerFree( &_StubMsg,
1824 (unsigned char __RPC_FAR *)ppVarDesc,
1825 &__MIDL_TypeFormatString.Format[1464] );
1827 NdrPointerFree( &_StubMsg,
1828 (unsigned char __RPC_FAR *)ppTypeComp,
1829 &__MIDL_TypeFormatString.Format[1540] );
1831 NdrPointerFree( &_StubMsg,
1832 (unsigned char __RPC_FAR *)pDummy,
1833 &__MIDL_TypeFormatString.Format[1562] );
1836 RpcEndFinally
1837 _pRpcMessage->BufferLength =
1838 (unsigned int)((long)_StubMsg.Buffer - (long)_pRpcMessage->Buffer);
1843 /* [call_as] */ HRESULT STDMETHODCALLTYPE ITypeComp_RemoteBindType_Proxy(
1844 ITypeComp __RPC_FAR * This,
1845 /* [in] */ LPOLESTR szName,
1846 /* [in] */ ULONG lHashVal,
1847 /* [out] */ ITypeInfo __RPC_FAR *__RPC_FAR *ppTInfo)
1850 HRESULT _RetVal;
1852 RPC_MESSAGE _RpcMessage;
1854 MIDL_STUB_MESSAGE _StubMsg;
1856 if(ppTInfo)
1858 MIDL_memset(
1859 ppTInfo,
1861 sizeof( ITypeInfo __RPC_FAR *__RPC_FAR * ));
1863 RpcTryExcept
1865 NdrProxyInitialize(
1866 ( void __RPC_FAR * )This,
1867 ( PRPC_MESSAGE )&_RpcMessage,
1868 ( PMIDL_STUB_MESSAGE )&_StubMsg,
1869 ( PMIDL_STUB_DESC )&Object_StubDesc,
1874 if(!szName)
1876 RpcRaiseException(RPC_X_NULL_REF_POINTER);
1878 if(!ppTInfo)
1880 RpcRaiseException(RPC_X_NULL_REF_POINTER);
1882 RpcTryFinally
1885 _StubMsg.BufferLength = 12U + 10U;
1886 NdrConformantStringBufferSize( (PMIDL_STUB_MESSAGE) &_StubMsg,
1887 (unsigned char __RPC_FAR *)szName,
1888 (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[1248] );
1890 NdrProxyGetBuffer(This, &_StubMsg);
1891 NdrConformantStringMarshall( (PMIDL_STUB_MESSAGE)& _StubMsg,
1892 (unsigned char __RPC_FAR *)szName,
1893 (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[1248] );
1895 _StubMsg.Buffer = (unsigned char __RPC_FAR *)(((long)_StubMsg.Buffer + 3) & ~ 0x3);
1896 *( ULONG __RPC_FAR * )_StubMsg.Buffer = lHashVal;
1897 _StubMsg.Buffer += sizeof(ULONG);
1899 NdrProxySendReceive(This, &_StubMsg);
1901 if ( (_RpcMessage.DataRepresentation & 0X0000FFFFUL) != NDR_LOCAL_DATA_REPRESENTATION )
1902 NdrConvert( (PMIDL_STUB_MESSAGE) &_StubMsg, (PFORMAT_STRING) &__MIDL_ProcFormatString.Format[130] );
1904 NdrPointerUnmarshall( (PMIDL_STUB_MESSAGE) &_StubMsg,
1905 (unsigned char __RPC_FAR * __RPC_FAR *)&ppTInfo,
1906 (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[6],
1907 (unsigned char)0 );
1909 _StubMsg.Buffer = (unsigned char __RPC_FAR *)(((long)_StubMsg.Buffer + 3) & ~ 0x3);
1910 _RetVal = *( HRESULT __RPC_FAR * )_StubMsg.Buffer;
1911 _StubMsg.Buffer += sizeof(HRESULT);
1914 RpcFinally
1916 NdrProxyFreeBuffer(This, &_StubMsg);
1919 RpcEndFinally
1922 RpcExcept(_StubMsg.dwStubPhase != PROXY_SENDRECEIVE)
1924 NdrClearOutParameters(
1925 ( PMIDL_STUB_MESSAGE )&_StubMsg,
1926 ( PFORMAT_STRING )&__MIDL_TypeFormatString.Format[6],
1927 ( void __RPC_FAR * )ppTInfo);
1928 _RetVal = NdrProxyErrorHandler(RpcExceptionCode());
1930 RpcEndExcept
1931 return _RetVal;
1934 void __RPC_STUB ITypeComp_RemoteBindType_Stub(
1935 IRpcStubBuffer *This,
1936 IRpcChannelBuffer *_pRpcChannelBuffer,
1937 PRPC_MESSAGE _pRpcMessage,
1938 DWORD *_pdwStubPhase)
1940 ITypeInfo __RPC_FAR *_M23;
1941 HRESULT _RetVal;
1942 MIDL_STUB_MESSAGE _StubMsg;
1943 ULONG lHashVal;
1944 ITypeInfo __RPC_FAR *__RPC_FAR *ppTInfo;
1945 LPOLESTR szName;
1947 NdrStubInitialize(
1948 _pRpcMessage,
1949 &_StubMsg,
1950 &Object_StubDesc,
1951 _pRpcChannelBuffer);
1952 szName = 0;
1953 ppTInfo = 0;
1954 RpcTryFinally
1956 if ( (_pRpcMessage->DataRepresentation & 0X0000FFFFUL) != NDR_LOCAL_DATA_REPRESENTATION )
1957 NdrConvert( (PMIDL_STUB_MESSAGE) &_StubMsg, (PFORMAT_STRING) &__MIDL_ProcFormatString.Format[130] );
1959 NdrConformantStringUnmarshall( (PMIDL_STUB_MESSAGE) &_StubMsg,
1960 (unsigned char __RPC_FAR * __RPC_FAR *)&szName,
1961 (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[1248],
1962 (unsigned char)0 );
1964 _StubMsg.Buffer = (unsigned char __RPC_FAR *)(((long)_StubMsg.Buffer + 3) & ~ 0x3);
1965 lHashVal = *( ULONG __RPC_FAR * )_StubMsg.Buffer;
1966 _StubMsg.Buffer += sizeof(ULONG);
1968 ppTInfo = &_M23;
1969 _M23 = 0;
1971 *_pdwStubPhase = STUB_CALL_SERVER;
1974 _RetVal = ITypeComp_BindType_Stub(
1975 (ITypeComp *) ((CStdStubBuffer *)This)->pvServerObject,
1976 szName,
1977 lHashVal,
1978 ppTInfo);
1980 *_pdwStubPhase = STUB_MARSHAL;
1982 _StubMsg.BufferLength = 0U + 4U;
1983 NdrPointerBufferSize( (PMIDL_STUB_MESSAGE) &_StubMsg,
1984 (unsigned char __RPC_FAR *)ppTInfo,
1985 (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[6] );
1987 _StubMsg.BufferLength += 16;
1989 NdrStubGetBuffer(This, _pRpcChannelBuffer, &_StubMsg);
1990 NdrPointerMarshall( (PMIDL_STUB_MESSAGE)& _StubMsg,
1991 (unsigned char __RPC_FAR *)ppTInfo,
1992 (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[6] );
1994 _StubMsg.Buffer = (unsigned char __RPC_FAR *)(((long)_StubMsg.Buffer + 3) & ~ 0x3);
1995 *( HRESULT __RPC_FAR * )_StubMsg.Buffer = _RetVal;
1996 _StubMsg.Buffer += sizeof(HRESULT);
1999 RpcFinally
2001 NdrPointerFree( &_StubMsg,
2002 (unsigned char __RPC_FAR *)ppTInfo,
2003 &__MIDL_TypeFormatString.Format[6] );
2006 RpcEndFinally
2007 _pRpcMessage->BufferLength =
2008 (unsigned int)((long)_StubMsg.Buffer - (long)_pRpcMessage->Buffer);
2012 const CINTERFACE_PROXY_VTABLE(5) _ITypeCompProxyVtbl =
2014 { &IID_ITypeComp },
2016 IUnknown_QueryInterface_Proxy,
2017 IUnknown_AddRef_Proxy,
2018 IUnknown_Release_Proxy ,
2019 ITypeComp_Bind_Proxy ,
2020 ITypeComp_BindType_Proxy
2025 static const PRPC_STUB_FUNCTION ITypeComp_table[] =
2027 ITypeComp_RemoteBind_Stub,
2028 ITypeComp_RemoteBindType_Stub
2031 const CInterfaceStubVtbl _ITypeCompStubVtbl =
2034 &IID_ITypeComp,
2037 &ITypeComp_table[-3]
2039 { CStdStubBuffer_METHODS }
2043 /* Object interface: ITypeInfo, ver. 0.0,
2044 GUID={0x00020401,0x0000,0x0000,{0xC0,0x00,0x00,0x00,0x00,0x00,0x00,0x46}} */
2047 extern const MIDL_STUB_DESC Object_StubDesc;
2050 /* [call_as] */ HRESULT STDMETHODCALLTYPE ITypeInfo_RemoteGetTypeAttr_Proxy(
2051 ITypeInfo __RPC_FAR * This,
2052 /* [out] */ LPTYPEATTR __RPC_FAR *ppTypeAttr,
2053 /* [out] */ CLEANLOCALSTORAGE __RPC_FAR *pDummy)
2056 HRESULT _RetVal;
2058 RPC_MESSAGE _RpcMessage;
2060 MIDL_STUB_MESSAGE _StubMsg;
2062 if(ppTypeAttr)
2064 *ppTypeAttr = 0;
2066 if(pDummy)
2068 MIDL_memset(
2069 pDummy,
2071 sizeof( CLEANLOCALSTORAGE ));
2073 RpcTryExcept
2075 NdrProxyInitialize(
2076 ( void __RPC_FAR * )This,
2077 ( PRPC_MESSAGE )&_RpcMessage,
2078 ( PMIDL_STUB_MESSAGE )&_StubMsg,
2079 ( PMIDL_STUB_DESC )&Object_StubDesc,
2084 if(!ppTypeAttr)
2086 RpcRaiseException(RPC_X_NULL_REF_POINTER);
2088 if(!pDummy)
2090 RpcRaiseException(RPC_X_NULL_REF_POINTER);
2092 RpcTryFinally
2095 _StubMsg.BufferLength = 0U;
2096 NdrProxyGetBuffer(This, &_StubMsg);
2097 NdrProxySendReceive(This, &_StubMsg);
2099 if ( (_RpcMessage.DataRepresentation & 0X0000FFFFUL) != NDR_LOCAL_DATA_REPRESENTATION )
2100 NdrConvert( (PMIDL_STUB_MESSAGE) &_StubMsg, (PFORMAT_STRING) &__MIDL_ProcFormatString.Format[142] );
2102 NdrPointerUnmarshall( (PMIDL_STUB_MESSAGE) &_StubMsg,
2103 (unsigned char __RPC_FAR * __RPC_FAR *)&ppTypeAttr,
2104 (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[1578],
2105 (unsigned char)0 );
2107 NdrUserMarshalUnmarshall( (PMIDL_STUB_MESSAGE) &_StubMsg,
2108 (unsigned char __RPC_FAR * __RPC_FAR *)&pDummy,
2109 (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[1644],
2110 (unsigned char)0 );
2112 _StubMsg.Buffer = (unsigned char __RPC_FAR *)(((long)_StubMsg.Buffer + 3) & ~ 0x3);
2113 _RetVal = *( HRESULT __RPC_FAR * )_StubMsg.Buffer;
2114 _StubMsg.Buffer += sizeof(HRESULT);
2117 RpcFinally
2119 NdrProxyFreeBuffer(This, &_StubMsg);
2122 RpcEndFinally
2125 RpcExcept(_StubMsg.dwStubPhase != PROXY_SENDRECEIVE)
2127 NdrClearOutParameters(
2128 ( PMIDL_STUB_MESSAGE )&_StubMsg,
2129 ( PFORMAT_STRING )&__MIDL_TypeFormatString.Format[1578],
2130 ( void __RPC_FAR * )ppTypeAttr);
2131 NdrClearOutParameters(
2132 ( PMIDL_STUB_MESSAGE )&_StubMsg,
2133 ( PFORMAT_STRING )&__MIDL_TypeFormatString.Format[1638],
2134 ( void __RPC_FAR * )pDummy);
2135 _RetVal = NdrProxyErrorHandler(RpcExceptionCode());
2137 RpcEndExcept
2138 return _RetVal;
2141 void __RPC_STUB ITypeInfo_RemoteGetTypeAttr_Stub(
2142 IRpcStubBuffer *This,
2143 IRpcChannelBuffer *_pRpcChannelBuffer,
2144 PRPC_MESSAGE _pRpcMessage,
2145 DWORD *_pdwStubPhase)
2147 LPTYPEATTR _M24;
2148 CLEANLOCALSTORAGE _M25;
2149 HRESULT _RetVal;
2150 MIDL_STUB_MESSAGE _StubMsg;
2151 CLEANLOCALSTORAGE __RPC_FAR *pDummy;
2152 LPTYPEATTR __RPC_FAR *ppTypeAttr;
2154 NdrStubInitialize(
2155 _pRpcMessage,
2156 &_StubMsg,
2157 &Object_StubDesc,
2158 _pRpcChannelBuffer);
2159 ppTypeAttr = 0;
2160 pDummy = 0;
2161 RpcTryFinally
2163 ppTypeAttr = &_M24;
2164 _M24 = 0;
2165 pDummy = &_M25;
2166 MIDL_memset(
2167 pDummy,
2169 sizeof( CLEANLOCALSTORAGE ));
2171 *_pdwStubPhase = STUB_CALL_SERVER;
2174 _RetVal = ITypeInfo_GetTypeAttr_Stub(
2175 (ITypeInfo *) ((CStdStubBuffer *)This)->pvServerObject,
2176 ppTypeAttr,
2177 pDummy);
2179 *_pdwStubPhase = STUB_MARSHAL;
2181 _StubMsg.BufferLength = 8U + 11U + 7U;
2182 NdrPointerBufferSize( (PMIDL_STUB_MESSAGE) &_StubMsg,
2183 (unsigned char __RPC_FAR *)ppTypeAttr,
2184 (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[1578] );
2186 _StubMsg.BufferLength += 16;
2188 NdrStubGetBuffer(This, _pRpcChannelBuffer, &_StubMsg);
2189 NdrPointerMarshall( (PMIDL_STUB_MESSAGE)& _StubMsg,
2190 (unsigned char __RPC_FAR *)ppTypeAttr,
2191 (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[1578] );
2193 NdrUserMarshalMarshall( (PMIDL_STUB_MESSAGE)& _StubMsg,
2194 (unsigned char __RPC_FAR *)pDummy,
2195 (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[1644] );
2197 _StubMsg.Buffer = (unsigned char __RPC_FAR *)(((long)_StubMsg.Buffer + 3) & ~ 0x3);
2198 *( HRESULT __RPC_FAR * )_StubMsg.Buffer = _RetVal;
2199 _StubMsg.Buffer += sizeof(HRESULT);
2202 RpcFinally
2204 NdrPointerFree( &_StubMsg,
2205 (unsigned char __RPC_FAR *)ppTypeAttr,
2206 &__MIDL_TypeFormatString.Format[1578] );
2208 NdrPointerFree( &_StubMsg,
2209 (unsigned char __RPC_FAR *)pDummy,
2210 &__MIDL_TypeFormatString.Format[1638] );
2213 RpcEndFinally
2214 _pRpcMessage->BufferLength =
2215 (unsigned int)((long)_StubMsg.Buffer - (long)_pRpcMessage->Buffer);
2220 HRESULT STDMETHODCALLTYPE ITypeInfo_GetTypeComp_Proxy(
2221 ITypeInfo __RPC_FAR * This,
2222 /* [out] */ ITypeComp __RPC_FAR *__RPC_FAR *ppTComp)
2225 HRESULT _RetVal;
2227 RPC_MESSAGE _RpcMessage;
2229 MIDL_STUB_MESSAGE _StubMsg;
2231 if(ppTComp)
2233 MIDL_memset(
2234 ppTComp,
2236 sizeof( ITypeComp __RPC_FAR *__RPC_FAR * ));
2238 RpcTryExcept
2240 NdrProxyInitialize(
2241 ( void __RPC_FAR * )This,
2242 ( PRPC_MESSAGE )&_RpcMessage,
2243 ( PMIDL_STUB_MESSAGE )&_StubMsg,
2244 ( PMIDL_STUB_DESC )&Object_StubDesc,
2249 if(!ppTComp)
2251 RpcRaiseException(RPC_X_NULL_REF_POINTER);
2253 RpcTryFinally
2256 _StubMsg.BufferLength = 0U;
2257 NdrProxyGetBuffer(This, &_StubMsg);
2258 NdrProxySendReceive(This, &_StubMsg);
2260 if ( (_RpcMessage.DataRepresentation & 0X0000FFFFUL) != NDR_LOCAL_DATA_REPRESENTATION )
2261 NdrConvert( (PMIDL_STUB_MESSAGE) &_StubMsg, (PFORMAT_STRING) &__MIDL_ProcFormatString.Format[152] );
2263 NdrPointerUnmarshall( (PMIDL_STUB_MESSAGE) &_StubMsg,
2264 (unsigned char __RPC_FAR * __RPC_FAR *)&ppTComp,
2265 (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[1540],
2266 (unsigned char)0 );
2268 _StubMsg.Buffer = (unsigned char __RPC_FAR *)(((long)_StubMsg.Buffer + 3) & ~ 0x3);
2269 _RetVal = *( HRESULT __RPC_FAR * )_StubMsg.Buffer;
2270 _StubMsg.Buffer += sizeof(HRESULT);
2273 RpcFinally
2275 NdrProxyFreeBuffer(This, &_StubMsg);
2278 RpcEndFinally
2281 RpcExcept(_StubMsg.dwStubPhase != PROXY_SENDRECEIVE)
2283 NdrClearOutParameters(
2284 ( PMIDL_STUB_MESSAGE )&_StubMsg,
2285 ( PFORMAT_STRING )&__MIDL_TypeFormatString.Format[1540],
2286 ( void __RPC_FAR * )ppTComp);
2287 _RetVal = NdrProxyErrorHandler(RpcExceptionCode());
2289 RpcEndExcept
2290 return _RetVal;
2293 void __RPC_STUB ITypeInfo_GetTypeComp_Stub(
2294 IRpcStubBuffer *This,
2295 IRpcChannelBuffer *_pRpcChannelBuffer,
2296 PRPC_MESSAGE _pRpcMessage,
2297 DWORD *_pdwStubPhase)
2299 ITypeComp __RPC_FAR *_M26;
2300 HRESULT _RetVal;
2301 MIDL_STUB_MESSAGE _StubMsg;
2302 ITypeComp __RPC_FAR *__RPC_FAR *ppTComp;
2304 NdrStubInitialize(
2305 _pRpcMessage,
2306 &_StubMsg,
2307 &Object_StubDesc,
2308 _pRpcChannelBuffer);
2309 ppTComp = 0;
2310 RpcTryFinally
2312 ppTComp = &_M26;
2313 _M26 = 0;
2315 *_pdwStubPhase = STUB_CALL_SERVER;
2316 _RetVal = (((ITypeInfo*) ((CStdStubBuffer *)This)->pvServerObject)->lpVtbl) -> GetTypeComp((ITypeInfo *) ((CStdStubBuffer *)This)->pvServerObject,ppTComp);
2318 *_pdwStubPhase = STUB_MARSHAL;
2320 _StubMsg.BufferLength = 0U + 4U;
2321 NdrPointerBufferSize( (PMIDL_STUB_MESSAGE) &_StubMsg,
2322 (unsigned char __RPC_FAR *)ppTComp,
2323 (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[1540] );
2325 _StubMsg.BufferLength += 16;
2327 NdrStubGetBuffer(This, _pRpcChannelBuffer, &_StubMsg);
2328 NdrPointerMarshall( (PMIDL_STUB_MESSAGE)& _StubMsg,
2329 (unsigned char __RPC_FAR *)ppTComp,
2330 (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[1540] );
2332 _StubMsg.Buffer = (unsigned char __RPC_FAR *)(((long)_StubMsg.Buffer + 3) & ~ 0x3);
2333 *( HRESULT __RPC_FAR * )_StubMsg.Buffer = _RetVal;
2334 _StubMsg.Buffer += sizeof(HRESULT);
2337 RpcFinally
2339 NdrPointerFree( &_StubMsg,
2340 (unsigned char __RPC_FAR *)ppTComp,
2341 &__MIDL_TypeFormatString.Format[1540] );
2344 RpcEndFinally
2345 _pRpcMessage->BufferLength =
2346 (unsigned int)((long)_StubMsg.Buffer - (long)_pRpcMessage->Buffer);
2351 /* [call_as] */ HRESULT STDMETHODCALLTYPE ITypeInfo_RemoteGetFuncDesc_Proxy(
2352 ITypeInfo __RPC_FAR * This,
2353 /* [in] */ UINT index,
2354 /* [out] */ LPFUNCDESC __RPC_FAR *ppFuncDesc,
2355 /* [out] */ CLEANLOCALSTORAGE __RPC_FAR *pDummy)
2358 HRESULT _RetVal;
2360 RPC_MESSAGE _RpcMessage;
2362 MIDL_STUB_MESSAGE _StubMsg;
2364 if(ppFuncDesc)
2366 *ppFuncDesc = 0;
2368 if(pDummy)
2370 MIDL_memset(
2371 pDummy,
2373 sizeof( CLEANLOCALSTORAGE ));
2375 RpcTryExcept
2377 NdrProxyInitialize(
2378 ( void __RPC_FAR * )This,
2379 ( PRPC_MESSAGE )&_RpcMessage,
2380 ( PMIDL_STUB_MESSAGE )&_StubMsg,
2381 ( PMIDL_STUB_DESC )&Object_StubDesc,
2386 if(!ppFuncDesc)
2388 RpcRaiseException(RPC_X_NULL_REF_POINTER);
2390 if(!pDummy)
2392 RpcRaiseException(RPC_X_NULL_REF_POINTER);
2394 RpcTryFinally
2397 _StubMsg.BufferLength = 4U;
2398 NdrProxyGetBuffer(This, &_StubMsg);
2399 *( UINT __RPC_FAR * )_StubMsg.Buffer = index;
2400 _StubMsg.Buffer += sizeof(UINT);
2402 NdrProxySendReceive(This, &_StubMsg);
2404 if ( (_RpcMessage.DataRepresentation & 0X0000FFFFUL) != NDR_LOCAL_DATA_REPRESENTATION )
2405 NdrConvert( (PMIDL_STUB_MESSAGE) &_StubMsg, (PFORMAT_STRING) &__MIDL_ProcFormatString.Format[158] );
2407 NdrPointerUnmarshall( (PMIDL_STUB_MESSAGE) &_StubMsg,
2408 (unsigned char __RPC_FAR * __RPC_FAR *)&ppFuncDesc,
2409 (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[1254],
2410 (unsigned char)0 );
2412 NdrUserMarshalUnmarshall( (PMIDL_STUB_MESSAGE) &_StubMsg,
2413 (unsigned char __RPC_FAR * __RPC_FAR *)&pDummy,
2414 (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[1660],
2415 (unsigned char)0 );
2417 _StubMsg.Buffer = (unsigned char __RPC_FAR *)(((long)_StubMsg.Buffer + 3) & ~ 0x3);
2418 _RetVal = *( HRESULT __RPC_FAR * )_StubMsg.Buffer;
2419 _StubMsg.Buffer += sizeof(HRESULT);
2422 RpcFinally
2424 NdrProxyFreeBuffer(This, &_StubMsg);
2427 RpcEndFinally
2430 RpcExcept(_StubMsg.dwStubPhase != PROXY_SENDRECEIVE)
2432 NdrClearOutParameters(
2433 ( PMIDL_STUB_MESSAGE )&_StubMsg,
2434 ( PFORMAT_STRING )&__MIDL_TypeFormatString.Format[1254],
2435 ( void __RPC_FAR * )ppFuncDesc);
2436 NdrClearOutParameters(
2437 ( PMIDL_STUB_MESSAGE )&_StubMsg,
2438 ( PFORMAT_STRING )&__MIDL_TypeFormatString.Format[1654],
2439 ( void __RPC_FAR * )pDummy);
2440 _RetVal = NdrProxyErrorHandler(RpcExceptionCode());
2442 RpcEndExcept
2443 return _RetVal;
2446 void __RPC_STUB ITypeInfo_RemoteGetFuncDesc_Stub(
2447 IRpcStubBuffer *This,
2448 IRpcChannelBuffer *_pRpcChannelBuffer,
2449 PRPC_MESSAGE _pRpcMessage,
2450 DWORD *_pdwStubPhase)
2452 LPFUNCDESC _M27;
2453 CLEANLOCALSTORAGE _M28;
2454 HRESULT _RetVal;
2455 MIDL_STUB_MESSAGE _StubMsg;
2456 UINT index;
2457 CLEANLOCALSTORAGE __RPC_FAR *pDummy;
2458 LPFUNCDESC __RPC_FAR *ppFuncDesc;
2460 NdrStubInitialize(
2461 _pRpcMessage,
2462 &_StubMsg,
2463 &Object_StubDesc,
2464 _pRpcChannelBuffer);
2465 ppFuncDesc = 0;
2466 pDummy = 0;
2467 RpcTryFinally
2469 if ( (_pRpcMessage->DataRepresentation & 0X0000FFFFUL) != NDR_LOCAL_DATA_REPRESENTATION )
2470 NdrConvert( (PMIDL_STUB_MESSAGE) &_StubMsg, (PFORMAT_STRING) &__MIDL_ProcFormatString.Format[158] );
2472 index = *( UINT __RPC_FAR * )_StubMsg.Buffer;
2473 _StubMsg.Buffer += sizeof(UINT);
2475 ppFuncDesc = &_M27;
2476 _M27 = 0;
2477 pDummy = &_M28;
2478 MIDL_memset(
2479 pDummy,
2481 sizeof( CLEANLOCALSTORAGE ));
2483 *_pdwStubPhase = STUB_CALL_SERVER;
2486 _RetVal = ITypeInfo_GetFuncDesc_Stub(
2487 (ITypeInfo *) ((CStdStubBuffer *)This)->pvServerObject,
2488 index,
2489 ppFuncDesc,
2490 pDummy);
2492 *_pdwStubPhase = STUB_MARSHAL;
2494 _StubMsg.BufferLength = 8U + 11U + 7U;
2495 NdrPointerBufferSize( (PMIDL_STUB_MESSAGE) &_StubMsg,
2496 (unsigned char __RPC_FAR *)ppFuncDesc,
2497 (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[1254] );
2499 _StubMsg.BufferLength += 16;
2501 NdrStubGetBuffer(This, _pRpcChannelBuffer, &_StubMsg);
2502 NdrPointerMarshall( (PMIDL_STUB_MESSAGE)& _StubMsg,
2503 (unsigned char __RPC_FAR *)ppFuncDesc,
2504 (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[1254] );
2506 NdrUserMarshalMarshall( (PMIDL_STUB_MESSAGE)& _StubMsg,
2507 (unsigned char __RPC_FAR *)pDummy,
2508 (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[1660] );
2510 _StubMsg.Buffer = (unsigned char __RPC_FAR *)(((long)_StubMsg.Buffer + 3) & ~ 0x3);
2511 *( HRESULT __RPC_FAR * )_StubMsg.Buffer = _RetVal;
2512 _StubMsg.Buffer += sizeof(HRESULT);
2515 RpcFinally
2517 NdrPointerFree( &_StubMsg,
2518 (unsigned char __RPC_FAR *)ppFuncDesc,
2519 &__MIDL_TypeFormatString.Format[1254] );
2521 NdrPointerFree( &_StubMsg,
2522 (unsigned char __RPC_FAR *)pDummy,
2523 &__MIDL_TypeFormatString.Format[1654] );
2526 RpcEndFinally
2527 _pRpcMessage->BufferLength =
2528 (unsigned int)((long)_StubMsg.Buffer - (long)_pRpcMessage->Buffer);
2533 /* [call_as] */ HRESULT STDMETHODCALLTYPE ITypeInfo_RemoteGetVarDesc_Proxy(
2534 ITypeInfo __RPC_FAR * This,
2535 /* [in] */ UINT index,
2536 /* [out] */ LPVARDESC __RPC_FAR *ppVarDesc,
2537 /* [out] */ CLEANLOCALSTORAGE __RPC_FAR *pDummy)
2540 HRESULT _RetVal;
2542 RPC_MESSAGE _RpcMessage;
2544 MIDL_STUB_MESSAGE _StubMsg;
2546 if(ppVarDesc)
2548 *ppVarDesc = 0;
2550 if(pDummy)
2552 MIDL_memset(
2553 pDummy,
2555 sizeof( CLEANLOCALSTORAGE ));
2557 RpcTryExcept
2559 NdrProxyInitialize(
2560 ( void __RPC_FAR * )This,
2561 ( PRPC_MESSAGE )&_RpcMessage,
2562 ( PMIDL_STUB_MESSAGE )&_StubMsg,
2563 ( PMIDL_STUB_DESC )&Object_StubDesc,
2568 if(!ppVarDesc)
2570 RpcRaiseException(RPC_X_NULL_REF_POINTER);
2572 if(!pDummy)
2574 RpcRaiseException(RPC_X_NULL_REF_POINTER);
2576 RpcTryFinally
2579 _StubMsg.BufferLength = 4U;
2580 NdrProxyGetBuffer(This, &_StubMsg);
2581 *( UINT __RPC_FAR * )_StubMsg.Buffer = index;
2582 _StubMsg.Buffer += sizeof(UINT);
2584 NdrProxySendReceive(This, &_StubMsg);
2586 if ( (_RpcMessage.DataRepresentation & 0X0000FFFFUL) != NDR_LOCAL_DATA_REPRESENTATION )
2587 NdrConvert( (PMIDL_STUB_MESSAGE) &_StubMsg, (PFORMAT_STRING) &__MIDL_ProcFormatString.Format[170] );
2589 NdrPointerUnmarshall( (PMIDL_STUB_MESSAGE) &_StubMsg,
2590 (unsigned char __RPC_FAR * __RPC_FAR *)&ppVarDesc,
2591 (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[1464],
2592 (unsigned char)0 );
2594 NdrUserMarshalUnmarshall( (PMIDL_STUB_MESSAGE) &_StubMsg,
2595 (unsigned char __RPC_FAR * __RPC_FAR *)&pDummy,
2596 (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[1676],
2597 (unsigned char)0 );
2599 _StubMsg.Buffer = (unsigned char __RPC_FAR *)(((long)_StubMsg.Buffer + 3) & ~ 0x3);
2600 _RetVal = *( HRESULT __RPC_FAR * )_StubMsg.Buffer;
2601 _StubMsg.Buffer += sizeof(HRESULT);
2604 RpcFinally
2606 NdrProxyFreeBuffer(This, &_StubMsg);
2609 RpcEndFinally
2612 RpcExcept(_StubMsg.dwStubPhase != PROXY_SENDRECEIVE)
2614 NdrClearOutParameters(
2615 ( PMIDL_STUB_MESSAGE )&_StubMsg,
2616 ( PFORMAT_STRING )&__MIDL_TypeFormatString.Format[1464],
2617 ( void __RPC_FAR * )ppVarDesc);
2618 NdrClearOutParameters(
2619 ( PMIDL_STUB_MESSAGE )&_StubMsg,
2620 ( PFORMAT_STRING )&__MIDL_TypeFormatString.Format[1670],
2621 ( void __RPC_FAR * )pDummy);
2622 _RetVal = NdrProxyErrorHandler(RpcExceptionCode());
2624 RpcEndExcept
2625 return _RetVal;
2628 void __RPC_STUB ITypeInfo_RemoteGetVarDesc_Stub(
2629 IRpcStubBuffer *This,
2630 IRpcChannelBuffer *_pRpcChannelBuffer,
2631 PRPC_MESSAGE _pRpcMessage,
2632 DWORD *_pdwStubPhase)
2634 LPVARDESC _M29;
2635 CLEANLOCALSTORAGE _M30;
2636 HRESULT _RetVal;
2637 MIDL_STUB_MESSAGE _StubMsg;
2638 UINT index;
2639 CLEANLOCALSTORAGE __RPC_FAR *pDummy;
2640 LPVARDESC __RPC_FAR *ppVarDesc;
2642 NdrStubInitialize(
2643 _pRpcMessage,
2644 &_StubMsg,
2645 &Object_StubDesc,
2646 _pRpcChannelBuffer);
2647 ppVarDesc = 0;
2648 pDummy = 0;
2649 RpcTryFinally
2651 if ( (_pRpcMessage->DataRepresentation & 0X0000FFFFUL) != NDR_LOCAL_DATA_REPRESENTATION )
2652 NdrConvert( (PMIDL_STUB_MESSAGE) &_StubMsg, (PFORMAT_STRING) &__MIDL_ProcFormatString.Format[170] );
2654 index = *( UINT __RPC_FAR * )_StubMsg.Buffer;
2655 _StubMsg.Buffer += sizeof(UINT);
2657 ppVarDesc = &_M29;
2658 _M29 = 0;
2659 pDummy = &_M30;
2660 MIDL_memset(
2661 pDummy,
2663 sizeof( CLEANLOCALSTORAGE ));
2665 *_pdwStubPhase = STUB_CALL_SERVER;
2668 _RetVal = ITypeInfo_GetVarDesc_Stub(
2669 (ITypeInfo *) ((CStdStubBuffer *)This)->pvServerObject,
2670 index,
2671 ppVarDesc,
2672 pDummy);
2674 *_pdwStubPhase = STUB_MARSHAL;
2676 _StubMsg.BufferLength = 8U + 11U + 7U;
2677 NdrPointerBufferSize( (PMIDL_STUB_MESSAGE) &_StubMsg,
2678 (unsigned char __RPC_FAR *)ppVarDesc,
2679 (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[1464] );
2681 _StubMsg.BufferLength += 16;
2683 NdrStubGetBuffer(This, _pRpcChannelBuffer, &_StubMsg);
2684 NdrPointerMarshall( (PMIDL_STUB_MESSAGE)& _StubMsg,
2685 (unsigned char __RPC_FAR *)ppVarDesc,
2686 (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[1464] );
2688 NdrUserMarshalMarshall( (PMIDL_STUB_MESSAGE)& _StubMsg,
2689 (unsigned char __RPC_FAR *)pDummy,
2690 (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[1676] );
2692 _StubMsg.Buffer = (unsigned char __RPC_FAR *)(((long)_StubMsg.Buffer + 3) & ~ 0x3);
2693 *( HRESULT __RPC_FAR * )_StubMsg.Buffer = _RetVal;
2694 _StubMsg.Buffer += sizeof(HRESULT);
2697 RpcFinally
2699 NdrPointerFree( &_StubMsg,
2700 (unsigned char __RPC_FAR *)ppVarDesc,
2701 &__MIDL_TypeFormatString.Format[1464] );
2703 NdrPointerFree( &_StubMsg,
2704 (unsigned char __RPC_FAR *)pDummy,
2705 &__MIDL_TypeFormatString.Format[1670] );
2708 RpcEndFinally
2709 _pRpcMessage->BufferLength =
2710 (unsigned int)((long)_StubMsg.Buffer - (long)_pRpcMessage->Buffer);
2715 /* [call_as] */ HRESULT STDMETHODCALLTYPE ITypeInfo_RemoteGetNames_Proxy(
2716 ITypeInfo __RPC_FAR * This,
2717 /* [in] */ MEMBERID memid,
2718 /* [length_is][size_is][out] */ BSTR __RPC_FAR *rgBstrNames,
2719 /* [in] */ UINT cMaxNames,
2720 /* [out] */ UINT __RPC_FAR *pcNames)
2723 HRESULT _RetVal;
2725 RPC_MESSAGE _RpcMessage;
2727 MIDL_STUB_MESSAGE _StubMsg;
2729 if(rgBstrNames)
2731 MIDL_memset(
2732 rgBstrNames,
2734 cMaxNames * sizeof( BSTR ));
2736 RpcTryExcept
2738 NdrProxyInitialize(
2739 ( void __RPC_FAR * )This,
2740 ( PRPC_MESSAGE )&_RpcMessage,
2741 ( PMIDL_STUB_MESSAGE )&_StubMsg,
2742 ( PMIDL_STUB_DESC )&Object_StubDesc,
2747 if(!rgBstrNames)
2749 RpcRaiseException(RPC_X_NULL_REF_POINTER);
2751 if(!pcNames)
2753 RpcRaiseException(RPC_X_NULL_REF_POINTER);
2755 RpcTryFinally
2758 _StubMsg.BufferLength = 4U + 4U;
2759 NdrProxyGetBuffer(This, &_StubMsg);
2760 *( MEMBERID __RPC_FAR * )_StubMsg.Buffer = memid;
2761 _StubMsg.Buffer += sizeof(MEMBERID);
2763 *( UINT __RPC_FAR * )_StubMsg.Buffer = cMaxNames;
2764 _StubMsg.Buffer += sizeof(UINT);
2766 NdrProxySendReceive(This, &_StubMsg);
2768 if ( (_RpcMessage.DataRepresentation & 0X0000FFFFUL) != NDR_LOCAL_DATA_REPRESENTATION )
2769 NdrConvert( (PMIDL_STUB_MESSAGE) &_StubMsg, (PFORMAT_STRING) &__MIDL_ProcFormatString.Format[182] );
2771 NdrComplexArrayUnmarshall( (PMIDL_STUB_MESSAGE) &_StubMsg,
2772 (unsigned char __RPC_FAR * __RPC_FAR *)&rgBstrNames,
2773 (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[1690],
2774 (unsigned char)0 );
2776 _StubMsg.Buffer = (unsigned char __RPC_FAR *)(((long)_StubMsg.Buffer + 3) & ~ 0x3);
2777 *pcNames = *( UINT __RPC_FAR * )_StubMsg.Buffer;
2778 _StubMsg.Buffer += sizeof(UINT);
2780 _RetVal = *( HRESULT __RPC_FAR * )_StubMsg.Buffer;
2781 _StubMsg.Buffer += sizeof(HRESULT);
2784 RpcFinally
2786 NdrProxyFreeBuffer(This, &_StubMsg);
2789 RpcEndFinally
2792 RpcExcept(_StubMsg.dwStubPhase != PROXY_SENDRECEIVE)
2794 _StubMsg.MaxCount = cMaxNames;
2795 _StubMsg.Offset = 0;
2796 _StubMsg.ActualCount = _StubMsg.MaxCount;
2798 NdrClearOutParameters(
2799 ( PMIDL_STUB_MESSAGE )&_StubMsg,
2800 ( PFORMAT_STRING )&__MIDL_TypeFormatString.Format[1686],
2801 ( void __RPC_FAR * )rgBstrNames);
2802 NdrClearOutParameters(
2803 ( PMIDL_STUB_MESSAGE )&_StubMsg,
2804 ( PFORMAT_STRING )&__MIDL_TypeFormatString.Format[2],
2805 ( void __RPC_FAR * )pcNames);
2806 _RetVal = NdrProxyErrorHandler(RpcExceptionCode());
2808 RpcEndExcept
2809 return _RetVal;
2812 void __RPC_STUB ITypeInfo_RemoteGetNames_Stub(
2813 IRpcStubBuffer *This,
2814 IRpcChannelBuffer *_pRpcChannelBuffer,
2815 PRPC_MESSAGE _pRpcMessage,
2816 DWORD *_pdwStubPhase)
2818 UINT _M34;
2819 HRESULT _RetVal;
2820 MIDL_STUB_MESSAGE _StubMsg;
2821 UINT cMaxNames;
2822 MEMBERID memid;
2823 UINT __RPC_FAR *pcNames;
2824 BSTR __RPC_FAR *rgBstrNames;
2826 NdrStubInitialize(
2827 _pRpcMessage,
2828 &_StubMsg,
2829 &Object_StubDesc,
2830 _pRpcChannelBuffer);
2831 rgBstrNames = 0;
2832 pcNames = 0;
2833 RpcTryFinally
2835 if ( (_pRpcMessage->DataRepresentation & 0X0000FFFFUL) != NDR_LOCAL_DATA_REPRESENTATION )
2836 NdrConvert( (PMIDL_STUB_MESSAGE) &_StubMsg, (PFORMAT_STRING) &__MIDL_ProcFormatString.Format[182] );
2838 memid = *( MEMBERID __RPC_FAR * )_StubMsg.Buffer;
2839 _StubMsg.Buffer += sizeof(MEMBERID);
2841 cMaxNames = *( UINT __RPC_FAR * )_StubMsg.Buffer;
2842 _StubMsg.Buffer += sizeof(UINT);
2844 rgBstrNames = NdrAllocate(&_StubMsg,cMaxNames * 4);
2845 pcNames = &_M34;
2847 *_pdwStubPhase = STUB_CALL_SERVER;
2850 _RetVal = ITypeInfo_GetNames_Stub(
2851 (ITypeInfo *) ((CStdStubBuffer *)This)->pvServerObject,
2852 memid,
2853 rgBstrNames,
2854 cMaxNames,
2855 pcNames);
2857 *_pdwStubPhase = STUB_MARSHAL;
2859 _StubMsg.BufferLength = 12U + 7U + 7U;
2860 _StubMsg.MaxCount = cMaxNames;
2861 _StubMsg.Offset = 0;
2862 _StubMsg.ActualCount = pcNames ? *pcNames : 0;
2864 NdrComplexArrayBufferSize( (PMIDL_STUB_MESSAGE) &_StubMsg,
2865 (unsigned char __RPC_FAR *)rgBstrNames,
2866 (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[1690] );
2868 _StubMsg.BufferLength += 16;
2870 NdrStubGetBuffer(This, _pRpcChannelBuffer, &_StubMsg);
2871 _StubMsg.MaxCount = cMaxNames;
2872 _StubMsg.Offset = 0;
2873 _StubMsg.ActualCount = pcNames ? *pcNames : 0;
2875 NdrComplexArrayMarshall( (PMIDL_STUB_MESSAGE)& _StubMsg,
2876 (unsigned char __RPC_FAR *)rgBstrNames,
2877 (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[1690] );
2879 _StubMsg.Buffer = (unsigned char __RPC_FAR *)(((long)_StubMsg.Buffer + 3) & ~ 0x3);
2880 *( UINT __RPC_FAR * )_StubMsg.Buffer = *pcNames;
2881 _StubMsg.Buffer += sizeof(UINT);
2883 *( HRESULT __RPC_FAR * )_StubMsg.Buffer = _RetVal;
2884 _StubMsg.Buffer += sizeof(HRESULT);
2887 RpcFinally
2889 _StubMsg.MaxCount = cMaxNames;
2890 _StubMsg.Offset = 0;
2891 _StubMsg.ActualCount = pcNames ? *pcNames : 0;
2893 NdrPointerFree( &_StubMsg,
2894 (unsigned char __RPC_FAR *)rgBstrNames,
2895 &__MIDL_TypeFormatString.Format[1686] );
2898 RpcEndFinally
2899 _pRpcMessage->BufferLength =
2900 (unsigned int)((long)_StubMsg.Buffer - (long)_pRpcMessage->Buffer);
2905 HRESULT STDMETHODCALLTYPE ITypeInfo_GetRefTypeOfImplType_Proxy(
2906 ITypeInfo __RPC_FAR * This,
2907 /* [in] */ UINT index,
2908 /* [out] */ HREFTYPE __RPC_FAR *pRefType)
2911 HRESULT _RetVal;
2913 RPC_MESSAGE _RpcMessage;
2915 MIDL_STUB_MESSAGE _StubMsg;
2917 RpcTryExcept
2919 NdrProxyInitialize(
2920 ( void __RPC_FAR * )This,
2921 ( PRPC_MESSAGE )&_RpcMessage,
2922 ( PMIDL_STUB_MESSAGE )&_StubMsg,
2923 ( PMIDL_STUB_DESC )&Object_StubDesc,
2928 if(!pRefType)
2930 RpcRaiseException(RPC_X_NULL_REF_POINTER);
2932 RpcTryFinally
2935 _StubMsg.BufferLength = 4U;
2936 NdrProxyGetBuffer(This, &_StubMsg);
2937 *( UINT __RPC_FAR * )_StubMsg.Buffer = index;
2938 _StubMsg.Buffer += sizeof(UINT);
2940 NdrProxySendReceive(This, &_StubMsg);
2942 if ( (_RpcMessage.DataRepresentation & 0X0000FFFFUL) != NDR_LOCAL_DATA_REPRESENTATION )
2943 NdrConvert( (PMIDL_STUB_MESSAGE) &_StubMsg, (PFORMAT_STRING) &__MIDL_ProcFormatString.Format[196] );
2945 *pRefType = *( HREFTYPE __RPC_FAR * )_StubMsg.Buffer;
2946 _StubMsg.Buffer += sizeof(HREFTYPE);
2948 _RetVal = *( HRESULT __RPC_FAR * )_StubMsg.Buffer;
2949 _StubMsg.Buffer += sizeof(HRESULT);
2952 RpcFinally
2954 NdrProxyFreeBuffer(This, &_StubMsg);
2957 RpcEndFinally
2960 RpcExcept(_StubMsg.dwStubPhase != PROXY_SENDRECEIVE)
2962 NdrClearOutParameters(
2963 ( PMIDL_STUB_MESSAGE )&_StubMsg,
2964 ( PFORMAT_STRING )&__MIDL_TypeFormatString.Format[2],
2965 ( void __RPC_FAR * )pRefType);
2966 _RetVal = NdrProxyErrorHandler(RpcExceptionCode());
2968 RpcEndExcept
2969 return _RetVal;
2972 void __RPC_STUB ITypeInfo_GetRefTypeOfImplType_Stub(
2973 IRpcStubBuffer *This,
2974 IRpcChannelBuffer *_pRpcChannelBuffer,
2975 PRPC_MESSAGE _pRpcMessage,
2976 DWORD *_pdwStubPhase)
2978 HREFTYPE _M35;
2979 HRESULT _RetVal;
2980 MIDL_STUB_MESSAGE _StubMsg;
2981 UINT index;
2982 HREFTYPE __RPC_FAR *pRefType;
2984 NdrStubInitialize(
2985 _pRpcMessage,
2986 &_StubMsg,
2987 &Object_StubDesc,
2988 _pRpcChannelBuffer);
2989 pRefType = 0;
2990 RpcTryFinally
2992 if ( (_pRpcMessage->DataRepresentation & 0X0000FFFFUL) != NDR_LOCAL_DATA_REPRESENTATION )
2993 NdrConvert( (PMIDL_STUB_MESSAGE) &_StubMsg, (PFORMAT_STRING) &__MIDL_ProcFormatString.Format[196] );
2995 index = *( UINT __RPC_FAR * )_StubMsg.Buffer;
2996 _StubMsg.Buffer += sizeof(UINT);
2998 pRefType = &_M35;
3000 *_pdwStubPhase = STUB_CALL_SERVER;
3001 _RetVal = (((ITypeInfo*) ((CStdStubBuffer *)This)->pvServerObject)->lpVtbl) -> GetRefTypeOfImplType(
3002 (ITypeInfo *) ((CStdStubBuffer *)This)->pvServerObject,
3003 index,
3004 pRefType);
3006 *_pdwStubPhase = STUB_MARSHAL;
3008 _StubMsg.BufferLength = 4U + 4U;
3009 NdrStubGetBuffer(This, _pRpcChannelBuffer, &_StubMsg);
3010 *( HREFTYPE __RPC_FAR * )_StubMsg.Buffer = *pRefType;
3011 _StubMsg.Buffer += sizeof(HREFTYPE);
3013 *( HRESULT __RPC_FAR * )_StubMsg.Buffer = _RetVal;
3014 _StubMsg.Buffer += sizeof(HRESULT);
3017 RpcFinally
3020 RpcEndFinally
3021 _pRpcMessage->BufferLength =
3022 (unsigned int)((long)_StubMsg.Buffer - (long)_pRpcMessage->Buffer);
3027 HRESULT STDMETHODCALLTYPE ITypeInfo_GetImplTypeFlags_Proxy(
3028 ITypeInfo __RPC_FAR * This,
3029 /* [in] */ UINT index,
3030 /* [out] */ INT __RPC_FAR *pImplTypeFlags)
3033 HRESULT _RetVal;
3035 RPC_MESSAGE _RpcMessage;
3037 MIDL_STUB_MESSAGE _StubMsg;
3039 RpcTryExcept
3041 NdrProxyInitialize(
3042 ( void __RPC_FAR * )This,
3043 ( PRPC_MESSAGE )&_RpcMessage,
3044 ( PMIDL_STUB_MESSAGE )&_StubMsg,
3045 ( PMIDL_STUB_DESC )&Object_StubDesc,
3050 if(!pImplTypeFlags)
3052 RpcRaiseException(RPC_X_NULL_REF_POINTER);
3054 RpcTryFinally
3057 _StubMsg.BufferLength = 4U;
3058 NdrProxyGetBuffer(This, &_StubMsg);
3059 *( UINT __RPC_FAR * )_StubMsg.Buffer = index;
3060 _StubMsg.Buffer += sizeof(UINT);
3062 NdrProxySendReceive(This, &_StubMsg);
3064 if ( (_RpcMessage.DataRepresentation & 0X0000FFFFUL) != NDR_LOCAL_DATA_REPRESENTATION )
3065 NdrConvert( (PMIDL_STUB_MESSAGE) &_StubMsg, (PFORMAT_STRING) &__MIDL_ProcFormatString.Format[196] );
3067 *pImplTypeFlags = *( INT __RPC_FAR * )_StubMsg.Buffer;
3068 _StubMsg.Buffer += sizeof(INT);
3070 _RetVal = *( HRESULT __RPC_FAR * )_StubMsg.Buffer;
3071 _StubMsg.Buffer += sizeof(HRESULT);
3074 RpcFinally
3076 NdrProxyFreeBuffer(This, &_StubMsg);
3079 RpcEndFinally
3082 RpcExcept(_StubMsg.dwStubPhase != PROXY_SENDRECEIVE)
3084 NdrClearOutParameters(
3085 ( PMIDL_STUB_MESSAGE )&_StubMsg,
3086 ( PFORMAT_STRING )&__MIDL_TypeFormatString.Format[2],
3087 ( void __RPC_FAR * )pImplTypeFlags);
3088 _RetVal = NdrProxyErrorHandler(RpcExceptionCode());
3090 RpcEndExcept
3091 return _RetVal;
3094 void __RPC_STUB ITypeInfo_GetImplTypeFlags_Stub(
3095 IRpcStubBuffer *This,
3096 IRpcChannelBuffer *_pRpcChannelBuffer,
3097 PRPC_MESSAGE _pRpcMessage,
3098 DWORD *_pdwStubPhase)
3100 INT _M36;
3101 HRESULT _RetVal;
3102 MIDL_STUB_MESSAGE _StubMsg;
3103 UINT index;
3104 INT __RPC_FAR *pImplTypeFlags;
3106 NdrStubInitialize(
3107 _pRpcMessage,
3108 &_StubMsg,
3109 &Object_StubDesc,
3110 _pRpcChannelBuffer);
3111 pImplTypeFlags = 0;
3112 RpcTryFinally
3114 if ( (_pRpcMessage->DataRepresentation & 0X0000FFFFUL) != NDR_LOCAL_DATA_REPRESENTATION )
3115 NdrConvert( (PMIDL_STUB_MESSAGE) &_StubMsg, (PFORMAT_STRING) &__MIDL_ProcFormatString.Format[196] );
3117 index = *( UINT __RPC_FAR * )_StubMsg.Buffer;
3118 _StubMsg.Buffer += sizeof(UINT);
3120 pImplTypeFlags = &_M36;
3122 *_pdwStubPhase = STUB_CALL_SERVER;
3123 _RetVal = (((ITypeInfo*) ((CStdStubBuffer *)This)->pvServerObject)->lpVtbl) -> GetImplTypeFlags(
3124 (ITypeInfo *) ((CStdStubBuffer *)This)->pvServerObject,
3125 index,
3126 pImplTypeFlags);
3128 *_pdwStubPhase = STUB_MARSHAL;
3130 _StubMsg.BufferLength = 4U + 4U;
3131 NdrStubGetBuffer(This, _pRpcChannelBuffer, &_StubMsg);
3132 *( INT __RPC_FAR * )_StubMsg.Buffer = *pImplTypeFlags;
3133 _StubMsg.Buffer += sizeof(INT);
3135 *( HRESULT __RPC_FAR * )_StubMsg.Buffer = _RetVal;
3136 _StubMsg.Buffer += sizeof(HRESULT);
3139 RpcFinally
3142 RpcEndFinally
3143 _pRpcMessage->BufferLength =
3144 (unsigned int)((long)_StubMsg.Buffer - (long)_pRpcMessage->Buffer);
3149 /* [call_as] */ HRESULT STDMETHODCALLTYPE ITypeInfo_LocalGetIDsOfNames_Proxy(
3150 ITypeInfo __RPC_FAR * This)
3153 HRESULT _RetVal;
3155 RPC_MESSAGE _RpcMessage;
3157 MIDL_STUB_MESSAGE _StubMsg;
3159 RpcTryExcept
3161 NdrProxyInitialize(
3162 ( void __RPC_FAR * )This,
3163 ( PRPC_MESSAGE )&_RpcMessage,
3164 ( PMIDL_STUB_MESSAGE )&_StubMsg,
3165 ( PMIDL_STUB_DESC )&Object_StubDesc,
3166 10);
3170 RpcTryFinally
3173 _StubMsg.BufferLength = 0U;
3174 NdrProxyGetBuffer(This, &_StubMsg);
3175 NdrProxySendReceive(This, &_StubMsg);
3177 if ( (_RpcMessage.DataRepresentation & 0X0000FFFFUL) != NDR_LOCAL_DATA_REPRESENTATION )
3178 NdrConvert( (PMIDL_STUB_MESSAGE) &_StubMsg, (PFORMAT_STRING) &__MIDL_ProcFormatString.Format[88] );
3180 _RetVal = *( HRESULT __RPC_FAR * )_StubMsg.Buffer;
3181 _StubMsg.Buffer += sizeof(HRESULT);
3184 RpcFinally
3186 NdrProxyFreeBuffer(This, &_StubMsg);
3189 RpcEndFinally
3192 RpcExcept(_StubMsg.dwStubPhase != PROXY_SENDRECEIVE)
3194 _RetVal = NdrProxyErrorHandler(RpcExceptionCode());
3196 RpcEndExcept
3197 return _RetVal;
3200 void __RPC_STUB ITypeInfo_LocalGetIDsOfNames_Stub(
3201 IRpcStubBuffer *This,
3202 IRpcChannelBuffer *_pRpcChannelBuffer,
3203 PRPC_MESSAGE _pRpcMessage,
3204 DWORD *_pdwStubPhase)
3206 HRESULT _RetVal;
3207 MIDL_STUB_MESSAGE _StubMsg;
3209 NdrStubInitialize(
3210 _pRpcMessage,
3211 &_StubMsg,
3212 &Object_StubDesc,
3213 _pRpcChannelBuffer);
3214 RpcTryFinally
3217 *_pdwStubPhase = STUB_CALL_SERVER;
3220 _RetVal = ITypeInfo_GetIDsOfNames_Stub((ITypeInfo *) ((CStdStubBuffer *)This)->pvServerObject);
3222 *_pdwStubPhase = STUB_MARSHAL;
3224 _StubMsg.BufferLength = 4U;
3225 NdrStubGetBuffer(This, _pRpcChannelBuffer, &_StubMsg);
3226 *( HRESULT __RPC_FAR * )_StubMsg.Buffer = _RetVal;
3227 _StubMsg.Buffer += sizeof(HRESULT);
3230 RpcFinally
3233 RpcEndFinally
3234 _pRpcMessage->BufferLength =
3235 (unsigned int)((long)_StubMsg.Buffer - (long)_pRpcMessage->Buffer);
3240 /* [call_as] */ HRESULT STDMETHODCALLTYPE ITypeInfo_LocalInvoke_Proxy(
3241 ITypeInfo __RPC_FAR * This)
3244 HRESULT _RetVal;
3246 RPC_MESSAGE _RpcMessage;
3248 MIDL_STUB_MESSAGE _StubMsg;
3250 RpcTryExcept
3252 NdrProxyInitialize(
3253 ( void __RPC_FAR * )This,
3254 ( PRPC_MESSAGE )&_RpcMessage,
3255 ( PMIDL_STUB_MESSAGE )&_StubMsg,
3256 ( PMIDL_STUB_DESC )&Object_StubDesc,
3257 11);
3261 RpcTryFinally
3264 _StubMsg.BufferLength = 0U;
3265 NdrProxyGetBuffer(This, &_StubMsg);
3266 NdrProxySendReceive(This, &_StubMsg);
3268 if ( (_RpcMessage.DataRepresentation & 0X0000FFFFUL) != NDR_LOCAL_DATA_REPRESENTATION )
3269 NdrConvert( (PMIDL_STUB_MESSAGE) &_StubMsg, (PFORMAT_STRING) &__MIDL_ProcFormatString.Format[88] );
3271 _RetVal = *( HRESULT __RPC_FAR * )_StubMsg.Buffer;
3272 _StubMsg.Buffer += sizeof(HRESULT);
3275 RpcFinally
3277 NdrProxyFreeBuffer(This, &_StubMsg);
3280 RpcEndFinally
3283 RpcExcept(_StubMsg.dwStubPhase != PROXY_SENDRECEIVE)
3285 _RetVal = NdrProxyErrorHandler(RpcExceptionCode());
3287 RpcEndExcept
3288 return _RetVal;
3291 void __RPC_STUB ITypeInfo_LocalInvoke_Stub(
3292 IRpcStubBuffer *This,
3293 IRpcChannelBuffer *_pRpcChannelBuffer,
3294 PRPC_MESSAGE _pRpcMessage,
3295 DWORD *_pdwStubPhase)
3297 HRESULT _RetVal;
3298 MIDL_STUB_MESSAGE _StubMsg;
3300 NdrStubInitialize(
3301 _pRpcMessage,
3302 &_StubMsg,
3303 &Object_StubDesc,
3304 _pRpcChannelBuffer);
3305 RpcTryFinally
3308 *_pdwStubPhase = STUB_CALL_SERVER;
3311 _RetVal = ITypeInfo_Invoke_Stub((ITypeInfo *) ((CStdStubBuffer *)This)->pvServerObject);
3313 *_pdwStubPhase = STUB_MARSHAL;
3315 _StubMsg.BufferLength = 4U;
3316 NdrStubGetBuffer(This, _pRpcChannelBuffer, &_StubMsg);
3317 *( HRESULT __RPC_FAR * )_StubMsg.Buffer = _RetVal;
3318 _StubMsg.Buffer += sizeof(HRESULT);
3321 RpcFinally
3324 RpcEndFinally
3325 _pRpcMessage->BufferLength =
3326 (unsigned int)((long)_StubMsg.Buffer - (long)_pRpcMessage->Buffer);
3331 /* [call_as] */ HRESULT STDMETHODCALLTYPE ITypeInfo_RemoteGetDocumentation_Proxy(
3332 ITypeInfo __RPC_FAR * This,
3333 /* [in] */ MEMBERID memid,
3334 /* [in] */ DWORD refPtrFlags,
3335 /* [out] */ BSTR __RPC_FAR *pBstrName,
3336 /* [out] */ BSTR __RPC_FAR *pBstrDocString,
3337 /* [out] */ DWORD __RPC_FAR *pdwHelpContext,
3338 /* [out] */ BSTR __RPC_FAR *pBstrHelpFile)
3341 HRESULT _RetVal;
3343 RPC_MESSAGE _RpcMessage;
3345 MIDL_STUB_MESSAGE _StubMsg;
3347 if(pBstrName)
3349 MIDL_memset(
3350 pBstrName,
3352 sizeof( BSTR ));
3354 if(pBstrDocString)
3356 MIDL_memset(
3357 pBstrDocString,
3359 sizeof( BSTR ));
3361 if(pBstrHelpFile)
3363 MIDL_memset(
3364 pBstrHelpFile,
3366 sizeof( BSTR ));
3368 RpcTryExcept
3370 NdrProxyInitialize(
3371 ( void __RPC_FAR * )This,
3372 ( PRPC_MESSAGE )&_RpcMessage,
3373 ( PMIDL_STUB_MESSAGE )&_StubMsg,
3374 ( PMIDL_STUB_DESC )&Object_StubDesc,
3375 12);
3379 if(!pBstrName)
3381 RpcRaiseException(RPC_X_NULL_REF_POINTER);
3383 if(!pBstrDocString)
3385 RpcRaiseException(RPC_X_NULL_REF_POINTER);
3387 if(!pdwHelpContext)
3389 RpcRaiseException(RPC_X_NULL_REF_POINTER);
3391 if(!pBstrHelpFile)
3393 RpcRaiseException(RPC_X_NULL_REF_POINTER);
3395 RpcTryFinally
3398 _StubMsg.BufferLength = 4U + 4U;
3399 NdrProxyGetBuffer(This, &_StubMsg);
3400 *( MEMBERID __RPC_FAR * )_StubMsg.Buffer = memid;
3401 _StubMsg.Buffer += sizeof(MEMBERID);
3403 *( DWORD __RPC_FAR * )_StubMsg.Buffer = refPtrFlags;
3404 _StubMsg.Buffer += sizeof(DWORD);
3406 NdrProxySendReceive(This, &_StubMsg);
3408 if ( (_RpcMessage.DataRepresentation & 0X0000FFFFUL) != NDR_LOCAL_DATA_REPRESENTATION )
3409 NdrConvert( (PMIDL_STUB_MESSAGE) &_StubMsg, (PFORMAT_STRING) &__MIDL_ProcFormatString.Format[204] );
3411 NdrUserMarshalUnmarshall( (PMIDL_STUB_MESSAGE) &_StubMsg,
3412 (unsigned char __RPC_FAR * __RPC_FAR *)&pBstrName,
3413 (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[1128],
3414 (unsigned char)0 );
3416 NdrUserMarshalUnmarshall( (PMIDL_STUB_MESSAGE) &_StubMsg,
3417 (unsigned char __RPC_FAR * __RPC_FAR *)&pBstrDocString,
3418 (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[1128],
3419 (unsigned char)0 );
3421 _StubMsg.Buffer = (unsigned char __RPC_FAR *)(((long)_StubMsg.Buffer + 3) & ~ 0x3);
3422 *pdwHelpContext = *( DWORD __RPC_FAR * )_StubMsg.Buffer;
3423 _StubMsg.Buffer += sizeof(DWORD);
3425 NdrUserMarshalUnmarshall( (PMIDL_STUB_MESSAGE) &_StubMsg,
3426 (unsigned char __RPC_FAR * __RPC_FAR *)&pBstrHelpFile,
3427 (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[1128],
3428 (unsigned char)0 );
3430 _StubMsg.Buffer = (unsigned char __RPC_FAR *)(((long)_StubMsg.Buffer + 3) & ~ 0x3);
3431 _RetVal = *( HRESULT __RPC_FAR * )_StubMsg.Buffer;
3432 _StubMsg.Buffer += sizeof(HRESULT);
3435 RpcFinally
3437 NdrProxyFreeBuffer(This, &_StubMsg);
3440 RpcEndFinally
3443 RpcExcept(_StubMsg.dwStubPhase != PROXY_SENDRECEIVE)
3445 NdrClearOutParameters(
3446 ( PMIDL_STUB_MESSAGE )&_StubMsg,
3447 ( PFORMAT_STRING )&__MIDL_TypeFormatString.Format[1708],
3448 ( void __RPC_FAR * )pBstrName);
3449 NdrClearOutParameters(
3450 ( PMIDL_STUB_MESSAGE )&_StubMsg,
3451 ( PFORMAT_STRING )&__MIDL_TypeFormatString.Format[1708],
3452 ( void __RPC_FAR * )pBstrDocString);
3453 NdrClearOutParameters(
3454 ( PMIDL_STUB_MESSAGE )&_StubMsg,
3455 ( PFORMAT_STRING )&__MIDL_TypeFormatString.Format[2],
3456 ( void __RPC_FAR * )pdwHelpContext);
3457 NdrClearOutParameters(
3458 ( PMIDL_STUB_MESSAGE )&_StubMsg,
3459 ( PFORMAT_STRING )&__MIDL_TypeFormatString.Format[1708],
3460 ( void __RPC_FAR * )pBstrHelpFile);
3461 _RetVal = NdrProxyErrorHandler(RpcExceptionCode());
3463 RpcEndExcept
3464 return _RetVal;
3467 void __RPC_STUB ITypeInfo_RemoteGetDocumentation_Stub(
3468 IRpcStubBuffer *This,
3469 IRpcChannelBuffer *_pRpcChannelBuffer,
3470 PRPC_MESSAGE _pRpcMessage,
3471 DWORD *_pdwStubPhase)
3473 BSTR _M37;
3474 BSTR _M38;
3475 DWORD _M39;
3476 BSTR _M40;
3477 HRESULT _RetVal;
3478 MIDL_STUB_MESSAGE _StubMsg;
3479 MEMBERID memid;
3480 BSTR __RPC_FAR *pBstrDocString;
3481 BSTR __RPC_FAR *pBstrHelpFile;
3482 BSTR __RPC_FAR *pBstrName;
3483 DWORD __RPC_FAR *pdwHelpContext;
3484 DWORD refPtrFlags;
3486 NdrStubInitialize(
3487 _pRpcMessage,
3488 &_StubMsg,
3489 &Object_StubDesc,
3490 _pRpcChannelBuffer);
3491 pBstrName = 0;
3492 pBstrDocString = 0;
3493 pdwHelpContext = 0;
3494 pBstrHelpFile = 0;
3495 RpcTryFinally
3497 if ( (_pRpcMessage->DataRepresentation & 0X0000FFFFUL) != NDR_LOCAL_DATA_REPRESENTATION )
3498 NdrConvert( (PMIDL_STUB_MESSAGE) &_StubMsg, (PFORMAT_STRING) &__MIDL_ProcFormatString.Format[204] );
3500 memid = *( MEMBERID __RPC_FAR * )_StubMsg.Buffer;
3501 _StubMsg.Buffer += sizeof(MEMBERID);
3503 refPtrFlags = *( DWORD __RPC_FAR * )_StubMsg.Buffer;
3504 _StubMsg.Buffer += sizeof(DWORD);
3506 pBstrName = &_M37;
3507 MIDL_memset(
3508 pBstrName,
3510 sizeof( BSTR ));
3511 pBstrDocString = &_M38;
3512 MIDL_memset(
3513 pBstrDocString,
3515 sizeof( BSTR ));
3516 pdwHelpContext = &_M39;
3517 pBstrHelpFile = &_M40;
3518 MIDL_memset(
3519 pBstrHelpFile,
3521 sizeof( BSTR ));
3523 *_pdwStubPhase = STUB_CALL_SERVER;
3526 _RetVal = ITypeInfo_GetDocumentation_Stub(
3527 (ITypeInfo *) ((CStdStubBuffer *)This)->pvServerObject,
3528 memid,
3529 refPtrFlags,
3530 pBstrName,
3531 pBstrDocString,
3532 pdwHelpContext,
3533 pBstrHelpFile);
3535 *_pdwStubPhase = STUB_MARSHAL;
3537 _StubMsg.BufferLength = 8U + 15U + 11U + 11U + 11U;
3538 NdrUserMarshalBufferSize( (PMIDL_STUB_MESSAGE) &_StubMsg,
3539 (unsigned char __RPC_FAR *)pBstrName,
3540 (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[1128] );
3542 NdrUserMarshalBufferSize( (PMIDL_STUB_MESSAGE) &_StubMsg,
3543 (unsigned char __RPC_FAR *)pBstrDocString,
3544 (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[1128] );
3546 NdrUserMarshalBufferSize( (PMIDL_STUB_MESSAGE) &_StubMsg,
3547 (unsigned char __RPC_FAR *)pBstrHelpFile,
3548 (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[1128] );
3550 _StubMsg.BufferLength += 16;
3552 NdrStubGetBuffer(This, _pRpcChannelBuffer, &_StubMsg);
3553 NdrUserMarshalMarshall( (PMIDL_STUB_MESSAGE)& _StubMsg,
3554 (unsigned char __RPC_FAR *)pBstrName,
3555 (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[1128] );
3557 NdrUserMarshalMarshall( (PMIDL_STUB_MESSAGE)& _StubMsg,
3558 (unsigned char __RPC_FAR *)pBstrDocString,
3559 (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[1128] );
3561 _StubMsg.Buffer = (unsigned char __RPC_FAR *)(((long)_StubMsg.Buffer + 3) & ~ 0x3);
3562 *( DWORD __RPC_FAR * )_StubMsg.Buffer = *pdwHelpContext;
3563 _StubMsg.Buffer += sizeof(DWORD);
3565 NdrUserMarshalMarshall( (PMIDL_STUB_MESSAGE)& _StubMsg,
3566 (unsigned char __RPC_FAR *)pBstrHelpFile,
3567 (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[1128] );
3569 _StubMsg.Buffer = (unsigned char __RPC_FAR *)(((long)_StubMsg.Buffer + 3) & ~ 0x3);
3570 *( HRESULT __RPC_FAR * )_StubMsg.Buffer = _RetVal;
3571 _StubMsg.Buffer += sizeof(HRESULT);
3574 RpcFinally
3576 NdrPointerFree( &_StubMsg,
3577 (unsigned char __RPC_FAR *)pBstrName,
3578 &__MIDL_TypeFormatString.Format[1708] );
3580 NdrPointerFree( &_StubMsg,
3581 (unsigned char __RPC_FAR *)pBstrDocString,
3582 &__MIDL_TypeFormatString.Format[1708] );
3584 NdrPointerFree( &_StubMsg,
3585 (unsigned char __RPC_FAR *)pBstrHelpFile,
3586 &__MIDL_TypeFormatString.Format[1708] );
3589 RpcEndFinally
3590 _pRpcMessage->BufferLength =
3591 (unsigned int)((long)_StubMsg.Buffer - (long)_pRpcMessage->Buffer);
3596 /* [call_as] */ HRESULT STDMETHODCALLTYPE ITypeInfo_RemoteGetDllEntry_Proxy(
3597 ITypeInfo __RPC_FAR * This,
3598 /* [in] */ MEMBERID memid,
3599 /* [in] */ INVOKEKIND invKind,
3600 /* [in] */ DWORD refPtrFlags,
3601 /* [out] */ BSTR __RPC_FAR *pBstrDllName,
3602 /* [out] */ BSTR __RPC_FAR *pBstrName,
3603 /* [out] */ WORD __RPC_FAR *pwOrdinal)
3606 HRESULT _RetVal;
3608 RPC_MESSAGE _RpcMessage;
3610 MIDL_STUB_MESSAGE _StubMsg;
3612 if(pBstrDllName)
3614 MIDL_memset(
3615 pBstrDllName,
3617 sizeof( BSTR ));
3619 if(pBstrName)
3621 MIDL_memset(
3622 pBstrName,
3624 sizeof( BSTR ));
3626 RpcTryExcept
3628 NdrProxyInitialize(
3629 ( void __RPC_FAR * )This,
3630 ( PRPC_MESSAGE )&_RpcMessage,
3631 ( PMIDL_STUB_MESSAGE )&_StubMsg,
3632 ( PMIDL_STUB_DESC )&Object_StubDesc,
3633 13);
3637 if(!pBstrDllName)
3639 RpcRaiseException(RPC_X_NULL_REF_POINTER);
3641 if(!pBstrName)
3643 RpcRaiseException(RPC_X_NULL_REF_POINTER);
3645 if(!pwOrdinal)
3647 RpcRaiseException(RPC_X_NULL_REF_POINTER);
3649 RpcTryFinally
3652 _StubMsg.BufferLength = 4U + 4U + 4U;
3653 NdrProxyGetBuffer(This, &_StubMsg);
3654 *( MEMBERID __RPC_FAR * )_StubMsg.Buffer = memid;
3655 _StubMsg.Buffer += sizeof(MEMBERID);
3657 NdrSimpleTypeMarshall(
3658 ( PMIDL_STUB_MESSAGE )&_StubMsg,
3659 ( unsigned char __RPC_FAR * )&invKind,
3660 14);
3661 *( DWORD __RPC_FAR * )_StubMsg.Buffer = refPtrFlags;
3662 _StubMsg.Buffer += sizeof(DWORD);
3664 NdrProxySendReceive(This, &_StubMsg);
3666 if ( (_RpcMessage.DataRepresentation & 0X0000FFFFUL) != NDR_LOCAL_DATA_REPRESENTATION )
3667 NdrConvert( (PMIDL_STUB_MESSAGE) &_StubMsg, (PFORMAT_STRING) &__MIDL_ProcFormatString.Format[226] );
3669 NdrUserMarshalUnmarshall( (PMIDL_STUB_MESSAGE) &_StubMsg,
3670 (unsigned char __RPC_FAR * __RPC_FAR *)&pBstrDllName,
3671 (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[1128],
3672 (unsigned char)0 );
3674 NdrUserMarshalUnmarshall( (PMIDL_STUB_MESSAGE) &_StubMsg,
3675 (unsigned char __RPC_FAR * __RPC_FAR *)&pBstrName,
3676 (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[1128],
3677 (unsigned char)0 );
3679 _StubMsg.Buffer = (unsigned char __RPC_FAR *)(((long)_StubMsg.Buffer + 1) & ~ 0x1);
3680 *pwOrdinal = *( WORD __RPC_FAR * )_StubMsg.Buffer;
3681 _StubMsg.Buffer += sizeof(WORD);
3683 _StubMsg.Buffer = (unsigned char __RPC_FAR *)(((long)_StubMsg.Buffer + 3) & ~ 0x3);
3684 _RetVal = *( HRESULT __RPC_FAR * )_StubMsg.Buffer;
3685 _StubMsg.Buffer += sizeof(HRESULT);
3688 RpcFinally
3690 NdrProxyFreeBuffer(This, &_StubMsg);
3693 RpcEndFinally
3696 RpcExcept(_StubMsg.dwStubPhase != PROXY_SENDRECEIVE)
3698 NdrClearOutParameters(
3699 ( PMIDL_STUB_MESSAGE )&_StubMsg,
3700 ( PFORMAT_STRING )&__MIDL_TypeFormatString.Format[1708],
3701 ( void __RPC_FAR * )pBstrDllName);
3702 NdrClearOutParameters(
3703 ( PMIDL_STUB_MESSAGE )&_StubMsg,
3704 ( PFORMAT_STRING )&__MIDL_TypeFormatString.Format[1708],
3705 ( void __RPC_FAR * )pBstrName);
3706 NdrClearOutParameters(
3707 ( PMIDL_STUB_MESSAGE )&_StubMsg,
3708 ( PFORMAT_STRING )&__MIDL_TypeFormatString.Format[1712],
3709 ( void __RPC_FAR * )pwOrdinal);
3710 _RetVal = NdrProxyErrorHandler(RpcExceptionCode());
3712 RpcEndExcept
3713 return _RetVal;
3716 void __RPC_STUB ITypeInfo_RemoteGetDllEntry_Stub(
3717 IRpcStubBuffer *This,
3718 IRpcChannelBuffer *_pRpcChannelBuffer,
3719 PRPC_MESSAGE _pRpcMessage,
3720 DWORD *_pdwStubPhase)
3722 BSTR _M41;
3723 BSTR _M42;
3724 WORD _M43;
3725 HRESULT _RetVal;
3726 MIDL_STUB_MESSAGE _StubMsg;
3727 INVOKEKIND invKind;
3728 MEMBERID memid;
3729 BSTR __RPC_FAR *pBstrDllName;
3730 BSTR __RPC_FAR *pBstrName;
3731 WORD __RPC_FAR *pwOrdinal;
3732 DWORD refPtrFlags;
3734 NdrStubInitialize(
3735 _pRpcMessage,
3736 &_StubMsg,
3737 &Object_StubDesc,
3738 _pRpcChannelBuffer);
3739 pBstrDllName = 0;
3740 pBstrName = 0;
3741 pwOrdinal = 0;
3742 RpcTryFinally
3744 if ( (_pRpcMessage->DataRepresentation & 0X0000FFFFUL) != NDR_LOCAL_DATA_REPRESENTATION )
3745 NdrConvert( (PMIDL_STUB_MESSAGE) &_StubMsg, (PFORMAT_STRING) &__MIDL_ProcFormatString.Format[226] );
3747 memid = *( MEMBERID __RPC_FAR * )_StubMsg.Buffer;
3748 _StubMsg.Buffer += sizeof(MEMBERID);
3750 NdrSimpleTypeUnmarshall(
3751 ( PMIDL_STUB_MESSAGE )&_StubMsg,
3752 ( unsigned char __RPC_FAR * )&invKind,
3753 14);
3754 refPtrFlags = *( DWORD __RPC_FAR * )_StubMsg.Buffer;
3755 _StubMsg.Buffer += sizeof(DWORD);
3757 pBstrDllName = &_M41;
3758 MIDL_memset(
3759 pBstrDllName,
3761 sizeof( BSTR ));
3762 pBstrName = &_M42;
3763 MIDL_memset(
3764 pBstrName,
3766 sizeof( BSTR ));
3767 pwOrdinal = &_M43;
3769 *_pdwStubPhase = STUB_CALL_SERVER;
3772 _RetVal = ITypeInfo_GetDllEntry_Stub(
3773 (ITypeInfo *) ((CStdStubBuffer *)This)->pvServerObject,
3774 memid,
3775 invKind,
3776 refPtrFlags,
3777 pBstrDllName,
3778 pBstrName,
3779 pwOrdinal);
3781 *_pdwStubPhase = STUB_MARSHAL;
3783 _StubMsg.BufferLength = 8U + 15U + 5U + 10U;
3784 NdrUserMarshalBufferSize( (PMIDL_STUB_MESSAGE) &_StubMsg,
3785 (unsigned char __RPC_FAR *)pBstrDllName,
3786 (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[1128] );
3788 NdrUserMarshalBufferSize( (PMIDL_STUB_MESSAGE) &_StubMsg,
3789 (unsigned char __RPC_FAR *)pBstrName,
3790 (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[1128] );
3792 _StubMsg.BufferLength += 16;
3794 NdrStubGetBuffer(This, _pRpcChannelBuffer, &_StubMsg);
3795 NdrUserMarshalMarshall( (PMIDL_STUB_MESSAGE)& _StubMsg,
3796 (unsigned char __RPC_FAR *)pBstrDllName,
3797 (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[1128] );
3799 NdrUserMarshalMarshall( (PMIDL_STUB_MESSAGE)& _StubMsg,
3800 (unsigned char __RPC_FAR *)pBstrName,
3801 (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[1128] );
3803 _StubMsg.Buffer = (unsigned char __RPC_FAR *)(((long)_StubMsg.Buffer + 1) & ~ 0x1);
3804 *( WORD __RPC_FAR * )_StubMsg.Buffer = *pwOrdinal;
3805 _StubMsg.Buffer += sizeof(WORD);
3807 _StubMsg.Buffer = (unsigned char __RPC_FAR *)(((long)_StubMsg.Buffer + 3) & ~ 0x3);
3808 *( HRESULT __RPC_FAR * )_StubMsg.Buffer = _RetVal;
3809 _StubMsg.Buffer += sizeof(HRESULT);
3812 RpcFinally
3814 NdrPointerFree( &_StubMsg,
3815 (unsigned char __RPC_FAR *)pBstrDllName,
3816 &__MIDL_TypeFormatString.Format[1708] );
3818 NdrPointerFree( &_StubMsg,
3819 (unsigned char __RPC_FAR *)pBstrName,
3820 &__MIDL_TypeFormatString.Format[1708] );
3823 RpcEndFinally
3824 _pRpcMessage->BufferLength =
3825 (unsigned int)((long)_StubMsg.Buffer - (long)_pRpcMessage->Buffer);
3830 HRESULT STDMETHODCALLTYPE ITypeInfo_GetRefTypeInfo_Proxy(
3831 ITypeInfo __RPC_FAR * This,
3832 /* [in] */ HREFTYPE hRefType,
3833 /* [out] */ ITypeInfo __RPC_FAR *__RPC_FAR *ppTInfo)
3836 HRESULT _RetVal;
3838 RPC_MESSAGE _RpcMessage;
3840 MIDL_STUB_MESSAGE _StubMsg;
3842 if(ppTInfo)
3844 MIDL_memset(
3845 ppTInfo,
3847 sizeof( ITypeInfo __RPC_FAR *__RPC_FAR * ));
3849 RpcTryExcept
3851 NdrProxyInitialize(
3852 ( void __RPC_FAR * )This,
3853 ( PRPC_MESSAGE )&_RpcMessage,
3854 ( PMIDL_STUB_MESSAGE )&_StubMsg,
3855 ( PMIDL_STUB_DESC )&Object_StubDesc,
3856 14);
3860 if(!ppTInfo)
3862 RpcRaiseException(RPC_X_NULL_REF_POINTER);
3864 RpcTryFinally
3867 _StubMsg.BufferLength = 4U;
3868 NdrProxyGetBuffer(This, &_StubMsg);
3869 *( HREFTYPE __RPC_FAR * )_StubMsg.Buffer = hRefType;
3870 _StubMsg.Buffer += sizeof(HREFTYPE);
3872 NdrProxySendReceive(This, &_StubMsg);
3874 if ( (_RpcMessage.DataRepresentation & 0X0000FFFFUL) != NDR_LOCAL_DATA_REPRESENTATION )
3875 NdrConvert( (PMIDL_STUB_MESSAGE) &_StubMsg, (PFORMAT_STRING) &__MIDL_ProcFormatString.Format[246] );
3877 NdrPointerUnmarshall( (PMIDL_STUB_MESSAGE) &_StubMsg,
3878 (unsigned char __RPC_FAR * __RPC_FAR *)&ppTInfo,
3879 (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[6],
3880 (unsigned char)0 );
3882 _StubMsg.Buffer = (unsigned char __RPC_FAR *)(((long)_StubMsg.Buffer + 3) & ~ 0x3);
3883 _RetVal = *( HRESULT __RPC_FAR * )_StubMsg.Buffer;
3884 _StubMsg.Buffer += sizeof(HRESULT);
3887 RpcFinally
3889 NdrProxyFreeBuffer(This, &_StubMsg);
3892 RpcEndFinally
3895 RpcExcept(_StubMsg.dwStubPhase != PROXY_SENDRECEIVE)
3897 NdrClearOutParameters(
3898 ( PMIDL_STUB_MESSAGE )&_StubMsg,
3899 ( PFORMAT_STRING )&__MIDL_TypeFormatString.Format[6],
3900 ( void __RPC_FAR * )ppTInfo);
3901 _RetVal = NdrProxyErrorHandler(RpcExceptionCode());
3903 RpcEndExcept
3904 return _RetVal;
3907 void __RPC_STUB ITypeInfo_GetRefTypeInfo_Stub(
3908 IRpcStubBuffer *This,
3909 IRpcChannelBuffer *_pRpcChannelBuffer,
3910 PRPC_MESSAGE _pRpcMessage,
3911 DWORD *_pdwStubPhase)
3913 ITypeInfo __RPC_FAR *_M44;
3914 HRESULT _RetVal;
3915 MIDL_STUB_MESSAGE _StubMsg;
3916 HREFTYPE hRefType;
3917 ITypeInfo __RPC_FAR *__RPC_FAR *ppTInfo;
3919 NdrStubInitialize(
3920 _pRpcMessage,
3921 &_StubMsg,
3922 &Object_StubDesc,
3923 _pRpcChannelBuffer);
3924 ppTInfo = 0;
3925 RpcTryFinally
3927 if ( (_pRpcMessage->DataRepresentation & 0X0000FFFFUL) != NDR_LOCAL_DATA_REPRESENTATION )
3928 NdrConvert( (PMIDL_STUB_MESSAGE) &_StubMsg, (PFORMAT_STRING) &__MIDL_ProcFormatString.Format[246] );
3930 hRefType = *( HREFTYPE __RPC_FAR * )_StubMsg.Buffer;
3931 _StubMsg.Buffer += sizeof(HREFTYPE);
3933 ppTInfo = &_M44;
3934 _M44 = 0;
3936 *_pdwStubPhase = STUB_CALL_SERVER;
3937 _RetVal = (((ITypeInfo*) ((CStdStubBuffer *)This)->pvServerObject)->lpVtbl) -> GetRefTypeInfo(
3938 (ITypeInfo *) ((CStdStubBuffer *)This)->pvServerObject,
3939 hRefType,
3940 ppTInfo);
3942 *_pdwStubPhase = STUB_MARSHAL;
3944 _StubMsg.BufferLength = 0U + 4U;
3945 NdrPointerBufferSize( (PMIDL_STUB_MESSAGE) &_StubMsg,
3946 (unsigned char __RPC_FAR *)ppTInfo,
3947 (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[6] );
3949 _StubMsg.BufferLength += 16;
3951 NdrStubGetBuffer(This, _pRpcChannelBuffer, &_StubMsg);
3952 NdrPointerMarshall( (PMIDL_STUB_MESSAGE)& _StubMsg,
3953 (unsigned char __RPC_FAR *)ppTInfo,
3954 (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[6] );
3956 _StubMsg.Buffer = (unsigned char __RPC_FAR *)(((long)_StubMsg.Buffer + 3) & ~ 0x3);
3957 *( HRESULT __RPC_FAR * )_StubMsg.Buffer = _RetVal;
3958 _StubMsg.Buffer += sizeof(HRESULT);
3961 RpcFinally
3963 NdrPointerFree( &_StubMsg,
3964 (unsigned char __RPC_FAR *)ppTInfo,
3965 &__MIDL_TypeFormatString.Format[6] );
3968 RpcEndFinally
3969 _pRpcMessage->BufferLength =
3970 (unsigned int)((long)_StubMsg.Buffer - (long)_pRpcMessage->Buffer);
3975 /* [call_as] */ HRESULT STDMETHODCALLTYPE ITypeInfo_LocalAddressOfMember_Proxy(
3976 ITypeInfo __RPC_FAR * This)
3979 HRESULT _RetVal;
3981 RPC_MESSAGE _RpcMessage;
3983 MIDL_STUB_MESSAGE _StubMsg;
3985 RpcTryExcept
3987 NdrProxyInitialize(
3988 ( void __RPC_FAR * )This,
3989 ( PRPC_MESSAGE )&_RpcMessage,
3990 ( PMIDL_STUB_MESSAGE )&_StubMsg,
3991 ( PMIDL_STUB_DESC )&Object_StubDesc,
3992 15);
3996 RpcTryFinally
3999 _StubMsg.BufferLength = 0U;
4000 NdrProxyGetBuffer(This, &_StubMsg);
4001 NdrProxySendReceive(This, &_StubMsg);
4003 if ( (_RpcMessage.DataRepresentation & 0X0000FFFFUL) != NDR_LOCAL_DATA_REPRESENTATION )
4004 NdrConvert( (PMIDL_STUB_MESSAGE) &_StubMsg, (PFORMAT_STRING) &__MIDL_ProcFormatString.Format[88] );
4006 _RetVal = *( HRESULT __RPC_FAR * )_StubMsg.Buffer;
4007 _StubMsg.Buffer += sizeof(HRESULT);
4010 RpcFinally
4012 NdrProxyFreeBuffer(This, &_StubMsg);
4015 RpcEndFinally
4018 RpcExcept(_StubMsg.dwStubPhase != PROXY_SENDRECEIVE)
4020 _RetVal = NdrProxyErrorHandler(RpcExceptionCode());
4022 RpcEndExcept
4023 return _RetVal;
4026 void __RPC_STUB ITypeInfo_LocalAddressOfMember_Stub(
4027 IRpcStubBuffer *This,
4028 IRpcChannelBuffer *_pRpcChannelBuffer,
4029 PRPC_MESSAGE _pRpcMessage,
4030 DWORD *_pdwStubPhase)
4032 HRESULT _RetVal;
4033 MIDL_STUB_MESSAGE _StubMsg;
4035 NdrStubInitialize(
4036 _pRpcMessage,
4037 &_StubMsg,
4038 &Object_StubDesc,
4039 _pRpcChannelBuffer);
4040 RpcTryFinally
4043 *_pdwStubPhase = STUB_CALL_SERVER;
4046 _RetVal = ITypeInfo_AddressOfMember_Stub((ITypeInfo *) ((CStdStubBuffer *)This)->pvServerObject);
4048 *_pdwStubPhase = STUB_MARSHAL;
4050 _StubMsg.BufferLength = 4U;
4051 NdrStubGetBuffer(This, _pRpcChannelBuffer, &_StubMsg);
4052 *( HRESULT __RPC_FAR * )_StubMsg.Buffer = _RetVal;
4053 _StubMsg.Buffer += sizeof(HRESULT);
4056 RpcFinally
4059 RpcEndFinally
4060 _pRpcMessage->BufferLength =
4061 (unsigned int)((long)_StubMsg.Buffer - (long)_pRpcMessage->Buffer);
4066 /* [call_as] */ HRESULT STDMETHODCALLTYPE ITypeInfo_RemoteCreateInstance_Proxy(
4067 ITypeInfo __RPC_FAR * This,
4068 /* [in] */ REFIID riid,
4069 /* [iid_is][out] */ IUnknown __RPC_FAR *__RPC_FAR *ppvObj)
4072 HRESULT _RetVal;
4074 RPC_MESSAGE _RpcMessage;
4076 MIDL_STUB_MESSAGE _StubMsg;
4078 if(ppvObj)
4080 MIDL_memset(
4081 ppvObj,
4083 sizeof( IUnknown __RPC_FAR *__RPC_FAR * ));
4085 RpcTryExcept
4087 NdrProxyInitialize(
4088 ( void __RPC_FAR * )This,
4089 ( PRPC_MESSAGE )&_RpcMessage,
4090 ( PMIDL_STUB_MESSAGE )&_StubMsg,
4091 ( PMIDL_STUB_DESC )&Object_StubDesc,
4092 16);
4096 if(!riid)
4098 RpcRaiseException(RPC_X_NULL_REF_POINTER);
4100 if(!ppvObj)
4102 RpcRaiseException(RPC_X_NULL_REF_POINTER);
4104 RpcTryFinally
4107 _StubMsg.BufferLength = 0U;
4108 NdrSimpleStructBufferSize( (PMIDL_STUB_MESSAGE) &_StubMsg,
4109 (unsigned char __RPC_FAR *)riid,
4110 (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[38] );
4112 NdrProxyGetBuffer(This, &_StubMsg);
4113 NdrSimpleStructMarshall( (PMIDL_STUB_MESSAGE)& _StubMsg,
4114 (unsigned char __RPC_FAR *)riid,
4115 (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[38] );
4117 NdrProxySendReceive(This, &_StubMsg);
4119 if ( (_RpcMessage.DataRepresentation & 0X0000FFFFUL) != NDR_LOCAL_DATA_REPRESENTATION )
4120 NdrConvert( (PMIDL_STUB_MESSAGE) &_StubMsg, (PFORMAT_STRING) &__MIDL_ProcFormatString.Format[254] );
4122 NdrPointerUnmarshall( (PMIDL_STUB_MESSAGE) &_StubMsg,
4123 (unsigned char __RPC_FAR * __RPC_FAR *)&ppvObj,
4124 (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[1716],
4125 (unsigned char)0 );
4127 _StubMsg.Buffer = (unsigned char __RPC_FAR *)(((long)_StubMsg.Buffer + 3) & ~ 0x3);
4128 _RetVal = *( HRESULT __RPC_FAR * )_StubMsg.Buffer;
4129 _StubMsg.Buffer += sizeof(HRESULT);
4132 RpcFinally
4134 NdrProxyFreeBuffer(This, &_StubMsg);
4137 RpcEndFinally
4140 RpcExcept(_StubMsg.dwStubPhase != PROXY_SENDRECEIVE)
4142 _StubMsg.MaxCount = (unsigned long) ( riid );
4144 NdrClearOutParameters(
4145 ( PMIDL_STUB_MESSAGE )&_StubMsg,
4146 ( PFORMAT_STRING )&__MIDL_TypeFormatString.Format[1716],
4147 ( void __RPC_FAR * )ppvObj);
4148 _RetVal = NdrProxyErrorHandler(RpcExceptionCode());
4150 RpcEndExcept
4151 return _RetVal;
4154 void __RPC_STUB ITypeInfo_RemoteCreateInstance_Stub(
4155 IRpcStubBuffer *This,
4156 IRpcChannelBuffer *_pRpcChannelBuffer,
4157 PRPC_MESSAGE _pRpcMessage,
4158 DWORD *_pdwStubPhase)
4160 IUnknown __RPC_FAR *__RPC_FAR *_M45;
4161 HRESULT _RetVal;
4162 MIDL_STUB_MESSAGE _StubMsg;
4163 IUnknown __RPC_FAR *__RPC_FAR *ppvObj;
4164 IID* riid = 0;
4166 NdrStubInitialize(
4167 _pRpcMessage,
4168 &_StubMsg,
4169 &Object_StubDesc,
4170 _pRpcChannelBuffer);
4171 ppvObj = 0;
4172 RpcTryFinally
4174 if ( (_pRpcMessage->DataRepresentation & 0X0000FFFFUL) != NDR_LOCAL_DATA_REPRESENTATION )
4175 NdrConvert( (PMIDL_STUB_MESSAGE) &_StubMsg, (PFORMAT_STRING) &__MIDL_ProcFormatString.Format[254] );
4177 NdrSimpleStructUnmarshall( (PMIDL_STUB_MESSAGE) &_StubMsg,
4178 (unsigned char __RPC_FAR * __RPC_FAR *)&riid,
4179 (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[38],
4180 (unsigned char)0 );
4182 ppvObj = (void *)&_M45;
4183 _M45 = 0;
4185 *_pdwStubPhase = STUB_CALL_SERVER;
4188 _RetVal = ITypeInfo_CreateInstance_Stub(
4189 (ITypeInfo *) ((CStdStubBuffer *)This)->pvServerObject,
4190 riid,
4191 ppvObj);
4193 *_pdwStubPhase = STUB_MARSHAL;
4195 _StubMsg.BufferLength = 0U + 4U;
4196 _StubMsg.MaxCount = (unsigned long) ( riid );
4198 NdrPointerBufferSize( (PMIDL_STUB_MESSAGE) &_StubMsg,
4199 (unsigned char __RPC_FAR *)ppvObj,
4200 (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[1716] );
4202 _StubMsg.BufferLength += 16;
4204 NdrStubGetBuffer(This, _pRpcChannelBuffer, &_StubMsg);
4205 _StubMsg.MaxCount = (unsigned long) ( riid );
4207 NdrPointerMarshall( (PMIDL_STUB_MESSAGE)& _StubMsg,
4208 (unsigned char __RPC_FAR *)ppvObj,
4209 (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[1716] );
4211 _StubMsg.Buffer = (unsigned char __RPC_FAR *)(((long)_StubMsg.Buffer + 3) & ~ 0x3);
4212 *( HRESULT __RPC_FAR * )_StubMsg.Buffer = _RetVal;
4213 _StubMsg.Buffer += sizeof(HRESULT);
4216 RpcFinally
4218 _StubMsg.MaxCount = (unsigned long) ( riid );
4220 NdrPointerFree( &_StubMsg,
4221 (unsigned char __RPC_FAR *)ppvObj,
4222 &__MIDL_TypeFormatString.Format[1716] );
4225 RpcEndFinally
4226 _pRpcMessage->BufferLength =
4227 (unsigned int)((long)_StubMsg.Buffer - (long)_pRpcMessage->Buffer);
4232 HRESULT STDMETHODCALLTYPE ITypeInfo_GetMops_Proxy(
4233 ITypeInfo __RPC_FAR * This,
4234 /* [in] */ MEMBERID memid,
4235 /* [out] */ BSTR __RPC_FAR *pBstrMops)
4238 HRESULT _RetVal;
4240 RPC_MESSAGE _RpcMessage;
4242 MIDL_STUB_MESSAGE _StubMsg;
4244 if(pBstrMops)
4246 MIDL_memset(
4247 pBstrMops,
4249 sizeof( BSTR ));
4251 RpcTryExcept
4253 NdrProxyInitialize(
4254 ( void __RPC_FAR * )This,
4255 ( PRPC_MESSAGE )&_RpcMessage,
4256 ( PMIDL_STUB_MESSAGE )&_StubMsg,
4257 ( PMIDL_STUB_DESC )&Object_StubDesc,
4258 17);
4262 if(!pBstrMops)
4264 RpcRaiseException(RPC_X_NULL_REF_POINTER);
4266 RpcTryFinally
4269 _StubMsg.BufferLength = 4U;
4270 NdrProxyGetBuffer(This, &_StubMsg);
4271 *( MEMBERID __RPC_FAR * )_StubMsg.Buffer = memid;
4272 _StubMsg.Buffer += sizeof(MEMBERID);
4274 NdrProxySendReceive(This, &_StubMsg);
4276 if ( (_RpcMessage.DataRepresentation & 0X0000FFFFUL) != NDR_LOCAL_DATA_REPRESENTATION )
4277 NdrConvert( (PMIDL_STUB_MESSAGE) &_StubMsg, (PFORMAT_STRING) &__MIDL_ProcFormatString.Format[264] );
4279 NdrUserMarshalUnmarshall( (PMIDL_STUB_MESSAGE) &_StubMsg,
4280 (unsigned char __RPC_FAR * __RPC_FAR *)&pBstrMops,
4281 (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[1128],
4282 (unsigned char)0 );
4284 _StubMsg.Buffer = (unsigned char __RPC_FAR *)(((long)_StubMsg.Buffer + 3) & ~ 0x3);
4285 _RetVal = *( HRESULT __RPC_FAR * )_StubMsg.Buffer;
4286 _StubMsg.Buffer += sizeof(HRESULT);
4289 RpcFinally
4291 NdrProxyFreeBuffer(This, &_StubMsg);
4294 RpcEndFinally
4297 RpcExcept(_StubMsg.dwStubPhase != PROXY_SENDRECEIVE)
4299 NdrClearOutParameters(
4300 ( PMIDL_STUB_MESSAGE )&_StubMsg,
4301 ( PFORMAT_STRING )&__MIDL_TypeFormatString.Format[1708],
4302 ( void __RPC_FAR * )pBstrMops);
4303 _RetVal = NdrProxyErrorHandler(RpcExceptionCode());
4305 RpcEndExcept
4306 return _RetVal;
4309 void __RPC_STUB ITypeInfo_GetMops_Stub(
4310 IRpcStubBuffer *This,
4311 IRpcChannelBuffer *_pRpcChannelBuffer,
4312 PRPC_MESSAGE _pRpcMessage,
4313 DWORD *_pdwStubPhase)
4315 BSTR _M46;
4316 HRESULT _RetVal;
4317 MIDL_STUB_MESSAGE _StubMsg;
4318 MEMBERID memid;
4319 BSTR __RPC_FAR *pBstrMops;
4321 NdrStubInitialize(
4322 _pRpcMessage,
4323 &_StubMsg,
4324 &Object_StubDesc,
4325 _pRpcChannelBuffer);
4326 pBstrMops = 0;
4327 RpcTryFinally
4329 if ( (_pRpcMessage->DataRepresentation & 0X0000FFFFUL) != NDR_LOCAL_DATA_REPRESENTATION )
4330 NdrConvert( (PMIDL_STUB_MESSAGE) &_StubMsg, (PFORMAT_STRING) &__MIDL_ProcFormatString.Format[264] );
4332 memid = *( MEMBERID __RPC_FAR * )_StubMsg.Buffer;
4333 _StubMsg.Buffer += sizeof(MEMBERID);
4335 pBstrMops = &_M46;
4336 MIDL_memset(
4337 pBstrMops,
4339 sizeof( BSTR ));
4341 *_pdwStubPhase = STUB_CALL_SERVER;
4342 _RetVal = (((ITypeInfo*) ((CStdStubBuffer *)This)->pvServerObject)->lpVtbl) -> GetMops(
4343 (ITypeInfo *) ((CStdStubBuffer *)This)->pvServerObject,
4344 memid,
4345 pBstrMops);
4347 *_pdwStubPhase = STUB_MARSHAL;
4349 _StubMsg.BufferLength = 8U + 11U;
4350 NdrUserMarshalBufferSize( (PMIDL_STUB_MESSAGE) &_StubMsg,
4351 (unsigned char __RPC_FAR *)pBstrMops,
4352 (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[1128] );
4354 _StubMsg.BufferLength += 16;
4356 NdrStubGetBuffer(This, _pRpcChannelBuffer, &_StubMsg);
4357 NdrUserMarshalMarshall( (PMIDL_STUB_MESSAGE)& _StubMsg,
4358 (unsigned char __RPC_FAR *)pBstrMops,
4359 (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[1128] );
4361 _StubMsg.Buffer = (unsigned char __RPC_FAR *)(((long)_StubMsg.Buffer + 3) & ~ 0x3);
4362 *( HRESULT __RPC_FAR * )_StubMsg.Buffer = _RetVal;
4363 _StubMsg.Buffer += sizeof(HRESULT);
4366 RpcFinally
4368 NdrPointerFree( &_StubMsg,
4369 (unsigned char __RPC_FAR *)pBstrMops,
4370 &__MIDL_TypeFormatString.Format[1708] );
4373 RpcEndFinally
4374 _pRpcMessage->BufferLength =
4375 (unsigned int)((long)_StubMsg.Buffer - (long)_pRpcMessage->Buffer);
4380 /* [call_as] */ HRESULT STDMETHODCALLTYPE ITypeInfo_RemoteGetContainingTypeLib_Proxy(
4381 ITypeInfo __RPC_FAR * This,
4382 /* [out] */ ITypeLib __RPC_FAR *__RPC_FAR *ppTLib,
4383 /* [out] */ UINT __RPC_FAR *pIndex)
4386 HRESULT _RetVal;
4388 RPC_MESSAGE _RpcMessage;
4390 MIDL_STUB_MESSAGE _StubMsg;
4392 if(ppTLib)
4394 MIDL_memset(
4395 ppTLib,
4397 sizeof( ITypeLib __RPC_FAR *__RPC_FAR * ));
4399 RpcTryExcept
4401 NdrProxyInitialize(
4402 ( void __RPC_FAR * )This,
4403 ( PRPC_MESSAGE )&_RpcMessage,
4404 ( PMIDL_STUB_MESSAGE )&_StubMsg,
4405 ( PMIDL_STUB_DESC )&Object_StubDesc,
4406 18);
4410 if(!ppTLib)
4412 RpcRaiseException(RPC_X_NULL_REF_POINTER);
4414 if(!pIndex)
4416 RpcRaiseException(RPC_X_NULL_REF_POINTER);
4418 RpcTryFinally
4421 _StubMsg.BufferLength = 0U;
4422 NdrProxyGetBuffer(This, &_StubMsg);
4423 NdrProxySendReceive(This, &_StubMsg);
4425 if ( (_RpcMessage.DataRepresentation & 0X0000FFFFUL) != NDR_LOCAL_DATA_REPRESENTATION )
4426 NdrConvert( (PMIDL_STUB_MESSAGE) &_StubMsg, (PFORMAT_STRING) &__MIDL_ProcFormatString.Format[272] );
4428 NdrPointerUnmarshall( (PMIDL_STUB_MESSAGE) &_StubMsg,
4429 (unsigned char __RPC_FAR * __RPC_FAR *)&ppTLib,
4430 (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[1726],
4431 (unsigned char)0 );
4433 _StubMsg.Buffer = (unsigned char __RPC_FAR *)(((long)_StubMsg.Buffer + 3) & ~ 0x3);
4434 *pIndex = *( UINT __RPC_FAR * )_StubMsg.Buffer;
4435 _StubMsg.Buffer += sizeof(UINT);
4437 _RetVal = *( HRESULT __RPC_FAR * )_StubMsg.Buffer;
4438 _StubMsg.Buffer += sizeof(HRESULT);
4441 RpcFinally
4443 NdrProxyFreeBuffer(This, &_StubMsg);
4446 RpcEndFinally
4449 RpcExcept(_StubMsg.dwStubPhase != PROXY_SENDRECEIVE)
4451 NdrClearOutParameters(
4452 ( PMIDL_STUB_MESSAGE )&_StubMsg,
4453 ( PFORMAT_STRING )&__MIDL_TypeFormatString.Format[1726],
4454 ( void __RPC_FAR * )ppTLib);
4455 NdrClearOutParameters(
4456 ( PMIDL_STUB_MESSAGE )&_StubMsg,
4457 ( PFORMAT_STRING )&__MIDL_TypeFormatString.Format[2],
4458 ( void __RPC_FAR * )pIndex);
4459 _RetVal = NdrProxyErrorHandler(RpcExceptionCode());
4461 RpcEndExcept
4462 return _RetVal;
4465 void __RPC_STUB ITypeInfo_RemoteGetContainingTypeLib_Stub(
4466 IRpcStubBuffer *This,
4467 IRpcChannelBuffer *_pRpcChannelBuffer,
4468 PRPC_MESSAGE _pRpcMessage,
4469 DWORD *_pdwStubPhase)
4471 ITypeLib __RPC_FAR *_M47;
4472 UINT _M48;
4473 HRESULT _RetVal;
4474 MIDL_STUB_MESSAGE _StubMsg;
4475 UINT __RPC_FAR *pIndex;
4476 ITypeLib __RPC_FAR *__RPC_FAR *ppTLib;
4478 NdrStubInitialize(
4479 _pRpcMessage,
4480 &_StubMsg,
4481 &Object_StubDesc,
4482 _pRpcChannelBuffer);
4483 ppTLib = 0;
4484 pIndex = 0;
4485 RpcTryFinally
4487 ppTLib = &_M47;
4488 _M47 = 0;
4489 pIndex = &_M48;
4491 *_pdwStubPhase = STUB_CALL_SERVER;
4494 _RetVal = ITypeInfo_GetContainingTypeLib_Stub(
4495 (ITypeInfo *) ((CStdStubBuffer *)This)->pvServerObject,
4496 ppTLib,
4497 pIndex);
4499 *_pdwStubPhase = STUB_MARSHAL;
4501 _StubMsg.BufferLength = 0U + 4U + 4U;
4502 NdrPointerBufferSize( (PMIDL_STUB_MESSAGE) &_StubMsg,
4503 (unsigned char __RPC_FAR *)ppTLib,
4504 (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[1726] );
4506 _StubMsg.BufferLength += 16;
4508 NdrStubGetBuffer(This, _pRpcChannelBuffer, &_StubMsg);
4509 NdrPointerMarshall( (PMIDL_STUB_MESSAGE)& _StubMsg,
4510 (unsigned char __RPC_FAR *)ppTLib,
4511 (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[1726] );
4513 _StubMsg.Buffer = (unsigned char __RPC_FAR *)(((long)_StubMsg.Buffer + 3) & ~ 0x3);
4514 *( UINT __RPC_FAR * )_StubMsg.Buffer = *pIndex;
4515 _StubMsg.Buffer += sizeof(UINT);
4517 *( HRESULT __RPC_FAR * )_StubMsg.Buffer = _RetVal;
4518 _StubMsg.Buffer += sizeof(HRESULT);
4521 RpcFinally
4523 NdrPointerFree( &_StubMsg,
4524 (unsigned char __RPC_FAR *)ppTLib,
4525 &__MIDL_TypeFormatString.Format[1726] );
4528 RpcEndFinally
4529 _pRpcMessage->BufferLength =
4530 (unsigned int)((long)_StubMsg.Buffer - (long)_pRpcMessage->Buffer);
4535 /* [call_as] */ HRESULT STDMETHODCALLTYPE ITypeInfo_LocalReleaseTypeAttr_Proxy(
4536 ITypeInfo __RPC_FAR * This)
4539 HRESULT _RetVal;
4541 RPC_MESSAGE _RpcMessage;
4543 MIDL_STUB_MESSAGE _StubMsg;
4545 RpcTryExcept
4547 NdrProxyInitialize(
4548 ( void __RPC_FAR * )This,
4549 ( PRPC_MESSAGE )&_RpcMessage,
4550 ( PMIDL_STUB_MESSAGE )&_StubMsg,
4551 ( PMIDL_STUB_DESC )&Object_StubDesc,
4552 19);
4556 RpcTryFinally
4559 _StubMsg.BufferLength = 0U;
4560 NdrProxyGetBuffer(This, &_StubMsg);
4561 NdrProxySendReceive(This, &_StubMsg);
4563 if ( (_RpcMessage.DataRepresentation & 0X0000FFFFUL) != NDR_LOCAL_DATA_REPRESENTATION )
4564 NdrConvert( (PMIDL_STUB_MESSAGE) &_StubMsg, (PFORMAT_STRING) &__MIDL_ProcFormatString.Format[88] );
4566 _RetVal = *( HRESULT __RPC_FAR * )_StubMsg.Buffer;
4567 _StubMsg.Buffer += sizeof(HRESULT);
4570 RpcFinally
4572 NdrProxyFreeBuffer(This, &_StubMsg);
4575 RpcEndFinally
4578 RpcExcept(_StubMsg.dwStubPhase != PROXY_SENDRECEIVE)
4580 _RetVal = NdrProxyErrorHandler(RpcExceptionCode());
4582 RpcEndExcept
4583 return _RetVal;
4586 void __RPC_STUB ITypeInfo_LocalReleaseTypeAttr_Stub(
4587 IRpcStubBuffer *This,
4588 IRpcChannelBuffer *_pRpcChannelBuffer,
4589 PRPC_MESSAGE _pRpcMessage,
4590 DWORD *_pdwStubPhase)
4592 HRESULT _RetVal;
4593 MIDL_STUB_MESSAGE _StubMsg;
4595 NdrStubInitialize(
4596 _pRpcMessage,
4597 &_StubMsg,
4598 &Object_StubDesc,
4599 _pRpcChannelBuffer);
4600 RpcTryFinally
4603 *_pdwStubPhase = STUB_CALL_SERVER;
4606 _RetVal = ITypeInfo_ReleaseTypeAttr_Stub((ITypeInfo *) ((CStdStubBuffer *)This)->pvServerObject);
4608 *_pdwStubPhase = STUB_MARSHAL;
4610 _StubMsg.BufferLength = 4U;
4611 NdrStubGetBuffer(This, _pRpcChannelBuffer, &_StubMsg);
4612 *( HRESULT __RPC_FAR * )_StubMsg.Buffer = _RetVal;
4613 _StubMsg.Buffer += sizeof(HRESULT);
4616 RpcFinally
4619 RpcEndFinally
4620 _pRpcMessage->BufferLength =
4621 (unsigned int)((long)_StubMsg.Buffer - (long)_pRpcMessage->Buffer);
4626 /* [call_as] */ HRESULT STDMETHODCALLTYPE ITypeInfo_LocalReleaseFuncDesc_Proxy(
4627 ITypeInfo __RPC_FAR * This)
4630 HRESULT _RetVal;
4632 RPC_MESSAGE _RpcMessage;
4634 MIDL_STUB_MESSAGE _StubMsg;
4636 RpcTryExcept
4638 NdrProxyInitialize(
4639 ( void __RPC_FAR * )This,
4640 ( PRPC_MESSAGE )&_RpcMessage,
4641 ( PMIDL_STUB_MESSAGE )&_StubMsg,
4642 ( PMIDL_STUB_DESC )&Object_StubDesc,
4643 20);
4647 RpcTryFinally
4650 _StubMsg.BufferLength = 0U;
4651 NdrProxyGetBuffer(This, &_StubMsg);
4652 NdrProxySendReceive(This, &_StubMsg);
4654 if ( (_RpcMessage.DataRepresentation & 0X0000FFFFUL) != NDR_LOCAL_DATA_REPRESENTATION )
4655 NdrConvert( (PMIDL_STUB_MESSAGE) &_StubMsg, (PFORMAT_STRING) &__MIDL_ProcFormatString.Format[88] );
4657 _RetVal = *( HRESULT __RPC_FAR * )_StubMsg.Buffer;
4658 _StubMsg.Buffer += sizeof(HRESULT);
4661 RpcFinally
4663 NdrProxyFreeBuffer(This, &_StubMsg);
4666 RpcEndFinally
4669 RpcExcept(_StubMsg.dwStubPhase != PROXY_SENDRECEIVE)
4671 _RetVal = NdrProxyErrorHandler(RpcExceptionCode());
4673 RpcEndExcept
4674 return _RetVal;
4677 void __RPC_STUB ITypeInfo_LocalReleaseFuncDesc_Stub(
4678 IRpcStubBuffer *This,
4679 IRpcChannelBuffer *_pRpcChannelBuffer,
4680 PRPC_MESSAGE _pRpcMessage,
4681 DWORD *_pdwStubPhase)
4683 HRESULT _RetVal;
4684 MIDL_STUB_MESSAGE _StubMsg;
4686 NdrStubInitialize(
4687 _pRpcMessage,
4688 &_StubMsg,
4689 &Object_StubDesc,
4690 _pRpcChannelBuffer);
4691 RpcTryFinally
4694 *_pdwStubPhase = STUB_CALL_SERVER;
4697 _RetVal = ITypeInfo_ReleaseFuncDesc_Stub((ITypeInfo *) ((CStdStubBuffer *)This)->pvServerObject);
4699 *_pdwStubPhase = STUB_MARSHAL;
4701 _StubMsg.BufferLength = 4U;
4702 NdrStubGetBuffer(This, _pRpcChannelBuffer, &_StubMsg);
4703 *( HRESULT __RPC_FAR * )_StubMsg.Buffer = _RetVal;
4704 _StubMsg.Buffer += sizeof(HRESULT);
4707 RpcFinally
4710 RpcEndFinally
4711 _pRpcMessage->BufferLength =
4712 (unsigned int)((long)_StubMsg.Buffer - (long)_pRpcMessage->Buffer);
4717 /* [call_as] */ HRESULT STDMETHODCALLTYPE ITypeInfo_LocalReleaseVarDesc_Proxy(
4718 ITypeInfo __RPC_FAR * This)
4721 HRESULT _RetVal;
4723 RPC_MESSAGE _RpcMessage;
4725 MIDL_STUB_MESSAGE _StubMsg;
4727 RpcTryExcept
4729 NdrProxyInitialize(
4730 ( void __RPC_FAR * )This,
4731 ( PRPC_MESSAGE )&_RpcMessage,
4732 ( PMIDL_STUB_MESSAGE )&_StubMsg,
4733 ( PMIDL_STUB_DESC )&Object_StubDesc,
4734 21);
4738 RpcTryFinally
4741 _StubMsg.BufferLength = 0U;
4742 NdrProxyGetBuffer(This, &_StubMsg);
4743 NdrProxySendReceive(This, &_StubMsg);
4745 if ( (_RpcMessage.DataRepresentation & 0X0000FFFFUL) != NDR_LOCAL_DATA_REPRESENTATION )
4746 NdrConvert( (PMIDL_STUB_MESSAGE) &_StubMsg, (PFORMAT_STRING) &__MIDL_ProcFormatString.Format[88] );
4748 _RetVal = *( HRESULT __RPC_FAR * )_StubMsg.Buffer;
4749 _StubMsg.Buffer += sizeof(HRESULT);
4752 RpcFinally
4754 NdrProxyFreeBuffer(This, &_StubMsg);
4757 RpcEndFinally
4760 RpcExcept(_StubMsg.dwStubPhase != PROXY_SENDRECEIVE)
4762 _RetVal = NdrProxyErrorHandler(RpcExceptionCode());
4764 RpcEndExcept
4765 return _RetVal;
4768 void __RPC_STUB ITypeInfo_LocalReleaseVarDesc_Stub(
4769 IRpcStubBuffer *This,
4770 IRpcChannelBuffer *_pRpcChannelBuffer,
4771 PRPC_MESSAGE _pRpcMessage,
4772 DWORD *_pdwStubPhase)
4774 HRESULT _RetVal;
4775 MIDL_STUB_MESSAGE _StubMsg;
4777 NdrStubInitialize(
4778 _pRpcMessage,
4779 &_StubMsg,
4780 &Object_StubDesc,
4781 _pRpcChannelBuffer);
4782 RpcTryFinally
4785 *_pdwStubPhase = STUB_CALL_SERVER;
4788 _RetVal = ITypeInfo_ReleaseVarDesc_Stub((ITypeInfo *) ((CStdStubBuffer *)This)->pvServerObject);
4790 *_pdwStubPhase = STUB_MARSHAL;
4792 _StubMsg.BufferLength = 4U;
4793 NdrStubGetBuffer(This, _pRpcChannelBuffer, &_StubMsg);
4794 *( HRESULT __RPC_FAR * )_StubMsg.Buffer = _RetVal;
4795 _StubMsg.Buffer += sizeof(HRESULT);
4798 RpcFinally
4801 RpcEndFinally
4802 _pRpcMessage->BufferLength =
4803 (unsigned int)((long)_StubMsg.Buffer - (long)_pRpcMessage->Buffer);
4807 const CINTERFACE_PROXY_VTABLE(22) _ITypeInfoProxyVtbl =
4809 { &IID_ITypeInfo },
4811 IUnknown_QueryInterface_Proxy,
4812 IUnknown_AddRef_Proxy,
4813 IUnknown_Release_Proxy ,
4814 ITypeInfo_GetTypeAttr_Proxy ,
4815 ITypeInfo_GetTypeComp_Proxy ,
4816 ITypeInfo_GetFuncDesc_Proxy ,
4817 ITypeInfo_GetVarDesc_Proxy ,
4818 ITypeInfo_GetNames_Proxy ,
4819 ITypeInfo_GetRefTypeOfImplType_Proxy ,
4820 ITypeInfo_GetImplTypeFlags_Proxy ,
4821 ITypeInfo_GetIDsOfNames_Proxy ,
4822 ITypeInfo_Invoke_Proxy ,
4823 ITypeInfo_GetDocumentation_Proxy ,
4824 ITypeInfo_GetDllEntry_Proxy ,
4825 ITypeInfo_GetRefTypeInfo_Proxy ,
4826 ITypeInfo_AddressOfMember_Proxy ,
4827 ITypeInfo_CreateInstance_Proxy ,
4828 ITypeInfo_GetMops_Proxy ,
4829 ITypeInfo_GetContainingTypeLib_Proxy ,
4830 ITypeInfo_ReleaseTypeAttr_Proxy ,
4831 ITypeInfo_ReleaseFuncDesc_Proxy ,
4832 ITypeInfo_ReleaseVarDesc_Proxy
4837 static const PRPC_STUB_FUNCTION ITypeInfo_table[] =
4839 ITypeInfo_RemoteGetTypeAttr_Stub,
4840 ITypeInfo_GetTypeComp_Stub,
4841 ITypeInfo_RemoteGetFuncDesc_Stub,
4842 ITypeInfo_RemoteGetVarDesc_Stub,
4843 ITypeInfo_RemoteGetNames_Stub,
4844 ITypeInfo_GetRefTypeOfImplType_Stub,
4845 ITypeInfo_GetImplTypeFlags_Stub,
4846 ITypeInfo_LocalGetIDsOfNames_Stub,
4847 ITypeInfo_LocalInvoke_Stub,
4848 ITypeInfo_RemoteGetDocumentation_Stub,
4849 ITypeInfo_RemoteGetDllEntry_Stub,
4850 ITypeInfo_GetRefTypeInfo_Stub,
4851 ITypeInfo_LocalAddressOfMember_Stub,
4852 ITypeInfo_RemoteCreateInstance_Stub,
4853 ITypeInfo_GetMops_Stub,
4854 ITypeInfo_RemoteGetContainingTypeLib_Stub,
4855 ITypeInfo_LocalReleaseTypeAttr_Stub,
4856 ITypeInfo_LocalReleaseFuncDesc_Stub,
4857 ITypeInfo_LocalReleaseVarDesc_Stub
4860 const CInterfaceStubVtbl _ITypeInfoStubVtbl =
4863 &IID_ITypeInfo,
4866 &ITypeInfo_table[-3]
4868 { CStdStubBuffer_METHODS }
4872 /* Object interface: ITypeInfo2, ver. 0.0,
4873 GUID={0x00020412,0x0000,0x0000,{0xC0,0x00,0x00,0x00,0x00,0x00,0x00,0x46}} */
4876 extern const MIDL_STUB_DESC Object_StubDesc;
4879 HRESULT STDMETHODCALLTYPE ITypeInfo2_GetTypeKind_Proxy(
4880 ITypeInfo2 __RPC_FAR * This,
4881 /* [out] */ TYPEKIND __RPC_FAR *pTypeKind)
4884 HRESULT _RetVal;
4886 RPC_MESSAGE _RpcMessage;
4888 MIDL_STUB_MESSAGE _StubMsg;
4890 RpcTryExcept
4892 NdrProxyInitialize(
4893 ( void __RPC_FAR * )This,
4894 ( PRPC_MESSAGE )&_RpcMessage,
4895 ( PMIDL_STUB_MESSAGE )&_StubMsg,
4896 ( PMIDL_STUB_DESC )&Object_StubDesc,
4897 22);
4901 if(!pTypeKind)
4903 RpcRaiseException(RPC_X_NULL_REF_POINTER);
4905 RpcTryFinally
4908 _StubMsg.BufferLength = 0U;
4909 NdrProxyGetBuffer(This, &_StubMsg);
4910 NdrProxySendReceive(This, &_StubMsg);
4912 if ( (_RpcMessage.DataRepresentation & 0X0000FFFFUL) != NDR_LOCAL_DATA_REPRESENTATION )
4913 NdrConvert( (PMIDL_STUB_MESSAGE) &_StubMsg, (PFORMAT_STRING) &__MIDL_ProcFormatString.Format[282] );
4915 NdrPointerUnmarshall( (PMIDL_STUB_MESSAGE) &_StubMsg,
4916 (unsigned char __RPC_FAR * __RPC_FAR *)&pTypeKind,
4917 (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[1250],
4918 (unsigned char)0 );
4920 _RetVal = *( HRESULT __RPC_FAR * )_StubMsg.Buffer;
4921 _StubMsg.Buffer += sizeof(HRESULT);
4924 RpcFinally
4926 NdrProxyFreeBuffer(This, &_StubMsg);
4929 RpcEndFinally
4932 RpcExcept(_StubMsg.dwStubPhase != PROXY_SENDRECEIVE)
4934 NdrClearOutParameters(
4935 ( PMIDL_STUB_MESSAGE )&_StubMsg,
4936 ( PFORMAT_STRING )&__MIDL_TypeFormatString.Format[1250],
4937 ( void __RPC_FAR * )pTypeKind);
4938 _RetVal = NdrProxyErrorHandler(RpcExceptionCode());
4940 RpcEndExcept
4941 return _RetVal;
4944 void __RPC_STUB ITypeInfo2_GetTypeKind_Stub(
4945 IRpcStubBuffer *This,
4946 IRpcChannelBuffer *_pRpcChannelBuffer,
4947 PRPC_MESSAGE _pRpcMessage,
4948 DWORD *_pdwStubPhase)
4950 TYPEKIND _M49;
4951 HRESULT _RetVal;
4952 MIDL_STUB_MESSAGE _StubMsg;
4953 TYPEKIND __RPC_FAR *pTypeKind;
4955 NdrStubInitialize(
4956 _pRpcMessage,
4957 &_StubMsg,
4958 &Object_StubDesc,
4959 _pRpcChannelBuffer);
4960 pTypeKind = 0;
4961 RpcTryFinally
4963 pTypeKind = &_M49;
4965 *_pdwStubPhase = STUB_CALL_SERVER;
4966 _RetVal = (((ITypeInfo2*) ((CStdStubBuffer *)This)->pvServerObject)->lpVtbl) -> GetTypeKind((ITypeInfo2 *) ((CStdStubBuffer *)This)->pvServerObject,pTypeKind);
4968 *_pdwStubPhase = STUB_MARSHAL;
4970 _StubMsg.BufferLength = 4U + 4U;
4971 NdrStubGetBuffer(This, _pRpcChannelBuffer, &_StubMsg);
4972 NdrPointerMarshall( (PMIDL_STUB_MESSAGE)& _StubMsg,
4973 (unsigned char __RPC_FAR *)pTypeKind,
4974 (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[1250] );
4976 *( HRESULT __RPC_FAR * )_StubMsg.Buffer = _RetVal;
4977 _StubMsg.Buffer += sizeof(HRESULT);
4980 RpcFinally
4983 RpcEndFinally
4984 _pRpcMessage->BufferLength =
4985 (unsigned int)((long)_StubMsg.Buffer - (long)_pRpcMessage->Buffer);
4990 HRESULT STDMETHODCALLTYPE ITypeInfo2_GetTypeFlags_Proxy(
4991 ITypeInfo2 __RPC_FAR * This,
4992 /* [out] */ ULONG __RPC_FAR *pTypeFlags)
4995 HRESULT _RetVal;
4997 RPC_MESSAGE _RpcMessage;
4999 MIDL_STUB_MESSAGE _StubMsg;
5001 RpcTryExcept
5003 NdrProxyInitialize(
5004 ( void __RPC_FAR * )This,
5005 ( PRPC_MESSAGE )&_RpcMessage,
5006 ( PMIDL_STUB_MESSAGE )&_StubMsg,
5007 ( PMIDL_STUB_DESC )&Object_StubDesc,
5008 23);
5012 if(!pTypeFlags)
5014 RpcRaiseException(RPC_X_NULL_REF_POINTER);
5016 RpcTryFinally
5019 _StubMsg.BufferLength = 0U;
5020 NdrProxyGetBuffer(This, &_StubMsg);
5021 NdrProxySendReceive(This, &_StubMsg);
5023 if ( (_RpcMessage.DataRepresentation & 0X0000FFFFUL) != NDR_LOCAL_DATA_REPRESENTATION )
5024 NdrConvert( (PMIDL_STUB_MESSAGE) &_StubMsg, (PFORMAT_STRING) &__MIDL_ProcFormatString.Format[0] );
5026 *pTypeFlags = *( ULONG __RPC_FAR * )_StubMsg.Buffer;
5027 _StubMsg.Buffer += sizeof(ULONG);
5029 _RetVal = *( HRESULT __RPC_FAR * )_StubMsg.Buffer;
5030 _StubMsg.Buffer += sizeof(HRESULT);
5033 RpcFinally
5035 NdrProxyFreeBuffer(This, &_StubMsg);
5038 RpcEndFinally
5041 RpcExcept(_StubMsg.dwStubPhase != PROXY_SENDRECEIVE)
5043 NdrClearOutParameters(
5044 ( PMIDL_STUB_MESSAGE )&_StubMsg,
5045 ( PFORMAT_STRING )&__MIDL_TypeFormatString.Format[2],
5046 ( void __RPC_FAR * )pTypeFlags);
5047 _RetVal = NdrProxyErrorHandler(RpcExceptionCode());
5049 RpcEndExcept
5050 return _RetVal;
5053 void __RPC_STUB ITypeInfo2_GetTypeFlags_Stub(
5054 IRpcStubBuffer *This,
5055 IRpcChannelBuffer *_pRpcChannelBuffer,
5056 PRPC_MESSAGE _pRpcMessage,
5057 DWORD *_pdwStubPhase)
5059 ULONG _M50;
5060 HRESULT _RetVal;
5061 MIDL_STUB_MESSAGE _StubMsg;
5062 ULONG __RPC_FAR *pTypeFlags;
5064 NdrStubInitialize(
5065 _pRpcMessage,
5066 &_StubMsg,
5067 &Object_StubDesc,
5068 _pRpcChannelBuffer);
5069 pTypeFlags = 0;
5070 RpcTryFinally
5072 pTypeFlags = &_M50;
5074 *_pdwStubPhase = STUB_CALL_SERVER;
5075 _RetVal = (((ITypeInfo2*) ((CStdStubBuffer *)This)->pvServerObject)->lpVtbl) -> GetTypeFlags((ITypeInfo2 *) ((CStdStubBuffer *)This)->pvServerObject,pTypeFlags);
5077 *_pdwStubPhase = STUB_MARSHAL;
5079 _StubMsg.BufferLength = 4U + 4U;
5080 NdrStubGetBuffer(This, _pRpcChannelBuffer, &_StubMsg);
5081 *( ULONG __RPC_FAR * )_StubMsg.Buffer = *pTypeFlags;
5082 _StubMsg.Buffer += sizeof(ULONG);
5084 *( HRESULT __RPC_FAR * )_StubMsg.Buffer = _RetVal;
5085 _StubMsg.Buffer += sizeof(HRESULT);
5088 RpcFinally
5091 RpcEndFinally
5092 _pRpcMessage->BufferLength =
5093 (unsigned int)((long)_StubMsg.Buffer - (long)_pRpcMessage->Buffer);
5098 HRESULT STDMETHODCALLTYPE ITypeInfo2_GetFuncIndexOfMemId_Proxy(
5099 ITypeInfo2 __RPC_FAR * This,
5100 /* [in] */ MEMBERID memid,
5101 /* [in] */ INVOKEKIND invKind,
5102 /* [out] */ UINT __RPC_FAR *pFuncIndex)
5105 HRESULT _RetVal;
5107 RPC_MESSAGE _RpcMessage;
5109 MIDL_STUB_MESSAGE _StubMsg;
5111 RpcTryExcept
5113 NdrProxyInitialize(
5114 ( void __RPC_FAR * )This,
5115 ( PRPC_MESSAGE )&_RpcMessage,
5116 ( PMIDL_STUB_MESSAGE )&_StubMsg,
5117 ( PMIDL_STUB_DESC )&Object_StubDesc,
5118 24);
5122 if(!pFuncIndex)
5124 RpcRaiseException(RPC_X_NULL_REF_POINTER);
5126 RpcTryFinally
5129 _StubMsg.BufferLength = 4U + 4U;
5130 NdrProxyGetBuffer(This, &_StubMsg);
5131 *( MEMBERID __RPC_FAR * )_StubMsg.Buffer = memid;
5132 _StubMsg.Buffer += sizeof(MEMBERID);
5134 NdrSimpleTypeMarshall(
5135 ( PMIDL_STUB_MESSAGE )&_StubMsg,
5136 ( unsigned char __RPC_FAR * )&invKind,
5137 14);
5138 NdrProxySendReceive(This, &_StubMsg);
5140 if ( (_RpcMessage.DataRepresentation & 0X0000FFFFUL) != NDR_LOCAL_DATA_REPRESENTATION )
5141 NdrConvert( (PMIDL_STUB_MESSAGE) &_StubMsg, (PFORMAT_STRING) &__MIDL_ProcFormatString.Format[288] );
5143 *pFuncIndex = *( UINT __RPC_FAR * )_StubMsg.Buffer;
5144 _StubMsg.Buffer += sizeof(UINT);
5146 _RetVal = *( HRESULT __RPC_FAR * )_StubMsg.Buffer;
5147 _StubMsg.Buffer += sizeof(HRESULT);
5150 RpcFinally
5152 NdrProxyFreeBuffer(This, &_StubMsg);
5155 RpcEndFinally
5158 RpcExcept(_StubMsg.dwStubPhase != PROXY_SENDRECEIVE)
5160 NdrClearOutParameters(
5161 ( PMIDL_STUB_MESSAGE )&_StubMsg,
5162 ( PFORMAT_STRING )&__MIDL_TypeFormatString.Format[2],
5163 ( void __RPC_FAR * )pFuncIndex);
5164 _RetVal = NdrProxyErrorHandler(RpcExceptionCode());
5166 RpcEndExcept
5167 return _RetVal;
5170 void __RPC_STUB ITypeInfo2_GetFuncIndexOfMemId_Stub(
5171 IRpcStubBuffer *This,
5172 IRpcChannelBuffer *_pRpcChannelBuffer,
5173 PRPC_MESSAGE _pRpcMessage,
5174 DWORD *_pdwStubPhase)
5176 UINT _M51;
5177 HRESULT _RetVal;
5178 MIDL_STUB_MESSAGE _StubMsg;
5179 INVOKEKIND invKind;
5180 MEMBERID memid;
5181 UINT __RPC_FAR *pFuncIndex;
5183 NdrStubInitialize(
5184 _pRpcMessage,
5185 &_StubMsg,
5186 &Object_StubDesc,
5187 _pRpcChannelBuffer);
5188 pFuncIndex = 0;
5189 RpcTryFinally
5191 if ( (_pRpcMessage->DataRepresentation & 0X0000FFFFUL) != NDR_LOCAL_DATA_REPRESENTATION )
5192 NdrConvert( (PMIDL_STUB_MESSAGE) &_StubMsg, (PFORMAT_STRING) &__MIDL_ProcFormatString.Format[288] );
5194 memid = *( MEMBERID __RPC_FAR * )_StubMsg.Buffer;
5195 _StubMsg.Buffer += sizeof(MEMBERID);
5197 NdrSimpleTypeUnmarshall(
5198 ( PMIDL_STUB_MESSAGE )&_StubMsg,
5199 ( unsigned char __RPC_FAR * )&invKind,
5200 14);
5201 pFuncIndex = &_M51;
5203 *_pdwStubPhase = STUB_CALL_SERVER;
5204 _RetVal = (((ITypeInfo2*) ((CStdStubBuffer *)This)->pvServerObject)->lpVtbl) -> GetFuncIndexOfMemId(
5205 (ITypeInfo2 *) ((CStdStubBuffer *)This)->pvServerObject,
5206 memid,
5207 invKind,
5208 pFuncIndex);
5210 *_pdwStubPhase = STUB_MARSHAL;
5212 _StubMsg.BufferLength = 4U + 4U;
5213 NdrStubGetBuffer(This, _pRpcChannelBuffer, &_StubMsg);
5214 *( UINT __RPC_FAR * )_StubMsg.Buffer = *pFuncIndex;
5215 _StubMsg.Buffer += sizeof(UINT);
5217 *( HRESULT __RPC_FAR * )_StubMsg.Buffer = _RetVal;
5218 _StubMsg.Buffer += sizeof(HRESULT);
5221 RpcFinally
5224 RpcEndFinally
5225 _pRpcMessage->BufferLength =
5226 (unsigned int)((long)_StubMsg.Buffer - (long)_pRpcMessage->Buffer);
5231 HRESULT STDMETHODCALLTYPE ITypeInfo2_GetVarIndexOfMemId_Proxy(
5232 ITypeInfo2 __RPC_FAR * This,
5233 /* [in] */ MEMBERID memid,
5234 /* [out] */ UINT __RPC_FAR *pVarIndex)
5237 HRESULT _RetVal;
5239 RPC_MESSAGE _RpcMessage;
5241 MIDL_STUB_MESSAGE _StubMsg;
5243 RpcTryExcept
5245 NdrProxyInitialize(
5246 ( void __RPC_FAR * )This,
5247 ( PRPC_MESSAGE )&_RpcMessage,
5248 ( PMIDL_STUB_MESSAGE )&_StubMsg,
5249 ( PMIDL_STUB_DESC )&Object_StubDesc,
5250 25);
5254 if(!pVarIndex)
5256 RpcRaiseException(RPC_X_NULL_REF_POINTER);
5258 RpcTryFinally
5261 _StubMsg.BufferLength = 4U;
5262 NdrProxyGetBuffer(This, &_StubMsg);
5263 *( MEMBERID __RPC_FAR * )_StubMsg.Buffer = memid;
5264 _StubMsg.Buffer += sizeof(MEMBERID);
5266 NdrProxySendReceive(This, &_StubMsg);
5268 if ( (_RpcMessage.DataRepresentation & 0X0000FFFFUL) != NDR_LOCAL_DATA_REPRESENTATION )
5269 NdrConvert( (PMIDL_STUB_MESSAGE) &_StubMsg, (PFORMAT_STRING) &__MIDL_ProcFormatString.Format[196] );
5271 *pVarIndex = *( UINT __RPC_FAR * )_StubMsg.Buffer;
5272 _StubMsg.Buffer += sizeof(UINT);
5274 _RetVal = *( HRESULT __RPC_FAR * )_StubMsg.Buffer;
5275 _StubMsg.Buffer += sizeof(HRESULT);
5278 RpcFinally
5280 NdrProxyFreeBuffer(This, &_StubMsg);
5283 RpcEndFinally
5286 RpcExcept(_StubMsg.dwStubPhase != PROXY_SENDRECEIVE)
5288 NdrClearOutParameters(
5289 ( PMIDL_STUB_MESSAGE )&_StubMsg,
5290 ( PFORMAT_STRING )&__MIDL_TypeFormatString.Format[2],
5291 ( void __RPC_FAR * )pVarIndex);
5292 _RetVal = NdrProxyErrorHandler(RpcExceptionCode());
5294 RpcEndExcept
5295 return _RetVal;
5298 void __RPC_STUB ITypeInfo2_GetVarIndexOfMemId_Stub(
5299 IRpcStubBuffer *This,
5300 IRpcChannelBuffer *_pRpcChannelBuffer,
5301 PRPC_MESSAGE _pRpcMessage,
5302 DWORD *_pdwStubPhase)
5304 UINT _M52;
5305 HRESULT _RetVal;
5306 MIDL_STUB_MESSAGE _StubMsg;
5307 MEMBERID memid;
5308 UINT __RPC_FAR *pVarIndex;
5310 NdrStubInitialize(
5311 _pRpcMessage,
5312 &_StubMsg,
5313 &Object_StubDesc,
5314 _pRpcChannelBuffer);
5315 pVarIndex = 0;
5316 RpcTryFinally
5318 if ( (_pRpcMessage->DataRepresentation & 0X0000FFFFUL) != NDR_LOCAL_DATA_REPRESENTATION )
5319 NdrConvert( (PMIDL_STUB_MESSAGE) &_StubMsg, (PFORMAT_STRING) &__MIDL_ProcFormatString.Format[196] );
5321 memid = *( MEMBERID __RPC_FAR * )_StubMsg.Buffer;
5322 _StubMsg.Buffer += sizeof(MEMBERID);
5324 pVarIndex = &_M52;
5326 *_pdwStubPhase = STUB_CALL_SERVER;
5327 _RetVal = (((ITypeInfo2*) ((CStdStubBuffer *)This)->pvServerObject)->lpVtbl) -> GetVarIndexOfMemId(
5328 (ITypeInfo2 *) ((CStdStubBuffer *)This)->pvServerObject,
5329 memid,
5330 pVarIndex);
5332 *_pdwStubPhase = STUB_MARSHAL;
5334 _StubMsg.BufferLength = 4U + 4U;
5335 NdrStubGetBuffer(This, _pRpcChannelBuffer, &_StubMsg);
5336 *( UINT __RPC_FAR * )_StubMsg.Buffer = *pVarIndex;
5337 _StubMsg.Buffer += sizeof(UINT);
5339 *( HRESULT __RPC_FAR * )_StubMsg.Buffer = _RetVal;
5340 _StubMsg.Buffer += sizeof(HRESULT);
5343 RpcFinally
5346 RpcEndFinally
5347 _pRpcMessage->BufferLength =
5348 (unsigned int)((long)_StubMsg.Buffer - (long)_pRpcMessage->Buffer);
5353 HRESULT STDMETHODCALLTYPE ITypeInfo2_GetCustData_Proxy(
5354 ITypeInfo2 __RPC_FAR * This,
5355 /* [in] */ REFGUID guid,
5356 /* [out] */ VARIANT __RPC_FAR *pVarVal)
5359 HRESULT _RetVal;
5361 RPC_MESSAGE _RpcMessage;
5363 MIDL_STUB_MESSAGE _StubMsg;
5365 if(pVarVal)
5367 MIDL_memset(
5368 pVarVal,
5370 sizeof( VARIANT ));
5372 RpcTryExcept
5374 NdrProxyInitialize(
5375 ( void __RPC_FAR * )This,
5376 ( PRPC_MESSAGE )&_RpcMessage,
5377 ( PMIDL_STUB_MESSAGE )&_StubMsg,
5378 ( PMIDL_STUB_DESC )&Object_StubDesc,
5379 26);
5383 if(!guid)
5385 RpcRaiseException(RPC_X_NULL_REF_POINTER);
5387 if(!pVarVal)
5389 RpcRaiseException(RPC_X_NULL_REF_POINTER);
5391 RpcTryFinally
5394 _StubMsg.BufferLength = 0U;
5395 NdrSimpleStructBufferSize( (PMIDL_STUB_MESSAGE) &_StubMsg,
5396 (unsigned char __RPC_FAR *)guid,
5397 (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[38] );
5399 NdrProxyGetBuffer(This, &_StubMsg);
5400 NdrSimpleStructMarshall( (PMIDL_STUB_MESSAGE)& _StubMsg,
5401 (unsigned char __RPC_FAR *)guid,
5402 (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[38] );
5404 NdrProxySendReceive(This, &_StubMsg);
5406 if ( (_RpcMessage.DataRepresentation & 0X0000FFFFUL) != NDR_LOCAL_DATA_REPRESENTATION )
5407 NdrConvert( (PMIDL_STUB_MESSAGE) &_StubMsg, (PFORMAT_STRING) &__MIDL_ProcFormatString.Format[298] );
5409 NdrUserMarshalUnmarshall( (PMIDL_STUB_MESSAGE) &_StubMsg,
5410 (unsigned char __RPC_FAR * __RPC_FAR *)&pVarVal,
5411 (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[1110],
5412 (unsigned char)0 );
5414 _StubMsg.Buffer = (unsigned char __RPC_FAR *)(((long)_StubMsg.Buffer + 3) & ~ 0x3);
5415 _RetVal = *( HRESULT __RPC_FAR * )_StubMsg.Buffer;
5416 _StubMsg.Buffer += sizeof(HRESULT);
5419 RpcFinally
5421 NdrProxyFreeBuffer(This, &_StubMsg);
5424 RpcEndFinally
5427 RpcExcept(_StubMsg.dwStubPhase != PROXY_SENDRECEIVE)
5429 NdrClearOutParameters(
5430 ( PMIDL_STUB_MESSAGE )&_StubMsg,
5431 ( PFORMAT_STRING )&__MIDL_TypeFormatString.Format[1102],
5432 ( void __RPC_FAR * )pVarVal);
5433 _RetVal = NdrProxyErrorHandler(RpcExceptionCode());
5435 RpcEndExcept
5436 return _RetVal;
5439 void __RPC_STUB ITypeInfo2_GetCustData_Stub(
5440 IRpcStubBuffer *This,
5441 IRpcChannelBuffer *_pRpcChannelBuffer,
5442 PRPC_MESSAGE _pRpcMessage,
5443 DWORD *_pdwStubPhase)
5445 VARIANT _M53;
5446 HRESULT _RetVal;
5447 MIDL_STUB_MESSAGE _StubMsg;
5448 REFGUID guid = 0;
5449 VARIANT __RPC_FAR *pVarVal;
5451 NdrStubInitialize(
5452 _pRpcMessage,
5453 &_StubMsg,
5454 &Object_StubDesc,
5455 _pRpcChannelBuffer);
5456 pVarVal = 0;
5457 RpcTryFinally
5459 if ( (_pRpcMessage->DataRepresentation & 0X0000FFFFUL) != NDR_LOCAL_DATA_REPRESENTATION )
5460 NdrConvert( (PMIDL_STUB_MESSAGE) &_StubMsg, (PFORMAT_STRING) &__MIDL_ProcFormatString.Format[298] );
5462 NdrSimpleStructUnmarshall( (PMIDL_STUB_MESSAGE) &_StubMsg,
5463 (unsigned char __RPC_FAR * __RPC_FAR *)&guid,
5464 (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[38],
5465 (unsigned char)0 );
5467 pVarVal = &_M53;
5468 MIDL_memset(
5469 pVarVal,
5471 sizeof( VARIANT ));
5473 *_pdwStubPhase = STUB_CALL_SERVER;
5474 _RetVal = (((ITypeInfo2*) ((CStdStubBuffer *)This)->pvServerObject)->lpVtbl) -> GetCustData(
5475 (ITypeInfo2 *) ((CStdStubBuffer *)This)->pvServerObject,
5476 guid,
5477 pVarVal);
5479 *_pdwStubPhase = STUB_MARSHAL;
5481 _StubMsg.BufferLength = 8U + 11U;
5482 NdrUserMarshalBufferSize( (PMIDL_STUB_MESSAGE) &_StubMsg,
5483 (unsigned char __RPC_FAR *)pVarVal,
5484 (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[1110] );
5486 _StubMsg.BufferLength += 16;
5488 NdrStubGetBuffer(This, _pRpcChannelBuffer, &_StubMsg);
5489 NdrUserMarshalMarshall( (PMIDL_STUB_MESSAGE)& _StubMsg,
5490 (unsigned char __RPC_FAR *)pVarVal,
5491 (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[1110] );
5493 _StubMsg.Buffer = (unsigned char __RPC_FAR *)(((long)_StubMsg.Buffer + 3) & ~ 0x3);
5494 *( HRESULT __RPC_FAR * )_StubMsg.Buffer = _RetVal;
5495 _StubMsg.Buffer += sizeof(HRESULT);
5498 RpcFinally
5500 NdrPointerFree( &_StubMsg,
5501 (unsigned char __RPC_FAR *)pVarVal,
5502 &__MIDL_TypeFormatString.Format[1102] );
5505 RpcEndFinally
5506 _pRpcMessage->BufferLength =
5507 (unsigned int)((long)_StubMsg.Buffer - (long)_pRpcMessage->Buffer);
5512 HRESULT STDMETHODCALLTYPE ITypeInfo2_GetFuncCustData_Proxy(
5513 ITypeInfo2 __RPC_FAR * This,
5514 /* [in] */ UINT index,
5515 /* [in] */ REFGUID guid,
5516 /* [out] */ VARIANT __RPC_FAR *pVarVal)
5519 HRESULT _RetVal;
5521 RPC_MESSAGE _RpcMessage;
5523 MIDL_STUB_MESSAGE _StubMsg;
5525 if(pVarVal)
5527 MIDL_memset(
5528 pVarVal,
5530 sizeof( VARIANT ));
5532 RpcTryExcept
5534 NdrProxyInitialize(
5535 ( void __RPC_FAR * )This,
5536 ( PRPC_MESSAGE )&_RpcMessage,
5537 ( PMIDL_STUB_MESSAGE )&_StubMsg,
5538 ( PMIDL_STUB_DESC )&Object_StubDesc,
5539 27);
5543 if(!guid)
5545 RpcRaiseException(RPC_X_NULL_REF_POINTER);
5547 if(!pVarVal)
5549 RpcRaiseException(RPC_X_NULL_REF_POINTER);
5551 RpcTryFinally
5554 _StubMsg.BufferLength = 4U + 4U;
5555 NdrSimpleStructBufferSize( (PMIDL_STUB_MESSAGE) &_StubMsg,
5556 (unsigned char __RPC_FAR *)guid,
5557 (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[38] );
5559 NdrProxyGetBuffer(This, &_StubMsg);
5560 *( UINT __RPC_FAR * )_StubMsg.Buffer = index;
5561 _StubMsg.Buffer += sizeof(UINT);
5563 NdrSimpleStructMarshall( (PMIDL_STUB_MESSAGE)& _StubMsg,
5564 (unsigned char __RPC_FAR *)guid,
5565 (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[38] );
5567 NdrProxySendReceive(This, &_StubMsg);
5569 if ( (_RpcMessage.DataRepresentation & 0X0000FFFFUL) != NDR_LOCAL_DATA_REPRESENTATION )
5570 NdrConvert( (PMIDL_STUB_MESSAGE) &_StubMsg, (PFORMAT_STRING) &__MIDL_ProcFormatString.Format[308] );
5572 NdrUserMarshalUnmarshall( (PMIDL_STUB_MESSAGE) &_StubMsg,
5573 (unsigned char __RPC_FAR * __RPC_FAR *)&pVarVal,
5574 (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[1110],
5575 (unsigned char)0 );
5577 _StubMsg.Buffer = (unsigned char __RPC_FAR *)(((long)_StubMsg.Buffer + 3) & ~ 0x3);
5578 _RetVal = *( HRESULT __RPC_FAR * )_StubMsg.Buffer;
5579 _StubMsg.Buffer += sizeof(HRESULT);
5582 RpcFinally
5584 NdrProxyFreeBuffer(This, &_StubMsg);
5587 RpcEndFinally
5590 RpcExcept(_StubMsg.dwStubPhase != PROXY_SENDRECEIVE)
5592 NdrClearOutParameters(
5593 ( PMIDL_STUB_MESSAGE )&_StubMsg,
5594 ( PFORMAT_STRING )&__MIDL_TypeFormatString.Format[1102],
5595 ( void __RPC_FAR * )pVarVal);
5596 _RetVal = NdrProxyErrorHandler(RpcExceptionCode());
5598 RpcEndExcept
5599 return _RetVal;
5602 void __RPC_STUB ITypeInfo2_GetFuncCustData_Stub(
5603 IRpcStubBuffer *This,
5604 IRpcChannelBuffer *_pRpcChannelBuffer,
5605 PRPC_MESSAGE _pRpcMessage,
5606 DWORD *_pdwStubPhase)
5608 VARIANT _M54;
5609 HRESULT _RetVal;
5610 MIDL_STUB_MESSAGE _StubMsg;
5611 REFGUID guid = 0;
5612 UINT index;
5613 VARIANT __RPC_FAR *pVarVal;
5615 NdrStubInitialize(
5616 _pRpcMessage,
5617 &_StubMsg,
5618 &Object_StubDesc,
5619 _pRpcChannelBuffer);
5620 pVarVal = 0;
5621 RpcTryFinally
5623 if ( (_pRpcMessage->DataRepresentation & 0X0000FFFFUL) != NDR_LOCAL_DATA_REPRESENTATION )
5624 NdrConvert( (PMIDL_STUB_MESSAGE) &_StubMsg, (PFORMAT_STRING) &__MIDL_ProcFormatString.Format[308] );
5626 index = *( UINT __RPC_FAR * )_StubMsg.Buffer;
5627 _StubMsg.Buffer += sizeof(UINT);
5629 NdrSimpleStructUnmarshall( (PMIDL_STUB_MESSAGE) &_StubMsg,
5630 (unsigned char __RPC_FAR * __RPC_FAR *)&guid,
5631 (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[38],
5632 (unsigned char)0 );
5634 pVarVal = &_M54;
5635 MIDL_memset(
5636 pVarVal,
5638 sizeof( VARIANT ));
5640 *_pdwStubPhase = STUB_CALL_SERVER;
5641 _RetVal = (((ITypeInfo2*) ((CStdStubBuffer *)This)->pvServerObject)->lpVtbl) -> GetFuncCustData(
5642 (ITypeInfo2 *) ((CStdStubBuffer *)This)->pvServerObject,
5643 index,
5644 guid,
5645 pVarVal);
5647 *_pdwStubPhase = STUB_MARSHAL;
5649 _StubMsg.BufferLength = 8U + 11U;
5650 NdrUserMarshalBufferSize( (PMIDL_STUB_MESSAGE) &_StubMsg,
5651 (unsigned char __RPC_FAR *)pVarVal,
5652 (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[1110] );
5654 _StubMsg.BufferLength += 16;
5656 NdrStubGetBuffer(This, _pRpcChannelBuffer, &_StubMsg);
5657 NdrUserMarshalMarshall( (PMIDL_STUB_MESSAGE)& _StubMsg,
5658 (unsigned char __RPC_FAR *)pVarVal,
5659 (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[1110] );
5661 _StubMsg.Buffer = (unsigned char __RPC_FAR *)(((long)_StubMsg.Buffer + 3) & ~ 0x3);
5662 *( HRESULT __RPC_FAR * )_StubMsg.Buffer = _RetVal;
5663 _StubMsg.Buffer += sizeof(HRESULT);
5666 RpcFinally
5668 NdrPointerFree( &_StubMsg,
5669 (unsigned char __RPC_FAR *)pVarVal,
5670 &__MIDL_TypeFormatString.Format[1102] );
5673 RpcEndFinally
5674 _pRpcMessage->BufferLength =
5675 (unsigned int)((long)_StubMsg.Buffer - (long)_pRpcMessage->Buffer);
5680 HRESULT STDMETHODCALLTYPE ITypeInfo2_GetParamCustData_Proxy(
5681 ITypeInfo2 __RPC_FAR * This,
5682 /* [in] */ UINT indexFunc,
5683 /* [in] */ UINT indexParam,
5684 /* [in] */ REFGUID guid,
5685 /* [out] */ VARIANT __RPC_FAR *pVarVal)
5688 HRESULT _RetVal;
5690 RPC_MESSAGE _RpcMessage;
5692 MIDL_STUB_MESSAGE _StubMsg;
5694 if(pVarVal)
5696 MIDL_memset(
5697 pVarVal,
5699 sizeof( VARIANT ));
5701 RpcTryExcept
5703 NdrProxyInitialize(
5704 ( void __RPC_FAR * )This,
5705 ( PRPC_MESSAGE )&_RpcMessage,
5706 ( PMIDL_STUB_MESSAGE )&_StubMsg,
5707 ( PMIDL_STUB_DESC )&Object_StubDesc,
5708 28);
5712 if(!guid)
5714 RpcRaiseException(RPC_X_NULL_REF_POINTER);
5716 if(!pVarVal)
5718 RpcRaiseException(RPC_X_NULL_REF_POINTER);
5720 RpcTryFinally
5723 _StubMsg.BufferLength = 4U + 4U + 0U;
5724 NdrSimpleStructBufferSize( (PMIDL_STUB_MESSAGE) &_StubMsg,
5725 (unsigned char __RPC_FAR *)guid,
5726 (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[38] );
5728 NdrProxyGetBuffer(This, &_StubMsg);
5729 *( UINT __RPC_FAR * )_StubMsg.Buffer = indexFunc;
5730 _StubMsg.Buffer += sizeof(UINT);
5732 *( UINT __RPC_FAR * )_StubMsg.Buffer = indexParam;
5733 _StubMsg.Buffer += sizeof(UINT);
5735 NdrSimpleStructMarshall( (PMIDL_STUB_MESSAGE)& _StubMsg,
5736 (unsigned char __RPC_FAR *)guid,
5737 (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[38] );
5739 NdrProxySendReceive(This, &_StubMsg);
5741 if ( (_RpcMessage.DataRepresentation & 0X0000FFFFUL) != NDR_LOCAL_DATA_REPRESENTATION )
5742 NdrConvert( (PMIDL_STUB_MESSAGE) &_StubMsg, (PFORMAT_STRING) &__MIDL_ProcFormatString.Format[320] );
5744 NdrUserMarshalUnmarshall( (PMIDL_STUB_MESSAGE) &_StubMsg,
5745 (unsigned char __RPC_FAR * __RPC_FAR *)&pVarVal,
5746 (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[1110],
5747 (unsigned char)0 );
5749 _StubMsg.Buffer = (unsigned char __RPC_FAR *)(((long)_StubMsg.Buffer + 3) & ~ 0x3);
5750 _RetVal = *( HRESULT __RPC_FAR * )_StubMsg.Buffer;
5751 _StubMsg.Buffer += sizeof(HRESULT);
5754 RpcFinally
5756 NdrProxyFreeBuffer(This, &_StubMsg);
5759 RpcEndFinally
5762 RpcExcept(_StubMsg.dwStubPhase != PROXY_SENDRECEIVE)
5764 NdrClearOutParameters(
5765 ( PMIDL_STUB_MESSAGE )&_StubMsg,
5766 ( PFORMAT_STRING )&__MIDL_TypeFormatString.Format[1102],
5767 ( void __RPC_FAR * )pVarVal);
5768 _RetVal = NdrProxyErrorHandler(RpcExceptionCode());
5770 RpcEndExcept
5771 return _RetVal;
5774 void __RPC_STUB ITypeInfo2_GetParamCustData_Stub(
5775 IRpcStubBuffer *This,
5776 IRpcChannelBuffer *_pRpcChannelBuffer,
5777 PRPC_MESSAGE _pRpcMessage,
5778 DWORD *_pdwStubPhase)
5780 VARIANT _M55;
5781 HRESULT _RetVal;
5782 MIDL_STUB_MESSAGE _StubMsg;
5783 REFGUID guid = 0;
5784 UINT indexFunc;
5785 UINT indexParam;
5786 VARIANT __RPC_FAR *pVarVal;
5788 NdrStubInitialize(
5789 _pRpcMessage,
5790 &_StubMsg,
5791 &Object_StubDesc,
5792 _pRpcChannelBuffer);
5793 pVarVal = 0;
5794 RpcTryFinally
5796 if ( (_pRpcMessage->DataRepresentation & 0X0000FFFFUL) != NDR_LOCAL_DATA_REPRESENTATION )
5797 NdrConvert( (PMIDL_STUB_MESSAGE) &_StubMsg, (PFORMAT_STRING) &__MIDL_ProcFormatString.Format[320] );
5799 indexFunc = *( UINT __RPC_FAR * )_StubMsg.Buffer;
5800 _StubMsg.Buffer += sizeof(UINT);
5802 indexParam = *( UINT __RPC_FAR * )_StubMsg.Buffer;
5803 _StubMsg.Buffer += sizeof(UINT);
5805 NdrSimpleStructUnmarshall( (PMIDL_STUB_MESSAGE) &_StubMsg,
5806 (unsigned char __RPC_FAR * __RPC_FAR *)&guid,
5807 (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[38],
5808 (unsigned char)0 );
5810 pVarVal = &_M55;
5811 MIDL_memset(
5812 pVarVal,
5814 sizeof( VARIANT ));
5816 *_pdwStubPhase = STUB_CALL_SERVER;
5817 _RetVal = (((ITypeInfo2*) ((CStdStubBuffer *)This)->pvServerObject)->lpVtbl) -> GetParamCustData(
5818 (ITypeInfo2 *) ((CStdStubBuffer *)This)->pvServerObject,
5819 indexFunc,
5820 indexParam,
5821 guid,
5822 pVarVal);
5824 *_pdwStubPhase = STUB_MARSHAL;
5826 _StubMsg.BufferLength = 8U + 11U;
5827 NdrUserMarshalBufferSize( (PMIDL_STUB_MESSAGE) &_StubMsg,
5828 (unsigned char __RPC_FAR *)pVarVal,
5829 (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[1110] );
5831 _StubMsg.BufferLength += 16;
5833 NdrStubGetBuffer(This, _pRpcChannelBuffer, &_StubMsg);
5834 NdrUserMarshalMarshall( (PMIDL_STUB_MESSAGE)& _StubMsg,
5835 (unsigned char __RPC_FAR *)pVarVal,
5836 (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[1110] );
5838 _StubMsg.Buffer = (unsigned char __RPC_FAR *)(((long)_StubMsg.Buffer + 3) & ~ 0x3);
5839 *( HRESULT __RPC_FAR * )_StubMsg.Buffer = _RetVal;
5840 _StubMsg.Buffer += sizeof(HRESULT);
5843 RpcFinally
5845 NdrPointerFree( &_StubMsg,
5846 (unsigned char __RPC_FAR *)pVarVal,
5847 &__MIDL_TypeFormatString.Format[1102] );
5850 RpcEndFinally
5851 _pRpcMessage->BufferLength =
5852 (unsigned int)((long)_StubMsg.Buffer - (long)_pRpcMessage->Buffer);
5857 HRESULT STDMETHODCALLTYPE ITypeInfo2_GetVarCustData_Proxy(
5858 ITypeInfo2 __RPC_FAR * This,
5859 /* [in] */ UINT index,
5860 /* [in] */ REFGUID guid,
5861 /* [out] */ VARIANT __RPC_FAR *pVarVal)
5864 HRESULT _RetVal;
5866 RPC_MESSAGE _RpcMessage;
5868 MIDL_STUB_MESSAGE _StubMsg;
5870 if(pVarVal)
5872 MIDL_memset(
5873 pVarVal,
5875 sizeof( VARIANT ));
5877 RpcTryExcept
5879 NdrProxyInitialize(
5880 ( void __RPC_FAR * )This,
5881 ( PRPC_MESSAGE )&_RpcMessage,
5882 ( PMIDL_STUB_MESSAGE )&_StubMsg,
5883 ( PMIDL_STUB_DESC )&Object_StubDesc,
5884 29);
5888 if(!guid)
5890 RpcRaiseException(RPC_X_NULL_REF_POINTER);
5892 if(!pVarVal)
5894 RpcRaiseException(RPC_X_NULL_REF_POINTER);
5896 RpcTryFinally
5899 _StubMsg.BufferLength = 4U + 4U;
5900 NdrSimpleStructBufferSize( (PMIDL_STUB_MESSAGE) &_StubMsg,
5901 (unsigned char __RPC_FAR *)guid,
5902 (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[38] );
5904 NdrProxyGetBuffer(This, &_StubMsg);
5905 *( UINT __RPC_FAR * )_StubMsg.Buffer = index;
5906 _StubMsg.Buffer += sizeof(UINT);
5908 NdrSimpleStructMarshall( (PMIDL_STUB_MESSAGE)& _StubMsg,
5909 (unsigned char __RPC_FAR *)guid,
5910 (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[38] );
5912 NdrProxySendReceive(This, &_StubMsg);
5914 if ( (_RpcMessage.DataRepresentation & 0X0000FFFFUL) != NDR_LOCAL_DATA_REPRESENTATION )
5915 NdrConvert( (PMIDL_STUB_MESSAGE) &_StubMsg, (PFORMAT_STRING) &__MIDL_ProcFormatString.Format[308] );
5917 NdrUserMarshalUnmarshall( (PMIDL_STUB_MESSAGE) &_StubMsg,
5918 (unsigned char __RPC_FAR * __RPC_FAR *)&pVarVal,
5919 (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[1110],
5920 (unsigned char)0 );
5922 _StubMsg.Buffer = (unsigned char __RPC_FAR *)(((long)_StubMsg.Buffer + 3) & ~ 0x3);
5923 _RetVal = *( HRESULT __RPC_FAR * )_StubMsg.Buffer;
5924 _StubMsg.Buffer += sizeof(HRESULT);
5927 RpcFinally
5929 NdrProxyFreeBuffer(This, &_StubMsg);
5932 RpcEndFinally
5935 RpcExcept(_StubMsg.dwStubPhase != PROXY_SENDRECEIVE)
5937 NdrClearOutParameters(
5938 ( PMIDL_STUB_MESSAGE )&_StubMsg,
5939 ( PFORMAT_STRING )&__MIDL_TypeFormatString.Format[1102],
5940 ( void __RPC_FAR * )pVarVal);
5941 _RetVal = NdrProxyErrorHandler(RpcExceptionCode());
5943 RpcEndExcept
5944 return _RetVal;
5947 void __RPC_STUB ITypeInfo2_GetVarCustData_Stub(
5948 IRpcStubBuffer *This,
5949 IRpcChannelBuffer *_pRpcChannelBuffer,
5950 PRPC_MESSAGE _pRpcMessage,
5951 DWORD *_pdwStubPhase)
5953 VARIANT _M56;
5954 HRESULT _RetVal;
5955 MIDL_STUB_MESSAGE _StubMsg;
5956 REFGUID guid = 0;
5957 UINT index;
5958 VARIANT __RPC_FAR *pVarVal;
5960 NdrStubInitialize(
5961 _pRpcMessage,
5962 &_StubMsg,
5963 &Object_StubDesc,
5964 _pRpcChannelBuffer);
5965 pVarVal = 0;
5966 RpcTryFinally
5968 if ( (_pRpcMessage->DataRepresentation & 0X0000FFFFUL) != NDR_LOCAL_DATA_REPRESENTATION )
5969 NdrConvert( (PMIDL_STUB_MESSAGE) &_StubMsg, (PFORMAT_STRING) &__MIDL_ProcFormatString.Format[308] );
5971 index = *( UINT __RPC_FAR * )_StubMsg.Buffer;
5972 _StubMsg.Buffer += sizeof(UINT);
5974 NdrSimpleStructUnmarshall( (PMIDL_STUB_MESSAGE) &_StubMsg,
5975 (unsigned char __RPC_FAR * __RPC_FAR *)&guid,
5976 (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[38],
5977 (unsigned char)0 );
5979 pVarVal = &_M56;
5980 MIDL_memset(
5981 pVarVal,
5983 sizeof( VARIANT ));
5985 *_pdwStubPhase = STUB_CALL_SERVER;
5986 _RetVal = (((ITypeInfo2*) ((CStdStubBuffer *)This)->pvServerObject)->lpVtbl) -> GetVarCustData(
5987 (ITypeInfo2 *) ((CStdStubBuffer *)This)->pvServerObject,
5988 index,
5989 guid,
5990 pVarVal);
5992 *_pdwStubPhase = STUB_MARSHAL;
5994 _StubMsg.BufferLength = 8U + 11U;
5995 NdrUserMarshalBufferSize( (PMIDL_STUB_MESSAGE) &_StubMsg,
5996 (unsigned char __RPC_FAR *)pVarVal,
5997 (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[1110] );
5999 _StubMsg.BufferLength += 16;
6001 NdrStubGetBuffer(This, _pRpcChannelBuffer, &_StubMsg);
6002 NdrUserMarshalMarshall( (PMIDL_STUB_MESSAGE)& _StubMsg,
6003 (unsigned char __RPC_FAR *)pVarVal,
6004 (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[1110] );
6006 _StubMsg.Buffer = (unsigned char __RPC_FAR *)(((long)_StubMsg.Buffer + 3) & ~ 0x3);
6007 *( HRESULT __RPC_FAR * )_StubMsg.Buffer = _RetVal;
6008 _StubMsg.Buffer += sizeof(HRESULT);
6011 RpcFinally
6013 NdrPointerFree( &_StubMsg,
6014 (unsigned char __RPC_FAR *)pVarVal,
6015 &__MIDL_TypeFormatString.Format[1102] );
6018 RpcEndFinally
6019 _pRpcMessage->BufferLength =
6020 (unsigned int)((long)_StubMsg.Buffer - (long)_pRpcMessage->Buffer);
6025 HRESULT STDMETHODCALLTYPE ITypeInfo2_GetImplTypeCustData_Proxy(
6026 ITypeInfo2 __RPC_FAR * This,
6027 /* [in] */ UINT index,
6028 /* [in] */ REFGUID guid,
6029 /* [out] */ VARIANT __RPC_FAR *pVarVal)
6032 HRESULT _RetVal;
6034 RPC_MESSAGE _RpcMessage;
6036 MIDL_STUB_MESSAGE _StubMsg;
6038 if(pVarVal)
6040 MIDL_memset(
6041 pVarVal,
6043 sizeof( VARIANT ));
6045 RpcTryExcept
6047 NdrProxyInitialize(
6048 ( void __RPC_FAR * )This,
6049 ( PRPC_MESSAGE )&_RpcMessage,
6050 ( PMIDL_STUB_MESSAGE )&_StubMsg,
6051 ( PMIDL_STUB_DESC )&Object_StubDesc,
6052 30);
6056 if(!guid)
6058 RpcRaiseException(RPC_X_NULL_REF_POINTER);
6060 if(!pVarVal)
6062 RpcRaiseException(RPC_X_NULL_REF_POINTER);
6064 RpcTryFinally
6067 _StubMsg.BufferLength = 4U + 4U;
6068 NdrSimpleStructBufferSize( (PMIDL_STUB_MESSAGE) &_StubMsg,
6069 (unsigned char __RPC_FAR *)guid,
6070 (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[38] );
6072 NdrProxyGetBuffer(This, &_StubMsg);
6073 *( UINT __RPC_FAR * )_StubMsg.Buffer = index;
6074 _StubMsg.Buffer += sizeof(UINT);
6076 NdrSimpleStructMarshall( (PMIDL_STUB_MESSAGE)& _StubMsg,
6077 (unsigned char __RPC_FAR *)guid,
6078 (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[38] );
6080 NdrProxySendReceive(This, &_StubMsg);
6082 if ( (_RpcMessage.DataRepresentation & 0X0000FFFFUL) != NDR_LOCAL_DATA_REPRESENTATION )
6083 NdrConvert( (PMIDL_STUB_MESSAGE) &_StubMsg, (PFORMAT_STRING) &__MIDL_ProcFormatString.Format[308] );
6085 NdrUserMarshalUnmarshall( (PMIDL_STUB_MESSAGE) &_StubMsg,
6086 (unsigned char __RPC_FAR * __RPC_FAR *)&pVarVal,
6087 (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[1110],
6088 (unsigned char)0 );
6090 _StubMsg.Buffer = (unsigned char __RPC_FAR *)(((long)_StubMsg.Buffer + 3) & ~ 0x3);
6091 _RetVal = *( HRESULT __RPC_FAR * )_StubMsg.Buffer;
6092 _StubMsg.Buffer += sizeof(HRESULT);
6095 RpcFinally
6097 NdrProxyFreeBuffer(This, &_StubMsg);
6100 RpcEndFinally
6103 RpcExcept(_StubMsg.dwStubPhase != PROXY_SENDRECEIVE)
6105 NdrClearOutParameters(
6106 ( PMIDL_STUB_MESSAGE )&_StubMsg,
6107 ( PFORMAT_STRING )&__MIDL_TypeFormatString.Format[1102],
6108 ( void __RPC_FAR * )pVarVal);
6109 _RetVal = NdrProxyErrorHandler(RpcExceptionCode());
6111 RpcEndExcept
6112 return _RetVal;
6115 void __RPC_STUB ITypeInfo2_GetImplTypeCustData_Stub(
6116 IRpcStubBuffer *This,
6117 IRpcChannelBuffer *_pRpcChannelBuffer,
6118 PRPC_MESSAGE _pRpcMessage,
6119 DWORD *_pdwStubPhase)
6121 VARIANT _M57;
6122 HRESULT _RetVal;
6123 MIDL_STUB_MESSAGE _StubMsg;
6124 REFGUID guid = 0;
6125 UINT index;
6126 VARIANT __RPC_FAR *pVarVal;
6128 NdrStubInitialize(
6129 _pRpcMessage,
6130 &_StubMsg,
6131 &Object_StubDesc,
6132 _pRpcChannelBuffer);
6133 pVarVal = 0;
6134 RpcTryFinally
6136 if ( (_pRpcMessage->DataRepresentation & 0X0000FFFFUL) != NDR_LOCAL_DATA_REPRESENTATION )
6137 NdrConvert( (PMIDL_STUB_MESSAGE) &_StubMsg, (PFORMAT_STRING) &__MIDL_ProcFormatString.Format[308] );
6139 index = *( UINT __RPC_FAR * )_StubMsg.Buffer;
6140 _StubMsg.Buffer += sizeof(UINT);
6142 NdrSimpleStructUnmarshall( (PMIDL_STUB_MESSAGE) &_StubMsg,
6143 (unsigned char __RPC_FAR * __RPC_FAR *)&guid,
6144 (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[38],
6145 (unsigned char)0 );
6147 pVarVal = &_M57;
6148 MIDL_memset(
6149 pVarVal,
6151 sizeof( VARIANT ));
6153 *_pdwStubPhase = STUB_CALL_SERVER;
6154 _RetVal = (((ITypeInfo2*) ((CStdStubBuffer *)This)->pvServerObject)->lpVtbl) -> GetImplTypeCustData(
6155 (ITypeInfo2 *) ((CStdStubBuffer *)This)->pvServerObject,
6156 index,
6157 guid,
6158 pVarVal);
6160 *_pdwStubPhase = STUB_MARSHAL;
6162 _StubMsg.BufferLength = 8U + 11U;
6163 NdrUserMarshalBufferSize( (PMIDL_STUB_MESSAGE) &_StubMsg,
6164 (unsigned char __RPC_FAR *)pVarVal,
6165 (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[1110] );
6167 _StubMsg.BufferLength += 16;
6169 NdrStubGetBuffer(This, _pRpcChannelBuffer, &_StubMsg);
6170 NdrUserMarshalMarshall( (PMIDL_STUB_MESSAGE)& _StubMsg,
6171 (unsigned char __RPC_FAR *)pVarVal,
6172 (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[1110] );
6174 _StubMsg.Buffer = (unsigned char __RPC_FAR *)(((long)_StubMsg.Buffer + 3) & ~ 0x3);
6175 *( HRESULT __RPC_FAR * )_StubMsg.Buffer = _RetVal;
6176 _StubMsg.Buffer += sizeof(HRESULT);
6179 RpcFinally
6181 NdrPointerFree( &_StubMsg,
6182 (unsigned char __RPC_FAR *)pVarVal,
6183 &__MIDL_TypeFormatString.Format[1102] );
6186 RpcEndFinally
6187 _pRpcMessage->BufferLength =
6188 (unsigned int)((long)_StubMsg.Buffer - (long)_pRpcMessage->Buffer);
6193 /* [call_as] */ HRESULT STDMETHODCALLTYPE ITypeInfo2_RemoteGetDocumentation2_Proxy(
6194 ITypeInfo2 __RPC_FAR * This,
6195 /* [in] */ MEMBERID memid,
6196 /* [in] */ LCID lcid,
6197 /* [in] */ DWORD refPtrFlags,
6198 /* [out] */ BSTR __RPC_FAR *pbstrHelpString,
6199 /* [out] */ DWORD __RPC_FAR *pdwHelpStringContext,
6200 /* [out] */ BSTR __RPC_FAR *pbstrHelpStringDll)
6203 HRESULT _RetVal;
6205 RPC_MESSAGE _RpcMessage;
6207 MIDL_STUB_MESSAGE _StubMsg;
6209 if(pbstrHelpString)
6211 MIDL_memset(
6212 pbstrHelpString,
6214 sizeof( BSTR ));
6216 if(pbstrHelpStringDll)
6218 MIDL_memset(
6219 pbstrHelpStringDll,
6221 sizeof( BSTR ));
6223 RpcTryExcept
6225 NdrProxyInitialize(
6226 ( void __RPC_FAR * )This,
6227 ( PRPC_MESSAGE )&_RpcMessage,
6228 ( PMIDL_STUB_MESSAGE )&_StubMsg,
6229 ( PMIDL_STUB_DESC )&Object_StubDesc,
6230 31);
6234 if(!pbstrHelpString)
6236 RpcRaiseException(RPC_X_NULL_REF_POINTER);
6238 if(!pdwHelpStringContext)
6240 RpcRaiseException(RPC_X_NULL_REF_POINTER);
6242 if(!pbstrHelpStringDll)
6244 RpcRaiseException(RPC_X_NULL_REF_POINTER);
6246 RpcTryFinally
6249 _StubMsg.BufferLength = 4U + 4U + 4U;
6250 NdrProxyGetBuffer(This, &_StubMsg);
6251 *( MEMBERID __RPC_FAR * )_StubMsg.Buffer = memid;
6252 _StubMsg.Buffer += sizeof(MEMBERID);
6254 *( LCID __RPC_FAR * )_StubMsg.Buffer = lcid;
6255 _StubMsg.Buffer += sizeof(LCID);
6257 *( DWORD __RPC_FAR * )_StubMsg.Buffer = refPtrFlags;
6258 _StubMsg.Buffer += sizeof(DWORD);
6260 NdrProxySendReceive(This, &_StubMsg);
6262 if ( (_RpcMessage.DataRepresentation & 0X0000FFFFUL) != NDR_LOCAL_DATA_REPRESENTATION )
6263 NdrConvert( (PMIDL_STUB_MESSAGE) &_StubMsg, (PFORMAT_STRING) &__MIDL_ProcFormatString.Format[334] );
6265 NdrUserMarshalUnmarshall( (PMIDL_STUB_MESSAGE) &_StubMsg,
6266 (unsigned char __RPC_FAR * __RPC_FAR *)&pbstrHelpString,
6267 (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[1128],
6268 (unsigned char)0 );
6270 _StubMsg.Buffer = (unsigned char __RPC_FAR *)(((long)_StubMsg.Buffer + 3) & ~ 0x3);
6271 *pdwHelpStringContext = *( DWORD __RPC_FAR * )_StubMsg.Buffer;
6272 _StubMsg.Buffer += sizeof(DWORD);
6274 NdrUserMarshalUnmarshall( (PMIDL_STUB_MESSAGE) &_StubMsg,
6275 (unsigned char __RPC_FAR * __RPC_FAR *)&pbstrHelpStringDll,
6276 (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[1128],
6277 (unsigned char)0 );
6279 _StubMsg.Buffer = (unsigned char __RPC_FAR *)(((long)_StubMsg.Buffer + 3) & ~ 0x3);
6280 _RetVal = *( HRESULT __RPC_FAR * )_StubMsg.Buffer;
6281 _StubMsg.Buffer += sizeof(HRESULT);
6284 RpcFinally
6286 NdrProxyFreeBuffer(This, &_StubMsg);
6289 RpcEndFinally
6292 RpcExcept(_StubMsg.dwStubPhase != PROXY_SENDRECEIVE)
6294 NdrClearOutParameters(
6295 ( PMIDL_STUB_MESSAGE )&_StubMsg,
6296 ( PFORMAT_STRING )&__MIDL_TypeFormatString.Format[1708],
6297 ( void __RPC_FAR * )pbstrHelpString);
6298 NdrClearOutParameters(
6299 ( PMIDL_STUB_MESSAGE )&_StubMsg,
6300 ( PFORMAT_STRING )&__MIDL_TypeFormatString.Format[2],
6301 ( void __RPC_FAR * )pdwHelpStringContext);
6302 NdrClearOutParameters(
6303 ( PMIDL_STUB_MESSAGE )&_StubMsg,
6304 ( PFORMAT_STRING )&__MIDL_TypeFormatString.Format[1708],
6305 ( void __RPC_FAR * )pbstrHelpStringDll);
6306 _RetVal = NdrProxyErrorHandler(RpcExceptionCode());
6308 RpcEndExcept
6309 return _RetVal;
6312 void __RPC_STUB ITypeInfo2_RemoteGetDocumentation2_Stub(
6313 IRpcStubBuffer *This,
6314 IRpcChannelBuffer *_pRpcChannelBuffer,
6315 PRPC_MESSAGE _pRpcMessage,
6316 DWORD *_pdwStubPhase)
6318 BSTR _M58;
6319 DWORD _M59;
6320 BSTR _M60;
6321 HRESULT _RetVal;
6322 MIDL_STUB_MESSAGE _StubMsg;
6323 LCID lcid;
6324 MEMBERID memid;
6325 BSTR __RPC_FAR *pbstrHelpString;
6326 BSTR __RPC_FAR *pbstrHelpStringDll;
6327 DWORD __RPC_FAR *pdwHelpStringContext;
6328 DWORD refPtrFlags;
6330 NdrStubInitialize(
6331 _pRpcMessage,
6332 &_StubMsg,
6333 &Object_StubDesc,
6334 _pRpcChannelBuffer);
6335 pbstrHelpString = 0;
6336 pdwHelpStringContext = 0;
6337 pbstrHelpStringDll = 0;
6338 RpcTryFinally
6340 if ( (_pRpcMessage->DataRepresentation & 0X0000FFFFUL) != NDR_LOCAL_DATA_REPRESENTATION )
6341 NdrConvert( (PMIDL_STUB_MESSAGE) &_StubMsg, (PFORMAT_STRING) &__MIDL_ProcFormatString.Format[334] );
6343 memid = *( MEMBERID __RPC_FAR * )_StubMsg.Buffer;
6344 _StubMsg.Buffer += sizeof(MEMBERID);
6346 lcid = *( LCID __RPC_FAR * )_StubMsg.Buffer;
6347 _StubMsg.Buffer += sizeof(LCID);
6349 refPtrFlags = *( DWORD __RPC_FAR * )_StubMsg.Buffer;
6350 _StubMsg.Buffer += sizeof(DWORD);
6352 pbstrHelpString = &_M58;
6353 MIDL_memset(
6354 pbstrHelpString,
6356 sizeof( BSTR ));
6357 pdwHelpStringContext = &_M59;
6358 pbstrHelpStringDll = &_M60;
6359 MIDL_memset(
6360 pbstrHelpStringDll,
6362 sizeof( BSTR ));
6364 *_pdwStubPhase = STUB_CALL_SERVER;
6367 _RetVal = ITypeInfo2_GetDocumentation2_Stub(
6368 (ITypeInfo2 *) ((CStdStubBuffer *)This)->pvServerObject,
6369 memid,
6370 lcid,
6371 refPtrFlags,
6372 pbstrHelpString,
6373 pdwHelpStringContext,
6374 pbstrHelpStringDll);
6376 *_pdwStubPhase = STUB_MARSHAL;
6378 _StubMsg.BufferLength = 8U + 11U + 11U + 11U;
6379 NdrUserMarshalBufferSize( (PMIDL_STUB_MESSAGE) &_StubMsg,
6380 (unsigned char __RPC_FAR *)pbstrHelpString,
6381 (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[1128] );
6383 NdrUserMarshalBufferSize( (PMIDL_STUB_MESSAGE) &_StubMsg,
6384 (unsigned char __RPC_FAR *)pbstrHelpStringDll,
6385 (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[1128] );
6387 _StubMsg.BufferLength += 16;
6389 NdrStubGetBuffer(This, _pRpcChannelBuffer, &_StubMsg);
6390 NdrUserMarshalMarshall( (PMIDL_STUB_MESSAGE)& _StubMsg,
6391 (unsigned char __RPC_FAR *)pbstrHelpString,
6392 (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[1128] );
6394 _StubMsg.Buffer = (unsigned char __RPC_FAR *)(((long)_StubMsg.Buffer + 3) & ~ 0x3);
6395 *( DWORD __RPC_FAR * )_StubMsg.Buffer = *pdwHelpStringContext;
6396 _StubMsg.Buffer += sizeof(DWORD);
6398 NdrUserMarshalMarshall( (PMIDL_STUB_MESSAGE)& _StubMsg,
6399 (unsigned char __RPC_FAR *)pbstrHelpStringDll,
6400 (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[1128] );
6402 _StubMsg.Buffer = (unsigned char __RPC_FAR *)(((long)_StubMsg.Buffer + 3) & ~ 0x3);
6403 *( HRESULT __RPC_FAR * )_StubMsg.Buffer = _RetVal;
6404 _StubMsg.Buffer += sizeof(HRESULT);
6407 RpcFinally
6409 NdrPointerFree( &_StubMsg,
6410 (unsigned char __RPC_FAR *)pbstrHelpString,
6411 &__MIDL_TypeFormatString.Format[1708] );
6413 NdrPointerFree( &_StubMsg,
6414 (unsigned char __RPC_FAR *)pbstrHelpStringDll,
6415 &__MIDL_TypeFormatString.Format[1708] );
6418 RpcEndFinally
6419 _pRpcMessage->BufferLength =
6420 (unsigned int)((long)_StubMsg.Buffer - (long)_pRpcMessage->Buffer);
6425 HRESULT STDMETHODCALLTYPE ITypeInfo2_GetAllCustData_Proxy(
6426 ITypeInfo2 __RPC_FAR * This,
6427 /* [out] */ CUSTDATA __RPC_FAR *pCustData)
6430 HRESULT _RetVal;
6432 RPC_MESSAGE _RpcMessage;
6434 MIDL_STUB_MESSAGE _StubMsg;
6436 if(pCustData)
6438 MIDL_memset(
6439 pCustData,
6441 sizeof( CUSTDATA ));
6443 RpcTryExcept
6445 NdrProxyInitialize(
6446 ( void __RPC_FAR * )This,
6447 ( PRPC_MESSAGE )&_RpcMessage,
6448 ( PMIDL_STUB_MESSAGE )&_StubMsg,
6449 ( PMIDL_STUB_DESC )&Object_StubDesc,
6450 32);
6454 if(!pCustData)
6456 RpcRaiseException(RPC_X_NULL_REF_POINTER);
6458 RpcTryFinally
6461 _StubMsg.BufferLength = 0U;
6462 NdrProxyGetBuffer(This, &_StubMsg);
6463 NdrProxySendReceive(This, &_StubMsg);
6465 if ( (_RpcMessage.DataRepresentation & 0X0000FFFFUL) != NDR_LOCAL_DATA_REPRESENTATION )
6466 NdrConvert( (PMIDL_STUB_MESSAGE) &_StubMsg, (PFORMAT_STRING) &__MIDL_ProcFormatString.Format[354] );
6468 NdrComplexStructUnmarshall( (PMIDL_STUB_MESSAGE) &_StubMsg,
6469 (unsigned char __RPC_FAR * __RPC_FAR *)&pCustData,
6470 (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[1788],
6471 (unsigned char)0 );
6473 _StubMsg.Buffer = (unsigned char __RPC_FAR *)(((long)_StubMsg.Buffer + 3) & ~ 0x3);
6474 _RetVal = *( HRESULT __RPC_FAR * )_StubMsg.Buffer;
6475 _StubMsg.Buffer += sizeof(HRESULT);
6478 RpcFinally
6480 NdrProxyFreeBuffer(This, &_StubMsg);
6483 RpcEndFinally
6486 RpcExcept(_StubMsg.dwStubPhase != PROXY_SENDRECEIVE)
6488 NdrClearOutParameters(
6489 ( PMIDL_STUB_MESSAGE )&_StubMsg,
6490 ( PFORMAT_STRING )&__MIDL_TypeFormatString.Format[1748],
6491 ( void __RPC_FAR * )pCustData);
6492 _RetVal = NdrProxyErrorHandler(RpcExceptionCode());
6494 RpcEndExcept
6495 return _RetVal;
6498 void __RPC_STUB ITypeInfo2_GetAllCustData_Stub(
6499 IRpcStubBuffer *This,
6500 IRpcChannelBuffer *_pRpcChannelBuffer,
6501 PRPC_MESSAGE _pRpcMessage,
6502 DWORD *_pdwStubPhase)
6504 HRESULT _RetVal;
6505 MIDL_STUB_MESSAGE _StubMsg;
6506 CUSTDATA _pCustDataM;
6507 CUSTDATA __RPC_FAR *pCustData;
6509 NdrStubInitialize(
6510 _pRpcMessage,
6511 &_StubMsg,
6512 &Object_StubDesc,
6513 _pRpcChannelBuffer);
6514 pCustData = 0;
6515 RpcTryFinally
6517 pCustData = &_pCustDataM;
6518 pCustData -> prgCustData = 0;
6520 *_pdwStubPhase = STUB_CALL_SERVER;
6521 _RetVal = (((ITypeInfo2*) ((CStdStubBuffer *)This)->pvServerObject)->lpVtbl) -> GetAllCustData((ITypeInfo2 *) ((CStdStubBuffer *)This)->pvServerObject,pCustData);
6523 *_pdwStubPhase = STUB_MARSHAL;
6525 _StubMsg.BufferLength = 0U + 11U;
6526 NdrComplexStructBufferSize( (PMIDL_STUB_MESSAGE) &_StubMsg,
6527 (unsigned char __RPC_FAR *)pCustData,
6528 (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[1788] );
6530 _StubMsg.BufferLength += 16;
6532 NdrStubGetBuffer(This, _pRpcChannelBuffer, &_StubMsg);
6533 NdrComplexStructMarshall( (PMIDL_STUB_MESSAGE)& _StubMsg,
6534 (unsigned char __RPC_FAR *)pCustData,
6535 (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[1788] );
6537 _StubMsg.Buffer = (unsigned char __RPC_FAR *)(((long)_StubMsg.Buffer + 3) & ~ 0x3);
6538 *( HRESULT __RPC_FAR * )_StubMsg.Buffer = _RetVal;
6539 _StubMsg.Buffer += sizeof(HRESULT);
6542 RpcFinally
6544 NdrPointerFree( &_StubMsg,
6545 (unsigned char __RPC_FAR *)pCustData,
6546 &__MIDL_TypeFormatString.Format[1748] );
6549 RpcEndFinally
6550 _pRpcMessage->BufferLength =
6551 (unsigned int)((long)_StubMsg.Buffer - (long)_pRpcMessage->Buffer);
6556 HRESULT STDMETHODCALLTYPE ITypeInfo2_GetAllFuncCustData_Proxy(
6557 ITypeInfo2 __RPC_FAR * This,
6558 /* [in] */ UINT index,
6559 /* [out] */ CUSTDATA __RPC_FAR *pCustData)
6562 HRESULT _RetVal;
6564 RPC_MESSAGE _RpcMessage;
6566 MIDL_STUB_MESSAGE _StubMsg;
6568 if(pCustData)
6570 MIDL_memset(
6571 pCustData,
6573 sizeof( CUSTDATA ));
6575 RpcTryExcept
6577 NdrProxyInitialize(
6578 ( void __RPC_FAR * )This,
6579 ( PRPC_MESSAGE )&_RpcMessage,
6580 ( PMIDL_STUB_MESSAGE )&_StubMsg,
6581 ( PMIDL_STUB_DESC )&Object_StubDesc,
6582 33);
6586 if(!pCustData)
6588 RpcRaiseException(RPC_X_NULL_REF_POINTER);
6590 RpcTryFinally
6593 _StubMsg.BufferLength = 4U;
6594 NdrProxyGetBuffer(This, &_StubMsg);
6595 *( UINT __RPC_FAR * )_StubMsg.Buffer = index;
6596 _StubMsg.Buffer += sizeof(UINT);
6598 NdrProxySendReceive(This, &_StubMsg);
6600 if ( (_RpcMessage.DataRepresentation & 0X0000FFFFUL) != NDR_LOCAL_DATA_REPRESENTATION )
6601 NdrConvert( (PMIDL_STUB_MESSAGE) &_StubMsg, (PFORMAT_STRING) &__MIDL_ProcFormatString.Format[360] );
6603 NdrComplexStructUnmarshall( (PMIDL_STUB_MESSAGE) &_StubMsg,
6604 (unsigned char __RPC_FAR * __RPC_FAR *)&pCustData,
6605 (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[1788],
6606 (unsigned char)0 );
6608 _StubMsg.Buffer = (unsigned char __RPC_FAR *)(((long)_StubMsg.Buffer + 3) & ~ 0x3);
6609 _RetVal = *( HRESULT __RPC_FAR * )_StubMsg.Buffer;
6610 _StubMsg.Buffer += sizeof(HRESULT);
6613 RpcFinally
6615 NdrProxyFreeBuffer(This, &_StubMsg);
6618 RpcEndFinally
6621 RpcExcept(_StubMsg.dwStubPhase != PROXY_SENDRECEIVE)
6623 NdrClearOutParameters(
6624 ( PMIDL_STUB_MESSAGE )&_StubMsg,
6625 ( PFORMAT_STRING )&__MIDL_TypeFormatString.Format[1748],
6626 ( void __RPC_FAR * )pCustData);
6627 _RetVal = NdrProxyErrorHandler(RpcExceptionCode());
6629 RpcEndExcept
6630 return _RetVal;
6633 void __RPC_STUB ITypeInfo2_GetAllFuncCustData_Stub(
6634 IRpcStubBuffer *This,
6635 IRpcChannelBuffer *_pRpcChannelBuffer,
6636 PRPC_MESSAGE _pRpcMessage,
6637 DWORD *_pdwStubPhase)
6639 HRESULT _RetVal;
6640 MIDL_STUB_MESSAGE _StubMsg;
6641 CUSTDATA _pCustDataM;
6642 UINT index;
6643 CUSTDATA __RPC_FAR *pCustData;
6645 NdrStubInitialize(
6646 _pRpcMessage,
6647 &_StubMsg,
6648 &Object_StubDesc,
6649 _pRpcChannelBuffer);
6650 pCustData = 0;
6651 RpcTryFinally
6653 if ( (_pRpcMessage->DataRepresentation & 0X0000FFFFUL) != NDR_LOCAL_DATA_REPRESENTATION )
6654 NdrConvert( (PMIDL_STUB_MESSAGE) &_StubMsg, (PFORMAT_STRING) &__MIDL_ProcFormatString.Format[360] );
6656 index = *( UINT __RPC_FAR * )_StubMsg.Buffer;
6657 _StubMsg.Buffer += sizeof(UINT);
6659 pCustData = &_pCustDataM;
6660 pCustData -> prgCustData = 0;
6662 *_pdwStubPhase = STUB_CALL_SERVER;
6663 _RetVal = (((ITypeInfo2*) ((CStdStubBuffer *)This)->pvServerObject)->lpVtbl) -> GetAllFuncCustData(
6664 (ITypeInfo2 *) ((CStdStubBuffer *)This)->pvServerObject,
6665 index,
6666 pCustData);
6668 *_pdwStubPhase = STUB_MARSHAL;
6670 _StubMsg.BufferLength = 0U + 11U;
6671 NdrComplexStructBufferSize( (PMIDL_STUB_MESSAGE) &_StubMsg,
6672 (unsigned char __RPC_FAR *)pCustData,
6673 (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[1788] );
6675 _StubMsg.BufferLength += 16;
6677 NdrStubGetBuffer(This, _pRpcChannelBuffer, &_StubMsg);
6678 NdrComplexStructMarshall( (PMIDL_STUB_MESSAGE)& _StubMsg,
6679 (unsigned char __RPC_FAR *)pCustData,
6680 (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[1788] );
6682 _StubMsg.Buffer = (unsigned char __RPC_FAR *)(((long)_StubMsg.Buffer + 3) & ~ 0x3);
6683 *( HRESULT __RPC_FAR * )_StubMsg.Buffer = _RetVal;
6684 _StubMsg.Buffer += sizeof(HRESULT);
6687 RpcFinally
6689 NdrPointerFree( &_StubMsg,
6690 (unsigned char __RPC_FAR *)pCustData,
6691 &__MIDL_TypeFormatString.Format[1748] );
6694 RpcEndFinally
6695 _pRpcMessage->BufferLength =
6696 (unsigned int)((long)_StubMsg.Buffer - (long)_pRpcMessage->Buffer);
6701 HRESULT STDMETHODCALLTYPE ITypeInfo2_GetAllParamCustData_Proxy(
6702 ITypeInfo2 __RPC_FAR * This,
6703 /* [in] */ UINT indexFunc,
6704 /* [in] */ UINT indexParam,
6705 /* [out] */ CUSTDATA __RPC_FAR *pCustData)
6708 HRESULT _RetVal;
6710 RPC_MESSAGE _RpcMessage;
6712 MIDL_STUB_MESSAGE _StubMsg;
6714 if(pCustData)
6716 MIDL_memset(
6717 pCustData,
6719 sizeof( CUSTDATA ));
6721 RpcTryExcept
6723 NdrProxyInitialize(
6724 ( void __RPC_FAR * )This,
6725 ( PRPC_MESSAGE )&_RpcMessage,
6726 ( PMIDL_STUB_MESSAGE )&_StubMsg,
6727 ( PMIDL_STUB_DESC )&Object_StubDesc,
6728 34);
6732 if(!pCustData)
6734 RpcRaiseException(RPC_X_NULL_REF_POINTER);
6736 RpcTryFinally
6739 _StubMsg.BufferLength = 4U + 4U;
6740 NdrProxyGetBuffer(This, &_StubMsg);
6741 *( UINT __RPC_FAR * )_StubMsg.Buffer = indexFunc;
6742 _StubMsg.Buffer += sizeof(UINT);
6744 *( UINT __RPC_FAR * )_StubMsg.Buffer = indexParam;
6745 _StubMsg.Buffer += sizeof(UINT);
6747 NdrProxySendReceive(This, &_StubMsg);
6749 if ( (_RpcMessage.DataRepresentation & 0X0000FFFFUL) != NDR_LOCAL_DATA_REPRESENTATION )
6750 NdrConvert( (PMIDL_STUB_MESSAGE) &_StubMsg, (PFORMAT_STRING) &__MIDL_ProcFormatString.Format[368] );
6752 NdrComplexStructUnmarshall( (PMIDL_STUB_MESSAGE) &_StubMsg,
6753 (unsigned char __RPC_FAR * __RPC_FAR *)&pCustData,
6754 (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[1788],
6755 (unsigned char)0 );
6757 _StubMsg.Buffer = (unsigned char __RPC_FAR *)(((long)_StubMsg.Buffer + 3) & ~ 0x3);
6758 _RetVal = *( HRESULT __RPC_FAR * )_StubMsg.Buffer;
6759 _StubMsg.Buffer += sizeof(HRESULT);
6762 RpcFinally
6764 NdrProxyFreeBuffer(This, &_StubMsg);
6767 RpcEndFinally
6770 RpcExcept(_StubMsg.dwStubPhase != PROXY_SENDRECEIVE)
6772 NdrClearOutParameters(
6773 ( PMIDL_STUB_MESSAGE )&_StubMsg,
6774 ( PFORMAT_STRING )&__MIDL_TypeFormatString.Format[1748],
6775 ( void __RPC_FAR * )pCustData);
6776 _RetVal = NdrProxyErrorHandler(RpcExceptionCode());
6778 RpcEndExcept
6779 return _RetVal;
6782 void __RPC_STUB ITypeInfo2_GetAllParamCustData_Stub(
6783 IRpcStubBuffer *This,
6784 IRpcChannelBuffer *_pRpcChannelBuffer,
6785 PRPC_MESSAGE _pRpcMessage,
6786 DWORD *_pdwStubPhase)
6788 HRESULT _RetVal;
6789 MIDL_STUB_MESSAGE _StubMsg;
6790 CUSTDATA _pCustDataM;
6791 UINT indexFunc;
6792 UINT indexParam;
6793 CUSTDATA __RPC_FAR *pCustData;
6795 NdrStubInitialize(
6796 _pRpcMessage,
6797 &_StubMsg,
6798 &Object_StubDesc,
6799 _pRpcChannelBuffer);
6800 pCustData = 0;
6801 RpcTryFinally
6803 if ( (_pRpcMessage->DataRepresentation & 0X0000FFFFUL) != NDR_LOCAL_DATA_REPRESENTATION )
6804 NdrConvert( (PMIDL_STUB_MESSAGE) &_StubMsg, (PFORMAT_STRING) &__MIDL_ProcFormatString.Format[368] );
6806 indexFunc = *( UINT __RPC_FAR * )_StubMsg.Buffer;
6807 _StubMsg.Buffer += sizeof(UINT);
6809 indexParam = *( UINT __RPC_FAR * )_StubMsg.Buffer;
6810 _StubMsg.Buffer += sizeof(UINT);
6812 pCustData = &_pCustDataM;
6813 pCustData -> prgCustData = 0;
6815 *_pdwStubPhase = STUB_CALL_SERVER;
6816 _RetVal = (((ITypeInfo2*) ((CStdStubBuffer *)This)->pvServerObject)->lpVtbl) -> GetAllParamCustData(
6817 (ITypeInfo2 *) ((CStdStubBuffer *)This)->pvServerObject,
6818 indexFunc,
6819 indexParam,
6820 pCustData);
6822 *_pdwStubPhase = STUB_MARSHAL;
6824 _StubMsg.BufferLength = 0U + 11U;
6825 NdrComplexStructBufferSize( (PMIDL_STUB_MESSAGE) &_StubMsg,
6826 (unsigned char __RPC_FAR *)pCustData,
6827 (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[1788] );
6829 _StubMsg.BufferLength += 16;
6831 NdrStubGetBuffer(This, _pRpcChannelBuffer, &_StubMsg);
6832 NdrComplexStructMarshall( (PMIDL_STUB_MESSAGE)& _StubMsg,
6833 (unsigned char __RPC_FAR *)pCustData,
6834 (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[1788] );
6836 _StubMsg.Buffer = (unsigned char __RPC_FAR *)(((long)_StubMsg.Buffer + 3) & ~ 0x3);
6837 *( HRESULT __RPC_FAR * )_StubMsg.Buffer = _RetVal;
6838 _StubMsg.Buffer += sizeof(HRESULT);
6841 RpcFinally
6843 NdrPointerFree( &_StubMsg,
6844 (unsigned char __RPC_FAR *)pCustData,
6845 &__MIDL_TypeFormatString.Format[1748] );
6848 RpcEndFinally
6849 _pRpcMessage->BufferLength =
6850 (unsigned int)((long)_StubMsg.Buffer - (long)_pRpcMessage->Buffer);
6855 HRESULT STDMETHODCALLTYPE ITypeInfo2_GetAllVarCustData_Proxy(
6856 ITypeInfo2 __RPC_FAR * This,
6857 /* [in] */ UINT index,
6858 /* [out] */ CUSTDATA __RPC_FAR *pCustData)
6861 HRESULT _RetVal;
6863 RPC_MESSAGE _RpcMessage;
6865 MIDL_STUB_MESSAGE _StubMsg;
6867 if(pCustData)
6869 MIDL_memset(
6870 pCustData,
6872 sizeof( CUSTDATA ));
6874 RpcTryExcept
6876 NdrProxyInitialize(
6877 ( void __RPC_FAR * )This,
6878 ( PRPC_MESSAGE )&_RpcMessage,
6879 ( PMIDL_STUB_MESSAGE )&_StubMsg,
6880 ( PMIDL_STUB_DESC )&Object_StubDesc,
6881 35);
6885 if(!pCustData)
6887 RpcRaiseException(RPC_X_NULL_REF_POINTER);
6889 RpcTryFinally
6892 _StubMsg.BufferLength = 4U;
6893 NdrProxyGetBuffer(This, &_StubMsg);
6894 *( UINT __RPC_FAR * )_StubMsg.Buffer = index;
6895 _StubMsg.Buffer += sizeof(UINT);
6897 NdrProxySendReceive(This, &_StubMsg);
6899 if ( (_RpcMessage.DataRepresentation & 0X0000FFFFUL) != NDR_LOCAL_DATA_REPRESENTATION )
6900 NdrConvert( (PMIDL_STUB_MESSAGE) &_StubMsg, (PFORMAT_STRING) &__MIDL_ProcFormatString.Format[360] );
6902 NdrComplexStructUnmarshall( (PMIDL_STUB_MESSAGE) &_StubMsg,
6903 (unsigned char __RPC_FAR * __RPC_FAR *)&pCustData,
6904 (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[1788],
6905 (unsigned char)0 );
6907 _StubMsg.Buffer = (unsigned char __RPC_FAR *)(((long)_StubMsg.Buffer + 3) & ~ 0x3);
6908 _RetVal = *( HRESULT __RPC_FAR * )_StubMsg.Buffer;
6909 _StubMsg.Buffer += sizeof(HRESULT);
6912 RpcFinally
6914 NdrProxyFreeBuffer(This, &_StubMsg);
6917 RpcEndFinally
6920 RpcExcept(_StubMsg.dwStubPhase != PROXY_SENDRECEIVE)
6922 NdrClearOutParameters(
6923 ( PMIDL_STUB_MESSAGE )&_StubMsg,
6924 ( PFORMAT_STRING )&__MIDL_TypeFormatString.Format[1748],
6925 ( void __RPC_FAR * )pCustData);
6926 _RetVal = NdrProxyErrorHandler(RpcExceptionCode());
6928 RpcEndExcept
6929 return _RetVal;
6932 void __RPC_STUB ITypeInfo2_GetAllVarCustData_Stub(
6933 IRpcStubBuffer *This,
6934 IRpcChannelBuffer *_pRpcChannelBuffer,
6935 PRPC_MESSAGE _pRpcMessage,
6936 DWORD *_pdwStubPhase)
6938 HRESULT _RetVal;
6939 MIDL_STUB_MESSAGE _StubMsg;
6940 CUSTDATA _pCustDataM;
6941 UINT index;
6942 CUSTDATA __RPC_FAR *pCustData;
6944 NdrStubInitialize(
6945 _pRpcMessage,
6946 &_StubMsg,
6947 &Object_StubDesc,
6948 _pRpcChannelBuffer);
6949 pCustData = 0;
6950 RpcTryFinally
6952 if ( (_pRpcMessage->DataRepresentation & 0X0000FFFFUL) != NDR_LOCAL_DATA_REPRESENTATION )
6953 NdrConvert( (PMIDL_STUB_MESSAGE) &_StubMsg, (PFORMAT_STRING) &__MIDL_ProcFormatString.Format[360] );
6955 index = *( UINT __RPC_FAR * )_StubMsg.Buffer;
6956 _StubMsg.Buffer += sizeof(UINT);
6958 pCustData = &_pCustDataM;
6959 pCustData -> prgCustData = 0;
6961 *_pdwStubPhase = STUB_CALL_SERVER;
6962 _RetVal = (((ITypeInfo2*) ((CStdStubBuffer *)This)->pvServerObject)->lpVtbl) -> GetAllVarCustData(
6963 (ITypeInfo2 *) ((CStdStubBuffer *)This)->pvServerObject,
6964 index,
6965 pCustData);
6967 *_pdwStubPhase = STUB_MARSHAL;
6969 _StubMsg.BufferLength = 0U + 11U;
6970 NdrComplexStructBufferSize( (PMIDL_STUB_MESSAGE) &_StubMsg,
6971 (unsigned char __RPC_FAR *)pCustData,
6972 (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[1788] );
6974 _StubMsg.BufferLength += 16;
6976 NdrStubGetBuffer(This, _pRpcChannelBuffer, &_StubMsg);
6977 NdrComplexStructMarshall( (PMIDL_STUB_MESSAGE)& _StubMsg,
6978 (unsigned char __RPC_FAR *)pCustData,
6979 (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[1788] );
6981 _StubMsg.Buffer = (unsigned char __RPC_FAR *)(((long)_StubMsg.Buffer + 3) & ~ 0x3);
6982 *( HRESULT __RPC_FAR * )_StubMsg.Buffer = _RetVal;
6983 _StubMsg.Buffer += sizeof(HRESULT);
6986 RpcFinally
6988 NdrPointerFree( &_StubMsg,
6989 (unsigned char __RPC_FAR *)pCustData,
6990 &__MIDL_TypeFormatString.Format[1748] );
6993 RpcEndFinally
6994 _pRpcMessage->BufferLength =
6995 (unsigned int)((long)_StubMsg.Buffer - (long)_pRpcMessage->Buffer);
7000 HRESULT STDMETHODCALLTYPE ITypeInfo2_GetAllImplTypeCustData_Proxy(
7001 ITypeInfo2 __RPC_FAR * This,
7002 /* [in] */ UINT index,
7003 /* [out] */ CUSTDATA __RPC_FAR *pCustData)
7006 HRESULT _RetVal;
7008 RPC_MESSAGE _RpcMessage;
7010 MIDL_STUB_MESSAGE _StubMsg;
7012 if(pCustData)
7014 MIDL_memset(
7015 pCustData,
7017 sizeof( CUSTDATA ));
7019 RpcTryExcept
7021 NdrProxyInitialize(
7022 ( void __RPC_FAR * )This,
7023 ( PRPC_MESSAGE )&_RpcMessage,
7024 ( PMIDL_STUB_MESSAGE )&_StubMsg,
7025 ( PMIDL_STUB_DESC )&Object_StubDesc,
7026 36);
7030 if(!pCustData)
7032 RpcRaiseException(RPC_X_NULL_REF_POINTER);
7034 RpcTryFinally
7037 _StubMsg.BufferLength = 4U;
7038 NdrProxyGetBuffer(This, &_StubMsg);
7039 *( UINT __RPC_FAR * )_StubMsg.Buffer = index;
7040 _StubMsg.Buffer += sizeof(UINT);
7042 NdrProxySendReceive(This, &_StubMsg);
7044 if ( (_RpcMessage.DataRepresentation & 0X0000FFFFUL) != NDR_LOCAL_DATA_REPRESENTATION )
7045 NdrConvert( (PMIDL_STUB_MESSAGE) &_StubMsg, (PFORMAT_STRING) &__MIDL_ProcFormatString.Format[360] );
7047 NdrComplexStructUnmarshall( (PMIDL_STUB_MESSAGE) &_StubMsg,
7048 (unsigned char __RPC_FAR * __RPC_FAR *)&pCustData,
7049 (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[1788],
7050 (unsigned char)0 );
7052 _StubMsg.Buffer = (unsigned char __RPC_FAR *)(((long)_StubMsg.Buffer + 3) & ~ 0x3);
7053 _RetVal = *( HRESULT __RPC_FAR * )_StubMsg.Buffer;
7054 _StubMsg.Buffer += sizeof(HRESULT);
7057 RpcFinally
7059 NdrProxyFreeBuffer(This, &_StubMsg);
7062 RpcEndFinally
7065 RpcExcept(_StubMsg.dwStubPhase != PROXY_SENDRECEIVE)
7067 NdrClearOutParameters(
7068 ( PMIDL_STUB_MESSAGE )&_StubMsg,
7069 ( PFORMAT_STRING )&__MIDL_TypeFormatString.Format[1748],
7070 ( void __RPC_FAR * )pCustData);
7071 _RetVal = NdrProxyErrorHandler(RpcExceptionCode());
7073 RpcEndExcept
7074 return _RetVal;
7077 void __RPC_STUB ITypeInfo2_GetAllImplTypeCustData_Stub(
7078 IRpcStubBuffer *This,
7079 IRpcChannelBuffer *_pRpcChannelBuffer,
7080 PRPC_MESSAGE _pRpcMessage,
7081 DWORD *_pdwStubPhase)
7083 HRESULT _RetVal;
7084 MIDL_STUB_MESSAGE _StubMsg;
7085 CUSTDATA _pCustDataM;
7086 UINT index;
7087 CUSTDATA __RPC_FAR *pCustData;
7089 NdrStubInitialize(
7090 _pRpcMessage,
7091 &_StubMsg,
7092 &Object_StubDesc,
7093 _pRpcChannelBuffer);
7094 pCustData = 0;
7095 RpcTryFinally
7097 if ( (_pRpcMessage->DataRepresentation & 0X0000FFFFUL) != NDR_LOCAL_DATA_REPRESENTATION )
7098 NdrConvert( (PMIDL_STUB_MESSAGE) &_StubMsg, (PFORMAT_STRING) &__MIDL_ProcFormatString.Format[360] );
7100 index = *( UINT __RPC_FAR * )_StubMsg.Buffer;
7101 _StubMsg.Buffer += sizeof(UINT);
7103 pCustData = &_pCustDataM;
7104 pCustData -> prgCustData = 0;
7106 *_pdwStubPhase = STUB_CALL_SERVER;
7107 _RetVal = (((ITypeInfo2*) ((CStdStubBuffer *)This)->pvServerObject)->lpVtbl) -> GetAllImplTypeCustData(
7108 (ITypeInfo2 *) ((CStdStubBuffer *)This)->pvServerObject,
7109 index,
7110 pCustData);
7112 *_pdwStubPhase = STUB_MARSHAL;
7114 _StubMsg.BufferLength = 0U + 11U;
7115 NdrComplexStructBufferSize( (PMIDL_STUB_MESSAGE) &_StubMsg,
7116 (unsigned char __RPC_FAR *)pCustData,
7117 (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[1788] );
7119 _StubMsg.BufferLength += 16;
7121 NdrStubGetBuffer(This, _pRpcChannelBuffer, &_StubMsg);
7122 NdrComplexStructMarshall( (PMIDL_STUB_MESSAGE)& _StubMsg,
7123 (unsigned char __RPC_FAR *)pCustData,
7124 (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[1788] );
7126 _StubMsg.Buffer = (unsigned char __RPC_FAR *)(((long)_StubMsg.Buffer + 3) & ~ 0x3);
7127 *( HRESULT __RPC_FAR * )_StubMsg.Buffer = _RetVal;
7128 _StubMsg.Buffer += sizeof(HRESULT);
7131 RpcFinally
7133 NdrPointerFree( &_StubMsg,
7134 (unsigned char __RPC_FAR *)pCustData,
7135 &__MIDL_TypeFormatString.Format[1748] );
7138 RpcEndFinally
7139 _pRpcMessage->BufferLength =
7140 (unsigned int)((long)_StubMsg.Buffer - (long)_pRpcMessage->Buffer);
7144 const CINTERFACE_PROXY_VTABLE(37) _ITypeInfo2ProxyVtbl =
7146 { &IID_ITypeInfo2 },
7148 IUnknown_QueryInterface_Proxy,
7149 IUnknown_AddRef_Proxy,
7150 IUnknown_Release_Proxy ,
7151 ITypeInfo_GetTypeAttr_Proxy ,
7152 ITypeInfo_GetTypeComp_Proxy ,
7153 ITypeInfo_GetFuncDesc_Proxy ,
7154 ITypeInfo_GetVarDesc_Proxy ,
7155 ITypeInfo_GetNames_Proxy ,
7156 ITypeInfo_GetRefTypeOfImplType_Proxy ,
7157 ITypeInfo_GetImplTypeFlags_Proxy ,
7158 ITypeInfo_GetIDsOfNames_Proxy ,
7159 ITypeInfo_Invoke_Proxy ,
7160 ITypeInfo_GetDocumentation_Proxy ,
7161 ITypeInfo_GetDllEntry_Proxy ,
7162 ITypeInfo_GetRefTypeInfo_Proxy ,
7163 ITypeInfo_AddressOfMember_Proxy ,
7164 ITypeInfo_CreateInstance_Proxy ,
7165 ITypeInfo_GetMops_Proxy ,
7166 ITypeInfo_GetContainingTypeLib_Proxy ,
7167 ITypeInfo_ReleaseTypeAttr_Proxy ,
7168 ITypeInfo_ReleaseFuncDesc_Proxy ,
7169 ITypeInfo_ReleaseVarDesc_Proxy ,
7170 ITypeInfo2_GetTypeKind_Proxy ,
7171 ITypeInfo2_GetTypeFlags_Proxy ,
7172 ITypeInfo2_GetFuncIndexOfMemId_Proxy ,
7173 ITypeInfo2_GetVarIndexOfMemId_Proxy ,
7174 ITypeInfo2_GetCustData_Proxy ,
7175 ITypeInfo2_GetFuncCustData_Proxy ,
7176 ITypeInfo2_GetParamCustData_Proxy ,
7177 ITypeInfo2_GetVarCustData_Proxy ,
7178 ITypeInfo2_GetImplTypeCustData_Proxy ,
7179 ITypeInfo2_GetDocumentation2_Proxy ,
7180 ITypeInfo2_GetAllCustData_Proxy ,
7181 ITypeInfo2_GetAllFuncCustData_Proxy ,
7182 ITypeInfo2_GetAllParamCustData_Proxy ,
7183 ITypeInfo2_GetAllVarCustData_Proxy ,
7184 ITypeInfo2_GetAllImplTypeCustData_Proxy
7189 static const PRPC_STUB_FUNCTION ITypeInfo2_table[] =
7191 ITypeInfo_RemoteGetTypeAttr_Stub,
7192 ITypeInfo_GetTypeComp_Stub,
7193 ITypeInfo_RemoteGetFuncDesc_Stub,
7194 ITypeInfo_RemoteGetVarDesc_Stub,
7195 ITypeInfo_RemoteGetNames_Stub,
7196 ITypeInfo_GetRefTypeOfImplType_Stub,
7197 ITypeInfo_GetImplTypeFlags_Stub,
7198 ITypeInfo_LocalGetIDsOfNames_Stub,
7199 ITypeInfo_LocalInvoke_Stub,
7200 ITypeInfo_RemoteGetDocumentation_Stub,
7201 ITypeInfo_RemoteGetDllEntry_Stub,
7202 ITypeInfo_GetRefTypeInfo_Stub,
7203 ITypeInfo_LocalAddressOfMember_Stub,
7204 ITypeInfo_RemoteCreateInstance_Stub,
7205 ITypeInfo_GetMops_Stub,
7206 ITypeInfo_RemoteGetContainingTypeLib_Stub,
7207 ITypeInfo_LocalReleaseTypeAttr_Stub,
7208 ITypeInfo_LocalReleaseFuncDesc_Stub,
7209 ITypeInfo_LocalReleaseVarDesc_Stub,
7210 ITypeInfo2_GetTypeKind_Stub,
7211 ITypeInfo2_GetTypeFlags_Stub,
7212 ITypeInfo2_GetFuncIndexOfMemId_Stub,
7213 ITypeInfo2_GetVarIndexOfMemId_Stub,
7214 ITypeInfo2_GetCustData_Stub,
7215 ITypeInfo2_GetFuncCustData_Stub,
7216 ITypeInfo2_GetParamCustData_Stub,
7217 ITypeInfo2_GetVarCustData_Stub,
7218 ITypeInfo2_GetImplTypeCustData_Stub,
7219 ITypeInfo2_RemoteGetDocumentation2_Stub,
7220 ITypeInfo2_GetAllCustData_Stub,
7221 ITypeInfo2_GetAllFuncCustData_Stub,
7222 ITypeInfo2_GetAllParamCustData_Stub,
7223 ITypeInfo2_GetAllVarCustData_Stub,
7224 ITypeInfo2_GetAllImplTypeCustData_Stub
7227 const CInterfaceStubVtbl _ITypeInfo2StubVtbl =
7230 &IID_ITypeInfo2,
7233 &ITypeInfo2_table[-3]
7235 { CStdStubBuffer_METHODS }
7239 /* Object interface: ITypeLib, ver. 0.0,
7240 GUID={0x00020402,0x0000,0x0000,{0xC0,0x00,0x00,0x00,0x00,0x00,0x00,0x46}} */
7243 extern const MIDL_STUB_DESC Object_StubDesc;
7246 /* [call_as] */ HRESULT STDMETHODCALLTYPE ITypeLib_RemoteGetTypeInfoCount_Proxy(
7247 ITypeLib __RPC_FAR * This,
7248 /* [out] */ UINT __RPC_FAR *pcTInfo)
7251 HRESULT _RetVal;
7253 RPC_MESSAGE _RpcMessage;
7255 MIDL_STUB_MESSAGE _StubMsg;
7257 RpcTryExcept
7259 NdrProxyInitialize(
7260 ( void __RPC_FAR * )This,
7261 ( PRPC_MESSAGE )&_RpcMessage,
7262 ( PMIDL_STUB_MESSAGE )&_StubMsg,
7263 ( PMIDL_STUB_DESC )&Object_StubDesc,
7268 if(!pcTInfo)
7270 RpcRaiseException(RPC_X_NULL_REF_POINTER);
7272 RpcTryFinally
7275 _StubMsg.BufferLength = 0U;
7276 NdrProxyGetBuffer(This, &_StubMsg);
7277 NdrProxySendReceive(This, &_StubMsg);
7279 if ( (_RpcMessage.DataRepresentation & 0X0000FFFFUL) != NDR_LOCAL_DATA_REPRESENTATION )
7280 NdrConvert( (PMIDL_STUB_MESSAGE) &_StubMsg, (PFORMAT_STRING) &__MIDL_ProcFormatString.Format[0] );
7282 *pcTInfo = *( UINT __RPC_FAR * )_StubMsg.Buffer;
7283 _StubMsg.Buffer += sizeof(UINT);
7285 _RetVal = *( HRESULT __RPC_FAR * )_StubMsg.Buffer;
7286 _StubMsg.Buffer += sizeof(HRESULT);
7289 RpcFinally
7291 NdrProxyFreeBuffer(This, &_StubMsg);
7294 RpcEndFinally
7297 RpcExcept(_StubMsg.dwStubPhase != PROXY_SENDRECEIVE)
7299 NdrClearOutParameters(
7300 ( PMIDL_STUB_MESSAGE )&_StubMsg,
7301 ( PFORMAT_STRING )&__MIDL_TypeFormatString.Format[2],
7302 ( void __RPC_FAR * )pcTInfo);
7303 _RetVal = NdrProxyErrorHandler(RpcExceptionCode());
7305 RpcEndExcept
7306 return _RetVal;
7309 void __RPC_STUB ITypeLib_RemoteGetTypeInfoCount_Stub(
7310 IRpcStubBuffer *This,
7311 IRpcChannelBuffer *_pRpcChannelBuffer,
7312 PRPC_MESSAGE _pRpcMessage,
7313 DWORD *_pdwStubPhase)
7315 UINT _M61;
7316 HRESULT _RetVal;
7317 MIDL_STUB_MESSAGE _StubMsg;
7318 UINT __RPC_FAR *pcTInfo;
7320 NdrStubInitialize(
7321 _pRpcMessage,
7322 &_StubMsg,
7323 &Object_StubDesc,
7324 _pRpcChannelBuffer);
7325 pcTInfo = 0;
7326 RpcTryFinally
7328 pcTInfo = &_M61;
7330 *_pdwStubPhase = STUB_CALL_SERVER;
7333 _RetVal = ITypeLib_GetTypeInfoCount_Stub((ITypeLib *) ((CStdStubBuffer *)This)->pvServerObject,pcTInfo);
7335 *_pdwStubPhase = STUB_MARSHAL;
7337 _StubMsg.BufferLength = 4U + 4U;
7338 NdrStubGetBuffer(This, _pRpcChannelBuffer, &_StubMsg);
7339 *( UINT __RPC_FAR * )_StubMsg.Buffer = *pcTInfo;
7340 _StubMsg.Buffer += sizeof(UINT);
7342 *( HRESULT __RPC_FAR * )_StubMsg.Buffer = _RetVal;
7343 _StubMsg.Buffer += sizeof(HRESULT);
7346 RpcFinally
7349 RpcEndFinally
7350 _pRpcMessage->BufferLength =
7351 (unsigned int)((long)_StubMsg.Buffer - (long)_pRpcMessage->Buffer);
7356 HRESULT STDMETHODCALLTYPE ITypeLib_GetTypeInfo_Proxy(
7357 ITypeLib __RPC_FAR * This,
7358 /* [in] */ UINT index,
7359 /* [out] */ ITypeInfo __RPC_FAR *__RPC_FAR *ppTInfo)
7362 HRESULT _RetVal;
7364 RPC_MESSAGE _RpcMessage;
7366 MIDL_STUB_MESSAGE _StubMsg;
7368 if(ppTInfo)
7370 MIDL_memset(
7371 ppTInfo,
7373 sizeof( ITypeInfo __RPC_FAR *__RPC_FAR * ));
7375 RpcTryExcept
7377 NdrProxyInitialize(
7378 ( void __RPC_FAR * )This,
7379 ( PRPC_MESSAGE )&_RpcMessage,
7380 ( PMIDL_STUB_MESSAGE )&_StubMsg,
7381 ( PMIDL_STUB_DESC )&Object_StubDesc,
7386 if(!ppTInfo)
7388 RpcRaiseException(RPC_X_NULL_REF_POINTER);
7390 RpcTryFinally
7393 _StubMsg.BufferLength = 4U;
7394 NdrProxyGetBuffer(This, &_StubMsg);
7395 *( UINT __RPC_FAR * )_StubMsg.Buffer = index;
7396 _StubMsg.Buffer += sizeof(UINT);
7398 NdrProxySendReceive(This, &_StubMsg);
7400 if ( (_RpcMessage.DataRepresentation & 0X0000FFFFUL) != NDR_LOCAL_DATA_REPRESENTATION )
7401 NdrConvert( (PMIDL_STUB_MESSAGE) &_StubMsg, (PFORMAT_STRING) &__MIDL_ProcFormatString.Format[246] );
7403 NdrPointerUnmarshall( (PMIDL_STUB_MESSAGE) &_StubMsg,
7404 (unsigned char __RPC_FAR * __RPC_FAR *)&ppTInfo,
7405 (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[6],
7406 (unsigned char)0 );
7408 _StubMsg.Buffer = (unsigned char __RPC_FAR *)(((long)_StubMsg.Buffer + 3) & ~ 0x3);
7409 _RetVal = *( HRESULT __RPC_FAR * )_StubMsg.Buffer;
7410 _StubMsg.Buffer += sizeof(HRESULT);
7413 RpcFinally
7415 NdrProxyFreeBuffer(This, &_StubMsg);
7418 RpcEndFinally
7421 RpcExcept(_StubMsg.dwStubPhase != PROXY_SENDRECEIVE)
7423 NdrClearOutParameters(
7424 ( PMIDL_STUB_MESSAGE )&_StubMsg,
7425 ( PFORMAT_STRING )&__MIDL_TypeFormatString.Format[6],
7426 ( void __RPC_FAR * )ppTInfo);
7427 _RetVal = NdrProxyErrorHandler(RpcExceptionCode());
7429 RpcEndExcept
7430 return _RetVal;
7433 void __RPC_STUB ITypeLib_GetTypeInfo_Stub(
7434 IRpcStubBuffer *This,
7435 IRpcChannelBuffer *_pRpcChannelBuffer,
7436 PRPC_MESSAGE _pRpcMessage,
7437 DWORD *_pdwStubPhase)
7439 ITypeInfo __RPC_FAR *_M62;
7440 HRESULT _RetVal;
7441 MIDL_STUB_MESSAGE _StubMsg;
7442 UINT index;
7443 ITypeInfo __RPC_FAR *__RPC_FAR *ppTInfo;
7445 NdrStubInitialize(
7446 _pRpcMessage,
7447 &_StubMsg,
7448 &Object_StubDesc,
7449 _pRpcChannelBuffer);
7450 ppTInfo = 0;
7451 RpcTryFinally
7453 if ( (_pRpcMessage->DataRepresentation & 0X0000FFFFUL) != NDR_LOCAL_DATA_REPRESENTATION )
7454 NdrConvert( (PMIDL_STUB_MESSAGE) &_StubMsg, (PFORMAT_STRING) &__MIDL_ProcFormatString.Format[246] );
7456 index = *( UINT __RPC_FAR * )_StubMsg.Buffer;
7457 _StubMsg.Buffer += sizeof(UINT);
7459 ppTInfo = &_M62;
7460 _M62 = 0;
7462 *_pdwStubPhase = STUB_CALL_SERVER;
7463 _RetVal = (((ITypeLib*) ((CStdStubBuffer *)This)->pvServerObject)->lpVtbl) -> GetTypeInfo(
7464 (ITypeLib *) ((CStdStubBuffer *)This)->pvServerObject,
7465 index,
7466 ppTInfo);
7468 *_pdwStubPhase = STUB_MARSHAL;
7470 _StubMsg.BufferLength = 0U + 4U;
7471 NdrPointerBufferSize( (PMIDL_STUB_MESSAGE) &_StubMsg,
7472 (unsigned char __RPC_FAR *)ppTInfo,
7473 (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[6] );
7475 _StubMsg.BufferLength += 16;
7477 NdrStubGetBuffer(This, _pRpcChannelBuffer, &_StubMsg);
7478 NdrPointerMarshall( (PMIDL_STUB_MESSAGE)& _StubMsg,
7479 (unsigned char __RPC_FAR *)ppTInfo,
7480 (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[6] );
7482 _StubMsg.Buffer = (unsigned char __RPC_FAR *)(((long)_StubMsg.Buffer + 3) & ~ 0x3);
7483 *( HRESULT __RPC_FAR * )_StubMsg.Buffer = _RetVal;
7484 _StubMsg.Buffer += sizeof(HRESULT);
7487 RpcFinally
7489 NdrPointerFree( &_StubMsg,
7490 (unsigned char __RPC_FAR *)ppTInfo,
7491 &__MIDL_TypeFormatString.Format[6] );
7494 RpcEndFinally
7495 _pRpcMessage->BufferLength =
7496 (unsigned int)((long)_StubMsg.Buffer - (long)_pRpcMessage->Buffer);
7501 HRESULT STDMETHODCALLTYPE ITypeLib_GetTypeInfoType_Proxy(
7502 ITypeLib __RPC_FAR * This,
7503 /* [in] */ UINT index,
7504 /* [out] */ TYPEKIND __RPC_FAR *pTKind)
7507 HRESULT _RetVal;
7509 RPC_MESSAGE _RpcMessage;
7511 MIDL_STUB_MESSAGE _StubMsg;
7513 RpcTryExcept
7515 NdrProxyInitialize(
7516 ( void __RPC_FAR * )This,
7517 ( PRPC_MESSAGE )&_RpcMessage,
7518 ( PMIDL_STUB_MESSAGE )&_StubMsg,
7519 ( PMIDL_STUB_DESC )&Object_StubDesc,
7524 if(!pTKind)
7526 RpcRaiseException(RPC_X_NULL_REF_POINTER);
7528 RpcTryFinally
7531 _StubMsg.BufferLength = 4U;
7532 NdrProxyGetBuffer(This, &_StubMsg);
7533 *( UINT __RPC_FAR * )_StubMsg.Buffer = index;
7534 _StubMsg.Buffer += sizeof(UINT);
7536 NdrProxySendReceive(This, &_StubMsg);
7538 if ( (_RpcMessage.DataRepresentation & 0X0000FFFFUL) != NDR_LOCAL_DATA_REPRESENTATION )
7539 NdrConvert( (PMIDL_STUB_MESSAGE) &_StubMsg, (PFORMAT_STRING) &__MIDL_ProcFormatString.Format[378] );
7541 NdrPointerUnmarshall( (PMIDL_STUB_MESSAGE) &_StubMsg,
7542 (unsigned char __RPC_FAR * __RPC_FAR *)&pTKind,
7543 (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[1250],
7544 (unsigned char)0 );
7546 _RetVal = *( HRESULT __RPC_FAR * )_StubMsg.Buffer;
7547 _StubMsg.Buffer += sizeof(HRESULT);
7550 RpcFinally
7552 NdrProxyFreeBuffer(This, &_StubMsg);
7555 RpcEndFinally
7558 RpcExcept(_StubMsg.dwStubPhase != PROXY_SENDRECEIVE)
7560 NdrClearOutParameters(
7561 ( PMIDL_STUB_MESSAGE )&_StubMsg,
7562 ( PFORMAT_STRING )&__MIDL_TypeFormatString.Format[1250],
7563 ( void __RPC_FAR * )pTKind);
7564 _RetVal = NdrProxyErrorHandler(RpcExceptionCode());
7566 RpcEndExcept
7567 return _RetVal;
7570 void __RPC_STUB ITypeLib_GetTypeInfoType_Stub(
7571 IRpcStubBuffer *This,
7572 IRpcChannelBuffer *_pRpcChannelBuffer,
7573 PRPC_MESSAGE _pRpcMessage,
7574 DWORD *_pdwStubPhase)
7576 TYPEKIND _M63;
7577 HRESULT _RetVal;
7578 MIDL_STUB_MESSAGE _StubMsg;
7579 UINT index;
7580 TYPEKIND __RPC_FAR *pTKind;
7582 NdrStubInitialize(
7583 _pRpcMessage,
7584 &_StubMsg,
7585 &Object_StubDesc,
7586 _pRpcChannelBuffer);
7587 pTKind = 0;
7588 RpcTryFinally
7590 if ( (_pRpcMessage->DataRepresentation & 0X0000FFFFUL) != NDR_LOCAL_DATA_REPRESENTATION )
7591 NdrConvert( (PMIDL_STUB_MESSAGE) &_StubMsg, (PFORMAT_STRING) &__MIDL_ProcFormatString.Format[378] );
7593 index = *( UINT __RPC_FAR * )_StubMsg.Buffer;
7594 _StubMsg.Buffer += sizeof(UINT);
7596 pTKind = &_M63;
7598 *_pdwStubPhase = STUB_CALL_SERVER;
7599 _RetVal = (((ITypeLib*) ((CStdStubBuffer *)This)->pvServerObject)->lpVtbl) -> GetTypeInfoType(
7600 (ITypeLib *) ((CStdStubBuffer *)This)->pvServerObject,
7601 index,
7602 pTKind);
7604 *_pdwStubPhase = STUB_MARSHAL;
7606 _StubMsg.BufferLength = 4U + 4U;
7607 NdrStubGetBuffer(This, _pRpcChannelBuffer, &_StubMsg);
7608 NdrPointerMarshall( (PMIDL_STUB_MESSAGE)& _StubMsg,
7609 (unsigned char __RPC_FAR *)pTKind,
7610 (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[1250] );
7612 *( HRESULT __RPC_FAR * )_StubMsg.Buffer = _RetVal;
7613 _StubMsg.Buffer += sizeof(HRESULT);
7616 RpcFinally
7619 RpcEndFinally
7620 _pRpcMessage->BufferLength =
7621 (unsigned int)((long)_StubMsg.Buffer - (long)_pRpcMessage->Buffer);
7626 HRESULT STDMETHODCALLTYPE ITypeLib_GetTypeInfoOfGuid_Proxy(
7627 ITypeLib __RPC_FAR * This,
7628 /* [in] */ REFGUID guid,
7629 /* [out] */ ITypeInfo __RPC_FAR *__RPC_FAR *ppTinfo)
7632 HRESULT _RetVal;
7634 RPC_MESSAGE _RpcMessage;
7636 MIDL_STUB_MESSAGE _StubMsg;
7638 if(ppTinfo)
7640 MIDL_memset(
7641 ppTinfo,
7643 sizeof( ITypeInfo __RPC_FAR *__RPC_FAR * ));
7645 RpcTryExcept
7647 NdrProxyInitialize(
7648 ( void __RPC_FAR * )This,
7649 ( PRPC_MESSAGE )&_RpcMessage,
7650 ( PMIDL_STUB_MESSAGE )&_StubMsg,
7651 ( PMIDL_STUB_DESC )&Object_StubDesc,
7656 if(!guid)
7658 RpcRaiseException(RPC_X_NULL_REF_POINTER);
7660 if(!ppTinfo)
7662 RpcRaiseException(RPC_X_NULL_REF_POINTER);
7664 RpcTryFinally
7667 _StubMsg.BufferLength = 0U;
7668 NdrSimpleStructBufferSize( (PMIDL_STUB_MESSAGE) &_StubMsg,
7669 (unsigned char __RPC_FAR *)guid,
7670 (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[38] );
7672 NdrProxyGetBuffer(This, &_StubMsg);
7673 NdrSimpleStructMarshall( (PMIDL_STUB_MESSAGE)& _StubMsg,
7674 (unsigned char __RPC_FAR *)guid,
7675 (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[38] );
7677 NdrProxySendReceive(This, &_StubMsg);
7679 if ( (_RpcMessage.DataRepresentation & 0X0000FFFFUL) != NDR_LOCAL_DATA_REPRESENTATION )
7680 NdrConvert( (PMIDL_STUB_MESSAGE) &_StubMsg, (PFORMAT_STRING) &__MIDL_ProcFormatString.Format[386] );
7682 NdrPointerUnmarshall( (PMIDL_STUB_MESSAGE) &_StubMsg,
7683 (unsigned char __RPC_FAR * __RPC_FAR *)&ppTinfo,
7684 (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[6],
7685 (unsigned char)0 );
7687 _StubMsg.Buffer = (unsigned char __RPC_FAR *)(((long)_StubMsg.Buffer + 3) & ~ 0x3);
7688 _RetVal = *( HRESULT __RPC_FAR * )_StubMsg.Buffer;
7689 _StubMsg.Buffer += sizeof(HRESULT);
7692 RpcFinally
7694 NdrProxyFreeBuffer(This, &_StubMsg);
7697 RpcEndFinally
7700 RpcExcept(_StubMsg.dwStubPhase != PROXY_SENDRECEIVE)
7702 NdrClearOutParameters(
7703 ( PMIDL_STUB_MESSAGE )&_StubMsg,
7704 ( PFORMAT_STRING )&__MIDL_TypeFormatString.Format[6],
7705 ( void __RPC_FAR * )ppTinfo);
7706 _RetVal = NdrProxyErrorHandler(RpcExceptionCode());
7708 RpcEndExcept
7709 return _RetVal;
7712 void __RPC_STUB ITypeLib_GetTypeInfoOfGuid_Stub(
7713 IRpcStubBuffer *This,
7714 IRpcChannelBuffer *_pRpcChannelBuffer,
7715 PRPC_MESSAGE _pRpcMessage,
7716 DWORD *_pdwStubPhase)
7718 ITypeInfo __RPC_FAR *_M64;
7719 HRESULT _RetVal;
7720 MIDL_STUB_MESSAGE _StubMsg;
7721 REFGUID guid = 0;
7722 ITypeInfo __RPC_FAR *__RPC_FAR *ppTinfo;
7724 NdrStubInitialize(
7725 _pRpcMessage,
7726 &_StubMsg,
7727 &Object_StubDesc,
7728 _pRpcChannelBuffer);
7729 ppTinfo = 0;
7730 RpcTryFinally
7732 if ( (_pRpcMessage->DataRepresentation & 0X0000FFFFUL) != NDR_LOCAL_DATA_REPRESENTATION )
7733 NdrConvert( (PMIDL_STUB_MESSAGE) &_StubMsg, (PFORMAT_STRING) &__MIDL_ProcFormatString.Format[386] );
7735 NdrSimpleStructUnmarshall( (PMIDL_STUB_MESSAGE) &_StubMsg,
7736 (unsigned char __RPC_FAR * __RPC_FAR *)&guid,
7737 (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[38],
7738 (unsigned char)0 );
7740 ppTinfo = &_M64;
7741 _M64 = 0;
7743 *_pdwStubPhase = STUB_CALL_SERVER;
7744 _RetVal = (((ITypeLib*) ((CStdStubBuffer *)This)->pvServerObject)->lpVtbl) -> GetTypeInfoOfGuid(
7745 (ITypeLib *) ((CStdStubBuffer *)This)->pvServerObject,
7746 guid,
7747 ppTinfo);
7749 *_pdwStubPhase = STUB_MARSHAL;
7751 _StubMsg.BufferLength = 0U + 4U;
7752 NdrPointerBufferSize( (PMIDL_STUB_MESSAGE) &_StubMsg,
7753 (unsigned char __RPC_FAR *)ppTinfo,
7754 (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[6] );
7756 _StubMsg.BufferLength += 16;
7758 NdrStubGetBuffer(This, _pRpcChannelBuffer, &_StubMsg);
7759 NdrPointerMarshall( (PMIDL_STUB_MESSAGE)& _StubMsg,
7760 (unsigned char __RPC_FAR *)ppTinfo,
7761 (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[6] );
7763 _StubMsg.Buffer = (unsigned char __RPC_FAR *)(((long)_StubMsg.Buffer + 3) & ~ 0x3);
7764 *( HRESULT __RPC_FAR * )_StubMsg.Buffer = _RetVal;
7765 _StubMsg.Buffer += sizeof(HRESULT);
7768 RpcFinally
7770 NdrPointerFree( &_StubMsg,
7771 (unsigned char __RPC_FAR *)ppTinfo,
7772 &__MIDL_TypeFormatString.Format[6] );
7775 RpcEndFinally
7776 _pRpcMessage->BufferLength =
7777 (unsigned int)((long)_StubMsg.Buffer - (long)_pRpcMessage->Buffer);
7782 /* [call_as] */ HRESULT STDMETHODCALLTYPE ITypeLib_RemoteGetLibAttr_Proxy(
7783 ITypeLib __RPC_FAR * This,
7784 /* [out] */ LPTLIBATTR __RPC_FAR *ppTLibAttr,
7785 /* [out] */ CLEANLOCALSTORAGE __RPC_FAR *pDummy)
7788 HRESULT _RetVal;
7790 RPC_MESSAGE _RpcMessage;
7792 MIDL_STUB_MESSAGE _StubMsg;
7794 if(ppTLibAttr)
7796 *ppTLibAttr = 0;
7798 if(pDummy)
7800 MIDL_memset(
7801 pDummy,
7803 sizeof( CLEANLOCALSTORAGE ));
7805 RpcTryExcept
7807 NdrProxyInitialize(
7808 ( void __RPC_FAR * )This,
7809 ( PRPC_MESSAGE )&_RpcMessage,
7810 ( PMIDL_STUB_MESSAGE )&_StubMsg,
7811 ( PMIDL_STUB_DESC )&Object_StubDesc,
7816 if(!ppTLibAttr)
7818 RpcRaiseException(RPC_X_NULL_REF_POINTER);
7820 if(!pDummy)
7822 RpcRaiseException(RPC_X_NULL_REF_POINTER);
7824 RpcTryFinally
7827 _StubMsg.BufferLength = 0U;
7828 NdrProxyGetBuffer(This, &_StubMsg);
7829 NdrProxySendReceive(This, &_StubMsg);
7831 if ( (_RpcMessage.DataRepresentation & 0X0000FFFFUL) != NDR_LOCAL_DATA_REPRESENTATION )
7832 NdrConvert( (PMIDL_STUB_MESSAGE) &_StubMsg, (PFORMAT_STRING) &__MIDL_ProcFormatString.Format[396] );
7834 NdrPointerUnmarshall( (PMIDL_STUB_MESSAGE) &_StubMsg,
7835 (unsigned char __RPC_FAR * __RPC_FAR *)&ppTLibAttr,
7836 (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[1804],
7837 (unsigned char)0 );
7839 NdrUserMarshalUnmarshall( (PMIDL_STUB_MESSAGE) &_StubMsg,
7840 (unsigned char __RPC_FAR * __RPC_FAR *)&pDummy,
7841 (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[1838],
7842 (unsigned char)0 );
7844 _StubMsg.Buffer = (unsigned char __RPC_FAR *)(((long)_StubMsg.Buffer + 3) & ~ 0x3);
7845 _RetVal = *( HRESULT __RPC_FAR * )_StubMsg.Buffer;
7846 _StubMsg.Buffer += sizeof(HRESULT);
7849 RpcFinally
7851 NdrProxyFreeBuffer(This, &_StubMsg);
7854 RpcEndFinally
7857 RpcExcept(_StubMsg.dwStubPhase != PROXY_SENDRECEIVE)
7859 NdrClearOutParameters(
7860 ( PMIDL_STUB_MESSAGE )&_StubMsg,
7861 ( PFORMAT_STRING )&__MIDL_TypeFormatString.Format[1804],
7862 ( void __RPC_FAR * )ppTLibAttr);
7863 NdrClearOutParameters(
7864 ( PMIDL_STUB_MESSAGE )&_StubMsg,
7865 ( PFORMAT_STRING )&__MIDL_TypeFormatString.Format[1832],
7866 ( void __RPC_FAR * )pDummy);
7867 _RetVal = NdrProxyErrorHandler(RpcExceptionCode());
7869 RpcEndExcept
7870 return _RetVal;
7873 void __RPC_STUB ITypeLib_RemoteGetLibAttr_Stub(
7874 IRpcStubBuffer *This,
7875 IRpcChannelBuffer *_pRpcChannelBuffer,
7876 PRPC_MESSAGE _pRpcMessage,
7877 DWORD *_pdwStubPhase)
7879 LPTLIBATTR _M65;
7880 CLEANLOCALSTORAGE _M66;
7881 HRESULT _RetVal;
7882 MIDL_STUB_MESSAGE _StubMsg;
7883 CLEANLOCALSTORAGE __RPC_FAR *pDummy;
7884 LPTLIBATTR __RPC_FAR *ppTLibAttr;
7886 NdrStubInitialize(
7887 _pRpcMessage,
7888 &_StubMsg,
7889 &Object_StubDesc,
7890 _pRpcChannelBuffer);
7891 ppTLibAttr = 0;
7892 pDummy = 0;
7893 RpcTryFinally
7895 ppTLibAttr = &_M65;
7896 _M65 = 0;
7897 pDummy = &_M66;
7898 MIDL_memset(
7899 pDummy,
7901 sizeof( CLEANLOCALSTORAGE ));
7903 *_pdwStubPhase = STUB_CALL_SERVER;
7906 _RetVal = ITypeLib_GetLibAttr_Stub(
7907 (ITypeLib *) ((CStdStubBuffer *)This)->pvServerObject,
7908 ppTLibAttr,
7909 pDummy);
7911 *_pdwStubPhase = STUB_MARSHAL;
7913 _StubMsg.BufferLength = 8U + 11U + 7U;
7914 NdrPointerBufferSize( (PMIDL_STUB_MESSAGE) &_StubMsg,
7915 (unsigned char __RPC_FAR *)ppTLibAttr,
7916 (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[1804] );
7918 _StubMsg.BufferLength += 16;
7920 NdrStubGetBuffer(This, _pRpcChannelBuffer, &_StubMsg);
7921 NdrPointerMarshall( (PMIDL_STUB_MESSAGE)& _StubMsg,
7922 (unsigned char __RPC_FAR *)ppTLibAttr,
7923 (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[1804] );
7925 NdrUserMarshalMarshall( (PMIDL_STUB_MESSAGE)& _StubMsg,
7926 (unsigned char __RPC_FAR *)pDummy,
7927 (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[1838] );
7929 _StubMsg.Buffer = (unsigned char __RPC_FAR *)(((long)_StubMsg.Buffer + 3) & ~ 0x3);
7930 *( HRESULT __RPC_FAR * )_StubMsg.Buffer = _RetVal;
7931 _StubMsg.Buffer += sizeof(HRESULT);
7934 RpcFinally
7936 NdrPointerFree( &_StubMsg,
7937 (unsigned char __RPC_FAR *)ppTLibAttr,
7938 &__MIDL_TypeFormatString.Format[1804] );
7940 NdrPointerFree( &_StubMsg,
7941 (unsigned char __RPC_FAR *)pDummy,
7942 &__MIDL_TypeFormatString.Format[1832] );
7945 RpcEndFinally
7946 _pRpcMessage->BufferLength =
7947 (unsigned int)((long)_StubMsg.Buffer - (long)_pRpcMessage->Buffer);
7952 HRESULT STDMETHODCALLTYPE ITypeLib_GetTypeComp_Proxy(
7953 ITypeLib __RPC_FAR * This,
7954 /* [out] */ ITypeComp __RPC_FAR *__RPC_FAR *ppTComp)
7957 HRESULT _RetVal;
7959 RPC_MESSAGE _RpcMessage;
7961 MIDL_STUB_MESSAGE _StubMsg;
7963 if(ppTComp)
7965 MIDL_memset(
7966 ppTComp,
7968 sizeof( ITypeComp __RPC_FAR *__RPC_FAR * ));
7970 RpcTryExcept
7972 NdrProxyInitialize(
7973 ( void __RPC_FAR * )This,
7974 ( PRPC_MESSAGE )&_RpcMessage,
7975 ( PMIDL_STUB_MESSAGE )&_StubMsg,
7976 ( PMIDL_STUB_DESC )&Object_StubDesc,
7981 if(!ppTComp)
7983 RpcRaiseException(RPC_X_NULL_REF_POINTER);
7985 RpcTryFinally
7988 _StubMsg.BufferLength = 0U;
7989 NdrProxyGetBuffer(This, &_StubMsg);
7990 NdrProxySendReceive(This, &_StubMsg);
7992 if ( (_RpcMessage.DataRepresentation & 0X0000FFFFUL) != NDR_LOCAL_DATA_REPRESENTATION )
7993 NdrConvert( (PMIDL_STUB_MESSAGE) &_StubMsg, (PFORMAT_STRING) &__MIDL_ProcFormatString.Format[152] );
7995 NdrPointerUnmarshall( (PMIDL_STUB_MESSAGE) &_StubMsg,
7996 (unsigned char __RPC_FAR * __RPC_FAR *)&ppTComp,
7997 (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[1540],
7998 (unsigned char)0 );
8000 _StubMsg.Buffer = (unsigned char __RPC_FAR *)(((long)_StubMsg.Buffer + 3) & ~ 0x3);
8001 _RetVal = *( HRESULT __RPC_FAR * )_StubMsg.Buffer;
8002 _StubMsg.Buffer += sizeof(HRESULT);
8005 RpcFinally
8007 NdrProxyFreeBuffer(This, &_StubMsg);
8010 RpcEndFinally
8013 RpcExcept(_StubMsg.dwStubPhase != PROXY_SENDRECEIVE)
8015 NdrClearOutParameters(
8016 ( PMIDL_STUB_MESSAGE )&_StubMsg,
8017 ( PFORMAT_STRING )&__MIDL_TypeFormatString.Format[1540],
8018 ( void __RPC_FAR * )ppTComp);
8019 _RetVal = NdrProxyErrorHandler(RpcExceptionCode());
8021 RpcEndExcept
8022 return _RetVal;
8025 void __RPC_STUB ITypeLib_GetTypeComp_Stub(
8026 IRpcStubBuffer *This,
8027 IRpcChannelBuffer *_pRpcChannelBuffer,
8028 PRPC_MESSAGE _pRpcMessage,
8029 DWORD *_pdwStubPhase)
8031 ITypeComp __RPC_FAR *_M67;
8032 HRESULT _RetVal;
8033 MIDL_STUB_MESSAGE _StubMsg;
8034 ITypeComp __RPC_FAR *__RPC_FAR *ppTComp;
8036 NdrStubInitialize(
8037 _pRpcMessage,
8038 &_StubMsg,
8039 &Object_StubDesc,
8040 _pRpcChannelBuffer);
8041 ppTComp = 0;
8042 RpcTryFinally
8044 ppTComp = &_M67;
8045 _M67 = 0;
8047 *_pdwStubPhase = STUB_CALL_SERVER;
8048 _RetVal = (((ITypeLib*) ((CStdStubBuffer *)This)->pvServerObject)->lpVtbl) -> GetTypeComp((ITypeLib *) ((CStdStubBuffer *)This)->pvServerObject,ppTComp);
8050 *_pdwStubPhase = STUB_MARSHAL;
8052 _StubMsg.BufferLength = 0U + 4U;
8053 NdrPointerBufferSize( (PMIDL_STUB_MESSAGE) &_StubMsg,
8054 (unsigned char __RPC_FAR *)ppTComp,
8055 (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[1540] );
8057 _StubMsg.BufferLength += 16;
8059 NdrStubGetBuffer(This, _pRpcChannelBuffer, &_StubMsg);
8060 NdrPointerMarshall( (PMIDL_STUB_MESSAGE)& _StubMsg,
8061 (unsigned char __RPC_FAR *)ppTComp,
8062 (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[1540] );
8064 _StubMsg.Buffer = (unsigned char __RPC_FAR *)(((long)_StubMsg.Buffer + 3) & ~ 0x3);
8065 *( HRESULT __RPC_FAR * )_StubMsg.Buffer = _RetVal;
8066 _StubMsg.Buffer += sizeof(HRESULT);
8069 RpcFinally
8071 NdrPointerFree( &_StubMsg,
8072 (unsigned char __RPC_FAR *)ppTComp,
8073 &__MIDL_TypeFormatString.Format[1540] );
8076 RpcEndFinally
8077 _pRpcMessage->BufferLength =
8078 (unsigned int)((long)_StubMsg.Buffer - (long)_pRpcMessage->Buffer);
8083 /* [call_as] */ HRESULT STDMETHODCALLTYPE ITypeLib_RemoteGetDocumentation_Proxy(
8084 ITypeLib __RPC_FAR * This,
8085 /* [in] */ INT index,
8086 /* [in] */ DWORD refPtrFlags,
8087 /* [out] */ BSTR __RPC_FAR *pBstrName,
8088 /* [out] */ BSTR __RPC_FAR *pBstrDocString,
8089 /* [out] */ DWORD __RPC_FAR *pdwHelpContext,
8090 /* [out] */ BSTR __RPC_FAR *pBstrHelpFile)
8093 HRESULT _RetVal;
8095 RPC_MESSAGE _RpcMessage;
8097 MIDL_STUB_MESSAGE _StubMsg;
8099 if(pBstrName)
8101 MIDL_memset(
8102 pBstrName,
8104 sizeof( BSTR ));
8106 if(pBstrDocString)
8108 MIDL_memset(
8109 pBstrDocString,
8111 sizeof( BSTR ));
8113 if(pBstrHelpFile)
8115 MIDL_memset(
8116 pBstrHelpFile,
8118 sizeof( BSTR ));
8120 RpcTryExcept
8122 NdrProxyInitialize(
8123 ( void __RPC_FAR * )This,
8124 ( PRPC_MESSAGE )&_RpcMessage,
8125 ( PMIDL_STUB_MESSAGE )&_StubMsg,
8126 ( PMIDL_STUB_DESC )&Object_StubDesc,
8131 if(!pBstrName)
8133 RpcRaiseException(RPC_X_NULL_REF_POINTER);
8135 if(!pBstrDocString)
8137 RpcRaiseException(RPC_X_NULL_REF_POINTER);
8139 if(!pdwHelpContext)
8141 RpcRaiseException(RPC_X_NULL_REF_POINTER);
8143 if(!pBstrHelpFile)
8145 RpcRaiseException(RPC_X_NULL_REF_POINTER);
8147 RpcTryFinally
8150 _StubMsg.BufferLength = 4U + 4U;
8151 NdrProxyGetBuffer(This, &_StubMsg);
8152 *( INT __RPC_FAR * )_StubMsg.Buffer = index;
8153 _StubMsg.Buffer += sizeof(INT);
8155 *( DWORD __RPC_FAR * )_StubMsg.Buffer = refPtrFlags;
8156 _StubMsg.Buffer += sizeof(DWORD);
8158 NdrProxySendReceive(This, &_StubMsg);
8160 if ( (_RpcMessage.DataRepresentation & 0X0000FFFFUL) != NDR_LOCAL_DATA_REPRESENTATION )
8161 NdrConvert( (PMIDL_STUB_MESSAGE) &_StubMsg, (PFORMAT_STRING) &__MIDL_ProcFormatString.Format[204] );
8163 NdrUserMarshalUnmarshall( (PMIDL_STUB_MESSAGE) &_StubMsg,
8164 (unsigned char __RPC_FAR * __RPC_FAR *)&pBstrName,
8165 (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[1128],
8166 (unsigned char)0 );
8168 NdrUserMarshalUnmarshall( (PMIDL_STUB_MESSAGE) &_StubMsg,
8169 (unsigned char __RPC_FAR * __RPC_FAR *)&pBstrDocString,
8170 (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[1128],
8171 (unsigned char)0 );
8173 _StubMsg.Buffer = (unsigned char __RPC_FAR *)(((long)_StubMsg.Buffer + 3) & ~ 0x3);
8174 *pdwHelpContext = *( DWORD __RPC_FAR * )_StubMsg.Buffer;
8175 _StubMsg.Buffer += sizeof(DWORD);
8177 NdrUserMarshalUnmarshall( (PMIDL_STUB_MESSAGE) &_StubMsg,
8178 (unsigned char __RPC_FAR * __RPC_FAR *)&pBstrHelpFile,
8179 (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[1128],
8180 (unsigned char)0 );
8182 _StubMsg.Buffer = (unsigned char __RPC_FAR *)(((long)_StubMsg.Buffer + 3) & ~ 0x3);
8183 _RetVal = *( HRESULT __RPC_FAR * )_StubMsg.Buffer;
8184 _StubMsg.Buffer += sizeof(HRESULT);
8187 RpcFinally
8189 NdrProxyFreeBuffer(This, &_StubMsg);
8192 RpcEndFinally
8195 RpcExcept(_StubMsg.dwStubPhase != PROXY_SENDRECEIVE)
8197 NdrClearOutParameters(
8198 ( PMIDL_STUB_MESSAGE )&_StubMsg,
8199 ( PFORMAT_STRING )&__MIDL_TypeFormatString.Format[1708],
8200 ( void __RPC_FAR * )pBstrName);
8201 NdrClearOutParameters(
8202 ( PMIDL_STUB_MESSAGE )&_StubMsg,
8203 ( PFORMAT_STRING )&__MIDL_TypeFormatString.Format[1708],
8204 ( void __RPC_FAR * )pBstrDocString);
8205 NdrClearOutParameters(
8206 ( PMIDL_STUB_MESSAGE )&_StubMsg,
8207 ( PFORMAT_STRING )&__MIDL_TypeFormatString.Format[2],
8208 ( void __RPC_FAR * )pdwHelpContext);
8209 NdrClearOutParameters(
8210 ( PMIDL_STUB_MESSAGE )&_StubMsg,
8211 ( PFORMAT_STRING )&__MIDL_TypeFormatString.Format[1708],
8212 ( void __RPC_FAR * )pBstrHelpFile);
8213 _RetVal = NdrProxyErrorHandler(RpcExceptionCode());
8215 RpcEndExcept
8216 return _RetVal;
8219 void __RPC_STUB ITypeLib_RemoteGetDocumentation_Stub(
8220 IRpcStubBuffer *This,
8221 IRpcChannelBuffer *_pRpcChannelBuffer,
8222 PRPC_MESSAGE _pRpcMessage,
8223 DWORD *_pdwStubPhase)
8225 BSTR _M68;
8226 BSTR _M69;
8227 DWORD _M70;
8228 BSTR _M71;
8229 HRESULT _RetVal;
8230 MIDL_STUB_MESSAGE _StubMsg;
8231 INT index;
8232 BSTR __RPC_FAR *pBstrDocString;
8233 BSTR __RPC_FAR *pBstrHelpFile;
8234 BSTR __RPC_FAR *pBstrName;
8235 DWORD __RPC_FAR *pdwHelpContext;
8236 DWORD refPtrFlags;
8238 NdrStubInitialize(
8239 _pRpcMessage,
8240 &_StubMsg,
8241 &Object_StubDesc,
8242 _pRpcChannelBuffer);
8243 pBstrName = 0;
8244 pBstrDocString = 0;
8245 pdwHelpContext = 0;
8246 pBstrHelpFile = 0;
8247 RpcTryFinally
8249 if ( (_pRpcMessage->DataRepresentation & 0X0000FFFFUL) != NDR_LOCAL_DATA_REPRESENTATION )
8250 NdrConvert( (PMIDL_STUB_MESSAGE) &_StubMsg, (PFORMAT_STRING) &__MIDL_ProcFormatString.Format[204] );
8252 index = *( INT __RPC_FAR * )_StubMsg.Buffer;
8253 _StubMsg.Buffer += sizeof(INT);
8255 refPtrFlags = *( DWORD __RPC_FAR * )_StubMsg.Buffer;
8256 _StubMsg.Buffer += sizeof(DWORD);
8258 pBstrName = &_M68;
8259 MIDL_memset(
8260 pBstrName,
8262 sizeof( BSTR ));
8263 pBstrDocString = &_M69;
8264 MIDL_memset(
8265 pBstrDocString,
8267 sizeof( BSTR ));
8268 pdwHelpContext = &_M70;
8269 pBstrHelpFile = &_M71;
8270 MIDL_memset(
8271 pBstrHelpFile,
8273 sizeof( BSTR ));
8275 *_pdwStubPhase = STUB_CALL_SERVER;
8278 _RetVal = ITypeLib_GetDocumentation_Stub(
8279 (ITypeLib *) ((CStdStubBuffer *)This)->pvServerObject,
8280 index,
8281 refPtrFlags,
8282 pBstrName,
8283 pBstrDocString,
8284 pdwHelpContext,
8285 pBstrHelpFile);
8287 *_pdwStubPhase = STUB_MARSHAL;
8289 _StubMsg.BufferLength = 8U + 15U + 11U + 11U + 11U;
8290 NdrUserMarshalBufferSize( (PMIDL_STUB_MESSAGE) &_StubMsg,
8291 (unsigned char __RPC_FAR *)pBstrName,
8292 (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[1128] );
8294 NdrUserMarshalBufferSize( (PMIDL_STUB_MESSAGE) &_StubMsg,
8295 (unsigned char __RPC_FAR *)pBstrDocString,
8296 (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[1128] );
8298 NdrUserMarshalBufferSize( (PMIDL_STUB_MESSAGE) &_StubMsg,
8299 (unsigned char __RPC_FAR *)pBstrHelpFile,
8300 (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[1128] );
8302 _StubMsg.BufferLength += 16;
8304 NdrStubGetBuffer(This, _pRpcChannelBuffer, &_StubMsg);
8305 NdrUserMarshalMarshall( (PMIDL_STUB_MESSAGE)& _StubMsg,
8306 (unsigned char __RPC_FAR *)pBstrName,
8307 (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[1128] );
8309 NdrUserMarshalMarshall( (PMIDL_STUB_MESSAGE)& _StubMsg,
8310 (unsigned char __RPC_FAR *)pBstrDocString,
8311 (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[1128] );
8313 _StubMsg.Buffer = (unsigned char __RPC_FAR *)(((long)_StubMsg.Buffer + 3) & ~ 0x3);
8314 *( DWORD __RPC_FAR * )_StubMsg.Buffer = *pdwHelpContext;
8315 _StubMsg.Buffer += sizeof(DWORD);
8317 NdrUserMarshalMarshall( (PMIDL_STUB_MESSAGE)& _StubMsg,
8318 (unsigned char __RPC_FAR *)pBstrHelpFile,
8319 (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[1128] );
8321 _StubMsg.Buffer = (unsigned char __RPC_FAR *)(((long)_StubMsg.Buffer + 3) & ~ 0x3);
8322 *( HRESULT __RPC_FAR * )_StubMsg.Buffer = _RetVal;
8323 _StubMsg.Buffer += sizeof(HRESULT);
8326 RpcFinally
8328 NdrPointerFree( &_StubMsg,
8329 (unsigned char __RPC_FAR *)pBstrName,
8330 &__MIDL_TypeFormatString.Format[1708] );
8332 NdrPointerFree( &_StubMsg,
8333 (unsigned char __RPC_FAR *)pBstrDocString,
8334 &__MIDL_TypeFormatString.Format[1708] );
8336 NdrPointerFree( &_StubMsg,
8337 (unsigned char __RPC_FAR *)pBstrHelpFile,
8338 &__MIDL_TypeFormatString.Format[1708] );
8341 RpcEndFinally
8342 _pRpcMessage->BufferLength =
8343 (unsigned int)((long)_StubMsg.Buffer - (long)_pRpcMessage->Buffer);
8348 /* [call_as] */ HRESULT STDMETHODCALLTYPE ITypeLib_RemoteIsName_Proxy(
8349 ITypeLib __RPC_FAR * This,
8350 /* [in] */ LPOLESTR szNameBuf,
8351 /* [in] */ ULONG lHashVal,
8352 /* [out] */ BOOL __RPC_FAR *pfName,
8353 /* [out] */ BSTR __RPC_FAR *pBstrLibName)
8356 HRESULT _RetVal;
8358 RPC_MESSAGE _RpcMessage;
8360 MIDL_STUB_MESSAGE _StubMsg;
8362 if(pBstrLibName)
8364 MIDL_memset(
8365 pBstrLibName,
8367 sizeof( BSTR ));
8369 RpcTryExcept
8371 NdrProxyInitialize(
8372 ( void __RPC_FAR * )This,
8373 ( PRPC_MESSAGE )&_RpcMessage,
8374 ( PMIDL_STUB_MESSAGE )&_StubMsg,
8375 ( PMIDL_STUB_DESC )&Object_StubDesc,
8376 10);
8380 if(!szNameBuf)
8382 RpcRaiseException(RPC_X_NULL_REF_POINTER);
8384 if(!pfName)
8386 RpcRaiseException(RPC_X_NULL_REF_POINTER);
8388 if(!pBstrLibName)
8390 RpcRaiseException(RPC_X_NULL_REF_POINTER);
8392 RpcTryFinally
8395 _StubMsg.BufferLength = 12U + 10U;
8396 NdrConformantStringBufferSize( (PMIDL_STUB_MESSAGE) &_StubMsg,
8397 (unsigned char __RPC_FAR *)szNameBuf,
8398 (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[1248] );
8400 NdrProxyGetBuffer(This, &_StubMsg);
8401 NdrConformantStringMarshall( (PMIDL_STUB_MESSAGE)& _StubMsg,
8402 (unsigned char __RPC_FAR *)szNameBuf,
8403 (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[1248] );
8405 _StubMsg.Buffer = (unsigned char __RPC_FAR *)(((long)_StubMsg.Buffer + 3) & ~ 0x3);
8406 *( ULONG __RPC_FAR * )_StubMsg.Buffer = lHashVal;
8407 _StubMsg.Buffer += sizeof(ULONG);
8409 NdrProxySendReceive(This, &_StubMsg);
8411 if ( (_RpcMessage.DataRepresentation & 0X0000FFFFUL) != NDR_LOCAL_DATA_REPRESENTATION )
8412 NdrConvert( (PMIDL_STUB_MESSAGE) &_StubMsg, (PFORMAT_STRING) &__MIDL_ProcFormatString.Format[406] );
8414 *pfName = *( BOOL __RPC_FAR * )_StubMsg.Buffer;
8415 _StubMsg.Buffer += sizeof(BOOL);
8417 NdrUserMarshalUnmarshall( (PMIDL_STUB_MESSAGE) &_StubMsg,
8418 (unsigned char __RPC_FAR * __RPC_FAR *)&pBstrLibName,
8419 (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[1128],
8420 (unsigned char)0 );
8422 _StubMsg.Buffer = (unsigned char __RPC_FAR *)(((long)_StubMsg.Buffer + 3) & ~ 0x3);
8423 _RetVal = *( HRESULT __RPC_FAR * )_StubMsg.Buffer;
8424 _StubMsg.Buffer += sizeof(HRESULT);
8427 RpcFinally
8429 NdrProxyFreeBuffer(This, &_StubMsg);
8432 RpcEndFinally
8435 RpcExcept(_StubMsg.dwStubPhase != PROXY_SENDRECEIVE)
8437 NdrClearOutParameters(
8438 ( PMIDL_STUB_MESSAGE )&_StubMsg,
8439 ( PFORMAT_STRING )&__MIDL_TypeFormatString.Format[2],
8440 ( void __RPC_FAR * )pfName);
8441 NdrClearOutParameters(
8442 ( PMIDL_STUB_MESSAGE )&_StubMsg,
8443 ( PFORMAT_STRING )&__MIDL_TypeFormatString.Format[1708],
8444 ( void __RPC_FAR * )pBstrLibName);
8445 _RetVal = NdrProxyErrorHandler(RpcExceptionCode());
8447 RpcEndExcept
8448 return _RetVal;
8451 void __RPC_STUB ITypeLib_RemoteIsName_Stub(
8452 IRpcStubBuffer *This,
8453 IRpcChannelBuffer *_pRpcChannelBuffer,
8454 PRPC_MESSAGE _pRpcMessage,
8455 DWORD *_pdwStubPhase)
8457 BOOL _M74;
8458 BSTR _M75;
8459 HRESULT _RetVal;
8460 MIDL_STUB_MESSAGE _StubMsg;
8461 ULONG lHashVal;
8462 BSTR __RPC_FAR *pBstrLibName;
8463 BOOL __RPC_FAR *pfName;
8464 LPOLESTR szNameBuf;
8466 NdrStubInitialize(
8467 _pRpcMessage,
8468 &_StubMsg,
8469 &Object_StubDesc,
8470 _pRpcChannelBuffer);
8471 szNameBuf = 0;
8472 pfName = 0;
8473 pBstrLibName = 0;
8474 RpcTryFinally
8476 if ( (_pRpcMessage->DataRepresentation & 0X0000FFFFUL) != NDR_LOCAL_DATA_REPRESENTATION )
8477 NdrConvert( (PMIDL_STUB_MESSAGE) &_StubMsg, (PFORMAT_STRING) &__MIDL_ProcFormatString.Format[406] );
8479 NdrConformantStringUnmarshall( (PMIDL_STUB_MESSAGE) &_StubMsg,
8480 (unsigned char __RPC_FAR * __RPC_FAR *)&szNameBuf,
8481 (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[1248],
8482 (unsigned char)0 );
8484 _StubMsg.Buffer = (unsigned char __RPC_FAR *)(((long)_StubMsg.Buffer + 3) & ~ 0x3);
8485 lHashVal = *( ULONG __RPC_FAR * )_StubMsg.Buffer;
8486 _StubMsg.Buffer += sizeof(ULONG);
8488 pfName = &_M74;
8489 pBstrLibName = &_M75;
8490 MIDL_memset(
8491 pBstrLibName,
8493 sizeof( BSTR ));
8495 *_pdwStubPhase = STUB_CALL_SERVER;
8498 _RetVal = ITypeLib_IsName_Stub(
8499 (ITypeLib *) ((CStdStubBuffer *)This)->pvServerObject,
8500 szNameBuf,
8501 lHashVal,
8502 pfName,
8503 pBstrLibName);
8505 *_pdwStubPhase = STUB_MARSHAL;
8507 _StubMsg.BufferLength = 4U + 4U + 11U;
8508 NdrUserMarshalBufferSize( (PMIDL_STUB_MESSAGE) &_StubMsg,
8509 (unsigned char __RPC_FAR *)pBstrLibName,
8510 (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[1128] );
8512 _StubMsg.BufferLength += 16;
8514 NdrStubGetBuffer(This, _pRpcChannelBuffer, &_StubMsg);
8515 *( BOOL __RPC_FAR * )_StubMsg.Buffer = *pfName;
8516 _StubMsg.Buffer += sizeof(BOOL);
8518 NdrUserMarshalMarshall( (PMIDL_STUB_MESSAGE)& _StubMsg,
8519 (unsigned char __RPC_FAR *)pBstrLibName,
8520 (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[1128] );
8522 _StubMsg.Buffer = (unsigned char __RPC_FAR *)(((long)_StubMsg.Buffer + 3) & ~ 0x3);
8523 *( HRESULT __RPC_FAR * )_StubMsg.Buffer = _RetVal;
8524 _StubMsg.Buffer += sizeof(HRESULT);
8527 RpcFinally
8529 NdrPointerFree( &_StubMsg,
8530 (unsigned char __RPC_FAR *)pBstrLibName,
8531 &__MIDL_TypeFormatString.Format[1708] );
8534 RpcEndFinally
8535 _pRpcMessage->BufferLength =
8536 (unsigned int)((long)_StubMsg.Buffer - (long)_pRpcMessage->Buffer);
8541 /* [call_as] */ HRESULT STDMETHODCALLTYPE ITypeLib_RemoteFindName_Proxy(
8542 ITypeLib __RPC_FAR * This,
8543 /* [in] */ LPOLESTR szNameBuf,
8544 /* [in] */ ULONG lHashVal,
8545 /* [length_is][size_is][out] */ ITypeInfo __RPC_FAR *__RPC_FAR *ppTInfo,
8546 /* [length_is][size_is][out] */ MEMBERID __RPC_FAR *rgMemId,
8547 /* [out][in] */ USHORT __RPC_FAR *pcFound,
8548 /* [out] */ BSTR __RPC_FAR *pBstrLibName)
8551 HRESULT _RetVal;
8553 RPC_MESSAGE _RpcMessage;
8555 MIDL_STUB_MESSAGE _StubMsg;
8557 if(ppTInfo)
8559 MIDL_memset(
8560 ppTInfo,
8562 *pcFound * sizeof( ITypeInfo __RPC_FAR *__RPC_FAR * ));
8564 if(pBstrLibName)
8566 MIDL_memset(
8567 pBstrLibName,
8569 sizeof( BSTR ));
8571 RpcTryExcept
8573 NdrProxyInitialize(
8574 ( void __RPC_FAR * )This,
8575 ( PRPC_MESSAGE )&_RpcMessage,
8576 ( PMIDL_STUB_MESSAGE )&_StubMsg,
8577 ( PMIDL_STUB_DESC )&Object_StubDesc,
8578 11);
8582 if(!szNameBuf)
8584 RpcRaiseException(RPC_X_NULL_REF_POINTER);
8586 if(!ppTInfo)
8588 RpcRaiseException(RPC_X_NULL_REF_POINTER);
8590 if(!rgMemId)
8592 RpcRaiseException(RPC_X_NULL_REF_POINTER);
8594 if(!pcFound)
8596 RpcRaiseException(RPC_X_NULL_REF_POINTER);
8598 if(!pBstrLibName)
8600 RpcRaiseException(RPC_X_NULL_REF_POINTER);
8602 RpcTryFinally
8605 _StubMsg.BufferLength = 12U + 10U + 4U;
8606 NdrConformantStringBufferSize( (PMIDL_STUB_MESSAGE) &_StubMsg,
8607 (unsigned char __RPC_FAR *)szNameBuf,
8608 (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[1248] );
8610 NdrProxyGetBuffer(This, &_StubMsg);
8611 NdrConformantStringMarshall( (PMIDL_STUB_MESSAGE)& _StubMsg,
8612 (unsigned char __RPC_FAR *)szNameBuf,
8613 (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[1248] );
8615 _StubMsg.Buffer = (unsigned char __RPC_FAR *)(((long)_StubMsg.Buffer + 3) & ~ 0x3);
8616 *( ULONG __RPC_FAR * )_StubMsg.Buffer = lHashVal;
8617 _StubMsg.Buffer += sizeof(ULONG);
8619 *( USHORT __RPC_FAR * )_StubMsg.Buffer = *pcFound;
8620 _StubMsg.Buffer += sizeof(USHORT);
8622 NdrProxySendReceive(This, &_StubMsg);
8624 if ( (_RpcMessage.DataRepresentation & 0X0000FFFFUL) != NDR_LOCAL_DATA_REPRESENTATION )
8625 NdrConvert( (PMIDL_STUB_MESSAGE) &_StubMsg, (PFORMAT_STRING) &__MIDL_ProcFormatString.Format[422] );
8627 NdrComplexArrayUnmarshall( (PMIDL_STUB_MESSAGE) &_StubMsg,
8628 (unsigned char __RPC_FAR * __RPC_FAR *)&ppTInfo,
8629 (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[1852],
8630 (unsigned char)0 );
8632 NdrConformantVaryingArrayUnmarshall( (PMIDL_STUB_MESSAGE) &_StubMsg,
8633 (unsigned char __RPC_FAR * __RPC_FAR *)&rgMemId,
8634 (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[1874],
8635 (unsigned char)0 );
8637 *pcFound = *( USHORT __RPC_FAR * )_StubMsg.Buffer;
8638 _StubMsg.Buffer += sizeof(USHORT);
8640 NdrUserMarshalUnmarshall( (PMIDL_STUB_MESSAGE) &_StubMsg,
8641 (unsigned char __RPC_FAR * __RPC_FAR *)&pBstrLibName,
8642 (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[1128],
8643 (unsigned char)0 );
8645 _StubMsg.Buffer = (unsigned char __RPC_FAR *)(((long)_StubMsg.Buffer + 3) & ~ 0x3);
8646 _RetVal = *( HRESULT __RPC_FAR * )_StubMsg.Buffer;
8647 _StubMsg.Buffer += sizeof(HRESULT);
8650 RpcFinally
8652 NdrProxyFreeBuffer(This, &_StubMsg);
8655 RpcEndFinally
8658 RpcExcept(_StubMsg.dwStubPhase != PROXY_SENDRECEIVE)
8660 _StubMsg.MaxCount = pcFound ? *pcFound : 0;
8661 _StubMsg.Offset = 0;
8662 _StubMsg.ActualCount = _StubMsg.MaxCount;
8664 NdrClearOutParameters(
8665 ( PMIDL_STUB_MESSAGE )&_StubMsg,
8666 ( PFORMAT_STRING )&__MIDL_TypeFormatString.Format[1848],
8667 ( void __RPC_FAR * )ppTInfo);
8668 _StubMsg.MaxCount = pcFound ? *pcFound : 0;
8669 _StubMsg.Offset = 0;
8670 _StubMsg.ActualCount = _StubMsg.MaxCount;
8672 NdrClearOutParameters(
8673 ( PMIDL_STUB_MESSAGE )&_StubMsg,
8674 ( PFORMAT_STRING )&__MIDL_TypeFormatString.Format[1870],
8675 ( void __RPC_FAR * )rgMemId);
8676 NdrClearOutParameters(
8677 ( PMIDL_STUB_MESSAGE )&_StubMsg,
8678 ( PFORMAT_STRING )&__MIDL_TypeFormatString.Format[1888],
8679 ( void __RPC_FAR * )pcFound);
8680 NdrClearOutParameters(
8681 ( PMIDL_STUB_MESSAGE )&_StubMsg,
8682 ( PFORMAT_STRING )&__MIDL_TypeFormatString.Format[1708],
8683 ( void __RPC_FAR * )pBstrLibName);
8684 _RetVal = NdrProxyErrorHandler(RpcExceptionCode());
8686 RpcEndExcept
8687 return _RetVal;
8690 void __RPC_STUB ITypeLib_RemoteFindName_Stub(
8691 IRpcStubBuffer *This,
8692 IRpcChannelBuffer *_pRpcChannelBuffer,
8693 PRPC_MESSAGE _pRpcMessage,
8694 DWORD *_pdwStubPhase)
8696 BSTR _M84;
8697 HRESULT _RetVal;
8698 MIDL_STUB_MESSAGE _StubMsg;
8699 ULONG lHashVal;
8700 BSTR __RPC_FAR *pBstrLibName;
8701 USHORT __RPC_FAR *pcFound;
8702 ITypeInfo __RPC_FAR *__RPC_FAR *ppTInfo;
8703 MEMBERID __RPC_FAR *rgMemId;
8704 LPOLESTR szNameBuf;
8706 NdrStubInitialize(
8707 _pRpcMessage,
8708 &_StubMsg,
8709 &Object_StubDesc,
8710 _pRpcChannelBuffer);
8711 szNameBuf = 0;
8712 ppTInfo = 0;
8713 rgMemId = 0;
8714 pcFound = 0;
8715 pBstrLibName = 0;
8716 RpcTryFinally
8718 if ( (_pRpcMessage->DataRepresentation & 0X0000FFFFUL) != NDR_LOCAL_DATA_REPRESENTATION )
8719 NdrConvert( (PMIDL_STUB_MESSAGE) &_StubMsg, (PFORMAT_STRING) &__MIDL_ProcFormatString.Format[422] );
8721 NdrConformantStringUnmarshall( (PMIDL_STUB_MESSAGE) &_StubMsg,
8722 (unsigned char __RPC_FAR * __RPC_FAR *)&szNameBuf,
8723 (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[1248],
8724 (unsigned char)0 );
8726 _StubMsg.Buffer = (unsigned char __RPC_FAR *)(((long)_StubMsg.Buffer + 3) & ~ 0x3);
8727 lHashVal = *( ULONG __RPC_FAR * )_StubMsg.Buffer;
8728 _StubMsg.Buffer += sizeof(ULONG);
8730 pcFound = ( USHORT __RPC_FAR * )_StubMsg.Buffer;
8731 _StubMsg.Buffer += sizeof( USHORT );
8733 ppTInfo = NdrAllocate(&_StubMsg,*pcFound * 4);
8734 rgMemId = NdrAllocate(&_StubMsg,*pcFound * 4);
8735 pBstrLibName = &_M84;
8736 MIDL_memset(
8737 pBstrLibName,
8739 sizeof( BSTR ));
8741 *_pdwStubPhase = STUB_CALL_SERVER;
8744 _RetVal = ITypeLib_FindName_Stub(
8745 (ITypeLib *) ((CStdStubBuffer *)This)->pvServerObject,
8746 szNameBuf,
8747 lHashVal,
8748 ppTInfo,
8749 rgMemId,
8750 pcFound,
8751 pBstrLibName);
8753 *_pdwStubPhase = STUB_MARSHAL;
8755 _StubMsg.BufferLength = 12U + 15U + 4U + 14U + 11U;
8756 _StubMsg.MaxCount = pcFound ? *pcFound : 0;
8757 _StubMsg.Offset = 0;
8758 _StubMsg.ActualCount = pcFound ? *pcFound : 0;
8760 NdrComplexArrayBufferSize( (PMIDL_STUB_MESSAGE) &_StubMsg,
8761 (unsigned char __RPC_FAR *)ppTInfo,
8762 (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[1852] );
8764 _StubMsg.MaxCount = pcFound ? *pcFound : 0;
8765 _StubMsg.Offset = 0;
8766 _StubMsg.ActualCount = pcFound ? *pcFound : 0;
8768 NdrConformantVaryingArrayBufferSize( (PMIDL_STUB_MESSAGE) &_StubMsg,
8769 (unsigned char __RPC_FAR *)rgMemId,
8770 (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[1874] );
8772 NdrUserMarshalBufferSize( (PMIDL_STUB_MESSAGE) &_StubMsg,
8773 (unsigned char __RPC_FAR *)pBstrLibName,
8774 (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[1128] );
8776 _StubMsg.BufferLength += 16;
8778 NdrStubGetBuffer(This, _pRpcChannelBuffer, &_StubMsg);
8779 _StubMsg.MaxCount = pcFound ? *pcFound : 0;
8780 _StubMsg.Offset = 0;
8781 _StubMsg.ActualCount = pcFound ? *pcFound : 0;
8783 NdrComplexArrayMarshall( (PMIDL_STUB_MESSAGE)& _StubMsg,
8784 (unsigned char __RPC_FAR *)ppTInfo,
8785 (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[1852] );
8787 _StubMsg.MaxCount = pcFound ? *pcFound : 0;
8788 _StubMsg.Offset = 0;
8789 _StubMsg.ActualCount = pcFound ? *pcFound : 0;
8791 NdrConformantVaryingArrayMarshall( (PMIDL_STUB_MESSAGE)& _StubMsg,
8792 (unsigned char __RPC_FAR *)rgMemId,
8793 (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[1874] );
8795 *( USHORT __RPC_FAR * )_StubMsg.Buffer = *pcFound;
8796 _StubMsg.Buffer += sizeof(USHORT);
8798 NdrUserMarshalMarshall( (PMIDL_STUB_MESSAGE)& _StubMsg,
8799 (unsigned char __RPC_FAR *)pBstrLibName,
8800 (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[1128] );
8802 _StubMsg.Buffer = (unsigned char __RPC_FAR *)(((long)_StubMsg.Buffer + 3) & ~ 0x3);
8803 *( HRESULT __RPC_FAR * )_StubMsg.Buffer = _RetVal;
8804 _StubMsg.Buffer += sizeof(HRESULT);
8807 RpcFinally
8809 _StubMsg.MaxCount = pcFound ? *pcFound : 0;
8810 _StubMsg.Offset = 0;
8811 _StubMsg.ActualCount = pcFound ? *pcFound : 0;
8813 NdrPointerFree( &_StubMsg,
8814 (unsigned char __RPC_FAR *)ppTInfo,
8815 &__MIDL_TypeFormatString.Format[1848] );
8817 _StubMsg.MaxCount = pcFound ? *pcFound : 0;
8818 _StubMsg.Offset = 0;
8819 _StubMsg.ActualCount = pcFound ? *pcFound : 0;
8821 NdrPointerFree( &_StubMsg,
8822 (unsigned char __RPC_FAR *)rgMemId,
8823 &__MIDL_TypeFormatString.Format[1870] );
8825 NdrPointerFree( &_StubMsg,
8826 (unsigned char __RPC_FAR *)pBstrLibName,
8827 &__MIDL_TypeFormatString.Format[1708] );
8830 RpcEndFinally
8831 _pRpcMessage->BufferLength =
8832 (unsigned int)((long)_StubMsg.Buffer - (long)_pRpcMessage->Buffer);
8837 /* [call_as] */ HRESULT STDMETHODCALLTYPE ITypeLib_LocalReleaseTLibAttr_Proxy(
8838 ITypeLib __RPC_FAR * This)
8841 HRESULT _RetVal;
8843 RPC_MESSAGE _RpcMessage;
8845 MIDL_STUB_MESSAGE _StubMsg;
8847 RpcTryExcept
8849 NdrProxyInitialize(
8850 ( void __RPC_FAR * )This,
8851 ( PRPC_MESSAGE )&_RpcMessage,
8852 ( PMIDL_STUB_MESSAGE )&_StubMsg,
8853 ( PMIDL_STUB_DESC )&Object_StubDesc,
8854 12);
8858 RpcTryFinally
8861 _StubMsg.BufferLength = 0U;
8862 NdrProxyGetBuffer(This, &_StubMsg);
8863 NdrProxySendReceive(This, &_StubMsg);
8865 if ( (_RpcMessage.DataRepresentation & 0X0000FFFFUL) != NDR_LOCAL_DATA_REPRESENTATION )
8866 NdrConvert( (PMIDL_STUB_MESSAGE) &_StubMsg, (PFORMAT_STRING) &__MIDL_ProcFormatString.Format[88] );
8868 _RetVal = *( HRESULT __RPC_FAR * )_StubMsg.Buffer;
8869 _StubMsg.Buffer += sizeof(HRESULT);
8872 RpcFinally
8874 NdrProxyFreeBuffer(This, &_StubMsg);
8877 RpcEndFinally
8880 RpcExcept(_StubMsg.dwStubPhase != PROXY_SENDRECEIVE)
8882 _RetVal = NdrProxyErrorHandler(RpcExceptionCode());
8884 RpcEndExcept
8885 return _RetVal;
8888 void __RPC_STUB ITypeLib_LocalReleaseTLibAttr_Stub(
8889 IRpcStubBuffer *This,
8890 IRpcChannelBuffer *_pRpcChannelBuffer,
8891 PRPC_MESSAGE _pRpcMessage,
8892 DWORD *_pdwStubPhase)
8894 HRESULT _RetVal;
8895 MIDL_STUB_MESSAGE _StubMsg;
8897 NdrStubInitialize(
8898 _pRpcMessage,
8899 &_StubMsg,
8900 &Object_StubDesc,
8901 _pRpcChannelBuffer);
8902 RpcTryFinally
8905 *_pdwStubPhase = STUB_CALL_SERVER;
8908 _RetVal = ITypeLib_ReleaseTLibAttr_Stub((ITypeLib *) ((CStdStubBuffer *)This)->pvServerObject);
8910 *_pdwStubPhase = STUB_MARSHAL;
8912 _StubMsg.BufferLength = 4U;
8913 NdrStubGetBuffer(This, _pRpcChannelBuffer, &_StubMsg);
8914 *( HRESULT __RPC_FAR * )_StubMsg.Buffer = _RetVal;
8915 _StubMsg.Buffer += sizeof(HRESULT);
8918 RpcFinally
8921 RpcEndFinally
8922 _pRpcMessage->BufferLength =
8923 (unsigned int)((long)_StubMsg.Buffer - (long)_pRpcMessage->Buffer);
8927 const CINTERFACE_PROXY_VTABLE(13) _ITypeLibProxyVtbl =
8929 { &IID_ITypeLib },
8931 IUnknown_QueryInterface_Proxy,
8932 IUnknown_AddRef_Proxy,
8933 IUnknown_Release_Proxy ,
8934 ITypeLib_GetTypeInfoCount_Proxy ,
8935 ITypeLib_GetTypeInfo_Proxy ,
8936 ITypeLib_GetTypeInfoType_Proxy ,
8937 ITypeLib_GetTypeInfoOfGuid_Proxy ,
8938 ITypeLib_GetLibAttr_Proxy ,
8939 ITypeLib_GetTypeComp_Proxy ,
8940 ITypeLib_GetDocumentation_Proxy ,
8941 ITypeLib_IsName_Proxy ,
8942 ITypeLib_FindName_Proxy ,
8943 ITypeLib_ReleaseTLibAttr_Proxy
8948 static const PRPC_STUB_FUNCTION ITypeLib_table[] =
8950 ITypeLib_RemoteGetTypeInfoCount_Stub,
8951 ITypeLib_GetTypeInfo_Stub,
8952 ITypeLib_GetTypeInfoType_Stub,
8953 ITypeLib_GetTypeInfoOfGuid_Stub,
8954 ITypeLib_RemoteGetLibAttr_Stub,
8955 ITypeLib_GetTypeComp_Stub,
8956 ITypeLib_RemoteGetDocumentation_Stub,
8957 ITypeLib_RemoteIsName_Stub,
8958 ITypeLib_RemoteFindName_Stub,
8959 ITypeLib_LocalReleaseTLibAttr_Stub
8962 const CInterfaceStubVtbl _ITypeLibStubVtbl =
8965 &IID_ITypeLib,
8968 &ITypeLib_table[-3]
8970 { CStdStubBuffer_METHODS }
8974 /* Object interface: ITypeLib2, ver. 0.0,
8975 GUID={0x00020411,0x0000,0x0000,{0xC0,0x00,0x00,0x00,0x00,0x00,0x00,0x46}} */
8978 extern const MIDL_STUB_DESC Object_StubDesc;
8981 HRESULT STDMETHODCALLTYPE ITypeLib2_GetCustData_Proxy(
8982 ITypeLib2 __RPC_FAR * This,
8983 /* [in] */ REFGUID guid,
8984 /* [out] */ VARIANT __RPC_FAR *pVarVal)
8987 HRESULT _RetVal;
8989 RPC_MESSAGE _RpcMessage;
8991 MIDL_STUB_MESSAGE _StubMsg;
8993 if(pVarVal)
8995 MIDL_memset(
8996 pVarVal,
8998 sizeof( VARIANT ));
9000 RpcTryExcept
9002 NdrProxyInitialize(
9003 ( void __RPC_FAR * )This,
9004 ( PRPC_MESSAGE )&_RpcMessage,
9005 ( PMIDL_STUB_MESSAGE )&_StubMsg,
9006 ( PMIDL_STUB_DESC )&Object_StubDesc,
9007 13);
9011 if(!guid)
9013 RpcRaiseException(RPC_X_NULL_REF_POINTER);
9015 if(!pVarVal)
9017 RpcRaiseException(RPC_X_NULL_REF_POINTER);
9019 RpcTryFinally
9022 _StubMsg.BufferLength = 0U;
9023 NdrSimpleStructBufferSize( (PMIDL_STUB_MESSAGE) &_StubMsg,
9024 (unsigned char __RPC_FAR *)guid,
9025 (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[38] );
9027 NdrProxyGetBuffer(This, &_StubMsg);
9028 NdrSimpleStructMarshall( (PMIDL_STUB_MESSAGE)& _StubMsg,
9029 (unsigned char __RPC_FAR *)guid,
9030 (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[38] );
9032 NdrProxySendReceive(This, &_StubMsg);
9034 if ( (_RpcMessage.DataRepresentation & 0X0000FFFFUL) != NDR_LOCAL_DATA_REPRESENTATION )
9035 NdrConvert( (PMIDL_STUB_MESSAGE) &_StubMsg, (PFORMAT_STRING) &__MIDL_ProcFormatString.Format[298] );
9037 NdrUserMarshalUnmarshall( (PMIDL_STUB_MESSAGE) &_StubMsg,
9038 (unsigned char __RPC_FAR * __RPC_FAR *)&pVarVal,
9039 (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[1110],
9040 (unsigned char)0 );
9042 _StubMsg.Buffer = (unsigned char __RPC_FAR *)(((long)_StubMsg.Buffer + 3) & ~ 0x3);
9043 _RetVal = *( HRESULT __RPC_FAR * )_StubMsg.Buffer;
9044 _StubMsg.Buffer += sizeof(HRESULT);
9047 RpcFinally
9049 NdrProxyFreeBuffer(This, &_StubMsg);
9052 RpcEndFinally
9055 RpcExcept(_StubMsg.dwStubPhase != PROXY_SENDRECEIVE)
9057 NdrClearOutParameters(
9058 ( PMIDL_STUB_MESSAGE )&_StubMsg,
9059 ( PFORMAT_STRING )&__MIDL_TypeFormatString.Format[1102],
9060 ( void __RPC_FAR * )pVarVal);
9061 _RetVal = NdrProxyErrorHandler(RpcExceptionCode());
9063 RpcEndExcept
9064 return _RetVal;
9067 void __RPC_STUB ITypeLib2_GetCustData_Stub(
9068 IRpcStubBuffer *This,
9069 IRpcChannelBuffer *_pRpcChannelBuffer,
9070 PRPC_MESSAGE _pRpcMessage,
9071 DWORD *_pdwStubPhase)
9073 VARIANT _M85;
9074 HRESULT _RetVal;
9075 MIDL_STUB_MESSAGE _StubMsg;
9076 REFGUID guid = 0;
9077 VARIANT __RPC_FAR *pVarVal;
9079 NdrStubInitialize(
9080 _pRpcMessage,
9081 &_StubMsg,
9082 &Object_StubDesc,
9083 _pRpcChannelBuffer);
9084 pVarVal = 0;
9085 RpcTryFinally
9087 if ( (_pRpcMessage->DataRepresentation & 0X0000FFFFUL) != NDR_LOCAL_DATA_REPRESENTATION )
9088 NdrConvert( (PMIDL_STUB_MESSAGE) &_StubMsg, (PFORMAT_STRING) &__MIDL_ProcFormatString.Format[298] );
9090 NdrSimpleStructUnmarshall( (PMIDL_STUB_MESSAGE) &_StubMsg,
9091 (unsigned char __RPC_FAR * __RPC_FAR *)&guid,
9092 (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[38],
9093 (unsigned char)0 );
9095 pVarVal = &_M85;
9096 MIDL_memset(
9097 pVarVal,
9099 sizeof( VARIANT ));
9101 *_pdwStubPhase = STUB_CALL_SERVER;
9102 _RetVal = (((ITypeLib2*) ((CStdStubBuffer *)This)->pvServerObject)->lpVtbl) -> GetCustData(
9103 (ITypeLib2 *) ((CStdStubBuffer *)This)->pvServerObject,
9104 guid,
9105 pVarVal);
9107 *_pdwStubPhase = STUB_MARSHAL;
9109 _StubMsg.BufferLength = 8U + 11U;
9110 NdrUserMarshalBufferSize( (PMIDL_STUB_MESSAGE) &_StubMsg,
9111 (unsigned char __RPC_FAR *)pVarVal,
9112 (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[1110] );
9114 _StubMsg.BufferLength += 16;
9116 NdrStubGetBuffer(This, _pRpcChannelBuffer, &_StubMsg);
9117 NdrUserMarshalMarshall( (PMIDL_STUB_MESSAGE)& _StubMsg,
9118 (unsigned char __RPC_FAR *)pVarVal,
9119 (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[1110] );
9121 _StubMsg.Buffer = (unsigned char __RPC_FAR *)(((long)_StubMsg.Buffer + 3) & ~ 0x3);
9122 *( HRESULT __RPC_FAR * )_StubMsg.Buffer = _RetVal;
9123 _StubMsg.Buffer += sizeof(HRESULT);
9126 RpcFinally
9128 NdrPointerFree( &_StubMsg,
9129 (unsigned char __RPC_FAR *)pVarVal,
9130 &__MIDL_TypeFormatString.Format[1102] );
9133 RpcEndFinally
9134 _pRpcMessage->BufferLength =
9135 (unsigned int)((long)_StubMsg.Buffer - (long)_pRpcMessage->Buffer);
9140 /* [call_as] */ HRESULT STDMETHODCALLTYPE ITypeLib2_RemoteGetLibStatistics_Proxy(
9141 ITypeLib2 __RPC_FAR * This,
9142 /* [out] */ ULONG __RPC_FAR *pcUniqueNames,
9143 /* [out] */ ULONG __RPC_FAR *pcchUniqueNames)
9146 HRESULT _RetVal;
9148 RPC_MESSAGE _RpcMessage;
9150 MIDL_STUB_MESSAGE _StubMsg;
9152 RpcTryExcept
9154 NdrProxyInitialize(
9155 ( void __RPC_FAR * )This,
9156 ( PRPC_MESSAGE )&_RpcMessage,
9157 ( PMIDL_STUB_MESSAGE )&_StubMsg,
9158 ( PMIDL_STUB_DESC )&Object_StubDesc,
9159 14);
9163 if(!pcUniqueNames)
9165 RpcRaiseException(RPC_X_NULL_REF_POINTER);
9167 if(!pcchUniqueNames)
9169 RpcRaiseException(RPC_X_NULL_REF_POINTER);
9171 RpcTryFinally
9174 _StubMsg.BufferLength = 0U;
9175 NdrProxyGetBuffer(This, &_StubMsg);
9176 NdrProxySendReceive(This, &_StubMsg);
9178 if ( (_RpcMessage.DataRepresentation & 0X0000FFFFUL) != NDR_LOCAL_DATA_REPRESENTATION )
9179 NdrConvert( (PMIDL_STUB_MESSAGE) &_StubMsg, (PFORMAT_STRING) &__MIDL_ProcFormatString.Format[446] );
9181 *pcUniqueNames = *( ULONG __RPC_FAR * )_StubMsg.Buffer;
9182 _StubMsg.Buffer += sizeof(ULONG);
9184 *pcchUniqueNames = *( ULONG __RPC_FAR * )_StubMsg.Buffer;
9185 _StubMsg.Buffer += sizeof(ULONG);
9187 _RetVal = *( HRESULT __RPC_FAR * )_StubMsg.Buffer;
9188 _StubMsg.Buffer += sizeof(HRESULT);
9191 RpcFinally
9193 NdrProxyFreeBuffer(This, &_StubMsg);
9196 RpcEndFinally
9199 RpcExcept(_StubMsg.dwStubPhase != PROXY_SENDRECEIVE)
9201 NdrClearOutParameters(
9202 ( PMIDL_STUB_MESSAGE )&_StubMsg,
9203 ( PFORMAT_STRING )&__MIDL_TypeFormatString.Format[2],
9204 ( void __RPC_FAR * )pcUniqueNames);
9205 NdrClearOutParameters(
9206 ( PMIDL_STUB_MESSAGE )&_StubMsg,
9207 ( PFORMAT_STRING )&__MIDL_TypeFormatString.Format[2],
9208 ( void __RPC_FAR * )pcchUniqueNames);
9209 _RetVal = NdrProxyErrorHandler(RpcExceptionCode());
9211 RpcEndExcept
9212 return _RetVal;
9215 void __RPC_STUB ITypeLib2_RemoteGetLibStatistics_Stub(
9216 IRpcStubBuffer *This,
9217 IRpcChannelBuffer *_pRpcChannelBuffer,
9218 PRPC_MESSAGE _pRpcMessage,
9219 DWORD *_pdwStubPhase)
9221 ULONG _M86;
9222 ULONG _M87;
9223 HRESULT _RetVal;
9224 MIDL_STUB_MESSAGE _StubMsg;
9225 ULONG __RPC_FAR *pcUniqueNames;
9226 ULONG __RPC_FAR *pcchUniqueNames;
9228 NdrStubInitialize(
9229 _pRpcMessage,
9230 &_StubMsg,
9231 &Object_StubDesc,
9232 _pRpcChannelBuffer);
9233 pcUniqueNames = 0;
9234 pcchUniqueNames = 0;
9235 RpcTryFinally
9237 pcUniqueNames = &_M86;
9238 pcchUniqueNames = &_M87;
9240 *_pdwStubPhase = STUB_CALL_SERVER;
9243 _RetVal = ITypeLib2_GetLibStatistics_Stub(
9244 (ITypeLib2 *) ((CStdStubBuffer *)This)->pvServerObject,
9245 pcUniqueNames,
9246 pcchUniqueNames);
9248 *_pdwStubPhase = STUB_MARSHAL;
9250 _StubMsg.BufferLength = 4U + 4U + 4U;
9251 NdrStubGetBuffer(This, _pRpcChannelBuffer, &_StubMsg);
9252 *( ULONG __RPC_FAR * )_StubMsg.Buffer = *pcUniqueNames;
9253 _StubMsg.Buffer += sizeof(ULONG);
9255 *( ULONG __RPC_FAR * )_StubMsg.Buffer = *pcchUniqueNames;
9256 _StubMsg.Buffer += sizeof(ULONG);
9258 *( HRESULT __RPC_FAR * )_StubMsg.Buffer = _RetVal;
9259 _StubMsg.Buffer += sizeof(HRESULT);
9262 RpcFinally
9265 RpcEndFinally
9266 _pRpcMessage->BufferLength =
9267 (unsigned int)((long)_StubMsg.Buffer - (long)_pRpcMessage->Buffer);
9272 /* [call_as] */ HRESULT STDMETHODCALLTYPE ITypeLib2_RemoteGetDocumentation2_Proxy(
9273 ITypeLib2 __RPC_FAR * This,
9274 /* [in] */ INT index,
9275 /* [in] */ LCID lcid,
9276 /* [in] */ DWORD refPtrFlags,
9277 /* [out] */ BSTR __RPC_FAR *pbstrHelpString,
9278 /* [out] */ DWORD __RPC_FAR *pdwHelpStringContext,
9279 /* [out] */ BSTR __RPC_FAR *pbstrHelpStringDll)
9282 HRESULT _RetVal;
9284 RPC_MESSAGE _RpcMessage;
9286 MIDL_STUB_MESSAGE _StubMsg;
9288 if(pbstrHelpString)
9290 MIDL_memset(
9291 pbstrHelpString,
9293 sizeof( BSTR ));
9295 if(pbstrHelpStringDll)
9297 MIDL_memset(
9298 pbstrHelpStringDll,
9300 sizeof( BSTR ));
9302 RpcTryExcept
9304 NdrProxyInitialize(
9305 ( void __RPC_FAR * )This,
9306 ( PRPC_MESSAGE )&_RpcMessage,
9307 ( PMIDL_STUB_MESSAGE )&_StubMsg,
9308 ( PMIDL_STUB_DESC )&Object_StubDesc,
9309 15);
9313 if(!pbstrHelpString)
9315 RpcRaiseException(RPC_X_NULL_REF_POINTER);
9317 if(!pdwHelpStringContext)
9319 RpcRaiseException(RPC_X_NULL_REF_POINTER);
9321 if(!pbstrHelpStringDll)
9323 RpcRaiseException(RPC_X_NULL_REF_POINTER);
9325 RpcTryFinally
9328 _StubMsg.BufferLength = 4U + 4U + 4U;
9329 NdrProxyGetBuffer(This, &_StubMsg);
9330 *( INT __RPC_FAR * )_StubMsg.Buffer = index;
9331 _StubMsg.Buffer += sizeof(INT);
9333 *( LCID __RPC_FAR * )_StubMsg.Buffer = lcid;
9334 _StubMsg.Buffer += sizeof(LCID);
9336 *( DWORD __RPC_FAR * )_StubMsg.Buffer = refPtrFlags;
9337 _StubMsg.Buffer += sizeof(DWORD);
9339 NdrProxySendReceive(This, &_StubMsg);
9341 if ( (_RpcMessage.DataRepresentation & 0X0000FFFFUL) != NDR_LOCAL_DATA_REPRESENTATION )
9342 NdrConvert( (PMIDL_STUB_MESSAGE) &_StubMsg, (PFORMAT_STRING) &__MIDL_ProcFormatString.Format[334] );
9344 NdrUserMarshalUnmarshall( (PMIDL_STUB_MESSAGE) &_StubMsg,
9345 (unsigned char __RPC_FAR * __RPC_FAR *)&pbstrHelpString,
9346 (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[1128],
9347 (unsigned char)0 );
9349 _StubMsg.Buffer = (unsigned char __RPC_FAR *)(((long)_StubMsg.Buffer + 3) & ~ 0x3);
9350 *pdwHelpStringContext = *( DWORD __RPC_FAR * )_StubMsg.Buffer;
9351 _StubMsg.Buffer += sizeof(DWORD);
9353 NdrUserMarshalUnmarshall( (PMIDL_STUB_MESSAGE) &_StubMsg,
9354 (unsigned char __RPC_FAR * __RPC_FAR *)&pbstrHelpStringDll,
9355 (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[1128],
9356 (unsigned char)0 );
9358 _StubMsg.Buffer = (unsigned char __RPC_FAR *)(((long)_StubMsg.Buffer + 3) & ~ 0x3);
9359 _RetVal = *( HRESULT __RPC_FAR * )_StubMsg.Buffer;
9360 _StubMsg.Buffer += sizeof(HRESULT);
9363 RpcFinally
9365 NdrProxyFreeBuffer(This, &_StubMsg);
9368 RpcEndFinally
9371 RpcExcept(_StubMsg.dwStubPhase != PROXY_SENDRECEIVE)
9373 NdrClearOutParameters(
9374 ( PMIDL_STUB_MESSAGE )&_StubMsg,
9375 ( PFORMAT_STRING )&__MIDL_TypeFormatString.Format[1708],
9376 ( void __RPC_FAR * )pbstrHelpString);
9377 NdrClearOutParameters(
9378 ( PMIDL_STUB_MESSAGE )&_StubMsg,
9379 ( PFORMAT_STRING )&__MIDL_TypeFormatString.Format[2],
9380 ( void __RPC_FAR * )pdwHelpStringContext);
9381 NdrClearOutParameters(
9382 ( PMIDL_STUB_MESSAGE )&_StubMsg,
9383 ( PFORMAT_STRING )&__MIDL_TypeFormatString.Format[1708],
9384 ( void __RPC_FAR * )pbstrHelpStringDll);
9385 _RetVal = NdrProxyErrorHandler(RpcExceptionCode());
9387 RpcEndExcept
9388 return _RetVal;
9391 void __RPC_STUB ITypeLib2_RemoteGetDocumentation2_Stub(
9392 IRpcStubBuffer *This,
9393 IRpcChannelBuffer *_pRpcChannelBuffer,
9394 PRPC_MESSAGE _pRpcMessage,
9395 DWORD *_pdwStubPhase)
9397 BSTR _M88;
9398 DWORD _M89;
9399 BSTR _M90;
9400 HRESULT _RetVal;
9401 MIDL_STUB_MESSAGE _StubMsg;
9402 INT index;
9403 LCID lcid;
9404 BSTR __RPC_FAR *pbstrHelpString;
9405 BSTR __RPC_FAR *pbstrHelpStringDll;
9406 DWORD __RPC_FAR *pdwHelpStringContext;
9407 DWORD refPtrFlags;
9409 NdrStubInitialize(
9410 _pRpcMessage,
9411 &_StubMsg,
9412 &Object_StubDesc,
9413 _pRpcChannelBuffer);
9414 pbstrHelpString = 0;
9415 pdwHelpStringContext = 0;
9416 pbstrHelpStringDll = 0;
9417 RpcTryFinally
9419 if ( (_pRpcMessage->DataRepresentation & 0X0000FFFFUL) != NDR_LOCAL_DATA_REPRESENTATION )
9420 NdrConvert( (PMIDL_STUB_MESSAGE) &_StubMsg, (PFORMAT_STRING) &__MIDL_ProcFormatString.Format[334] );
9422 index = *( INT __RPC_FAR * )_StubMsg.Buffer;
9423 _StubMsg.Buffer += sizeof(INT);
9425 lcid = *( LCID __RPC_FAR * )_StubMsg.Buffer;
9426 _StubMsg.Buffer += sizeof(LCID);
9428 refPtrFlags = *( DWORD __RPC_FAR * )_StubMsg.Buffer;
9429 _StubMsg.Buffer += sizeof(DWORD);
9431 pbstrHelpString = &_M88;
9432 MIDL_memset(
9433 pbstrHelpString,
9435 sizeof( BSTR ));
9436 pdwHelpStringContext = &_M89;
9437 pbstrHelpStringDll = &_M90;
9438 MIDL_memset(
9439 pbstrHelpStringDll,
9441 sizeof( BSTR ));
9443 *_pdwStubPhase = STUB_CALL_SERVER;
9446 _RetVal = ITypeLib2_GetDocumentation2_Stub(
9447 (ITypeLib2 *) ((CStdStubBuffer *)This)->pvServerObject,
9448 index,
9449 lcid,
9450 refPtrFlags,
9451 pbstrHelpString,
9452 pdwHelpStringContext,
9453 pbstrHelpStringDll);
9455 *_pdwStubPhase = STUB_MARSHAL;
9457 _StubMsg.BufferLength = 8U + 11U + 11U + 11U;
9458 NdrUserMarshalBufferSize( (PMIDL_STUB_MESSAGE) &_StubMsg,
9459 (unsigned char __RPC_FAR *)pbstrHelpString,
9460 (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[1128] );
9462 NdrUserMarshalBufferSize( (PMIDL_STUB_MESSAGE) &_StubMsg,
9463 (unsigned char __RPC_FAR *)pbstrHelpStringDll,
9464 (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[1128] );
9466 _StubMsg.BufferLength += 16;
9468 NdrStubGetBuffer(This, _pRpcChannelBuffer, &_StubMsg);
9469 NdrUserMarshalMarshall( (PMIDL_STUB_MESSAGE)& _StubMsg,
9470 (unsigned char __RPC_FAR *)pbstrHelpString,
9471 (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[1128] );
9473 _StubMsg.Buffer = (unsigned char __RPC_FAR *)(((long)_StubMsg.Buffer + 3) & ~ 0x3);
9474 *( DWORD __RPC_FAR * )_StubMsg.Buffer = *pdwHelpStringContext;
9475 _StubMsg.Buffer += sizeof(DWORD);
9477 NdrUserMarshalMarshall( (PMIDL_STUB_MESSAGE)& _StubMsg,
9478 (unsigned char __RPC_FAR *)pbstrHelpStringDll,
9479 (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[1128] );
9481 _StubMsg.Buffer = (unsigned char __RPC_FAR *)(((long)_StubMsg.Buffer + 3) & ~ 0x3);
9482 *( HRESULT __RPC_FAR * )_StubMsg.Buffer = _RetVal;
9483 _StubMsg.Buffer += sizeof(HRESULT);
9486 RpcFinally
9488 NdrPointerFree( &_StubMsg,
9489 (unsigned char __RPC_FAR *)pbstrHelpString,
9490 &__MIDL_TypeFormatString.Format[1708] );
9492 NdrPointerFree( &_StubMsg,
9493 (unsigned char __RPC_FAR *)pbstrHelpStringDll,
9494 &__MIDL_TypeFormatString.Format[1708] );
9497 RpcEndFinally
9498 _pRpcMessage->BufferLength =
9499 (unsigned int)((long)_StubMsg.Buffer - (long)_pRpcMessage->Buffer);
9504 HRESULT STDMETHODCALLTYPE ITypeLib2_GetAllCustData_Proxy(
9505 ITypeLib2 __RPC_FAR * This,
9506 /* [out] */ CUSTDATA __RPC_FAR *pCustData)
9509 HRESULT _RetVal;
9511 RPC_MESSAGE _RpcMessage;
9513 MIDL_STUB_MESSAGE _StubMsg;
9515 if(pCustData)
9517 MIDL_memset(
9518 pCustData,
9520 sizeof( CUSTDATA ));
9522 RpcTryExcept
9524 NdrProxyInitialize(
9525 ( void __RPC_FAR * )This,
9526 ( PRPC_MESSAGE )&_RpcMessage,
9527 ( PMIDL_STUB_MESSAGE )&_StubMsg,
9528 ( PMIDL_STUB_DESC )&Object_StubDesc,
9529 16);
9533 if(!pCustData)
9535 RpcRaiseException(RPC_X_NULL_REF_POINTER);
9537 RpcTryFinally
9540 _StubMsg.BufferLength = 0U;
9541 NdrProxyGetBuffer(This, &_StubMsg);
9542 NdrProxySendReceive(This, &_StubMsg);
9544 if ( (_RpcMessage.DataRepresentation & 0X0000FFFFUL) != NDR_LOCAL_DATA_REPRESENTATION )
9545 NdrConvert( (PMIDL_STUB_MESSAGE) &_StubMsg, (PFORMAT_STRING) &__MIDL_ProcFormatString.Format[354] );
9547 NdrComplexStructUnmarshall( (PMIDL_STUB_MESSAGE) &_StubMsg,
9548 (unsigned char __RPC_FAR * __RPC_FAR *)&pCustData,
9549 (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[1788],
9550 (unsigned char)0 );
9552 _StubMsg.Buffer = (unsigned char __RPC_FAR *)(((long)_StubMsg.Buffer + 3) & ~ 0x3);
9553 _RetVal = *( HRESULT __RPC_FAR * )_StubMsg.Buffer;
9554 _StubMsg.Buffer += sizeof(HRESULT);
9557 RpcFinally
9559 NdrProxyFreeBuffer(This, &_StubMsg);
9562 RpcEndFinally
9565 RpcExcept(_StubMsg.dwStubPhase != PROXY_SENDRECEIVE)
9567 NdrClearOutParameters(
9568 ( PMIDL_STUB_MESSAGE )&_StubMsg,
9569 ( PFORMAT_STRING )&__MIDL_TypeFormatString.Format[1748],
9570 ( void __RPC_FAR * )pCustData);
9571 _RetVal = NdrProxyErrorHandler(RpcExceptionCode());
9573 RpcEndExcept
9574 return _RetVal;
9577 void __RPC_STUB ITypeLib2_GetAllCustData_Stub(
9578 IRpcStubBuffer *This,
9579 IRpcChannelBuffer *_pRpcChannelBuffer,
9580 PRPC_MESSAGE _pRpcMessage,
9581 DWORD *_pdwStubPhase)
9583 HRESULT _RetVal;
9584 MIDL_STUB_MESSAGE _StubMsg;
9585 CUSTDATA _pCustDataM;
9586 CUSTDATA __RPC_FAR *pCustData;
9588 NdrStubInitialize(
9589 _pRpcMessage,
9590 &_StubMsg,
9591 &Object_StubDesc,
9592 _pRpcChannelBuffer);
9593 pCustData = 0;
9594 RpcTryFinally
9596 pCustData = &_pCustDataM;
9597 pCustData -> prgCustData = 0;
9599 *_pdwStubPhase = STUB_CALL_SERVER;
9600 _RetVal = (((ITypeLib2*) ((CStdStubBuffer *)This)->pvServerObject)->lpVtbl) -> GetAllCustData((ITypeLib2 *) ((CStdStubBuffer *)This)->pvServerObject,pCustData);
9602 *_pdwStubPhase = STUB_MARSHAL;
9604 _StubMsg.BufferLength = 0U + 11U;
9605 NdrComplexStructBufferSize( (PMIDL_STUB_MESSAGE) &_StubMsg,
9606 (unsigned char __RPC_FAR *)pCustData,
9607 (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[1788] );
9609 _StubMsg.BufferLength += 16;
9611 NdrStubGetBuffer(This, _pRpcChannelBuffer, &_StubMsg);
9612 NdrComplexStructMarshall( (PMIDL_STUB_MESSAGE)& _StubMsg,
9613 (unsigned char __RPC_FAR *)pCustData,
9614 (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[1788] );
9616 _StubMsg.Buffer = (unsigned char __RPC_FAR *)(((long)_StubMsg.Buffer + 3) & ~ 0x3);
9617 *( HRESULT __RPC_FAR * )_StubMsg.Buffer = _RetVal;
9618 _StubMsg.Buffer += sizeof(HRESULT);
9621 RpcFinally
9623 NdrPointerFree( &_StubMsg,
9624 (unsigned char __RPC_FAR *)pCustData,
9625 &__MIDL_TypeFormatString.Format[1748] );
9628 RpcEndFinally
9629 _pRpcMessage->BufferLength =
9630 (unsigned int)((long)_StubMsg.Buffer - (long)_pRpcMessage->Buffer);
9634 const CINTERFACE_PROXY_VTABLE(17) _ITypeLib2ProxyVtbl =
9636 { &IID_ITypeLib2 },
9638 IUnknown_QueryInterface_Proxy,
9639 IUnknown_AddRef_Proxy,
9640 IUnknown_Release_Proxy ,
9641 ITypeLib_GetTypeInfoCount_Proxy ,
9642 ITypeLib_GetTypeInfo_Proxy ,
9643 ITypeLib_GetTypeInfoType_Proxy ,
9644 ITypeLib_GetTypeInfoOfGuid_Proxy ,
9645 ITypeLib_GetLibAttr_Proxy ,
9646 ITypeLib_GetTypeComp_Proxy ,
9647 ITypeLib_GetDocumentation_Proxy ,
9648 ITypeLib_IsName_Proxy ,
9649 ITypeLib_FindName_Proxy ,
9650 ITypeLib_ReleaseTLibAttr_Proxy ,
9651 ITypeLib2_GetCustData_Proxy ,
9652 ITypeLib2_GetLibStatistics_Proxy ,
9653 ITypeLib2_GetDocumentation2_Proxy ,
9654 ITypeLib2_GetAllCustData_Proxy
9659 static const PRPC_STUB_FUNCTION ITypeLib2_table[] =
9661 ITypeLib_RemoteGetTypeInfoCount_Stub,
9662 ITypeLib_GetTypeInfo_Stub,
9663 ITypeLib_GetTypeInfoType_Stub,
9664 ITypeLib_GetTypeInfoOfGuid_Stub,
9665 ITypeLib_RemoteGetLibAttr_Stub,
9666 ITypeLib_GetTypeComp_Stub,
9667 ITypeLib_RemoteGetDocumentation_Stub,
9668 ITypeLib_RemoteIsName_Stub,
9669 ITypeLib_RemoteFindName_Stub,
9670 ITypeLib_LocalReleaseTLibAttr_Stub,
9671 ITypeLib2_GetCustData_Stub,
9672 ITypeLib2_RemoteGetLibStatistics_Stub,
9673 ITypeLib2_RemoteGetDocumentation2_Stub,
9674 ITypeLib2_GetAllCustData_Stub
9677 const CInterfaceStubVtbl _ITypeLib2StubVtbl =
9680 &IID_ITypeLib2,
9683 &ITypeLib2_table[-3]
9685 { CStdStubBuffer_METHODS }
9689 /* Object interface: ITypeChangeEvents, ver. 0.0,
9690 GUID={0x00020410,0x0000,0x0000,{0xC0,0x00,0x00,0x00,0x00,0x00,0x00,0x46}} */
9693 /* Object interface: IErrorInfo, ver. 0.0,
9694 GUID={0x1CF2B120,0x547D,0x101B,{0x8E,0x65,0x08,0x00,0x2B,0x2B,0xD1,0x19}} */
9697 extern const MIDL_STUB_DESC Object_StubDesc;
9700 HRESULT STDMETHODCALLTYPE IErrorInfo_GetGUID_Proxy(
9701 IErrorInfo __RPC_FAR * This,
9702 /* [out] */ GUID __RPC_FAR *pGUID)
9705 HRESULT _RetVal;
9707 RPC_MESSAGE _RpcMessage;
9709 MIDL_STUB_MESSAGE _StubMsg;
9711 if(pGUID)
9713 MIDL_memset(
9714 pGUID,
9716 sizeof( IID ));
9718 RpcTryExcept
9720 NdrProxyInitialize(
9721 ( void __RPC_FAR * )This,
9722 ( PRPC_MESSAGE )&_RpcMessage,
9723 ( PMIDL_STUB_MESSAGE )&_StubMsg,
9724 ( PMIDL_STUB_DESC )&Object_StubDesc,
9729 if(!pGUID)
9731 RpcRaiseException(RPC_X_NULL_REF_POINTER);
9733 RpcTryFinally
9736 _StubMsg.BufferLength = 0U;
9737 NdrProxyGetBuffer(This, &_StubMsg);
9738 NdrProxySendReceive(This, &_StubMsg);
9740 if ( (_RpcMessage.DataRepresentation & 0X0000FFFFUL) != NDR_LOCAL_DATA_REPRESENTATION )
9741 NdrConvert( (PMIDL_STUB_MESSAGE) &_StubMsg, (PFORMAT_STRING) &__MIDL_ProcFormatString.Format[456] );
9743 NdrSimpleStructUnmarshall( (PMIDL_STUB_MESSAGE) &_StubMsg,
9744 (unsigned char __RPC_FAR * __RPC_FAR *)&pGUID,
9745 (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[38],
9746 (unsigned char)0 );
9748 _RetVal = *( HRESULT __RPC_FAR * )_StubMsg.Buffer;
9749 _StubMsg.Buffer += sizeof(HRESULT);
9752 RpcFinally
9754 NdrProxyFreeBuffer(This, &_StubMsg);
9757 RpcEndFinally
9760 RpcExcept(_StubMsg.dwStubPhase != PROXY_SENDRECEIVE)
9762 NdrClearOutParameters(
9763 ( PMIDL_STUB_MESSAGE )&_StubMsg,
9764 ( PFORMAT_STRING )&__MIDL_TypeFormatString.Format[1892],
9765 ( void __RPC_FAR * )pGUID);
9766 _RetVal = NdrProxyErrorHandler(RpcExceptionCode());
9768 RpcEndExcept
9769 return _RetVal;
9772 void __RPC_STUB IErrorInfo_GetGUID_Stub(
9773 IRpcStubBuffer *This,
9774 IRpcChannelBuffer *_pRpcChannelBuffer,
9775 PRPC_MESSAGE _pRpcMessage,
9776 DWORD *_pdwStubPhase)
9778 HRESULT _RetVal;
9779 MIDL_STUB_MESSAGE _StubMsg;
9780 IID _pGUIDM;
9781 GUID __RPC_FAR *pGUID;
9783 NdrStubInitialize(
9784 _pRpcMessage,
9785 &_StubMsg,
9786 &Object_StubDesc,
9787 _pRpcChannelBuffer);
9788 pGUID = 0;
9789 RpcTryFinally
9791 pGUID = &_pGUIDM;
9793 *_pdwStubPhase = STUB_CALL_SERVER;
9794 _RetVal = (((IErrorInfo*) ((CStdStubBuffer *)This)->pvServerObject)->lpVtbl) -> GetGUID((IErrorInfo *) ((CStdStubBuffer *)This)->pvServerObject,pGUID);
9796 *_pdwStubPhase = STUB_MARSHAL;
9798 _StubMsg.BufferLength = 0U + 11U;
9799 NdrSimpleStructBufferSize( (PMIDL_STUB_MESSAGE) &_StubMsg,
9800 (unsigned char __RPC_FAR *)pGUID,
9801 (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[38] );
9803 _StubMsg.BufferLength += 16;
9805 NdrStubGetBuffer(This, _pRpcChannelBuffer, &_StubMsg);
9806 NdrSimpleStructMarshall( (PMIDL_STUB_MESSAGE)& _StubMsg,
9807 (unsigned char __RPC_FAR *)pGUID,
9808 (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[38] );
9810 *( HRESULT __RPC_FAR * )_StubMsg.Buffer = _RetVal;
9811 _StubMsg.Buffer += sizeof(HRESULT);
9814 RpcFinally
9817 RpcEndFinally
9818 _pRpcMessage->BufferLength =
9819 (unsigned int)((long)_StubMsg.Buffer - (long)_pRpcMessage->Buffer);
9824 HRESULT STDMETHODCALLTYPE IErrorInfo_GetSource_Proxy(
9825 IErrorInfo __RPC_FAR * This,
9826 /* [out] */ BSTR __RPC_FAR *pBstrSource)
9829 HRESULT _RetVal;
9831 RPC_MESSAGE _RpcMessage;
9833 MIDL_STUB_MESSAGE _StubMsg;
9835 if(pBstrSource)
9837 MIDL_memset(
9838 pBstrSource,
9840 sizeof( BSTR ));
9842 RpcTryExcept
9844 NdrProxyInitialize(
9845 ( void __RPC_FAR * )This,
9846 ( PRPC_MESSAGE )&_RpcMessage,
9847 ( PMIDL_STUB_MESSAGE )&_StubMsg,
9848 ( PMIDL_STUB_DESC )&Object_StubDesc,
9853 if(!pBstrSource)
9855 RpcRaiseException(RPC_X_NULL_REF_POINTER);
9857 RpcTryFinally
9860 _StubMsg.BufferLength = 0U;
9861 NdrProxyGetBuffer(This, &_StubMsg);
9862 NdrProxySendReceive(This, &_StubMsg);
9864 if ( (_RpcMessage.DataRepresentation & 0X0000FFFFUL) != NDR_LOCAL_DATA_REPRESENTATION )
9865 NdrConvert( (PMIDL_STUB_MESSAGE) &_StubMsg, (PFORMAT_STRING) &__MIDL_ProcFormatString.Format[462] );
9867 NdrUserMarshalUnmarshall( (PMIDL_STUB_MESSAGE) &_StubMsg,
9868 (unsigned char __RPC_FAR * __RPC_FAR *)&pBstrSource,
9869 (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[1128],
9870 (unsigned char)0 );
9872 _StubMsg.Buffer = (unsigned char __RPC_FAR *)(((long)_StubMsg.Buffer + 3) & ~ 0x3);
9873 _RetVal = *( HRESULT __RPC_FAR * )_StubMsg.Buffer;
9874 _StubMsg.Buffer += sizeof(HRESULT);
9877 RpcFinally
9879 NdrProxyFreeBuffer(This, &_StubMsg);
9882 RpcEndFinally
9885 RpcExcept(_StubMsg.dwStubPhase != PROXY_SENDRECEIVE)
9887 NdrClearOutParameters(
9888 ( PMIDL_STUB_MESSAGE )&_StubMsg,
9889 ( PFORMAT_STRING )&__MIDL_TypeFormatString.Format[1708],
9890 ( void __RPC_FAR * )pBstrSource);
9891 _RetVal = NdrProxyErrorHandler(RpcExceptionCode());
9893 RpcEndExcept
9894 return _RetVal;
9897 void __RPC_STUB IErrorInfo_GetSource_Stub(
9898 IRpcStubBuffer *This,
9899 IRpcChannelBuffer *_pRpcChannelBuffer,
9900 PRPC_MESSAGE _pRpcMessage,
9901 DWORD *_pdwStubPhase)
9903 BSTR _M91;
9904 HRESULT _RetVal;
9905 MIDL_STUB_MESSAGE _StubMsg;
9906 BSTR __RPC_FAR *pBstrSource;
9908 NdrStubInitialize(
9909 _pRpcMessage,
9910 &_StubMsg,
9911 &Object_StubDesc,
9912 _pRpcChannelBuffer);
9913 pBstrSource = 0;
9914 RpcTryFinally
9916 pBstrSource = &_M91;
9917 MIDL_memset(
9918 pBstrSource,
9920 sizeof( BSTR ));
9922 *_pdwStubPhase = STUB_CALL_SERVER;
9923 _RetVal = (((IErrorInfo*) ((CStdStubBuffer *)This)->pvServerObject)->lpVtbl) -> GetSource((IErrorInfo *) ((CStdStubBuffer *)This)->pvServerObject,pBstrSource);
9925 *_pdwStubPhase = STUB_MARSHAL;
9927 _StubMsg.BufferLength = 8U + 11U;
9928 NdrUserMarshalBufferSize( (PMIDL_STUB_MESSAGE) &_StubMsg,
9929 (unsigned char __RPC_FAR *)pBstrSource,
9930 (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[1128] );
9932 _StubMsg.BufferLength += 16;
9934 NdrStubGetBuffer(This, _pRpcChannelBuffer, &_StubMsg);
9935 NdrUserMarshalMarshall( (PMIDL_STUB_MESSAGE)& _StubMsg,
9936 (unsigned char __RPC_FAR *)pBstrSource,
9937 (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[1128] );
9939 _StubMsg.Buffer = (unsigned char __RPC_FAR *)(((long)_StubMsg.Buffer + 3) & ~ 0x3);
9940 *( HRESULT __RPC_FAR * )_StubMsg.Buffer = _RetVal;
9941 _StubMsg.Buffer += sizeof(HRESULT);
9944 RpcFinally
9946 NdrPointerFree( &_StubMsg,
9947 (unsigned char __RPC_FAR *)pBstrSource,
9948 &__MIDL_TypeFormatString.Format[1708] );
9951 RpcEndFinally
9952 _pRpcMessage->BufferLength =
9953 (unsigned int)((long)_StubMsg.Buffer - (long)_pRpcMessage->Buffer);
9958 HRESULT STDMETHODCALLTYPE IErrorInfo_GetDescription_Proxy(
9959 IErrorInfo __RPC_FAR * This,
9960 /* [out] */ BSTR __RPC_FAR *pBstrDescription)
9963 HRESULT _RetVal;
9965 RPC_MESSAGE _RpcMessage;
9967 MIDL_STUB_MESSAGE _StubMsg;
9969 if(pBstrDescription)
9971 MIDL_memset(
9972 pBstrDescription,
9974 sizeof( BSTR ));
9976 RpcTryExcept
9978 NdrProxyInitialize(
9979 ( void __RPC_FAR * )This,
9980 ( PRPC_MESSAGE )&_RpcMessage,
9981 ( PMIDL_STUB_MESSAGE )&_StubMsg,
9982 ( PMIDL_STUB_DESC )&Object_StubDesc,
9987 if(!pBstrDescription)
9989 RpcRaiseException(RPC_X_NULL_REF_POINTER);
9991 RpcTryFinally
9994 _StubMsg.BufferLength = 0U;
9995 NdrProxyGetBuffer(This, &_StubMsg);
9996 NdrProxySendReceive(This, &_StubMsg);
9998 if ( (_RpcMessage.DataRepresentation & 0X0000FFFFUL) != NDR_LOCAL_DATA_REPRESENTATION )
9999 NdrConvert( (PMIDL_STUB_MESSAGE) &_StubMsg, (PFORMAT_STRING) &__MIDL_ProcFormatString.Format[462] );
10001 NdrUserMarshalUnmarshall( (PMIDL_STUB_MESSAGE) &_StubMsg,
10002 (unsigned char __RPC_FAR * __RPC_FAR *)&pBstrDescription,
10003 (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[1128],
10004 (unsigned char)0 );
10006 _StubMsg.Buffer = (unsigned char __RPC_FAR *)(((long)_StubMsg.Buffer + 3) & ~ 0x3);
10007 _RetVal = *( HRESULT __RPC_FAR * )_StubMsg.Buffer;
10008 _StubMsg.Buffer += sizeof(HRESULT);
10011 RpcFinally
10013 NdrProxyFreeBuffer(This, &_StubMsg);
10016 RpcEndFinally
10019 RpcExcept(_StubMsg.dwStubPhase != PROXY_SENDRECEIVE)
10021 NdrClearOutParameters(
10022 ( PMIDL_STUB_MESSAGE )&_StubMsg,
10023 ( PFORMAT_STRING )&__MIDL_TypeFormatString.Format[1708],
10024 ( void __RPC_FAR * )pBstrDescription);
10025 _RetVal = NdrProxyErrorHandler(RpcExceptionCode());
10027 RpcEndExcept
10028 return _RetVal;
10031 void __RPC_STUB IErrorInfo_GetDescription_Stub(
10032 IRpcStubBuffer *This,
10033 IRpcChannelBuffer *_pRpcChannelBuffer,
10034 PRPC_MESSAGE _pRpcMessage,
10035 DWORD *_pdwStubPhase)
10037 BSTR _M92;
10038 HRESULT _RetVal;
10039 MIDL_STUB_MESSAGE _StubMsg;
10040 BSTR __RPC_FAR *pBstrDescription;
10042 NdrStubInitialize(
10043 _pRpcMessage,
10044 &_StubMsg,
10045 &Object_StubDesc,
10046 _pRpcChannelBuffer);
10047 pBstrDescription = 0;
10048 RpcTryFinally
10050 pBstrDescription = &_M92;
10051 MIDL_memset(
10052 pBstrDescription,
10054 sizeof( BSTR ));
10056 *_pdwStubPhase = STUB_CALL_SERVER;
10057 _RetVal = (((IErrorInfo*) ((CStdStubBuffer *)This)->pvServerObject)->lpVtbl) -> GetDescription((IErrorInfo *) ((CStdStubBuffer *)This)->pvServerObject,pBstrDescription);
10059 *_pdwStubPhase = STUB_MARSHAL;
10061 _StubMsg.BufferLength = 8U + 11U;
10062 NdrUserMarshalBufferSize( (PMIDL_STUB_MESSAGE) &_StubMsg,
10063 (unsigned char __RPC_FAR *)pBstrDescription,
10064 (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[1128] );
10066 _StubMsg.BufferLength += 16;
10068 NdrStubGetBuffer(This, _pRpcChannelBuffer, &_StubMsg);
10069 NdrUserMarshalMarshall( (PMIDL_STUB_MESSAGE)& _StubMsg,
10070 (unsigned char __RPC_FAR *)pBstrDescription,
10071 (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[1128] );
10073 _StubMsg.Buffer = (unsigned char __RPC_FAR *)(((long)_StubMsg.Buffer + 3) & ~ 0x3);
10074 *( HRESULT __RPC_FAR * )_StubMsg.Buffer = _RetVal;
10075 _StubMsg.Buffer += sizeof(HRESULT);
10078 RpcFinally
10080 NdrPointerFree( &_StubMsg,
10081 (unsigned char __RPC_FAR *)pBstrDescription,
10082 &__MIDL_TypeFormatString.Format[1708] );
10085 RpcEndFinally
10086 _pRpcMessage->BufferLength =
10087 (unsigned int)((long)_StubMsg.Buffer - (long)_pRpcMessage->Buffer);
10092 HRESULT STDMETHODCALLTYPE IErrorInfo_GetHelpFile_Proxy(
10093 IErrorInfo __RPC_FAR * This,
10094 /* [out] */ BSTR __RPC_FAR *pBstrHelpFile)
10097 HRESULT _RetVal;
10099 RPC_MESSAGE _RpcMessage;
10101 MIDL_STUB_MESSAGE _StubMsg;
10103 if(pBstrHelpFile)
10105 MIDL_memset(
10106 pBstrHelpFile,
10108 sizeof( BSTR ));
10110 RpcTryExcept
10112 NdrProxyInitialize(
10113 ( void __RPC_FAR * )This,
10114 ( PRPC_MESSAGE )&_RpcMessage,
10115 ( PMIDL_STUB_MESSAGE )&_StubMsg,
10116 ( PMIDL_STUB_DESC )&Object_StubDesc,
10121 if(!pBstrHelpFile)
10123 RpcRaiseException(RPC_X_NULL_REF_POINTER);
10125 RpcTryFinally
10128 _StubMsg.BufferLength = 0U;
10129 NdrProxyGetBuffer(This, &_StubMsg);
10130 NdrProxySendReceive(This, &_StubMsg);
10132 if ( (_RpcMessage.DataRepresentation & 0X0000FFFFUL) != NDR_LOCAL_DATA_REPRESENTATION )
10133 NdrConvert( (PMIDL_STUB_MESSAGE) &_StubMsg, (PFORMAT_STRING) &__MIDL_ProcFormatString.Format[462] );
10135 NdrUserMarshalUnmarshall( (PMIDL_STUB_MESSAGE) &_StubMsg,
10136 (unsigned char __RPC_FAR * __RPC_FAR *)&pBstrHelpFile,
10137 (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[1128],
10138 (unsigned char)0 );
10140 _StubMsg.Buffer = (unsigned char __RPC_FAR *)(((long)_StubMsg.Buffer + 3) & ~ 0x3);
10141 _RetVal = *( HRESULT __RPC_FAR * )_StubMsg.Buffer;
10142 _StubMsg.Buffer += sizeof(HRESULT);
10145 RpcFinally
10147 NdrProxyFreeBuffer(This, &_StubMsg);
10150 RpcEndFinally
10153 RpcExcept(_StubMsg.dwStubPhase != PROXY_SENDRECEIVE)
10155 NdrClearOutParameters(
10156 ( PMIDL_STUB_MESSAGE )&_StubMsg,
10157 ( PFORMAT_STRING )&__MIDL_TypeFormatString.Format[1708],
10158 ( void __RPC_FAR * )pBstrHelpFile);
10159 _RetVal = NdrProxyErrorHandler(RpcExceptionCode());
10161 RpcEndExcept
10162 return _RetVal;
10165 void __RPC_STUB IErrorInfo_GetHelpFile_Stub(
10166 IRpcStubBuffer *This,
10167 IRpcChannelBuffer *_pRpcChannelBuffer,
10168 PRPC_MESSAGE _pRpcMessage,
10169 DWORD *_pdwStubPhase)
10171 BSTR _M93;
10172 HRESULT _RetVal;
10173 MIDL_STUB_MESSAGE _StubMsg;
10174 BSTR __RPC_FAR *pBstrHelpFile;
10176 NdrStubInitialize(
10177 _pRpcMessage,
10178 &_StubMsg,
10179 &Object_StubDesc,
10180 _pRpcChannelBuffer);
10181 pBstrHelpFile = 0;
10182 RpcTryFinally
10184 pBstrHelpFile = &_M93;
10185 MIDL_memset(
10186 pBstrHelpFile,
10188 sizeof( BSTR ));
10190 *_pdwStubPhase = STUB_CALL_SERVER;
10191 _RetVal = (((IErrorInfo*) ((CStdStubBuffer *)This)->pvServerObject)->lpVtbl) -> GetHelpFile((IErrorInfo *) ((CStdStubBuffer *)This)->pvServerObject,pBstrHelpFile);
10193 *_pdwStubPhase = STUB_MARSHAL;
10195 _StubMsg.BufferLength = 8U + 11U;
10196 NdrUserMarshalBufferSize( (PMIDL_STUB_MESSAGE) &_StubMsg,
10197 (unsigned char __RPC_FAR *)pBstrHelpFile,
10198 (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[1128] );
10200 _StubMsg.BufferLength += 16;
10202 NdrStubGetBuffer(This, _pRpcChannelBuffer, &_StubMsg);
10203 NdrUserMarshalMarshall( (PMIDL_STUB_MESSAGE)& _StubMsg,
10204 (unsigned char __RPC_FAR *)pBstrHelpFile,
10205 (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[1128] );
10207 _StubMsg.Buffer = (unsigned char __RPC_FAR *)(((long)_StubMsg.Buffer + 3) & ~ 0x3);
10208 *( HRESULT __RPC_FAR * )_StubMsg.Buffer = _RetVal;
10209 _StubMsg.Buffer += sizeof(HRESULT);
10212 RpcFinally
10214 NdrPointerFree( &_StubMsg,
10215 (unsigned char __RPC_FAR *)pBstrHelpFile,
10216 &__MIDL_TypeFormatString.Format[1708] );
10219 RpcEndFinally
10220 _pRpcMessage->BufferLength =
10221 (unsigned int)((long)_StubMsg.Buffer - (long)_pRpcMessage->Buffer);
10226 HRESULT STDMETHODCALLTYPE IErrorInfo_GetHelpContext_Proxy(
10227 IErrorInfo __RPC_FAR * This,
10228 /* [out] */ DWORD __RPC_FAR *pdwHelpContext)
10231 HRESULT _RetVal;
10233 RPC_MESSAGE _RpcMessage;
10235 MIDL_STUB_MESSAGE _StubMsg;
10237 RpcTryExcept
10239 NdrProxyInitialize(
10240 ( void __RPC_FAR * )This,
10241 ( PRPC_MESSAGE )&_RpcMessage,
10242 ( PMIDL_STUB_MESSAGE )&_StubMsg,
10243 ( PMIDL_STUB_DESC )&Object_StubDesc,
10248 if(!pdwHelpContext)
10250 RpcRaiseException(RPC_X_NULL_REF_POINTER);
10252 RpcTryFinally
10255 _StubMsg.BufferLength = 0U;
10256 NdrProxyGetBuffer(This, &_StubMsg);
10257 NdrProxySendReceive(This, &_StubMsg);
10259 if ( (_RpcMessage.DataRepresentation & 0X0000FFFFUL) != NDR_LOCAL_DATA_REPRESENTATION )
10260 NdrConvert( (PMIDL_STUB_MESSAGE) &_StubMsg, (PFORMAT_STRING) &__MIDL_ProcFormatString.Format[0] );
10262 *pdwHelpContext = *( DWORD __RPC_FAR * )_StubMsg.Buffer;
10263 _StubMsg.Buffer += sizeof(DWORD);
10265 _RetVal = *( HRESULT __RPC_FAR * )_StubMsg.Buffer;
10266 _StubMsg.Buffer += sizeof(HRESULT);
10269 RpcFinally
10271 NdrProxyFreeBuffer(This, &_StubMsg);
10274 RpcEndFinally
10277 RpcExcept(_StubMsg.dwStubPhase != PROXY_SENDRECEIVE)
10279 NdrClearOutParameters(
10280 ( PMIDL_STUB_MESSAGE )&_StubMsg,
10281 ( PFORMAT_STRING )&__MIDL_TypeFormatString.Format[2],
10282 ( void __RPC_FAR * )pdwHelpContext);
10283 _RetVal = NdrProxyErrorHandler(RpcExceptionCode());
10285 RpcEndExcept
10286 return _RetVal;
10289 void __RPC_STUB IErrorInfo_GetHelpContext_Stub(
10290 IRpcStubBuffer *This,
10291 IRpcChannelBuffer *_pRpcChannelBuffer,
10292 PRPC_MESSAGE _pRpcMessage,
10293 DWORD *_pdwStubPhase)
10295 DWORD _M94;
10296 HRESULT _RetVal;
10297 MIDL_STUB_MESSAGE _StubMsg;
10298 DWORD __RPC_FAR *pdwHelpContext;
10300 NdrStubInitialize(
10301 _pRpcMessage,
10302 &_StubMsg,
10303 &Object_StubDesc,
10304 _pRpcChannelBuffer);
10305 pdwHelpContext = 0;
10306 RpcTryFinally
10308 pdwHelpContext = &_M94;
10310 *_pdwStubPhase = STUB_CALL_SERVER;
10311 _RetVal = (((IErrorInfo*) ((CStdStubBuffer *)This)->pvServerObject)->lpVtbl) -> GetHelpContext((IErrorInfo *) ((CStdStubBuffer *)This)->pvServerObject,pdwHelpContext);
10313 *_pdwStubPhase = STUB_MARSHAL;
10315 _StubMsg.BufferLength = 4U + 4U;
10316 NdrStubGetBuffer(This, _pRpcChannelBuffer, &_StubMsg);
10317 *( DWORD __RPC_FAR * )_StubMsg.Buffer = *pdwHelpContext;
10318 _StubMsg.Buffer += sizeof(DWORD);
10320 *( HRESULT __RPC_FAR * )_StubMsg.Buffer = _RetVal;
10321 _StubMsg.Buffer += sizeof(HRESULT);
10324 RpcFinally
10327 RpcEndFinally
10328 _pRpcMessage->BufferLength =
10329 (unsigned int)((long)_StubMsg.Buffer - (long)_pRpcMessage->Buffer);
10333 const CINTERFACE_PROXY_VTABLE(8) _IErrorInfoProxyVtbl =
10335 { &IID_IErrorInfo },
10337 IUnknown_QueryInterface_Proxy,
10338 IUnknown_AddRef_Proxy,
10339 IUnknown_Release_Proxy ,
10340 IErrorInfo_GetGUID_Proxy ,
10341 IErrorInfo_GetSource_Proxy ,
10342 IErrorInfo_GetDescription_Proxy ,
10343 IErrorInfo_GetHelpFile_Proxy ,
10344 IErrorInfo_GetHelpContext_Proxy
10349 static const PRPC_STUB_FUNCTION IErrorInfo_table[] =
10351 IErrorInfo_GetGUID_Stub,
10352 IErrorInfo_GetSource_Stub,
10353 IErrorInfo_GetDescription_Stub,
10354 IErrorInfo_GetHelpFile_Stub,
10355 IErrorInfo_GetHelpContext_Stub
10358 const CInterfaceStubVtbl _IErrorInfoStubVtbl =
10361 &IID_IErrorInfo,
10364 &IErrorInfo_table[-3]
10366 { CStdStubBuffer_METHODS }
10370 /* Object interface: ICreateErrorInfo, ver. 0.0,
10371 GUID={0x22F03340,0x547D,0x101B,{0x8E,0x65,0x08,0x00,0x2B,0x2B,0xD1,0x19}} */
10374 extern const MIDL_STUB_DESC Object_StubDesc;
10377 HRESULT STDMETHODCALLTYPE ICreateErrorInfo_SetGUID_Proxy(
10378 ICreateErrorInfo __RPC_FAR * This,
10379 /* [in] */ REFGUID rguid)
10382 HRESULT _RetVal;
10384 RPC_MESSAGE _RpcMessage;
10386 MIDL_STUB_MESSAGE _StubMsg;
10388 RpcTryExcept
10390 NdrProxyInitialize(
10391 ( void __RPC_FAR * )This,
10392 ( PRPC_MESSAGE )&_RpcMessage,
10393 ( PMIDL_STUB_MESSAGE )&_StubMsg,
10394 ( PMIDL_STUB_DESC )&Object_StubDesc,
10399 if(!rguid)
10401 RpcRaiseException(RPC_X_NULL_REF_POINTER);
10403 RpcTryFinally
10406 _StubMsg.BufferLength = 0U;
10407 NdrSimpleStructBufferSize( (PMIDL_STUB_MESSAGE) &_StubMsg,
10408 (unsigned char __RPC_FAR *)rguid,
10409 (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[38] );
10411 NdrProxyGetBuffer(This, &_StubMsg);
10412 NdrSimpleStructMarshall( (PMIDL_STUB_MESSAGE)& _StubMsg,
10413 (unsigned char __RPC_FAR *)rguid,
10414 (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[38] );
10416 NdrProxySendReceive(This, &_StubMsg);
10418 if ( (_RpcMessage.DataRepresentation & 0X0000FFFFUL) != NDR_LOCAL_DATA_REPRESENTATION )
10419 NdrConvert( (PMIDL_STUB_MESSAGE) &_StubMsg, (PFORMAT_STRING) &__MIDL_ProcFormatString.Format[468] );
10421 _RetVal = *( HRESULT __RPC_FAR * )_StubMsg.Buffer;
10422 _StubMsg.Buffer += sizeof(HRESULT);
10425 RpcFinally
10427 NdrProxyFreeBuffer(This, &_StubMsg);
10430 RpcEndFinally
10433 RpcExcept(_StubMsg.dwStubPhase != PROXY_SENDRECEIVE)
10435 _RetVal = NdrProxyErrorHandler(RpcExceptionCode());
10437 RpcEndExcept
10438 return _RetVal;
10441 void __RPC_STUB ICreateErrorInfo_SetGUID_Stub(
10442 IRpcStubBuffer *This,
10443 IRpcChannelBuffer *_pRpcChannelBuffer,
10444 PRPC_MESSAGE _pRpcMessage,
10445 DWORD *_pdwStubPhase)
10447 HRESULT _RetVal;
10448 MIDL_STUB_MESSAGE _StubMsg;
10449 REFGUID rguid = 0;
10451 NdrStubInitialize(
10452 _pRpcMessage,
10453 &_StubMsg,
10454 &Object_StubDesc,
10455 _pRpcChannelBuffer);
10456 RpcTryFinally
10458 if ( (_pRpcMessage->DataRepresentation & 0X0000FFFFUL) != NDR_LOCAL_DATA_REPRESENTATION )
10459 NdrConvert( (PMIDL_STUB_MESSAGE) &_StubMsg, (PFORMAT_STRING) &__MIDL_ProcFormatString.Format[468] );
10461 NdrSimpleStructUnmarshall( (PMIDL_STUB_MESSAGE) &_StubMsg,
10462 (unsigned char __RPC_FAR * __RPC_FAR *)&rguid,
10463 (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[38],
10464 (unsigned char)0 );
10467 *_pdwStubPhase = STUB_CALL_SERVER;
10468 _RetVal = (((ICreateErrorInfo*) ((CStdStubBuffer *)This)->pvServerObject)->lpVtbl) -> SetGUID((ICreateErrorInfo *) ((CStdStubBuffer *)This)->pvServerObject,rguid);
10470 *_pdwStubPhase = STUB_MARSHAL;
10472 _StubMsg.BufferLength = 4U;
10473 NdrStubGetBuffer(This, _pRpcChannelBuffer, &_StubMsg);
10474 *( HRESULT __RPC_FAR * )_StubMsg.Buffer = _RetVal;
10475 _StubMsg.Buffer += sizeof(HRESULT);
10478 RpcFinally
10481 RpcEndFinally
10482 _pRpcMessage->BufferLength =
10483 (unsigned int)((long)_StubMsg.Buffer - (long)_pRpcMessage->Buffer);
10488 HRESULT STDMETHODCALLTYPE ICreateErrorInfo_SetSource_Proxy(
10489 ICreateErrorInfo __RPC_FAR * This,
10490 /* [in] */ LPOLESTR szSource)
10493 HRESULT _RetVal;
10495 RPC_MESSAGE _RpcMessage;
10497 MIDL_STUB_MESSAGE _StubMsg;
10499 RpcTryExcept
10501 NdrProxyInitialize(
10502 ( void __RPC_FAR * )This,
10503 ( PRPC_MESSAGE )&_RpcMessage,
10504 ( PMIDL_STUB_MESSAGE )&_StubMsg,
10505 ( PMIDL_STUB_DESC )&Object_StubDesc,
10510 if(!szSource)
10512 RpcRaiseException(RPC_X_NULL_REF_POINTER);
10514 RpcTryFinally
10517 _StubMsg.BufferLength = 12U;
10518 NdrConformantStringBufferSize( (PMIDL_STUB_MESSAGE) &_StubMsg,
10519 (unsigned char __RPC_FAR *)szSource,
10520 (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[1248] );
10522 NdrProxyGetBuffer(This, &_StubMsg);
10523 NdrConformantStringMarshall( (PMIDL_STUB_MESSAGE)& _StubMsg,
10524 (unsigned char __RPC_FAR *)szSource,
10525 (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[1248] );
10527 NdrProxySendReceive(This, &_StubMsg);
10529 if ( (_RpcMessage.DataRepresentation & 0X0000FFFFUL) != NDR_LOCAL_DATA_REPRESENTATION )
10530 NdrConvert( (PMIDL_STUB_MESSAGE) &_StubMsg, (PFORMAT_STRING) &__MIDL_ProcFormatString.Format[474] );
10532 _RetVal = *( HRESULT __RPC_FAR * )_StubMsg.Buffer;
10533 _StubMsg.Buffer += sizeof(HRESULT);
10536 RpcFinally
10538 NdrProxyFreeBuffer(This, &_StubMsg);
10541 RpcEndFinally
10544 RpcExcept(_StubMsg.dwStubPhase != PROXY_SENDRECEIVE)
10546 _RetVal = NdrProxyErrorHandler(RpcExceptionCode());
10548 RpcEndExcept
10549 return _RetVal;
10552 void __RPC_STUB ICreateErrorInfo_SetSource_Stub(
10553 IRpcStubBuffer *This,
10554 IRpcChannelBuffer *_pRpcChannelBuffer,
10555 PRPC_MESSAGE _pRpcMessage,
10556 DWORD *_pdwStubPhase)
10558 HRESULT _RetVal;
10559 MIDL_STUB_MESSAGE _StubMsg;
10560 LPOLESTR szSource;
10562 NdrStubInitialize(
10563 _pRpcMessage,
10564 &_StubMsg,
10565 &Object_StubDesc,
10566 _pRpcChannelBuffer);
10567 szSource = 0;
10568 RpcTryFinally
10570 if ( (_pRpcMessage->DataRepresentation & 0X0000FFFFUL) != NDR_LOCAL_DATA_REPRESENTATION )
10571 NdrConvert( (PMIDL_STUB_MESSAGE) &_StubMsg, (PFORMAT_STRING) &__MIDL_ProcFormatString.Format[474] );
10573 NdrConformantStringUnmarshall( (PMIDL_STUB_MESSAGE) &_StubMsg,
10574 (unsigned char __RPC_FAR * __RPC_FAR *)&szSource,
10575 (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[1248],
10576 (unsigned char)0 );
10579 *_pdwStubPhase = STUB_CALL_SERVER;
10580 _RetVal = (((ICreateErrorInfo*) ((CStdStubBuffer *)This)->pvServerObject)->lpVtbl) -> SetSource((ICreateErrorInfo *) ((CStdStubBuffer *)This)->pvServerObject,szSource);
10582 *_pdwStubPhase = STUB_MARSHAL;
10584 _StubMsg.BufferLength = 4U;
10585 _StubMsg.BufferLength += 16;
10587 NdrStubGetBuffer(This, _pRpcChannelBuffer, &_StubMsg);
10588 *( HRESULT __RPC_FAR * )_StubMsg.Buffer = _RetVal;
10589 _StubMsg.Buffer += sizeof(HRESULT);
10592 RpcFinally
10595 RpcEndFinally
10596 _pRpcMessage->BufferLength =
10597 (unsigned int)((long)_StubMsg.Buffer - (long)_pRpcMessage->Buffer);
10602 HRESULT STDMETHODCALLTYPE ICreateErrorInfo_SetDescription_Proxy(
10603 ICreateErrorInfo __RPC_FAR * This,
10604 /* [in] */ LPOLESTR szDescription)
10607 HRESULT _RetVal;
10609 RPC_MESSAGE _RpcMessage;
10611 MIDL_STUB_MESSAGE _StubMsg;
10613 RpcTryExcept
10615 NdrProxyInitialize(
10616 ( void __RPC_FAR * )This,
10617 ( PRPC_MESSAGE )&_RpcMessage,
10618 ( PMIDL_STUB_MESSAGE )&_StubMsg,
10619 ( PMIDL_STUB_DESC )&Object_StubDesc,
10624 if(!szDescription)
10626 RpcRaiseException(RPC_X_NULL_REF_POINTER);
10628 RpcTryFinally
10631 _StubMsg.BufferLength = 12U;
10632 NdrConformantStringBufferSize( (PMIDL_STUB_MESSAGE) &_StubMsg,
10633 (unsigned char __RPC_FAR *)szDescription,
10634 (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[1248] );
10636 NdrProxyGetBuffer(This, &_StubMsg);
10637 NdrConformantStringMarshall( (PMIDL_STUB_MESSAGE)& _StubMsg,
10638 (unsigned char __RPC_FAR *)szDescription,
10639 (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[1248] );
10641 NdrProxySendReceive(This, &_StubMsg);
10643 if ( (_RpcMessage.DataRepresentation & 0X0000FFFFUL) != NDR_LOCAL_DATA_REPRESENTATION )
10644 NdrConvert( (PMIDL_STUB_MESSAGE) &_StubMsg, (PFORMAT_STRING) &__MIDL_ProcFormatString.Format[474] );
10646 _RetVal = *( HRESULT __RPC_FAR * )_StubMsg.Buffer;
10647 _StubMsg.Buffer += sizeof(HRESULT);
10650 RpcFinally
10652 NdrProxyFreeBuffer(This, &_StubMsg);
10655 RpcEndFinally
10658 RpcExcept(_StubMsg.dwStubPhase != PROXY_SENDRECEIVE)
10660 _RetVal = NdrProxyErrorHandler(RpcExceptionCode());
10662 RpcEndExcept
10663 return _RetVal;
10666 void __RPC_STUB ICreateErrorInfo_SetDescription_Stub(
10667 IRpcStubBuffer *This,
10668 IRpcChannelBuffer *_pRpcChannelBuffer,
10669 PRPC_MESSAGE _pRpcMessage,
10670 DWORD *_pdwStubPhase)
10672 HRESULT _RetVal;
10673 MIDL_STUB_MESSAGE _StubMsg;
10674 LPOLESTR szDescription;
10676 NdrStubInitialize(
10677 _pRpcMessage,
10678 &_StubMsg,
10679 &Object_StubDesc,
10680 _pRpcChannelBuffer);
10681 szDescription = 0;
10682 RpcTryFinally
10684 if ( (_pRpcMessage->DataRepresentation & 0X0000FFFFUL) != NDR_LOCAL_DATA_REPRESENTATION )
10685 NdrConvert( (PMIDL_STUB_MESSAGE) &_StubMsg, (PFORMAT_STRING) &__MIDL_ProcFormatString.Format[474] );
10687 NdrConformantStringUnmarshall( (PMIDL_STUB_MESSAGE) &_StubMsg,
10688 (unsigned char __RPC_FAR * __RPC_FAR *)&szDescription,
10689 (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[1248],
10690 (unsigned char)0 );
10693 *_pdwStubPhase = STUB_CALL_SERVER;
10694 _RetVal = (((ICreateErrorInfo*) ((CStdStubBuffer *)This)->pvServerObject)->lpVtbl) -> SetDescription((ICreateErrorInfo *) ((CStdStubBuffer *)This)->pvServerObject,szDescription);
10696 *_pdwStubPhase = STUB_MARSHAL;
10698 _StubMsg.BufferLength = 4U;
10699 _StubMsg.BufferLength += 16;
10701 NdrStubGetBuffer(This, _pRpcChannelBuffer, &_StubMsg);
10702 *( HRESULT __RPC_FAR * )_StubMsg.Buffer = _RetVal;
10703 _StubMsg.Buffer += sizeof(HRESULT);
10706 RpcFinally
10709 RpcEndFinally
10710 _pRpcMessage->BufferLength =
10711 (unsigned int)((long)_StubMsg.Buffer - (long)_pRpcMessage->Buffer);
10716 HRESULT STDMETHODCALLTYPE ICreateErrorInfo_SetHelpFile_Proxy(
10717 ICreateErrorInfo __RPC_FAR * This,
10718 /* [in] */ LPOLESTR szHelpFile)
10721 HRESULT _RetVal;
10723 RPC_MESSAGE _RpcMessage;
10725 MIDL_STUB_MESSAGE _StubMsg;
10727 RpcTryExcept
10729 NdrProxyInitialize(
10730 ( void __RPC_FAR * )This,
10731 ( PRPC_MESSAGE )&_RpcMessage,
10732 ( PMIDL_STUB_MESSAGE )&_StubMsg,
10733 ( PMIDL_STUB_DESC )&Object_StubDesc,
10738 if(!szHelpFile)
10740 RpcRaiseException(RPC_X_NULL_REF_POINTER);
10742 RpcTryFinally
10745 _StubMsg.BufferLength = 12U;
10746 NdrConformantStringBufferSize( (PMIDL_STUB_MESSAGE) &_StubMsg,
10747 (unsigned char __RPC_FAR *)szHelpFile,
10748 (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[1248] );
10750 NdrProxyGetBuffer(This, &_StubMsg);
10751 NdrConformantStringMarshall( (PMIDL_STUB_MESSAGE)& _StubMsg,
10752 (unsigned char __RPC_FAR *)szHelpFile,
10753 (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[1248] );
10755 NdrProxySendReceive(This, &_StubMsg);
10757 if ( (_RpcMessage.DataRepresentation & 0X0000FFFFUL) != NDR_LOCAL_DATA_REPRESENTATION )
10758 NdrConvert( (PMIDL_STUB_MESSAGE) &_StubMsg, (PFORMAT_STRING) &__MIDL_ProcFormatString.Format[474] );
10760 _RetVal = *( HRESULT __RPC_FAR * )_StubMsg.Buffer;
10761 _StubMsg.Buffer += sizeof(HRESULT);
10764 RpcFinally
10766 NdrProxyFreeBuffer(This, &_StubMsg);
10769 RpcEndFinally
10772 RpcExcept(_StubMsg.dwStubPhase != PROXY_SENDRECEIVE)
10774 _RetVal = NdrProxyErrorHandler(RpcExceptionCode());
10776 RpcEndExcept
10777 return _RetVal;
10780 void __RPC_STUB ICreateErrorInfo_SetHelpFile_Stub(
10781 IRpcStubBuffer *This,
10782 IRpcChannelBuffer *_pRpcChannelBuffer,
10783 PRPC_MESSAGE _pRpcMessage,
10784 DWORD *_pdwStubPhase)
10786 HRESULT _RetVal;
10787 MIDL_STUB_MESSAGE _StubMsg;
10788 LPOLESTR szHelpFile;
10790 NdrStubInitialize(
10791 _pRpcMessage,
10792 &_StubMsg,
10793 &Object_StubDesc,
10794 _pRpcChannelBuffer);
10795 szHelpFile = 0;
10796 RpcTryFinally
10798 if ( (_pRpcMessage->DataRepresentation & 0X0000FFFFUL) != NDR_LOCAL_DATA_REPRESENTATION )
10799 NdrConvert( (PMIDL_STUB_MESSAGE) &_StubMsg, (PFORMAT_STRING) &__MIDL_ProcFormatString.Format[474] );
10801 NdrConformantStringUnmarshall( (PMIDL_STUB_MESSAGE) &_StubMsg,
10802 (unsigned char __RPC_FAR * __RPC_FAR *)&szHelpFile,
10803 (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[1248],
10804 (unsigned char)0 );
10807 *_pdwStubPhase = STUB_CALL_SERVER;
10808 _RetVal = (((ICreateErrorInfo*) ((CStdStubBuffer *)This)->pvServerObject)->lpVtbl) -> SetHelpFile((ICreateErrorInfo *) ((CStdStubBuffer *)This)->pvServerObject,szHelpFile);
10810 *_pdwStubPhase = STUB_MARSHAL;
10812 _StubMsg.BufferLength = 4U;
10813 _StubMsg.BufferLength += 16;
10815 NdrStubGetBuffer(This, _pRpcChannelBuffer, &_StubMsg);
10816 *( HRESULT __RPC_FAR * )_StubMsg.Buffer = _RetVal;
10817 _StubMsg.Buffer += sizeof(HRESULT);
10820 RpcFinally
10823 RpcEndFinally
10824 _pRpcMessage->BufferLength =
10825 (unsigned int)((long)_StubMsg.Buffer - (long)_pRpcMessage->Buffer);
10830 HRESULT STDMETHODCALLTYPE ICreateErrorInfo_SetHelpContext_Proxy(
10831 ICreateErrorInfo __RPC_FAR * This,
10832 /* [in] */ DWORD dwHelpContext)
10835 HRESULT _RetVal;
10837 RPC_MESSAGE _RpcMessage;
10839 MIDL_STUB_MESSAGE _StubMsg;
10841 RpcTryExcept
10843 NdrProxyInitialize(
10844 ( void __RPC_FAR * )This,
10845 ( PRPC_MESSAGE )&_RpcMessage,
10846 ( PMIDL_STUB_MESSAGE )&_StubMsg,
10847 ( PMIDL_STUB_DESC )&Object_StubDesc,
10852 RpcTryFinally
10855 _StubMsg.BufferLength = 4U;
10856 NdrProxyGetBuffer(This, &_StubMsg);
10857 *( DWORD __RPC_FAR * )_StubMsg.Buffer = dwHelpContext;
10858 _StubMsg.Buffer += sizeof(DWORD);
10860 NdrProxySendReceive(This, &_StubMsg);
10862 if ( (_RpcMessage.DataRepresentation & 0X0000FFFFUL) != NDR_LOCAL_DATA_REPRESENTATION )
10863 NdrConvert( (PMIDL_STUB_MESSAGE) &_StubMsg, (PFORMAT_STRING) &__MIDL_ProcFormatString.Format[84] );
10865 _RetVal = *( HRESULT __RPC_FAR * )_StubMsg.Buffer;
10866 _StubMsg.Buffer += sizeof(HRESULT);
10869 RpcFinally
10871 NdrProxyFreeBuffer(This, &_StubMsg);
10874 RpcEndFinally
10877 RpcExcept(_StubMsg.dwStubPhase != PROXY_SENDRECEIVE)
10879 _RetVal = NdrProxyErrorHandler(RpcExceptionCode());
10881 RpcEndExcept
10882 return _RetVal;
10885 void __RPC_STUB ICreateErrorInfo_SetHelpContext_Stub(
10886 IRpcStubBuffer *This,
10887 IRpcChannelBuffer *_pRpcChannelBuffer,
10888 PRPC_MESSAGE _pRpcMessage,
10889 DWORD *_pdwStubPhase)
10891 HRESULT _RetVal;
10892 MIDL_STUB_MESSAGE _StubMsg;
10893 DWORD dwHelpContext;
10895 NdrStubInitialize(
10896 _pRpcMessage,
10897 &_StubMsg,
10898 &Object_StubDesc,
10899 _pRpcChannelBuffer);
10900 RpcTryFinally
10902 if ( (_pRpcMessage->DataRepresentation & 0X0000FFFFUL) != NDR_LOCAL_DATA_REPRESENTATION )
10903 NdrConvert( (PMIDL_STUB_MESSAGE) &_StubMsg, (PFORMAT_STRING) &__MIDL_ProcFormatString.Format[84] );
10905 dwHelpContext = *( DWORD __RPC_FAR * )_StubMsg.Buffer;
10906 _StubMsg.Buffer += sizeof(DWORD);
10909 *_pdwStubPhase = STUB_CALL_SERVER;
10910 _RetVal = (((ICreateErrorInfo*) ((CStdStubBuffer *)This)->pvServerObject)->lpVtbl) -> SetHelpContext((ICreateErrorInfo *) ((CStdStubBuffer *)This)->pvServerObject,dwHelpContext);
10912 *_pdwStubPhase = STUB_MARSHAL;
10914 _StubMsg.BufferLength = 4U;
10915 NdrStubGetBuffer(This, _pRpcChannelBuffer, &_StubMsg);
10916 *( HRESULT __RPC_FAR * )_StubMsg.Buffer = _RetVal;
10917 _StubMsg.Buffer += sizeof(HRESULT);
10920 RpcFinally
10923 RpcEndFinally
10924 _pRpcMessage->BufferLength =
10925 (unsigned int)((long)_StubMsg.Buffer - (long)_pRpcMessage->Buffer);
10929 const CINTERFACE_PROXY_VTABLE(8) _ICreateErrorInfoProxyVtbl =
10931 { &IID_ICreateErrorInfo },
10933 IUnknown_QueryInterface_Proxy,
10934 IUnknown_AddRef_Proxy,
10935 IUnknown_Release_Proxy ,
10936 ICreateErrorInfo_SetGUID_Proxy ,
10937 ICreateErrorInfo_SetSource_Proxy ,
10938 ICreateErrorInfo_SetDescription_Proxy ,
10939 ICreateErrorInfo_SetHelpFile_Proxy ,
10940 ICreateErrorInfo_SetHelpContext_Proxy
10945 static const PRPC_STUB_FUNCTION ICreateErrorInfo_table[] =
10947 ICreateErrorInfo_SetGUID_Stub,
10948 ICreateErrorInfo_SetSource_Stub,
10949 ICreateErrorInfo_SetDescription_Stub,
10950 ICreateErrorInfo_SetHelpFile_Stub,
10951 ICreateErrorInfo_SetHelpContext_Stub
10954 const CInterfaceStubVtbl _ICreateErrorInfoStubVtbl =
10957 &IID_ICreateErrorInfo,
10960 &ICreateErrorInfo_table[-3]
10962 { CStdStubBuffer_METHODS }
10966 /* Object interface: ISupportErrorInfo, ver. 0.0,
10967 GUID={0xDF0B3D60,0x548F,0x101B,{0x8E,0x65,0x08,0x00,0x2B,0x2B,0xD1,0x19}} */
10970 extern const MIDL_STUB_DESC Object_StubDesc;
10973 HRESULT STDMETHODCALLTYPE ISupportErrorInfo_InterfaceSupportsErrorInfo_Proxy(
10974 ISupportErrorInfo __RPC_FAR * This,
10975 /* [in] */ REFIID riid)
10978 HRESULT _RetVal;
10980 RPC_MESSAGE _RpcMessage;
10982 MIDL_STUB_MESSAGE _StubMsg;
10984 RpcTryExcept
10986 NdrProxyInitialize(
10987 ( void __RPC_FAR * )This,
10988 ( PRPC_MESSAGE )&_RpcMessage,
10989 ( PMIDL_STUB_MESSAGE )&_StubMsg,
10990 ( PMIDL_STUB_DESC )&Object_StubDesc,
10995 if(!riid)
10997 RpcRaiseException(RPC_X_NULL_REF_POINTER);
10999 RpcTryFinally
11002 _StubMsg.BufferLength = 0U;
11003 NdrSimpleStructBufferSize( (PMIDL_STUB_MESSAGE) &_StubMsg,
11004 (unsigned char __RPC_FAR *)riid,
11005 (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[38] );
11007 NdrProxyGetBuffer(This, &_StubMsg);
11008 NdrSimpleStructMarshall( (PMIDL_STUB_MESSAGE)& _StubMsg,
11009 (unsigned char __RPC_FAR *)riid,
11010 (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[38] );
11012 NdrProxySendReceive(This, &_StubMsg);
11014 if ( (_RpcMessage.DataRepresentation & 0X0000FFFFUL) != NDR_LOCAL_DATA_REPRESENTATION )
11015 NdrConvert( (PMIDL_STUB_MESSAGE) &_StubMsg, (PFORMAT_STRING) &__MIDL_ProcFormatString.Format[468] );
11017 _RetVal = *( HRESULT __RPC_FAR * )_StubMsg.Buffer;
11018 _StubMsg.Buffer += sizeof(HRESULT);
11021 RpcFinally
11023 NdrProxyFreeBuffer(This, &_StubMsg);
11026 RpcEndFinally
11029 RpcExcept(_StubMsg.dwStubPhase != PROXY_SENDRECEIVE)
11031 _RetVal = NdrProxyErrorHandler(RpcExceptionCode());
11033 RpcEndExcept
11034 return _RetVal;
11037 void __RPC_STUB ISupportErrorInfo_InterfaceSupportsErrorInfo_Stub(
11038 IRpcStubBuffer *This,
11039 IRpcChannelBuffer *_pRpcChannelBuffer,
11040 PRPC_MESSAGE _pRpcMessage,
11041 DWORD *_pdwStubPhase)
11043 HRESULT _RetVal;
11044 MIDL_STUB_MESSAGE _StubMsg;
11045 IID* riid = 0;
11047 NdrStubInitialize(
11048 _pRpcMessage,
11049 &_StubMsg,
11050 &Object_StubDesc,
11051 _pRpcChannelBuffer);
11052 RpcTryFinally
11054 if ( (_pRpcMessage->DataRepresentation & 0X0000FFFFUL) != NDR_LOCAL_DATA_REPRESENTATION )
11055 NdrConvert( (PMIDL_STUB_MESSAGE) &_StubMsg, (PFORMAT_STRING) &__MIDL_ProcFormatString.Format[468] );
11057 NdrSimpleStructUnmarshall( (PMIDL_STUB_MESSAGE) &_StubMsg,
11058 (unsigned char __RPC_FAR * __RPC_FAR *)&riid,
11059 (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[38],
11060 (unsigned char)0 );
11063 *_pdwStubPhase = STUB_CALL_SERVER;
11064 _RetVal = (((ISupportErrorInfo*) ((CStdStubBuffer *)This)->pvServerObject)->lpVtbl) -> InterfaceSupportsErrorInfo((ISupportErrorInfo *) ((CStdStubBuffer *)This)->pvServerObject,riid);
11066 *_pdwStubPhase = STUB_MARSHAL;
11068 _StubMsg.BufferLength = 4U;
11069 NdrStubGetBuffer(This, _pRpcChannelBuffer, &_StubMsg);
11070 *( HRESULT __RPC_FAR * )_StubMsg.Buffer = _RetVal;
11071 _StubMsg.Buffer += sizeof(HRESULT);
11074 RpcFinally
11077 RpcEndFinally
11078 _pRpcMessage->BufferLength =
11079 (unsigned int)((long)_StubMsg.Buffer - (long)_pRpcMessage->Buffer);
11083 const CINTERFACE_PROXY_VTABLE(4) _ISupportErrorInfoProxyVtbl =
11085 { &IID_ISupportErrorInfo },
11087 IUnknown_QueryInterface_Proxy,
11088 IUnknown_AddRef_Proxy,
11089 IUnknown_Release_Proxy ,
11090 ISupportErrorInfo_InterfaceSupportsErrorInfo_Proxy
11095 static const PRPC_STUB_FUNCTION ISupportErrorInfo_table[] =
11097 ISupportErrorInfo_InterfaceSupportsErrorInfo_Stub
11100 const CInterfaceStubVtbl _ISupportErrorInfoStubVtbl =
11103 &IID_ISupportErrorInfo,
11106 &ISupportErrorInfo_table[-3]
11108 { CStdStubBuffer_METHODS }
11112 /* Object interface: ITypeFactory, ver. 0.0,
11113 GUID={0x0000002E,0x0000,0x0000,{0xC0,0x00,0x00,0x00,0x00,0x00,0x00,0x46}} */
11116 extern const MIDL_STUB_DESC Object_StubDesc;
11119 HRESULT STDMETHODCALLTYPE ITypeFactory_CreateFromTypeInfo_Proxy(
11120 ITypeFactory __RPC_FAR * This,
11121 /* [in] */ ITypeInfo __RPC_FAR *pTypeInfo,
11122 /* [in] */ REFIID riid,
11123 /* [iid_is][out] */ IUnknown __RPC_FAR *__RPC_FAR *ppv)
11126 HRESULT _RetVal;
11128 RPC_MESSAGE _RpcMessage;
11130 MIDL_STUB_MESSAGE _StubMsg;
11132 if(ppv)
11134 MIDL_memset(
11135 ppv,
11137 sizeof( IUnknown __RPC_FAR *__RPC_FAR * ));
11139 RpcTryExcept
11141 NdrProxyInitialize(
11142 ( void __RPC_FAR * )This,
11143 ( PRPC_MESSAGE )&_RpcMessage,
11144 ( PMIDL_STUB_MESSAGE )&_StubMsg,
11145 ( PMIDL_STUB_DESC )&Object_StubDesc,
11150 if(!riid)
11152 RpcRaiseException(RPC_X_NULL_REF_POINTER);
11154 if(!ppv)
11156 RpcRaiseException(RPC_X_NULL_REF_POINTER);
11158 RpcTryFinally
11161 _StubMsg.BufferLength = 0U + 0U;
11162 NdrInterfacePointerBufferSize( (PMIDL_STUB_MESSAGE) &_StubMsg,
11163 (unsigned char __RPC_FAR *)pTypeInfo,
11164 (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[10] );
11166 NdrSimpleStructBufferSize( (PMIDL_STUB_MESSAGE) &_StubMsg,
11167 (unsigned char __RPC_FAR *)riid,
11168 (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[38] );
11170 NdrProxyGetBuffer(This, &_StubMsg);
11171 NdrInterfacePointerMarshall( (PMIDL_STUB_MESSAGE)& _StubMsg,
11172 (unsigned char __RPC_FAR *)pTypeInfo,
11173 (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[10] );
11175 NdrSimpleStructMarshall( (PMIDL_STUB_MESSAGE)& _StubMsg,
11176 (unsigned char __RPC_FAR *)riid,
11177 (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[38] );
11179 NdrProxySendReceive(This, &_StubMsg);
11181 if ( (_RpcMessage.DataRepresentation & 0X0000FFFFUL) != NDR_LOCAL_DATA_REPRESENTATION )
11182 NdrConvert( (PMIDL_STUB_MESSAGE) &_StubMsg, (PFORMAT_STRING) &__MIDL_ProcFormatString.Format[480] );
11184 NdrPointerUnmarshall( (PMIDL_STUB_MESSAGE) &_StubMsg,
11185 (unsigned char __RPC_FAR * __RPC_FAR *)&ppv,
11186 (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[1896],
11187 (unsigned char)0 );
11189 _StubMsg.Buffer = (unsigned char __RPC_FAR *)(((long)_StubMsg.Buffer + 3) & ~ 0x3);
11190 _RetVal = *( HRESULT __RPC_FAR * )_StubMsg.Buffer;
11191 _StubMsg.Buffer += sizeof(HRESULT);
11194 RpcFinally
11196 NdrProxyFreeBuffer(This, &_StubMsg);
11199 RpcEndFinally
11202 RpcExcept(_StubMsg.dwStubPhase != PROXY_SENDRECEIVE)
11204 _StubMsg.MaxCount = (unsigned long) ( riid );
11206 NdrClearOutParameters(
11207 ( PMIDL_STUB_MESSAGE )&_StubMsg,
11208 ( PFORMAT_STRING )&__MIDL_TypeFormatString.Format[1896],
11209 ( void __RPC_FAR * )ppv);
11210 _RetVal = NdrProxyErrorHandler(RpcExceptionCode());
11212 RpcEndExcept
11213 return _RetVal;
11216 void __RPC_STUB ITypeFactory_CreateFromTypeInfo_Stub(
11217 IRpcStubBuffer *This,
11218 IRpcChannelBuffer *_pRpcChannelBuffer,
11219 PRPC_MESSAGE _pRpcMessage,
11220 DWORD *_pdwStubPhase)
11222 IUnknown __RPC_FAR *__RPC_FAR *_M101;
11223 HRESULT _RetVal;
11224 MIDL_STUB_MESSAGE _StubMsg;
11225 ITypeInfo __RPC_FAR *pTypeInfo;
11226 IUnknown __RPC_FAR *__RPC_FAR *ppv;
11227 IID* riid = 0;
11229 NdrStubInitialize(
11230 _pRpcMessage,
11231 &_StubMsg,
11232 &Object_StubDesc,
11233 _pRpcChannelBuffer);
11234 pTypeInfo = 0;
11235 ppv = 0;
11236 RpcTryFinally
11238 if ( (_pRpcMessage->DataRepresentation & 0X0000FFFFUL) != NDR_LOCAL_DATA_REPRESENTATION )
11239 NdrConvert( (PMIDL_STUB_MESSAGE) &_StubMsg, (PFORMAT_STRING) &__MIDL_ProcFormatString.Format[480] );
11241 NdrInterfacePointerUnmarshall( (PMIDL_STUB_MESSAGE) &_StubMsg,
11242 (unsigned char __RPC_FAR * __RPC_FAR *)&pTypeInfo,
11243 (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[10],
11244 (unsigned char)0 );
11246 NdrSimpleStructUnmarshall( (PMIDL_STUB_MESSAGE) &_StubMsg,
11247 (unsigned char __RPC_FAR * __RPC_FAR *)&riid,
11248 (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[38],
11249 (unsigned char)0 );
11251 ppv = (void *)&_M101;
11252 _M101 = 0;
11254 *_pdwStubPhase = STUB_CALL_SERVER;
11255 _RetVal = (((ITypeFactory*) ((CStdStubBuffer *)This)->pvServerObject)->lpVtbl) -> CreateFromTypeInfo(
11256 (ITypeFactory *) ((CStdStubBuffer *)This)->pvServerObject,
11257 pTypeInfo,
11258 riid,
11259 ppv);
11261 *_pdwStubPhase = STUB_MARSHAL;
11263 _StubMsg.BufferLength = 0U + 4U;
11264 _StubMsg.MaxCount = (unsigned long) ( riid );
11266 NdrPointerBufferSize( (PMIDL_STUB_MESSAGE) &_StubMsg,
11267 (unsigned char __RPC_FAR *)ppv,
11268 (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[1896] );
11270 _StubMsg.BufferLength += 16;
11272 NdrStubGetBuffer(This, _pRpcChannelBuffer, &_StubMsg);
11273 _StubMsg.MaxCount = (unsigned long) ( riid );
11275 NdrPointerMarshall( (PMIDL_STUB_MESSAGE)& _StubMsg,
11276 (unsigned char __RPC_FAR *)ppv,
11277 (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[1896] );
11279 _StubMsg.Buffer = (unsigned char __RPC_FAR *)(((long)_StubMsg.Buffer + 3) & ~ 0x3);
11280 *( HRESULT __RPC_FAR * )_StubMsg.Buffer = _RetVal;
11281 _StubMsg.Buffer += sizeof(HRESULT);
11284 RpcFinally
11286 NdrInterfacePointerFree( &_StubMsg,
11287 (unsigned char __RPC_FAR *)pTypeInfo,
11288 &__MIDL_TypeFormatString.Format[10] );
11290 _StubMsg.MaxCount = (unsigned long) ( riid );
11292 NdrPointerFree( &_StubMsg,
11293 (unsigned char __RPC_FAR *)ppv,
11294 &__MIDL_TypeFormatString.Format[1896] );
11297 RpcEndFinally
11298 _pRpcMessage->BufferLength =
11299 (unsigned int)((long)_StubMsg.Buffer - (long)_pRpcMessage->Buffer);
11303 static const USER_MARSHAL_ROUTINE_QUADRUPLE UserMarshalRoutines[3] =
11306 (USER_MARSHAL_SIZING_ROUTINE)VARIANT_UserSize,
11307 (USER_MARSHAL_MARSHALLING_ROUTINE)VARIANT_UserMarshal,
11308 (USER_MARSHAL_UNMARSHALLING_ROUTINE)VARIANT_UserUnmarshal,
11309 (USER_MARSHAL_FREEING_ROUTINE)VARIANT_UserFree
11312 (USER_MARSHAL_SIZING_ROUTINE)BSTR_UserSize,
11313 (USER_MARSHAL_MARSHALLING_ROUTINE)BSTR_UserMarshal,
11314 (USER_MARSHAL_UNMARSHALLING_ROUTINE)BSTR_UserUnmarshal,
11315 (USER_MARSHAL_FREEING_ROUTINE)BSTR_UserFree
11318 (USER_MARSHAL_SIZING_ROUTINE)CLEANLOCALSTORAGE_UserSize,
11319 (USER_MARSHAL_MARSHALLING_ROUTINE)CLEANLOCALSTORAGE_UserMarshal,
11320 (USER_MARSHAL_UNMARSHALLING_ROUTINE)CLEANLOCALSTORAGE_UserUnmarshal,
11321 (USER_MARSHAL_FREEING_ROUTINE)CLEANLOCALSTORAGE_UserFree
11326 static const MIDL_STUB_DESC Object_StubDesc =
11329 NdrOleAllocate,
11330 NdrOleFree,
11331 { 0 },
11336 __MIDL_TypeFormatString.Format,
11337 1, /* -error bounds_check flag */
11338 0x20000, /* Ndr library version */
11340 0x50100a4, /* MIDL Version 5.1.164 */
11342 UserMarshalRoutines,
11343 0, /* notify & notify_flag routine table */
11344 1, /* Flags */
11345 0, /* Reserved3 */
11346 0, /* Reserved4 */
11347 0 /* Reserved5 */
11350 const CINTERFACE_PROXY_VTABLE(4) _ITypeFactoryProxyVtbl =
11352 { &IID_ITypeFactory },
11354 IUnknown_QueryInterface_Proxy,
11355 IUnknown_AddRef_Proxy,
11356 IUnknown_Release_Proxy ,
11357 ITypeFactory_CreateFromTypeInfo_Proxy
11362 static const PRPC_STUB_FUNCTION ITypeFactory_table[] =
11364 ITypeFactory_CreateFromTypeInfo_Stub
11367 const CInterfaceStubVtbl _ITypeFactoryStubVtbl =
11370 &IID_ITypeFactory,
11373 &ITypeFactory_table[-3]
11375 { CStdStubBuffer_METHODS }
11379 /* Object interface: ITypeMarshal, ver. 0.0,
11380 GUID={0x0000002D,0x0000,0x0000,{0xC0,0x00,0x00,0x00,0x00,0x00,0x00,0x46}} */
11383 /* Object interface: IRecordInfo, ver. 0.0,
11384 GUID={0x0000002F,0x0000,0x0000,{0xC0,0x00,0x00,0x00,0x00,0x00,0x00,0x46}} */
11387 /* Object interface: ICreateTypeInfo, ver. 0.0,
11388 GUID={0x00020405,0x0000,0x0000,{0xC0,0x00,0x00,0x00,0x00,0x00,0x00,0x46}} */
11391 /* Object interface: ICreateTypeInfo2, ver. 0.0,
11392 GUID={0x0002040E,0x0000,0x0000,{0xC0,0x00,0x00,0x00,0x00,0x00,0x00,0x46}} */
11395 /* Object interface: ICreateTypeLib, ver. 0.0,
11396 GUID={0x00020406,0x0000,0x0000,{0xC0,0x00,0x00,0x00,0x00,0x00,0x00,0x46}} */
11399 /* Object interface: ICreateTypeLib2, ver. 0.0,
11400 GUID={0x0002040F,0x0000,0x0000,{0xC0,0x00,0x00,0x00,0x00,0x00,0x00,0x46}} */
11402 #if !defined(__RPC_WIN32__)
11403 #error Invalid build platform for this stub.
11404 #endif
11406 #if !(TARGET_IS_NT40_OR_LATER)
11407 #error You need a Windows NT 4.0 or later to run this stub because it uses these features:
11408 #error [wire_marshal] or [user_marshal] attribute.
11409 #error However, your C/C++ compilation flags indicate you intend to run this app on earlier systems.
11410 #error This app will die there with the RPC_X_WRONG_STUB_VERSION error.
11411 #endif
11414 static const MIDL_PROC_FORMAT_STRING __MIDL_ProcFormatString =
11419 0x51, /* FC_OUT_PARAM */
11420 #ifndef _ALPHA_
11421 0x1, /* x86, MIPS & PPC Stack size = 1 */
11422 #else
11423 0x2, /* Alpha Stack size = 2 */
11424 #endif
11425 /* 2 */ NdrFcShort( 0x2 ), /* Type Offset=2 */
11426 /* 4 */ 0x53, /* FC_RETURN_PARAM_BASETYPE */
11427 0x8, /* FC_LONG */
11428 /* 6 */ 0x4e, /* FC_IN_PARAM_BASETYPE */
11429 0x8, /* FC_LONG */
11430 /* 8 */ 0x4e, /* FC_IN_PARAM_BASETYPE */
11431 0x8, /* FC_LONG */
11432 /* 10 */
11433 0x51, /* FC_OUT_PARAM */
11434 #ifndef _ALPHA_
11435 0x1, /* x86, MIPS & PPC Stack size = 1 */
11436 #else
11437 0x2, /* Alpha Stack size = 2 */
11438 #endif
11439 /* 12 */ NdrFcShort( 0x6 ), /* Type Offset=6 */
11440 /* 14 */ 0x53, /* FC_RETURN_PARAM_BASETYPE */
11441 0x8, /* FC_LONG */
11442 /* 16 */
11443 0x4d, /* FC_IN_PARAM */
11444 #ifndef _ALPHA_
11445 0x1, /* x86, MIPS & PPC Stack size = 1 */
11446 #else
11447 0x2, /* Alpha Stack size = 2 */
11448 #endif
11449 /* 18 */ NdrFcShort( 0x1c ), /* Type Offset=28 */
11450 /* 20 */
11451 0x4d, /* FC_IN_PARAM */
11452 #ifndef _ALPHA_
11453 0x1, /* x86, MIPS & PPC Stack size = 1 */
11454 #else
11455 0x2, /* Alpha Stack size = 2 */
11456 #endif
11457 /* 22 */ NdrFcShort( 0x32 ), /* Type Offset=50 */
11458 /* 24 */ 0x4e, /* FC_IN_PARAM_BASETYPE */
11459 0x8, /* FC_LONG */
11460 /* 26 */ 0x4e, /* FC_IN_PARAM_BASETYPE */
11461 0x8, /* FC_LONG */
11462 /* 28 */
11463 0x51, /* FC_OUT_PARAM */
11464 #ifndef _ALPHA_
11465 0x1, /* x86, MIPS & PPC Stack size = 1 */
11466 #else
11467 0x2, /* Alpha Stack size = 2 */
11468 #endif
11469 /* 30 */ NdrFcShort( 0x54 ), /* Type Offset=84 */
11470 /* 32 */ 0x53, /* FC_RETURN_PARAM_BASETYPE */
11471 0x8, /* FC_LONG */
11472 /* 34 */ 0x4e, /* FC_IN_PARAM_BASETYPE */
11473 0x8, /* FC_LONG */
11474 /* 36 */
11475 0x4d, /* FC_IN_PARAM */
11476 #ifndef _ALPHA_
11477 0x1, /* x86, MIPS & PPC Stack size = 1 */
11478 #else
11479 0x2, /* Alpha Stack size = 2 */
11480 #endif
11481 /* 38 */ NdrFcShort( 0x1c ), /* Type Offset=28 */
11482 /* 40 */ 0x4e, /* FC_IN_PARAM_BASETYPE */
11483 0x8, /* FC_LONG */
11484 /* 42 */ 0x4e, /* FC_IN_PARAM_BASETYPE */
11485 0x8, /* FC_LONG */
11486 /* 44 */
11487 0x4d, /* FC_IN_PARAM */
11488 #ifndef _ALPHA_
11489 0x1, /* x86, MIPS & PPC Stack size = 1 */
11490 #else
11491 0x2, /* Alpha Stack size = 2 */
11492 #endif
11493 /* 46 */ NdrFcShort( 0x62 ), /* Type Offset=98 */
11494 /* 48 */
11495 0x51, /* FC_OUT_PARAM */
11496 #ifndef _ALPHA_
11497 0x1, /* x86, MIPS & PPC Stack size = 1 */
11498 #else
11499 0x2, /* Alpha Stack size = 2 */
11500 #endif
11501 /* 50 */ NdrFcShort( 0x44e ), /* Type Offset=1102 */
11502 /* 52 */
11503 0x51, /* FC_OUT_PARAM */
11504 #ifndef _ALPHA_
11505 0x1, /* x86, MIPS & PPC Stack size = 1 */
11506 #else
11507 0x2, /* Alpha Stack size = 2 */
11508 #endif
11509 /* 54 */ NdrFcShort( 0x460 ), /* Type Offset=1120 */
11510 /* 56 */
11511 0x51, /* FC_OUT_PARAM */
11512 #ifndef _ALPHA_
11513 0x1, /* x86, MIPS & PPC Stack size = 1 */
11514 #else
11515 0x2, /* Alpha Stack size = 2 */
11516 #endif
11517 /* 58 */ NdrFcShort( 0x2 ), /* Type Offset=2 */
11518 /* 60 */ 0x4e, /* FC_IN_PARAM_BASETYPE */
11519 0x8, /* FC_LONG */
11520 /* 62 */
11521 0x4d, /* FC_IN_PARAM */
11522 #ifndef _ALPHA_
11523 0x1, /* x86, MIPS & PPC Stack size = 1 */
11524 #else
11525 0x2, /* Alpha Stack size = 2 */
11526 #endif
11527 /* 64 */ NdrFcShort( 0x48e ), /* Type Offset=1166 */
11528 /* 66 */
11529 0x50, /* FC_IN_OUT_PARAM */
11530 #ifndef _ALPHA_
11531 0x1, /* x86, MIPS & PPC Stack size = 1 */
11532 #else
11533 0x2, /* Alpha Stack size = 2 */
11534 #endif
11535 /* 68 */ NdrFcShort( 0x49c ), /* Type Offset=1180 */
11536 /* 70 */ 0x53, /* FC_RETURN_PARAM_BASETYPE */
11537 0x8, /* FC_LONG */
11538 /* 72 */ 0x4e, /* FC_IN_PARAM_BASETYPE */
11539 0x8, /* FC_LONG */
11540 /* 74 */
11541 0x51, /* FC_OUT_PARAM */
11542 #ifndef _ALPHA_
11543 0x1, /* x86, MIPS & PPC Stack size = 1 */
11544 #else
11545 0x2, /* Alpha Stack size = 2 */
11546 #endif
11547 /* 76 */ NdrFcShort( 0x4b2 ), /* Type Offset=1202 */
11548 /* 78 */
11549 0x51, /* FC_OUT_PARAM */
11550 #ifndef _ALPHA_
11551 0x1, /* x86, MIPS & PPC Stack size = 1 */
11552 #else
11553 0x2, /* Alpha Stack size = 2 */
11554 #endif
11555 /* 80 */ NdrFcShort( 0x2 ), /* Type Offset=2 */
11556 /* 82 */ 0x53, /* FC_RETURN_PARAM_BASETYPE */
11557 0x8, /* FC_LONG */
11558 /* 84 */ 0x4e, /* FC_IN_PARAM_BASETYPE */
11559 0x8, /* FC_LONG */
11560 /* 86 */ 0x53, /* FC_RETURN_PARAM_BASETYPE */
11561 0x8, /* FC_LONG */
11562 /* 88 */ 0x53, /* FC_RETURN_PARAM_BASETYPE */
11563 0x8, /* FC_LONG */
11564 /* 90 */
11565 0x51, /* FC_OUT_PARAM */
11566 #ifndef _ALPHA_
11567 0x1, /* x86, MIPS & PPC Stack size = 1 */
11568 #else
11569 0x2, /* Alpha Stack size = 2 */
11570 #endif
11571 /* 92 */ NdrFcShort( 0x4c8 ), /* Type Offset=1224 */
11572 /* 94 */ 0x53, /* FC_RETURN_PARAM_BASETYPE */
11573 0x8, /* FC_LONG */
11574 /* 96 */
11575 0x4d, /* FC_IN_PARAM */
11576 #ifndef _ALPHA_
11577 0x1, /* x86, MIPS & PPC Stack size = 1 */
11578 #else
11579 0x2, /* Alpha Stack size = 2 */
11580 #endif
11581 /* 98 */ NdrFcShort( 0x4de ), /* Type Offset=1246 */
11582 /* 100 */ 0x4e, /* FC_IN_PARAM_BASETYPE */
11583 0x8, /* FC_LONG */
11584 /* 102 */ 0x4e, /* FC_IN_PARAM_BASETYPE */
11585 0x6, /* FC_SHORT */
11586 /* 104 */
11587 0x51, /* FC_OUT_PARAM */
11588 #ifndef _ALPHA_
11589 0x1, /* x86, MIPS & PPC Stack size = 1 */
11590 #else
11591 0x2, /* Alpha Stack size = 2 */
11592 #endif
11593 /* 106 */ NdrFcShort( 0x6 ), /* Type Offset=6 */
11594 /* 108 */
11595 0x51, /* FC_OUT_PARAM */
11596 #ifndef _ALPHA_
11597 0x1, /* x86, MIPS & PPC Stack size = 1 */
11598 #else
11599 0x2, /* Alpha Stack size = 2 */
11600 #endif
11601 /* 110 */ NdrFcShort( 0x4e2 ), /* Type Offset=1250 */
11602 /* 112 */
11603 0x51, /* FC_OUT_PARAM */
11604 #ifndef _ALPHA_
11605 0x1, /* x86, MIPS & PPC Stack size = 1 */
11606 #else
11607 0x2, /* Alpha Stack size = 2 */
11608 #endif
11609 /* 114 */ NdrFcShort( 0x4e6 ), /* Type Offset=1254 */
11610 /* 116 */
11611 0x51, /* FC_OUT_PARAM */
11612 #ifndef _ALPHA_
11613 0x1, /* x86, MIPS & PPC Stack size = 1 */
11614 #else
11615 0x2, /* Alpha Stack size = 2 */
11616 #endif
11617 /* 118 */ NdrFcShort( 0x5b8 ), /* Type Offset=1464 */
11618 /* 120 */
11619 0x51, /* FC_OUT_PARAM */
11620 #ifndef _ALPHA_
11621 0x1, /* x86, MIPS & PPC Stack size = 1 */
11622 #else
11623 0x2, /* Alpha Stack size = 2 */
11624 #endif
11625 /* 122 */ NdrFcShort( 0x604 ), /* Type Offset=1540 */
11626 /* 124 */
11627 0x51, /* FC_OUT_PARAM */
11628 #ifndef _ALPHA_
11629 0x1, /* x86, MIPS & PPC Stack size = 1 */
11630 #else
11631 0x2, /* Alpha Stack size = 2 */
11632 #endif
11633 /* 126 */ NdrFcShort( 0x61a ), /* Type Offset=1562 */
11634 /* 128 */ 0x53, /* FC_RETURN_PARAM_BASETYPE */
11635 0x8, /* FC_LONG */
11636 /* 130 */
11637 0x4d, /* FC_IN_PARAM */
11638 #ifndef _ALPHA_
11639 0x1, /* x86, MIPS & PPC Stack size = 1 */
11640 #else
11641 0x2, /* Alpha Stack size = 2 */
11642 #endif
11643 /* 132 */ NdrFcShort( 0x4de ), /* Type Offset=1246 */
11644 /* 134 */ 0x4e, /* FC_IN_PARAM_BASETYPE */
11645 0x8, /* FC_LONG */
11646 /* 136 */
11647 0x51, /* FC_OUT_PARAM */
11648 #ifndef _ALPHA_
11649 0x1, /* x86, MIPS & PPC Stack size = 1 */
11650 #else
11651 0x2, /* Alpha Stack size = 2 */
11652 #endif
11653 /* 138 */ NdrFcShort( 0x6 ), /* Type Offset=6 */
11654 /* 140 */ 0x53, /* FC_RETURN_PARAM_BASETYPE */
11655 0x8, /* FC_LONG */
11656 /* 142 */
11657 0x51, /* FC_OUT_PARAM */
11658 #ifndef _ALPHA_
11659 0x1, /* x86, MIPS & PPC Stack size = 1 */
11660 #else
11661 0x2, /* Alpha Stack size = 2 */
11662 #endif
11663 /* 144 */ NdrFcShort( 0x62a ), /* Type Offset=1578 */
11664 /* 146 */
11665 0x51, /* FC_OUT_PARAM */
11666 #ifndef _ALPHA_
11667 0x1, /* x86, MIPS & PPC Stack size = 1 */
11668 #else
11669 0x2, /* Alpha Stack size = 2 */
11670 #endif
11671 /* 148 */ NdrFcShort( 0x666 ), /* Type Offset=1638 */
11672 /* 150 */ 0x53, /* FC_RETURN_PARAM_BASETYPE */
11673 0x8, /* FC_LONG */
11674 /* 152 */
11675 0x51, /* FC_OUT_PARAM */
11676 #ifndef _ALPHA_
11677 0x1, /* x86, MIPS & PPC Stack size = 1 */
11678 #else
11679 0x2, /* Alpha Stack size = 2 */
11680 #endif
11681 /* 154 */ NdrFcShort( 0x604 ), /* Type Offset=1540 */
11682 /* 156 */ 0x53, /* FC_RETURN_PARAM_BASETYPE */
11683 0x8, /* FC_LONG */
11684 /* 158 */ 0x4e, /* FC_IN_PARAM_BASETYPE */
11685 0x8, /* FC_LONG */
11686 /* 160 */
11687 0x51, /* FC_OUT_PARAM */
11688 #ifndef _ALPHA_
11689 0x1, /* x86, MIPS & PPC Stack size = 1 */
11690 #else
11691 0x2, /* Alpha Stack size = 2 */
11692 #endif
11693 /* 162 */ NdrFcShort( 0x4e6 ), /* Type Offset=1254 */
11694 /* 164 */
11695 0x51, /* FC_OUT_PARAM */
11696 #ifndef _ALPHA_
11697 0x1, /* x86, MIPS & PPC Stack size = 1 */
11698 #else
11699 0x2, /* Alpha Stack size = 2 */
11700 #endif
11701 /* 166 */ NdrFcShort( 0x676 ), /* Type Offset=1654 */
11702 /* 168 */ 0x53, /* FC_RETURN_PARAM_BASETYPE */
11703 0x8, /* FC_LONG */
11704 /* 170 */ 0x4e, /* FC_IN_PARAM_BASETYPE */
11705 0x8, /* FC_LONG */
11706 /* 172 */
11707 0x51, /* FC_OUT_PARAM */
11708 #ifndef _ALPHA_
11709 0x1, /* x86, MIPS & PPC Stack size = 1 */
11710 #else
11711 0x2, /* Alpha Stack size = 2 */
11712 #endif
11713 /* 174 */ NdrFcShort( 0x5b8 ), /* Type Offset=1464 */
11714 /* 176 */
11715 0x51, /* FC_OUT_PARAM */
11716 #ifndef _ALPHA_
11717 0x1, /* x86, MIPS & PPC Stack size = 1 */
11718 #else
11719 0x2, /* Alpha Stack size = 2 */
11720 #endif
11721 /* 178 */ NdrFcShort( 0x686 ), /* Type Offset=1670 */
11722 /* 180 */ 0x53, /* FC_RETURN_PARAM_BASETYPE */
11723 0x8, /* FC_LONG */
11724 /* 182 */ 0x4e, /* FC_IN_PARAM_BASETYPE */
11725 0x8, /* FC_LONG */
11726 /* 184 */
11727 0x51, /* FC_OUT_PARAM */
11728 #ifndef _ALPHA_
11729 0x1, /* x86, MIPS & PPC Stack size = 1 */
11730 #else
11731 0x2, /* Alpha Stack size = 2 */
11732 #endif
11733 /* 186 */ NdrFcShort( 0x696 ), /* Type Offset=1686 */
11734 /* 188 */ 0x4e, /* FC_IN_PARAM_BASETYPE */
11735 0x8, /* FC_LONG */
11736 /* 190 */
11737 0x51, /* FC_OUT_PARAM */
11738 #ifndef _ALPHA_
11739 0x1, /* x86, MIPS & PPC Stack size = 1 */
11740 #else
11741 0x2, /* Alpha Stack size = 2 */
11742 #endif
11743 /* 192 */ NdrFcShort( 0x2 ), /* Type Offset=2 */
11744 /* 194 */ 0x53, /* FC_RETURN_PARAM_BASETYPE */
11745 0x8, /* FC_LONG */
11746 /* 196 */ 0x4e, /* FC_IN_PARAM_BASETYPE */
11747 0x8, /* FC_LONG */
11748 /* 198 */
11749 0x51, /* FC_OUT_PARAM */
11750 #ifndef _ALPHA_
11751 0x1, /* x86, MIPS & PPC Stack size = 1 */
11752 #else
11753 0x2, /* Alpha Stack size = 2 */
11754 #endif
11755 /* 200 */ NdrFcShort( 0x2 ), /* Type Offset=2 */
11756 /* 202 */ 0x53, /* FC_RETURN_PARAM_BASETYPE */
11757 0x8, /* FC_LONG */
11758 /* 204 */ 0x4e, /* FC_IN_PARAM_BASETYPE */
11759 0x8, /* FC_LONG */
11760 /* 206 */ 0x4e, /* FC_IN_PARAM_BASETYPE */
11761 0x8, /* FC_LONG */
11762 /* 208 */
11763 0x51, /* FC_OUT_PARAM */
11764 #ifndef _ALPHA_
11765 0x1, /* x86, MIPS & PPC Stack size = 1 */
11766 #else
11767 0x2, /* Alpha Stack size = 2 */
11768 #endif
11769 /* 210 */ NdrFcShort( 0x6ac ), /* Type Offset=1708 */
11770 /* 212 */
11771 0x51, /* FC_OUT_PARAM */
11772 #ifndef _ALPHA_
11773 0x1, /* x86, MIPS & PPC Stack size = 1 */
11774 #else
11775 0x2, /* Alpha Stack size = 2 */
11776 #endif
11777 /* 214 */ NdrFcShort( 0x6ac ), /* Type Offset=1708 */
11778 /* 216 */
11779 0x51, /* FC_OUT_PARAM */
11780 #ifndef _ALPHA_
11781 0x1, /* x86, MIPS & PPC Stack size = 1 */
11782 #else
11783 0x2, /* Alpha Stack size = 2 */
11784 #endif
11785 /* 218 */ NdrFcShort( 0x2 ), /* Type Offset=2 */
11786 /* 220 */
11787 0x51, /* FC_OUT_PARAM */
11788 #ifndef _ALPHA_
11789 0x1, /* x86, MIPS & PPC Stack size = 1 */
11790 #else
11791 0x2, /* Alpha Stack size = 2 */
11792 #endif
11793 /* 222 */ NdrFcShort( 0x6ac ), /* Type Offset=1708 */
11794 /* 224 */ 0x53, /* FC_RETURN_PARAM_BASETYPE */
11795 0x8, /* FC_LONG */
11796 /* 226 */ 0x4e, /* FC_IN_PARAM_BASETYPE */
11797 0x8, /* FC_LONG */
11798 /* 228 */ 0x4e, /* FC_IN_PARAM_BASETYPE */
11799 0xe, /* FC_ENUM32 */
11800 /* 230 */ 0x4e, /* FC_IN_PARAM_BASETYPE */
11801 0x8, /* FC_LONG */
11802 /* 232 */
11803 0x51, /* FC_OUT_PARAM */
11804 #ifndef _ALPHA_
11805 0x1, /* x86, MIPS & PPC Stack size = 1 */
11806 #else
11807 0x2, /* Alpha Stack size = 2 */
11808 #endif
11809 /* 234 */ NdrFcShort( 0x6ac ), /* Type Offset=1708 */
11810 /* 236 */
11811 0x51, /* FC_OUT_PARAM */
11812 #ifndef _ALPHA_
11813 0x1, /* x86, MIPS & PPC Stack size = 1 */
11814 #else
11815 0x2, /* Alpha Stack size = 2 */
11816 #endif
11817 /* 238 */ NdrFcShort( 0x6ac ), /* Type Offset=1708 */
11818 /* 240 */
11819 0x51, /* FC_OUT_PARAM */
11820 #ifndef _ALPHA_
11821 0x1, /* x86, MIPS & PPC Stack size = 1 */
11822 #else
11823 0x2, /* Alpha Stack size = 2 */
11824 #endif
11825 /* 242 */ NdrFcShort( 0x6b0 ), /* Type Offset=1712 */
11826 /* 244 */ 0x53, /* FC_RETURN_PARAM_BASETYPE */
11827 0x8, /* FC_LONG */
11828 /* 246 */ 0x4e, /* FC_IN_PARAM_BASETYPE */
11829 0x8, /* FC_LONG */
11830 /* 248 */
11831 0x51, /* FC_OUT_PARAM */
11832 #ifndef _ALPHA_
11833 0x1, /* x86, MIPS & PPC Stack size = 1 */
11834 #else
11835 0x2, /* Alpha Stack size = 2 */
11836 #endif
11837 /* 250 */ NdrFcShort( 0x6 ), /* Type Offset=6 */
11838 /* 252 */ 0x53, /* FC_RETURN_PARAM_BASETYPE */
11839 0x8, /* FC_LONG */
11840 /* 254 */
11841 0x4d, /* FC_IN_PARAM */
11842 #ifndef _ALPHA_
11843 0x1, /* x86, MIPS & PPC Stack size = 1 */
11844 #else
11845 0x2, /* Alpha Stack size = 2 */
11846 #endif
11847 /* 256 */ NdrFcShort( 0x1c ), /* Type Offset=28 */
11848 /* 258 */
11849 0x51, /* FC_OUT_PARAM */
11850 #ifndef _ALPHA_
11851 0x1, /* x86, MIPS & PPC Stack size = 1 */
11852 #else
11853 0x2, /* Alpha Stack size = 2 */
11854 #endif
11855 /* 260 */ NdrFcShort( 0x6b4 ), /* Type Offset=1716 */
11856 /* 262 */ 0x53, /* FC_RETURN_PARAM_BASETYPE */
11857 0x8, /* FC_LONG */
11858 /* 264 */ 0x4e, /* FC_IN_PARAM_BASETYPE */
11859 0x8, /* FC_LONG */
11860 /* 266 */
11861 0x51, /* FC_OUT_PARAM */
11862 #ifndef _ALPHA_
11863 0x1, /* x86, MIPS & PPC Stack size = 1 */
11864 #else
11865 0x2, /* Alpha Stack size = 2 */
11866 #endif
11867 /* 268 */ NdrFcShort( 0x6ac ), /* Type Offset=1708 */
11868 /* 270 */ 0x53, /* FC_RETURN_PARAM_BASETYPE */
11869 0x8, /* FC_LONG */
11870 /* 272 */
11871 0x51, /* FC_OUT_PARAM */
11872 #ifndef _ALPHA_
11873 0x1, /* x86, MIPS & PPC Stack size = 1 */
11874 #else
11875 0x2, /* Alpha Stack size = 2 */
11876 #endif
11877 /* 274 */ NdrFcShort( 0x6be ), /* Type Offset=1726 */
11878 /* 276 */
11879 0x51, /* FC_OUT_PARAM */
11880 #ifndef _ALPHA_
11881 0x1, /* x86, MIPS & PPC Stack size = 1 */
11882 #else
11883 0x2, /* Alpha Stack size = 2 */
11884 #endif
11885 /* 278 */ NdrFcShort( 0x2 ), /* Type Offset=2 */
11886 /* 280 */ 0x53, /* FC_RETURN_PARAM_BASETYPE */
11887 0x8, /* FC_LONG */
11888 /* 282 */
11889 0x51, /* FC_OUT_PARAM */
11890 #ifndef _ALPHA_
11891 0x1, /* x86, MIPS & PPC Stack size = 1 */
11892 #else
11893 0x2, /* Alpha Stack size = 2 */
11894 #endif
11895 /* 284 */ NdrFcShort( 0x4e2 ), /* Type Offset=1250 */
11896 /* 286 */ 0x53, /* FC_RETURN_PARAM_BASETYPE */
11897 0x8, /* FC_LONG */
11898 /* 288 */ 0x4e, /* FC_IN_PARAM_BASETYPE */
11899 0x8, /* FC_LONG */
11900 /* 290 */ 0x4e, /* FC_IN_PARAM_BASETYPE */
11901 0xe, /* FC_ENUM32 */
11902 /* 292 */
11903 0x51, /* FC_OUT_PARAM */
11904 #ifndef _ALPHA_
11905 0x1, /* x86, MIPS & PPC Stack size = 1 */
11906 #else
11907 0x2, /* Alpha Stack size = 2 */
11908 #endif
11909 /* 294 */ NdrFcShort( 0x2 ), /* Type Offset=2 */
11910 /* 296 */ 0x53, /* FC_RETURN_PARAM_BASETYPE */
11911 0x8, /* FC_LONG */
11912 /* 298 */
11913 0x4d, /* FC_IN_PARAM */
11914 #ifndef _ALPHA_
11915 0x1, /* x86, MIPS & PPC Stack size = 1 */
11916 #else
11917 0x2, /* Alpha Stack size = 2 */
11918 #endif
11919 /* 300 */ NdrFcShort( 0x1c ), /* Type Offset=28 */
11920 /* 302 */
11921 0x51, /* FC_OUT_PARAM */
11922 #ifndef _ALPHA_
11923 0x1, /* x86, MIPS & PPC Stack size = 1 */
11924 #else
11925 0x2, /* Alpha Stack size = 2 */
11926 #endif
11927 /* 304 */ NdrFcShort( 0x44e ), /* Type Offset=1102 */
11928 /* 306 */ 0x53, /* FC_RETURN_PARAM_BASETYPE */
11929 0x8, /* FC_LONG */
11930 /* 308 */ 0x4e, /* FC_IN_PARAM_BASETYPE */
11931 0x8, /* FC_LONG */
11932 /* 310 */
11933 0x4d, /* FC_IN_PARAM */
11934 #ifndef _ALPHA_
11935 0x1, /* x86, MIPS & PPC Stack size = 1 */
11936 #else
11937 0x2, /* Alpha Stack size = 2 */
11938 #endif
11939 /* 312 */ NdrFcShort( 0x1c ), /* Type Offset=28 */
11940 /* 314 */
11941 0x51, /* FC_OUT_PARAM */
11942 #ifndef _ALPHA_
11943 0x1, /* x86, MIPS & PPC Stack size = 1 */
11944 #else
11945 0x2, /* Alpha Stack size = 2 */
11946 #endif
11947 /* 316 */ NdrFcShort( 0x44e ), /* Type Offset=1102 */
11948 /* 318 */ 0x53, /* FC_RETURN_PARAM_BASETYPE */
11949 0x8, /* FC_LONG */
11950 /* 320 */ 0x4e, /* FC_IN_PARAM_BASETYPE */
11951 0x8, /* FC_LONG */
11952 /* 322 */ 0x4e, /* FC_IN_PARAM_BASETYPE */
11953 0x8, /* FC_LONG */
11954 /* 324 */
11955 0x4d, /* FC_IN_PARAM */
11956 #ifndef _ALPHA_
11957 0x1, /* x86, MIPS & PPC Stack size = 1 */
11958 #else
11959 0x2, /* Alpha Stack size = 2 */
11960 #endif
11961 /* 326 */ NdrFcShort( 0x1c ), /* Type Offset=28 */
11962 /* 328 */
11963 0x51, /* FC_OUT_PARAM */
11964 #ifndef _ALPHA_
11965 0x1, /* x86, MIPS & PPC Stack size = 1 */
11966 #else
11967 0x2, /* Alpha Stack size = 2 */
11968 #endif
11969 /* 330 */ NdrFcShort( 0x44e ), /* Type Offset=1102 */
11970 /* 332 */ 0x53, /* FC_RETURN_PARAM_BASETYPE */
11971 0x8, /* FC_LONG */
11972 /* 334 */ 0x4e, /* FC_IN_PARAM_BASETYPE */
11973 0x8, /* FC_LONG */
11974 /* 336 */ 0x4e, /* FC_IN_PARAM_BASETYPE */
11975 0x8, /* FC_LONG */
11976 /* 338 */ 0x4e, /* FC_IN_PARAM_BASETYPE */
11977 0x8, /* FC_LONG */
11978 /* 340 */
11979 0x51, /* FC_OUT_PARAM */
11980 #ifndef _ALPHA_
11981 0x1, /* x86, MIPS & PPC Stack size = 1 */
11982 #else
11983 0x2, /* Alpha Stack size = 2 */
11984 #endif
11985 /* 342 */ NdrFcShort( 0x6ac ), /* Type Offset=1708 */
11986 /* 344 */
11987 0x51, /* FC_OUT_PARAM */
11988 #ifndef _ALPHA_
11989 0x1, /* x86, MIPS & PPC Stack size = 1 */
11990 #else
11991 0x2, /* Alpha Stack size = 2 */
11992 #endif
11993 /* 346 */ NdrFcShort( 0x2 ), /* Type Offset=2 */
11994 /* 348 */
11995 0x51, /* FC_OUT_PARAM */
11996 #ifndef _ALPHA_
11997 0x1, /* x86, MIPS & PPC Stack size = 1 */
11998 #else
11999 0x2, /* Alpha Stack size = 2 */
12000 #endif
12001 /* 350 */ NdrFcShort( 0x6ac ), /* Type Offset=1708 */
12002 /* 352 */ 0x53, /* FC_RETURN_PARAM_BASETYPE */
12003 0x8, /* FC_LONG */
12004 /* 354 */
12005 0x51, /* FC_OUT_PARAM */
12006 #ifndef _ALPHA_
12007 0x1, /* x86, MIPS & PPC Stack size = 1 */
12008 #else
12009 0x2, /* Alpha Stack size = 2 */
12010 #endif
12011 /* 356 */ NdrFcShort( 0x6d4 ), /* Type Offset=1748 */
12012 /* 358 */ 0x53, /* FC_RETURN_PARAM_BASETYPE */
12013 0x8, /* FC_LONG */
12014 /* 360 */ 0x4e, /* FC_IN_PARAM_BASETYPE */
12015 0x8, /* FC_LONG */
12016 /* 362 */
12017 0x51, /* FC_OUT_PARAM */
12018 #ifndef _ALPHA_
12019 0x1, /* x86, MIPS & PPC Stack size = 1 */
12020 #else
12021 0x2, /* Alpha Stack size = 2 */
12022 #endif
12023 /* 364 */ NdrFcShort( 0x6d4 ), /* Type Offset=1748 */
12024 /* 366 */ 0x53, /* FC_RETURN_PARAM_BASETYPE */
12025 0x8, /* FC_LONG */
12026 /* 368 */ 0x4e, /* FC_IN_PARAM_BASETYPE */
12027 0x8, /* FC_LONG */
12028 /* 370 */ 0x4e, /* FC_IN_PARAM_BASETYPE */
12029 0x8, /* FC_LONG */
12030 /* 372 */
12031 0x51, /* FC_OUT_PARAM */
12032 #ifndef _ALPHA_
12033 0x1, /* x86, MIPS & PPC Stack size = 1 */
12034 #else
12035 0x2, /* Alpha Stack size = 2 */
12036 #endif
12037 /* 374 */ NdrFcShort( 0x6d4 ), /* Type Offset=1748 */
12038 /* 376 */ 0x53, /* FC_RETURN_PARAM_BASETYPE */
12039 0x8, /* FC_LONG */
12040 /* 378 */ 0x4e, /* FC_IN_PARAM_BASETYPE */
12041 0x8, /* FC_LONG */
12042 /* 380 */
12043 0x51, /* FC_OUT_PARAM */
12044 #ifndef _ALPHA_
12045 0x1, /* x86, MIPS & PPC Stack size = 1 */
12046 #else
12047 0x2, /* Alpha Stack size = 2 */
12048 #endif
12049 /* 382 */ NdrFcShort( 0x4e2 ), /* Type Offset=1250 */
12050 /* 384 */ 0x53, /* FC_RETURN_PARAM_BASETYPE */
12051 0x8, /* FC_LONG */
12052 /* 386 */
12053 0x4d, /* FC_IN_PARAM */
12054 #ifndef _ALPHA_
12055 0x1, /* x86, MIPS & PPC Stack size = 1 */
12056 #else
12057 0x2, /* Alpha Stack size = 2 */
12058 #endif
12059 /* 388 */ NdrFcShort( 0x1c ), /* Type Offset=28 */
12060 /* 390 */
12061 0x51, /* FC_OUT_PARAM */
12062 #ifndef _ALPHA_
12063 0x1, /* x86, MIPS & PPC Stack size = 1 */
12064 #else
12065 0x2, /* Alpha Stack size = 2 */
12066 #endif
12067 /* 392 */ NdrFcShort( 0x6 ), /* Type Offset=6 */
12068 /* 394 */ 0x53, /* FC_RETURN_PARAM_BASETYPE */
12069 0x8, /* FC_LONG */
12070 /* 396 */
12071 0x51, /* FC_OUT_PARAM */
12072 #ifndef _ALPHA_
12073 0x1, /* x86, MIPS & PPC Stack size = 1 */
12074 #else
12075 0x2, /* Alpha Stack size = 2 */
12076 #endif
12077 /* 398 */ NdrFcShort( 0x70c ), /* Type Offset=1804 */
12078 /* 400 */
12079 0x51, /* FC_OUT_PARAM */
12080 #ifndef _ALPHA_
12081 0x1, /* x86, MIPS & PPC Stack size = 1 */
12082 #else
12083 0x2, /* Alpha Stack size = 2 */
12084 #endif
12085 /* 402 */ NdrFcShort( 0x728 ), /* Type Offset=1832 */
12086 /* 404 */ 0x53, /* FC_RETURN_PARAM_BASETYPE */
12087 0x8, /* FC_LONG */
12088 /* 406 */
12089 0x4d, /* FC_IN_PARAM */
12090 #ifndef _ALPHA_
12091 0x1, /* x86, MIPS & PPC Stack size = 1 */
12092 #else
12093 0x2, /* Alpha Stack size = 2 */
12094 #endif
12095 /* 408 */ NdrFcShort( 0x4de ), /* Type Offset=1246 */
12096 /* 410 */ 0x4e, /* FC_IN_PARAM_BASETYPE */
12097 0x8, /* FC_LONG */
12098 /* 412 */
12099 0x51, /* FC_OUT_PARAM */
12100 #ifndef _ALPHA_
12101 0x1, /* x86, MIPS & PPC Stack size = 1 */
12102 #else
12103 0x2, /* Alpha Stack size = 2 */
12104 #endif
12105 /* 414 */ NdrFcShort( 0x2 ), /* Type Offset=2 */
12106 /* 416 */
12107 0x51, /* FC_OUT_PARAM */
12108 #ifndef _ALPHA_
12109 0x1, /* x86, MIPS & PPC Stack size = 1 */
12110 #else
12111 0x2, /* Alpha Stack size = 2 */
12112 #endif
12113 /* 418 */ NdrFcShort( 0x6ac ), /* Type Offset=1708 */
12114 /* 420 */ 0x53, /* FC_RETURN_PARAM_BASETYPE */
12115 0x8, /* FC_LONG */
12116 /* 422 */
12117 0x4d, /* FC_IN_PARAM */
12118 #ifndef _ALPHA_
12119 0x1, /* x86, MIPS & PPC Stack size = 1 */
12120 #else
12121 0x2, /* Alpha Stack size = 2 */
12122 #endif
12123 /* 424 */ NdrFcShort( 0x4de ), /* Type Offset=1246 */
12124 /* 426 */ 0x4e, /* FC_IN_PARAM_BASETYPE */
12125 0x8, /* FC_LONG */
12126 /* 428 */
12127 0x51, /* FC_OUT_PARAM */
12128 #ifndef _ALPHA_
12129 0x1, /* x86, MIPS & PPC Stack size = 1 */
12130 #else
12131 0x2, /* Alpha Stack size = 2 */
12132 #endif
12133 /* 430 */ NdrFcShort( 0x738 ), /* Type Offset=1848 */
12134 /* 432 */
12135 0x51, /* FC_OUT_PARAM */
12136 #ifndef _ALPHA_
12137 0x1, /* x86, MIPS & PPC Stack size = 1 */
12138 #else
12139 0x2, /* Alpha Stack size = 2 */
12140 #endif
12141 /* 434 */ NdrFcShort( 0x74e ), /* Type Offset=1870 */
12142 /* 436 */
12143 0x50, /* FC_IN_OUT_PARAM */
12144 #ifndef _ALPHA_
12145 0x1, /* x86, MIPS & PPC Stack size = 1 */
12146 #else
12147 0x2, /* Alpha Stack size = 2 */
12148 #endif
12149 /* 438 */ NdrFcShort( 0x760 ), /* Type Offset=1888 */
12150 /* 440 */
12151 0x51, /* FC_OUT_PARAM */
12152 #ifndef _ALPHA_
12153 0x1, /* x86, MIPS & PPC Stack size = 1 */
12154 #else
12155 0x2, /* Alpha Stack size = 2 */
12156 #endif
12157 /* 442 */ NdrFcShort( 0x6ac ), /* Type Offset=1708 */
12158 /* 444 */ 0x53, /* FC_RETURN_PARAM_BASETYPE */
12159 0x8, /* FC_LONG */
12160 /* 446 */
12161 0x51, /* FC_OUT_PARAM */
12162 #ifndef _ALPHA_
12163 0x1, /* x86, MIPS & PPC Stack size = 1 */
12164 #else
12165 0x2, /* Alpha Stack size = 2 */
12166 #endif
12167 /* 448 */ NdrFcShort( 0x2 ), /* Type Offset=2 */
12168 /* 450 */
12169 0x51, /* FC_OUT_PARAM */
12170 #ifndef _ALPHA_
12171 0x1, /* x86, MIPS & PPC Stack size = 1 */
12172 #else
12173 0x2, /* Alpha Stack size = 2 */
12174 #endif
12175 /* 452 */ NdrFcShort( 0x2 ), /* Type Offset=2 */
12176 /* 454 */ 0x53, /* FC_RETURN_PARAM_BASETYPE */
12177 0x8, /* FC_LONG */
12178 /* 456 */
12179 0x51, /* FC_OUT_PARAM */
12180 #ifndef _ALPHA_
12181 0x1, /* x86, MIPS & PPC Stack size = 1 */
12182 #else
12183 0x2, /* Alpha Stack size = 2 */
12184 #endif
12185 /* 458 */ NdrFcShort( 0x764 ), /* Type Offset=1892 */
12186 /* 460 */ 0x53, /* FC_RETURN_PARAM_BASETYPE */
12187 0x8, /* FC_LONG */
12188 /* 462 */
12189 0x51, /* FC_OUT_PARAM */
12190 #ifndef _ALPHA_
12191 0x1, /* x86, MIPS & PPC Stack size = 1 */
12192 #else
12193 0x2, /* Alpha Stack size = 2 */
12194 #endif
12195 /* 464 */ NdrFcShort( 0x6ac ), /* Type Offset=1708 */
12196 /* 466 */ 0x53, /* FC_RETURN_PARAM_BASETYPE */
12197 0x8, /* FC_LONG */
12198 /* 468 */
12199 0x4d, /* FC_IN_PARAM */
12200 #ifndef _ALPHA_
12201 0x1, /* x86, MIPS & PPC Stack size = 1 */
12202 #else
12203 0x2, /* Alpha Stack size = 2 */
12204 #endif
12205 /* 470 */ NdrFcShort( 0x1c ), /* Type Offset=28 */
12206 /* 472 */ 0x53, /* FC_RETURN_PARAM_BASETYPE */
12207 0x8, /* FC_LONG */
12208 /* 474 */
12209 0x4d, /* FC_IN_PARAM */
12210 #ifndef _ALPHA_
12211 0x1, /* x86, MIPS & PPC Stack size = 1 */
12212 #else
12213 0x2, /* Alpha Stack size = 2 */
12214 #endif
12215 /* 476 */ NdrFcShort( 0x4de ), /* Type Offset=1246 */
12216 /* 478 */ 0x53, /* FC_RETURN_PARAM_BASETYPE */
12217 0x8, /* FC_LONG */
12218 /* 480 */
12219 0x4d, /* FC_IN_PARAM */
12220 #ifndef _ALPHA_
12221 0x1, /* x86, MIPS & PPC Stack size = 1 */
12222 #else
12223 0x2, /* Alpha Stack size = 2 */
12224 #endif
12225 /* 482 */ NdrFcShort( 0xa ), /* Type Offset=10 */
12226 /* 484 */
12227 0x4d, /* FC_IN_PARAM */
12228 #ifndef _ALPHA_
12229 0x1, /* x86, MIPS & PPC Stack size = 1 */
12230 #else
12231 0x2, /* Alpha Stack size = 2 */
12232 #endif
12233 /* 486 */ NdrFcShort( 0x1c ), /* Type Offset=28 */
12234 /* 488 */
12235 0x51, /* FC_OUT_PARAM */
12236 #ifndef _ALPHA_
12237 0x1, /* x86, MIPS & PPC Stack size = 1 */
12238 #else
12239 0x2, /* Alpha Stack size = 2 */
12240 #endif
12241 /* 490 */ NdrFcShort( 0x768 ), /* Type Offset=1896 */
12242 /* 492 */ 0x53, /* FC_RETURN_PARAM_BASETYPE */
12243 0x8, /* FC_LONG */
12249 static const MIDL_TYPE_FORMAT_STRING __MIDL_TypeFormatString =
12253 NdrFcShort( 0x0 ), /* 0 */
12254 /* 2 */
12255 0x11, 0xc, /* FC_RP [alloced_on_stack] [simple_pointer] */
12256 /* 4 */ 0x8, /* FC_LONG */
12257 0x5c, /* FC_PAD */
12258 /* 6 */
12259 0x11, 0x14, /* FC_RP [alloced_on_stack] */
12260 /* 8 */ NdrFcShort( 0x2 ), /* Offset= 2 (10) */
12261 /* 10 */
12262 0x2f, /* FC_IP */
12263 0x5a, /* FC_CONSTANT_IID */
12264 /* 12 */ NdrFcLong( 0x20401 ), /* 132097 */
12265 /* 16 */ NdrFcShort( 0x0 ), /* 0 */
12266 /* 18 */ NdrFcShort( 0x0 ), /* 0 */
12267 /* 20 */ 0xc0, /* 192 */
12268 0x0, /* 0 */
12269 /* 22 */ 0x0, /* 0 */
12270 0x0, /* 0 */
12271 /* 24 */ 0x0, /* 0 */
12272 0x0, /* 0 */
12273 /* 26 */ 0x0, /* 0 */
12274 0x46, /* 70 */
12275 /* 28 */
12276 0x11, 0x0, /* FC_RP */
12277 /* 30 */ NdrFcShort( 0x8 ), /* Offset= 8 (38) */
12278 /* 32 */
12279 0x1d, /* FC_SMFARRAY */
12280 0x0, /* 0 */
12281 /* 34 */ NdrFcShort( 0x8 ), /* 8 */
12282 /* 36 */ 0x2, /* FC_CHAR */
12283 0x5b, /* FC_END */
12284 /* 38 */
12285 0x15, /* FC_STRUCT */
12286 0x3, /* 3 */
12287 /* 40 */ NdrFcShort( 0x10 ), /* 16 */
12288 /* 42 */ 0x8, /* FC_LONG */
12289 0x6, /* FC_SHORT */
12290 /* 44 */ 0x6, /* FC_SHORT */
12291 0x4c, /* FC_EMBEDDED_COMPLEX */
12292 /* 46 */ 0x0, /* 0 */
12293 NdrFcShort( 0xfffffff1 ), /* Offset= -15 (32) */
12294 0x5b, /* FC_END */
12295 /* 50 */
12296 0x11, 0x0, /* FC_RP */
12297 /* 52 */ NdrFcShort( 0x2 ), /* Offset= 2 (54) */
12298 /* 54 */
12299 0x1b, /* FC_CARRAY */
12300 0x3, /* 3 */
12301 /* 56 */ NdrFcShort( 0x4 ), /* 4 */
12302 /* 58 */ 0x29, /* Corr desc: parameter, FC_ULONG */
12303 0x0, /* */
12304 #ifndef _ALPHA_
12305 /* 60 */ NdrFcShort( 0xc ), /* x86, MIPS, PPC Stack size/offset = 12 */
12306 #else
12307 NdrFcShort( 0x18 ), /* Alpha Stack size/offset = 24 */
12308 #endif
12309 /* 62 */
12310 0x4b, /* FC_PP */
12311 0x5c, /* FC_PAD */
12312 /* 64 */
12313 0x48, /* FC_VARIABLE_REPEAT */
12314 0x49, /* FC_FIXED_OFFSET */
12315 /* 66 */ NdrFcShort( 0x4 ), /* 4 */
12316 /* 68 */ NdrFcShort( 0x0 ), /* 0 */
12317 /* 70 */ NdrFcShort( 0x1 ), /* 1 */
12318 /* 72 */ NdrFcShort( 0x0 ), /* 0 */
12319 /* 74 */ NdrFcShort( 0x0 ), /* 0 */
12320 /* 76 */ 0x12, 0x8, /* FC_UP [simple_pointer] */
12321 /* 78 */
12322 0x25, /* FC_C_WSTRING */
12323 0x5c, /* FC_PAD */
12324 /* 80 */
12325 0x5b, /* FC_END */
12327 0x8, /* FC_LONG */
12328 /* 82 */ 0x5c, /* FC_PAD */
12329 0x5b, /* FC_END */
12330 /* 84 */
12331 0x11, 0x0, /* FC_RP */
12332 /* 86 */ NdrFcShort( 0x2 ), /* Offset= 2 (88) */
12333 /* 88 */
12334 0x1b, /* FC_CARRAY */
12335 0x3, /* 3 */
12336 /* 90 */ NdrFcShort( 0x4 ), /* 4 */
12337 /* 92 */ 0x29, /* Corr desc: parameter, FC_ULONG */
12338 0x0, /* */
12339 #ifndef _ALPHA_
12340 /* 94 */ NdrFcShort( 0xc ), /* x86, MIPS, PPC Stack size/offset = 12 */
12341 #else
12342 NdrFcShort( 0x18 ), /* Alpha Stack size/offset = 24 */
12343 #endif
12344 /* 96 */ 0x8, /* FC_LONG */
12345 0x5b, /* FC_END */
12346 /* 98 */
12347 0x11, 0x0, /* FC_RP */
12348 /* 100 */ NdrFcShort( 0x3d4 ), /* Offset= 980 (1080) */
12349 /* 102 */
12350 0x12, 0x0, /* FC_UP */
12351 /* 104 */ NdrFcShort( 0x396 ), /* Offset= 918 (1022) */
12352 /* 106 */
12353 0x2b, /* FC_NON_ENCAPSULATED_UNION */
12354 0x7, /* FC_USHORT */
12355 /* 108 */ 0x7, /* Corr desc: FC_USHORT */
12356 0x0, /* */
12357 /* 110 */ NdrFcShort( 0xfff8 ), /* -8 */
12358 /* 112 */ NdrFcShort( 0x2 ), /* Offset= 2 (114) */
12359 /* 114 */ NdrFcShort( 0x10 ), /* 16 */
12360 /* 116 */ NdrFcShort( 0x2b ), /* 43 */
12361 /* 118 */ NdrFcLong( 0x0 ), /* 0 */
12362 /* 122 */ NdrFcShort( 0x0 ), /* Offset= 0 (122) */
12363 /* 124 */ NdrFcLong( 0x1 ), /* 1 */
12364 /* 128 */ NdrFcShort( 0x0 ), /* Offset= 0 (128) */
12365 /* 130 */ NdrFcLong( 0x10 ), /* 16 */
12366 /* 134 */ NdrFcShort( 0x8002 ), /* Simple arm type: FC_CHAR */
12367 /* 136 */ NdrFcLong( 0x12 ), /* 18 */
12368 /* 140 */ NdrFcShort( 0x8006 ), /* Simple arm type: FC_SHORT */
12369 /* 142 */ NdrFcLong( 0x13 ), /* 19 */
12370 /* 146 */ NdrFcShort( 0x8008 ), /* Simple arm type: FC_LONG */
12371 /* 148 */ NdrFcLong( 0x16 ), /* 22 */
12372 /* 152 */ NdrFcShort( 0x8008 ), /* Simple arm type: FC_LONG */
12373 /* 154 */ NdrFcLong( 0x17 ), /* 23 */
12374 /* 158 */ NdrFcShort( 0x8008 ), /* Simple arm type: FC_LONG */
12375 /* 160 */ NdrFcLong( 0x11 ), /* 17 */
12376 /* 164 */ NdrFcShort( 0x8002 ), /* Simple arm type: FC_CHAR */
12377 /* 166 */ NdrFcLong( 0x2 ), /* 2 */
12378 /* 170 */ NdrFcShort( 0x8006 ), /* Simple arm type: FC_SHORT */
12379 /* 172 */ NdrFcLong( 0x3 ), /* 3 */
12380 /* 176 */ NdrFcShort( 0x8008 ), /* Simple arm type: FC_LONG */
12381 /* 178 */ NdrFcLong( 0x4 ), /* 4 */
12382 /* 182 */ NdrFcShort( 0x800a ), /* Simple arm type: FC_FLOAT */
12383 /* 184 */ NdrFcLong( 0x5 ), /* 5 */
12384 /* 188 */ NdrFcShort( 0x800c ), /* Simple arm type: FC_DOUBLE */
12385 /* 190 */ NdrFcLong( 0xb ), /* 11 */
12386 /* 194 */ NdrFcShort( 0x8006 ), /* Simple arm type: FC_SHORT */
12387 /* 196 */ NdrFcLong( 0xa ), /* 10 */
12388 /* 200 */ NdrFcShort( 0x8008 ), /* Simple arm type: FC_LONG */
12389 /* 202 */ NdrFcLong( 0x7 ), /* 7 */
12390 /* 206 */ NdrFcShort( 0x800c ), /* Simple arm type: FC_DOUBLE */
12391 /* 208 */ NdrFcLong( 0x8 ), /* 8 */
12392 /* 212 */ NdrFcShort( 0xa6 ), /* Offset= 166 (378) */
12393 /* 214 */ NdrFcLong( 0x6 ), /* 6 */
12394 /* 218 */ NdrFcShort( 0xb8 ), /* Offset= 184 (402) */
12395 /* 220 */ NdrFcLong( 0xe ), /* 14 */
12396 /* 224 */ NdrFcShort( 0xb8 ), /* Offset= 184 (408) */
12397 /* 226 */ NdrFcLong( 0xd ), /* 13 */
12398 /* 230 */ NdrFcShort( 0xbe ), /* Offset= 190 (420) */
12399 /* 232 */ NdrFcLong( 0x9 ), /* 9 */
12400 /* 236 */ NdrFcShort( 0xca ), /* Offset= 202 (438) */
12401 /* 238 */ NdrFcLong( 0x2000 ), /* 8192 */
12402 /* 242 */ NdrFcShort( 0xd6 ), /* Offset= 214 (456) */
12403 /* 244 */ NdrFcLong( 0x4010 ), /* 16400 */
12404 /* 248 */ NdrFcShort( 0x2ce ), /* Offset= 718 (966) */
12405 /* 250 */ NdrFcLong( 0x4012 ), /* 16402 */
12406 /* 254 */ NdrFcShort( 0x2cc ), /* Offset= 716 (970) */
12407 /* 256 */ NdrFcLong( 0x4013 ), /* 16403 */
12408 /* 260 */ NdrFcShort( 0x2ca ), /* Offset= 714 (974) */
12409 /* 262 */ NdrFcLong( 0x4016 ), /* 16406 */
12410 /* 266 */ NdrFcShort( 0x2c4 ), /* Offset= 708 (974) */
12411 /* 268 */ NdrFcLong( 0x4017 ), /* 16407 */
12412 /* 272 */ NdrFcShort( 0x2be ), /* Offset= 702 (974) */
12413 /* 274 */ NdrFcLong( 0x4011 ), /* 16401 */
12414 /* 278 */ NdrFcShort( 0x2b0 ), /* Offset= 688 (966) */
12415 /* 280 */ NdrFcLong( 0x4002 ), /* 16386 */
12416 /* 284 */ NdrFcShort( 0x2ae ), /* Offset= 686 (970) */
12417 /* 286 */ NdrFcLong( 0x4003 ), /* 16387 */
12418 /* 290 */ NdrFcShort( 0x2ac ), /* Offset= 684 (974) */
12419 /* 292 */ NdrFcLong( 0x4004 ), /* 16388 */
12420 /* 296 */ NdrFcShort( 0x2aa ), /* Offset= 682 (978) */
12421 /* 298 */ NdrFcLong( 0x4005 ), /* 16389 */
12422 /* 302 */ NdrFcShort( 0x2a8 ), /* Offset= 680 (982) */
12423 /* 304 */ NdrFcLong( 0x400b ), /* 16395 */
12424 /* 308 */ NdrFcShort( 0x296 ), /* Offset= 662 (970) */
12425 /* 310 */ NdrFcLong( 0x400a ), /* 16394 */
12426 /* 314 */ NdrFcShort( 0x294 ), /* Offset= 660 (974) */
12427 /* 316 */ NdrFcLong( 0x4007 ), /* 16391 */
12428 /* 320 */ NdrFcShort( 0x296 ), /* Offset= 662 (982) */
12429 /* 322 */ NdrFcLong( 0x4008 ), /* 16392 */
12430 /* 326 */ NdrFcShort( 0x294 ), /* Offset= 660 (986) */
12431 /* 328 */ NdrFcLong( 0x400c ), /* 16396 */
12432 /* 332 */ NdrFcShort( 0x292 ), /* Offset= 658 (990) */
12433 /* 334 */ NdrFcLong( 0x4006 ), /* 16390 */
12434 /* 338 */ NdrFcShort( 0x294 ), /* Offset= 660 (998) */
12435 /* 340 */ NdrFcLong( 0x400e ), /* 16398 */
12436 /* 344 */ NdrFcShort( 0x292 ), /* Offset= 658 (1002) */
12437 /* 346 */ NdrFcLong( 0x400d ), /* 16397 */
12438 /* 350 */ NdrFcShort( 0x290 ), /* Offset= 656 (1006) */
12439 /* 352 */ NdrFcLong( 0x4009 ), /* 16393 */
12440 /* 356 */ NdrFcShort( 0x28e ), /* Offset= 654 (1010) */
12441 /* 358 */ NdrFcLong( 0x6000 ), /* 24576 */
12442 /* 362 */ NdrFcShort( 0x28c ), /* Offset= 652 (1014) */
12443 /* 364 */ NdrFcLong( 0x24 ), /* 36 */
12444 /* 368 */ NdrFcShort( 0x28a ), /* Offset= 650 (1018) */
12445 /* 370 */ NdrFcLong( 0x4024 ), /* 16420 */
12446 /* 374 */ NdrFcShort( 0x284 ), /* Offset= 644 (1018) */
12447 /* 376 */ NdrFcShort( 0xffffffff ), /* Offset= -1 (375) */
12448 /* 378 */
12449 0x12, 0x0, /* FC_UP */
12450 /* 380 */ NdrFcShort( 0xc ), /* Offset= 12 (392) */
12451 /* 382 */
12452 0x1b, /* FC_CARRAY */
12453 0x1, /* 1 */
12454 /* 384 */ NdrFcShort( 0x2 ), /* 2 */
12455 /* 386 */ 0x9, /* Corr desc: FC_ULONG */
12456 0x0, /* */
12457 /* 388 */ NdrFcShort( 0xfffc ), /* -4 */
12458 /* 390 */ 0x6, /* FC_SHORT */
12459 0x5b, /* FC_END */
12460 /* 392 */
12461 0x17, /* FC_CSTRUCT */
12462 0x3, /* 3 */
12463 /* 394 */ NdrFcShort( 0x8 ), /* 8 */
12464 /* 396 */ NdrFcShort( 0xfffffff2 ), /* Offset= -14 (382) */
12465 /* 398 */ 0x8, /* FC_LONG */
12466 0x8, /* FC_LONG */
12467 /* 400 */ 0x5c, /* FC_PAD */
12468 0x5b, /* FC_END */
12469 /* 402 */
12470 0x15, /* FC_STRUCT */
12471 0x7, /* 7 */
12472 /* 404 */ NdrFcShort( 0x8 ), /* 8 */
12473 /* 406 */ 0xb, /* FC_HYPER */
12474 0x5b, /* FC_END */
12475 /* 408 */
12476 0x15, /* FC_STRUCT */
12477 0x7, /* 7 */
12478 /* 410 */ NdrFcShort( 0x10 ), /* 16 */
12479 /* 412 */ 0x6, /* FC_SHORT */
12480 0x2, /* FC_CHAR */
12481 /* 414 */ 0x2, /* FC_CHAR */
12482 0x38, /* FC_ALIGNM4 */
12483 /* 416 */ 0x8, /* FC_LONG */
12484 0x39, /* FC_ALIGNM8 */
12485 /* 418 */ 0xb, /* FC_HYPER */
12486 0x5b, /* FC_END */
12487 /* 420 */
12488 0x2f, /* FC_IP */
12489 0x5a, /* FC_CONSTANT_IID */
12490 /* 422 */ NdrFcLong( 0x0 ), /* 0 */
12491 /* 426 */ NdrFcShort( 0x0 ), /* 0 */
12492 /* 428 */ NdrFcShort( 0x0 ), /* 0 */
12493 /* 430 */ 0xc0, /* 192 */
12494 0x0, /* 0 */
12495 /* 432 */ 0x0, /* 0 */
12496 0x0, /* 0 */
12497 /* 434 */ 0x0, /* 0 */
12498 0x0, /* 0 */
12499 /* 436 */ 0x0, /* 0 */
12500 0x46, /* 70 */
12501 /* 438 */
12502 0x2f, /* FC_IP */
12503 0x5a, /* FC_CONSTANT_IID */
12504 /* 440 */ NdrFcLong( 0x20400 ), /* 132096 */
12505 /* 444 */ NdrFcShort( 0x0 ), /* 0 */
12506 /* 446 */ NdrFcShort( 0x0 ), /* 0 */
12507 /* 448 */ 0xc0, /* 192 */
12508 0x0, /* 0 */
12509 /* 450 */ 0x0, /* 0 */
12510 0x0, /* 0 */
12511 /* 452 */ 0x0, /* 0 */
12512 0x0, /* 0 */
12513 /* 454 */ 0x0, /* 0 */
12514 0x46, /* 70 */
12515 /* 456 */
12516 0x12, 0x0, /* FC_UP */
12517 /* 458 */ NdrFcShort( 0x1ea ), /* Offset= 490 (948) */
12518 /* 460 */
12519 0x2a, /* FC_ENCAPSULATED_UNION */
12520 0x49, /* 73 */
12521 /* 462 */ NdrFcShort( 0x18 ), /* 24 */
12522 /* 464 */ NdrFcShort( 0xa ), /* 10 */
12523 /* 466 */ NdrFcLong( 0x8 ), /* 8 */
12524 /* 470 */ NdrFcShort( 0x58 ), /* Offset= 88 (558) */
12525 /* 472 */ NdrFcLong( 0xd ), /* 13 */
12526 /* 476 */ NdrFcShort( 0x78 ), /* Offset= 120 (596) */
12527 /* 478 */ NdrFcLong( 0x9 ), /* 9 */
12528 /* 482 */ NdrFcShort( 0x94 ), /* Offset= 148 (630) */
12529 /* 484 */ NdrFcLong( 0xc ), /* 12 */
12530 /* 488 */ NdrFcShort( 0xbc ), /* Offset= 188 (676) */
12531 /* 490 */ NdrFcLong( 0x24 ), /* 36 */
12532 /* 494 */ NdrFcShort( 0x114 ), /* Offset= 276 (770) */
12533 /* 496 */ NdrFcLong( 0x800d ), /* 32781 */
12534 /* 500 */ NdrFcShort( 0x11e ), /* Offset= 286 (786) */
12535 /* 502 */ NdrFcLong( 0x10 ), /* 16 */
12536 /* 506 */ NdrFcShort( 0x136 ), /* Offset= 310 (816) */
12537 /* 508 */ NdrFcLong( 0x2 ), /* 2 */
12538 /* 512 */ NdrFcShort( 0x14e ), /* Offset= 334 (846) */
12539 /* 514 */ NdrFcLong( 0x3 ), /* 3 */
12540 /* 518 */ NdrFcShort( 0x166 ), /* Offset= 358 (876) */
12541 /* 520 */ NdrFcLong( 0x14 ), /* 20 */
12542 /* 524 */ NdrFcShort( 0x17e ), /* Offset= 382 (906) */
12543 /* 526 */ NdrFcShort( 0xffffffff ), /* Offset= -1 (525) */
12544 /* 528 */
12545 0x1b, /* FC_CARRAY */
12546 0x3, /* 3 */
12547 /* 530 */ NdrFcShort( 0x4 ), /* 4 */
12548 /* 532 */ 0x19, /* Corr desc: field pointer, FC_ULONG */
12549 0x0, /* */
12550 /* 534 */ NdrFcShort( 0x0 ), /* 0 */
12551 /* 536 */
12552 0x4b, /* FC_PP */
12553 0x5c, /* FC_PAD */
12554 /* 538 */
12555 0x48, /* FC_VARIABLE_REPEAT */
12556 0x49, /* FC_FIXED_OFFSET */
12557 /* 540 */ NdrFcShort( 0x4 ), /* 4 */
12558 /* 542 */ NdrFcShort( 0x0 ), /* 0 */
12559 /* 544 */ NdrFcShort( 0x1 ), /* 1 */
12560 /* 546 */ NdrFcShort( 0x0 ), /* 0 */
12561 /* 548 */ NdrFcShort( 0x0 ), /* 0 */
12562 /* 550 */ 0x12, 0x0, /* FC_UP */
12563 /* 552 */ NdrFcShort( 0xffffff60 ), /* Offset= -160 (392) */
12564 /* 554 */
12565 0x5b, /* FC_END */
12567 0x8, /* FC_LONG */
12568 /* 556 */ 0x5c, /* FC_PAD */
12569 0x5b, /* FC_END */
12570 /* 558 */
12571 0x16, /* FC_PSTRUCT */
12572 0x3, /* 3 */
12573 /* 560 */ NdrFcShort( 0x8 ), /* 8 */
12574 /* 562 */
12575 0x4b, /* FC_PP */
12576 0x5c, /* FC_PAD */
12577 /* 564 */
12578 0x46, /* FC_NO_REPEAT */
12579 0x5c, /* FC_PAD */
12580 /* 566 */ NdrFcShort( 0x4 ), /* 4 */
12581 /* 568 */ NdrFcShort( 0x4 ), /* 4 */
12582 /* 570 */ 0x11, 0x0, /* FC_RP */
12583 /* 572 */ NdrFcShort( 0xffffffd4 ), /* Offset= -44 (528) */
12584 /* 574 */
12585 0x5b, /* FC_END */
12587 0x8, /* FC_LONG */
12588 /* 576 */ 0x8, /* FC_LONG */
12589 0x5b, /* FC_END */
12590 /* 578 */
12591 0x21, /* FC_BOGUS_ARRAY */
12592 0x3, /* 3 */
12593 /* 580 */ NdrFcShort( 0x0 ), /* 0 */
12594 /* 582 */ 0x19, /* Corr desc: field pointer, FC_ULONG */
12595 0x0, /* */
12596 /* 584 */ NdrFcShort( 0x0 ), /* 0 */
12597 /* 586 */ NdrFcLong( 0xffffffff ), /* -1 */
12598 /* 590 */ 0x4c, /* FC_EMBEDDED_COMPLEX */
12599 0x0, /* 0 */
12600 /* 592 */ NdrFcShort( 0xffffff54 ), /* Offset= -172 (420) */
12601 /* 594 */ 0x5c, /* FC_PAD */
12602 0x5b, /* FC_END */
12603 /* 596 */
12604 0x1a, /* FC_BOGUS_STRUCT */
12605 0x3, /* 3 */
12606 /* 598 */ NdrFcShort( 0x8 ), /* 8 */
12607 /* 600 */ NdrFcShort( 0x0 ), /* 0 */
12608 /* 602 */ NdrFcShort( 0x6 ), /* Offset= 6 (608) */
12609 /* 604 */ 0x8, /* FC_LONG */
12610 0x36, /* FC_POINTER */
12611 /* 606 */ 0x5c, /* FC_PAD */
12612 0x5b, /* FC_END */
12613 /* 608 */
12614 0x11, 0x0, /* FC_RP */
12615 /* 610 */ NdrFcShort( 0xffffffe0 ), /* Offset= -32 (578) */
12616 /* 612 */
12617 0x21, /* FC_BOGUS_ARRAY */
12618 0x3, /* 3 */
12619 /* 614 */ NdrFcShort( 0x0 ), /* 0 */
12620 /* 616 */ 0x19, /* Corr desc: field pointer, FC_ULONG */
12621 0x0, /* */
12622 /* 618 */ NdrFcShort( 0x0 ), /* 0 */
12623 /* 620 */ NdrFcLong( 0xffffffff ), /* -1 */
12624 /* 624 */ 0x4c, /* FC_EMBEDDED_COMPLEX */
12625 0x0, /* 0 */
12626 /* 626 */ NdrFcShort( 0xffffff44 ), /* Offset= -188 (438) */
12627 /* 628 */ 0x5c, /* FC_PAD */
12628 0x5b, /* FC_END */
12629 /* 630 */
12630 0x1a, /* FC_BOGUS_STRUCT */
12631 0x3, /* 3 */
12632 /* 632 */ NdrFcShort( 0x8 ), /* 8 */
12633 /* 634 */ NdrFcShort( 0x0 ), /* 0 */
12634 /* 636 */ NdrFcShort( 0x6 ), /* Offset= 6 (642) */
12635 /* 638 */ 0x8, /* FC_LONG */
12636 0x36, /* FC_POINTER */
12637 /* 640 */ 0x5c, /* FC_PAD */
12638 0x5b, /* FC_END */
12639 /* 642 */
12640 0x11, 0x0, /* FC_RP */
12641 /* 644 */ NdrFcShort( 0xffffffe0 ), /* Offset= -32 (612) */
12642 /* 646 */
12643 0x1b, /* FC_CARRAY */
12644 0x3, /* 3 */
12645 /* 648 */ NdrFcShort( 0x4 ), /* 4 */
12646 /* 650 */ 0x19, /* Corr desc: field pointer, FC_ULONG */
12647 0x0, /* */
12648 /* 652 */ NdrFcShort( 0x0 ), /* 0 */
12649 /* 654 */
12650 0x4b, /* FC_PP */
12651 0x5c, /* FC_PAD */
12652 /* 656 */
12653 0x48, /* FC_VARIABLE_REPEAT */
12654 0x49, /* FC_FIXED_OFFSET */
12655 /* 658 */ NdrFcShort( 0x4 ), /* 4 */
12656 /* 660 */ NdrFcShort( 0x0 ), /* 0 */
12657 /* 662 */ NdrFcShort( 0x1 ), /* 1 */
12658 /* 664 */ NdrFcShort( 0x0 ), /* 0 */
12659 /* 666 */ NdrFcShort( 0x0 ), /* 0 */
12660 /* 668 */ 0x12, 0x0, /* FC_UP */
12661 /* 670 */ NdrFcShort( 0x160 ), /* Offset= 352 (1022) */
12662 /* 672 */
12663 0x5b, /* FC_END */
12665 0x8, /* FC_LONG */
12666 /* 674 */ 0x5c, /* FC_PAD */
12667 0x5b, /* FC_END */
12668 /* 676 */
12669 0x1a, /* FC_BOGUS_STRUCT */
12670 0x3, /* 3 */
12671 /* 678 */ NdrFcShort( 0x8 ), /* 8 */
12672 /* 680 */ NdrFcShort( 0x0 ), /* 0 */
12673 /* 682 */ NdrFcShort( 0x6 ), /* Offset= 6 (688) */
12674 /* 684 */ 0x8, /* FC_LONG */
12675 0x36, /* FC_POINTER */
12676 /* 686 */ 0x5c, /* FC_PAD */
12677 0x5b, /* FC_END */
12678 /* 688 */
12679 0x11, 0x0, /* FC_RP */
12680 /* 690 */ NdrFcShort( 0xffffffd4 ), /* Offset= -44 (646) */
12681 /* 692 */
12682 0x2f, /* FC_IP */
12683 0x5a, /* FC_CONSTANT_IID */
12684 /* 694 */ NdrFcLong( 0x2f ), /* 47 */
12685 /* 698 */ NdrFcShort( 0x0 ), /* 0 */
12686 /* 700 */ NdrFcShort( 0x0 ), /* 0 */
12687 /* 702 */ 0xc0, /* 192 */
12688 0x0, /* 0 */
12689 /* 704 */ 0x0, /* 0 */
12690 0x0, /* 0 */
12691 /* 706 */ 0x0, /* 0 */
12692 0x0, /* 0 */
12693 /* 708 */ 0x0, /* 0 */
12694 0x46, /* 70 */
12695 /* 710 */
12696 0x1b, /* FC_CARRAY */
12697 0x0, /* 0 */
12698 /* 712 */ NdrFcShort( 0x1 ), /* 1 */
12699 /* 714 */ 0x19, /* Corr desc: field pointer, FC_ULONG */
12700 0x0, /* */
12701 /* 716 */ NdrFcShort( 0x4 ), /* 4 */
12702 /* 718 */ 0x1, /* FC_BYTE */
12703 0x5b, /* FC_END */
12704 /* 720 */
12705 0x1a, /* FC_BOGUS_STRUCT */
12706 0x3, /* 3 */
12707 /* 722 */ NdrFcShort( 0x10 ), /* 16 */
12708 /* 724 */ NdrFcShort( 0x0 ), /* 0 */
12709 /* 726 */ NdrFcShort( 0xa ), /* Offset= 10 (736) */
12710 /* 728 */ 0x8, /* FC_LONG */
12711 0x8, /* FC_LONG */
12712 /* 730 */ 0x4c, /* FC_EMBEDDED_COMPLEX */
12713 0x0, /* 0 */
12714 /* 732 */ NdrFcShort( 0xffffffd8 ), /* Offset= -40 (692) */
12715 /* 734 */ 0x36, /* FC_POINTER */
12716 0x5b, /* FC_END */
12717 /* 736 */
12718 0x12, 0x0, /* FC_UP */
12719 /* 738 */ NdrFcShort( 0xffffffe4 ), /* Offset= -28 (710) */
12720 /* 740 */
12721 0x1b, /* FC_CARRAY */
12722 0x3, /* 3 */
12723 /* 742 */ NdrFcShort( 0x4 ), /* 4 */
12724 /* 744 */ 0x19, /* Corr desc: field pointer, FC_ULONG */
12725 0x0, /* */
12726 /* 746 */ NdrFcShort( 0x0 ), /* 0 */
12727 /* 748 */
12728 0x4b, /* FC_PP */
12729 0x5c, /* FC_PAD */
12730 /* 750 */
12731 0x48, /* FC_VARIABLE_REPEAT */
12732 0x49, /* FC_FIXED_OFFSET */
12733 /* 752 */ NdrFcShort( 0x4 ), /* 4 */
12734 /* 754 */ NdrFcShort( 0x0 ), /* 0 */
12735 /* 756 */ NdrFcShort( 0x1 ), /* 1 */
12736 /* 758 */ NdrFcShort( 0x0 ), /* 0 */
12737 /* 760 */ NdrFcShort( 0x0 ), /* 0 */
12738 /* 762 */ 0x12, 0x0, /* FC_UP */
12739 /* 764 */ NdrFcShort( 0xffffffd4 ), /* Offset= -44 (720) */
12740 /* 766 */
12741 0x5b, /* FC_END */
12743 0x8, /* FC_LONG */
12744 /* 768 */ 0x5c, /* FC_PAD */
12745 0x5b, /* FC_END */
12746 /* 770 */
12747 0x1a, /* FC_BOGUS_STRUCT */
12748 0x3, /* 3 */
12749 /* 772 */ NdrFcShort( 0x8 ), /* 8 */
12750 /* 774 */ NdrFcShort( 0x0 ), /* 0 */
12751 /* 776 */ NdrFcShort( 0x6 ), /* Offset= 6 (782) */
12752 /* 778 */ 0x8, /* FC_LONG */
12753 0x36, /* FC_POINTER */
12754 /* 780 */ 0x5c, /* FC_PAD */
12755 0x5b, /* FC_END */
12756 /* 782 */
12757 0x11, 0x0, /* FC_RP */
12758 /* 784 */ NdrFcShort( 0xffffffd4 ), /* Offset= -44 (740) */
12759 /* 786 */
12760 0x1a, /* FC_BOGUS_STRUCT */
12761 0x3, /* 3 */
12762 /* 788 */ NdrFcShort( 0x18 ), /* 24 */
12763 /* 790 */ NdrFcShort( 0x0 ), /* 0 */
12764 /* 792 */ NdrFcShort( 0xa ), /* Offset= 10 (802) */
12765 /* 794 */ 0x8, /* FC_LONG */
12766 0x36, /* FC_POINTER */
12767 /* 796 */ 0x4c, /* FC_EMBEDDED_COMPLEX */
12768 0x0, /* 0 */
12769 /* 798 */ NdrFcShort( 0xfffffd08 ), /* Offset= -760 (38) */
12770 /* 800 */ 0x5c, /* FC_PAD */
12771 0x5b, /* FC_END */
12772 /* 802 */
12773 0x11, 0x0, /* FC_RP */
12774 /* 804 */ NdrFcShort( 0xffffff1e ), /* Offset= -226 (578) */
12775 /* 806 */
12776 0x1b, /* FC_CARRAY */
12777 0x0, /* 0 */
12778 /* 808 */ NdrFcShort( 0x1 ), /* 1 */
12779 /* 810 */ 0x19, /* Corr desc: field pointer, FC_ULONG */
12780 0x0, /* */
12781 /* 812 */ NdrFcShort( 0x0 ), /* 0 */
12782 /* 814 */ 0x1, /* FC_BYTE */
12783 0x5b, /* FC_END */
12784 /* 816 */
12785 0x16, /* FC_PSTRUCT */
12786 0x3, /* 3 */
12787 /* 818 */ NdrFcShort( 0x8 ), /* 8 */
12788 /* 820 */
12789 0x4b, /* FC_PP */
12790 0x5c, /* FC_PAD */
12791 /* 822 */
12792 0x46, /* FC_NO_REPEAT */
12793 0x5c, /* FC_PAD */
12794 /* 824 */ NdrFcShort( 0x4 ), /* 4 */
12795 /* 826 */ NdrFcShort( 0x4 ), /* 4 */
12796 /* 828 */ 0x12, 0x0, /* FC_UP */
12797 /* 830 */ NdrFcShort( 0xffffffe8 ), /* Offset= -24 (806) */
12798 /* 832 */
12799 0x5b, /* FC_END */
12801 0x8, /* FC_LONG */
12802 /* 834 */ 0x8, /* FC_LONG */
12803 0x5b, /* FC_END */
12804 /* 836 */
12805 0x1b, /* FC_CARRAY */
12806 0x1, /* 1 */
12807 /* 838 */ NdrFcShort( 0x2 ), /* 2 */
12808 /* 840 */ 0x19, /* Corr desc: field pointer, FC_ULONG */
12809 0x0, /* */
12810 /* 842 */ NdrFcShort( 0x0 ), /* 0 */
12811 /* 844 */ 0x6, /* FC_SHORT */
12812 0x5b, /* FC_END */
12813 /* 846 */
12814 0x16, /* FC_PSTRUCT */
12815 0x3, /* 3 */
12816 /* 848 */ NdrFcShort( 0x8 ), /* 8 */
12817 /* 850 */
12818 0x4b, /* FC_PP */
12819 0x5c, /* FC_PAD */
12820 /* 852 */
12821 0x46, /* FC_NO_REPEAT */
12822 0x5c, /* FC_PAD */
12823 /* 854 */ NdrFcShort( 0x4 ), /* 4 */
12824 /* 856 */ NdrFcShort( 0x4 ), /* 4 */
12825 /* 858 */ 0x12, 0x0, /* FC_UP */
12826 /* 860 */ NdrFcShort( 0xffffffe8 ), /* Offset= -24 (836) */
12827 /* 862 */
12828 0x5b, /* FC_END */
12830 0x8, /* FC_LONG */
12831 /* 864 */ 0x8, /* FC_LONG */
12832 0x5b, /* FC_END */
12833 /* 866 */
12834 0x1b, /* FC_CARRAY */
12835 0x3, /* 3 */
12836 /* 868 */ NdrFcShort( 0x4 ), /* 4 */
12837 /* 870 */ 0x19, /* Corr desc: field pointer, FC_ULONG */
12838 0x0, /* */
12839 /* 872 */ NdrFcShort( 0x0 ), /* 0 */
12840 /* 874 */ 0x8, /* FC_LONG */
12841 0x5b, /* FC_END */
12842 /* 876 */
12843 0x16, /* FC_PSTRUCT */
12844 0x3, /* 3 */
12845 /* 878 */ NdrFcShort( 0x8 ), /* 8 */
12846 /* 880 */
12847 0x4b, /* FC_PP */
12848 0x5c, /* FC_PAD */
12849 /* 882 */
12850 0x46, /* FC_NO_REPEAT */
12851 0x5c, /* FC_PAD */
12852 /* 884 */ NdrFcShort( 0x4 ), /* 4 */
12853 /* 886 */ NdrFcShort( 0x4 ), /* 4 */
12854 /* 888 */ 0x12, 0x0, /* FC_UP */
12855 /* 890 */ NdrFcShort( 0xffffffe8 ), /* Offset= -24 (866) */
12856 /* 892 */
12857 0x5b, /* FC_END */
12859 0x8, /* FC_LONG */
12860 /* 894 */ 0x8, /* FC_LONG */
12861 0x5b, /* FC_END */
12862 /* 896 */
12863 0x1b, /* FC_CARRAY */
12864 0x7, /* 7 */
12865 /* 898 */ NdrFcShort( 0x8 ), /* 8 */
12866 /* 900 */ 0x19, /* Corr desc: field pointer, FC_ULONG */
12867 0x0, /* */
12868 /* 902 */ NdrFcShort( 0x0 ), /* 0 */
12869 /* 904 */ 0xb, /* FC_HYPER */
12870 0x5b, /* FC_END */
12871 /* 906 */
12872 0x16, /* FC_PSTRUCT */
12873 0x3, /* 3 */
12874 /* 908 */ NdrFcShort( 0x8 ), /* 8 */
12875 /* 910 */
12876 0x4b, /* FC_PP */
12877 0x5c, /* FC_PAD */
12878 /* 912 */
12879 0x46, /* FC_NO_REPEAT */
12880 0x5c, /* FC_PAD */
12881 /* 914 */ NdrFcShort( 0x4 ), /* 4 */
12882 /* 916 */ NdrFcShort( 0x4 ), /* 4 */
12883 /* 918 */ 0x12, 0x0, /* FC_UP */
12884 /* 920 */ NdrFcShort( 0xffffffe8 ), /* Offset= -24 (896) */
12885 /* 922 */
12886 0x5b, /* FC_END */
12888 0x8, /* FC_LONG */
12889 /* 924 */ 0x8, /* FC_LONG */
12890 0x5b, /* FC_END */
12891 /* 926 */
12892 0x15, /* FC_STRUCT */
12893 0x3, /* 3 */
12894 /* 928 */ NdrFcShort( 0x8 ), /* 8 */
12895 /* 930 */ 0x8, /* FC_LONG */
12896 0x8, /* FC_LONG */
12897 /* 932 */ 0x5c, /* FC_PAD */
12898 0x5b, /* FC_END */
12899 /* 934 */
12900 0x1b, /* FC_CARRAY */
12901 0x3, /* 3 */
12902 /* 936 */ NdrFcShort( 0x8 ), /* 8 */
12903 /* 938 */ 0x7, /* Corr desc: FC_USHORT */
12904 0x0, /* */
12905 /* 940 */ NdrFcShort( 0xffd8 ), /* -40 */
12906 /* 942 */ 0x4c, /* FC_EMBEDDED_COMPLEX */
12907 0x0, /* 0 */
12908 /* 944 */ NdrFcShort( 0xffffffee ), /* Offset= -18 (926) */
12909 /* 946 */ 0x5c, /* FC_PAD */
12910 0x5b, /* FC_END */
12911 /* 948 */
12912 0x1a, /* FC_BOGUS_STRUCT */
12913 0x3, /* 3 */
12914 /* 950 */ NdrFcShort( 0x28 ), /* 40 */
12915 /* 952 */ NdrFcShort( 0xffffffee ), /* Offset= -18 (934) */
12916 /* 954 */ NdrFcShort( 0x0 ), /* Offset= 0 (954) */
12917 /* 956 */ 0x6, /* FC_SHORT */
12918 0x6, /* FC_SHORT */
12919 /* 958 */ 0x38, /* FC_ALIGNM4 */
12920 0x8, /* FC_LONG */
12921 /* 960 */ 0x8, /* FC_LONG */
12922 0x4c, /* FC_EMBEDDED_COMPLEX */
12923 /* 962 */ 0x0, /* 0 */
12924 NdrFcShort( 0xfffffe09 ), /* Offset= -503 (460) */
12925 0x5b, /* FC_END */
12926 /* 966 */
12927 0x12, 0x8, /* FC_UP [simple_pointer] */
12928 /* 968 */ 0x2, /* FC_CHAR */
12929 0x5c, /* FC_PAD */
12930 /* 970 */
12931 0x12, 0x8, /* FC_UP [simple_pointer] */
12932 /* 972 */ 0x6, /* FC_SHORT */
12933 0x5c, /* FC_PAD */
12934 /* 974 */
12935 0x12, 0x8, /* FC_UP [simple_pointer] */
12936 /* 976 */ 0x8, /* FC_LONG */
12937 0x5c, /* FC_PAD */
12938 /* 978 */
12939 0x12, 0x8, /* FC_UP [simple_pointer] */
12940 /* 980 */ 0xa, /* FC_FLOAT */
12941 0x5c, /* FC_PAD */
12942 /* 982 */
12943 0x12, 0x8, /* FC_UP [simple_pointer] */
12944 /* 984 */ 0xc, /* FC_DOUBLE */
12945 0x5c, /* FC_PAD */
12946 /* 986 */
12947 0x12, 0x10, /* FC_UP */
12948 /* 988 */ NdrFcShort( 0xfffffd9e ), /* Offset= -610 (378) */
12949 /* 990 */
12950 0x12, 0x10, /* FC_UP */
12951 /* 992 */ NdrFcShort( 0x2 ), /* Offset= 2 (994) */
12952 /* 994 */
12953 0x12, 0x0, /* FC_UP */
12954 /* 996 */ NdrFcShort( 0xfffffc1c ), /* Offset= -996 (0) */
12955 /* 998 */
12956 0x12, 0x0, /* FC_UP */
12957 /* 1000 */ NdrFcShort( 0xfffffdaa ), /* Offset= -598 (402) */
12958 /* 1002 */
12959 0x12, 0x0, /* FC_UP */
12960 /* 1004 */ NdrFcShort( 0xfffffdac ), /* Offset= -596 (408) */
12961 /* 1006 */
12962 0x12, 0x10, /* FC_UP */
12963 /* 1008 */ NdrFcShort( 0xfffffdb4 ), /* Offset= -588 (420) */
12964 /* 1010 */
12965 0x12, 0x10, /* FC_UP */
12966 /* 1012 */ NdrFcShort( 0xfffffdc2 ), /* Offset= -574 (438) */
12967 /* 1014 */
12968 0x12, 0x10, /* FC_UP */
12969 /* 1016 */ NdrFcShort( 0xfffffdd0 ), /* Offset= -560 (456) */
12970 /* 1018 */
12971 0x12, 0x0, /* FC_UP */
12972 /* 1020 */ NdrFcShort( 0xfffffed4 ), /* Offset= -300 (720) */
12973 /* 1022 */
12974 0x1a, /* FC_BOGUS_STRUCT */
12975 0x7, /* 7 */
12976 /* 1024 */ NdrFcShort( 0x20 ), /* 32 */
12977 /* 1026 */ NdrFcShort( 0x0 ), /* 0 */
12978 /* 1028 */ NdrFcShort( 0x0 ), /* Offset= 0 (1028) */
12979 /* 1030 */ 0x8, /* FC_LONG */
12980 0x8, /* FC_LONG */
12981 /* 1032 */ 0x6, /* FC_SHORT */
12982 0x6, /* FC_SHORT */
12983 /* 1034 */ 0x6, /* FC_SHORT */
12984 0x6, /* FC_SHORT */
12985 /* 1036 */ 0x4c, /* FC_EMBEDDED_COMPLEX */
12986 0x0, /* 0 */
12987 /* 1038 */ NdrFcShort( 0xfffffc5c ), /* Offset= -932 (106) */
12988 /* 1040 */ 0x5c, /* FC_PAD */
12989 0x5b, /* FC_END */
12990 /* 1042 */ 0xb4, /* FC_USER_MARSHAL */
12991 0x83, /* 131 */
12992 /* 1044 */ NdrFcShort( 0x0 ), /* 0 */
12993 /* 1046 */ NdrFcShort( 0x10 ), /* 16 */
12994 /* 1048 */ NdrFcShort( 0x0 ), /* 0 */
12995 /* 1050 */ NdrFcShort( 0xfffffc4c ), /* Offset= -948 (102) */
12996 /* 1052 */
12997 0x21, /* FC_BOGUS_ARRAY */
12998 0x3, /* 3 */
12999 /* 1054 */ NdrFcShort( 0x0 ), /* 0 */
13000 /* 1056 */ 0x19, /* Corr desc: field pointer, FC_ULONG */
13001 0x0, /* */
13002 /* 1058 */ NdrFcShort( 0x8 ), /* 8 */
13003 /* 1060 */ NdrFcLong( 0xffffffff ), /* -1 */
13004 /* 1064 */ 0x4c, /* FC_EMBEDDED_COMPLEX */
13005 0x0, /* 0 */
13006 /* 1066 */ NdrFcShort( 0xffffffe8 ), /* Offset= -24 (1042) */
13007 /* 1068 */ 0x5c, /* FC_PAD */
13008 0x5b, /* FC_END */
13009 /* 1070 */
13010 0x1b, /* FC_CARRAY */
13011 0x3, /* 3 */
13012 /* 1072 */ NdrFcShort( 0x4 ), /* 4 */
13013 /* 1074 */ 0x19, /* Corr desc: field pointer, FC_ULONG */
13014 0x0, /* */
13015 /* 1076 */ NdrFcShort( 0xc ), /* 12 */
13016 /* 1078 */ 0x8, /* FC_LONG */
13017 0x5b, /* FC_END */
13018 /* 1080 */
13019 0x1a, /* FC_BOGUS_STRUCT */
13020 0x3, /* 3 */
13021 /* 1082 */ NdrFcShort( 0x10 ), /* 16 */
13022 /* 1084 */ NdrFcShort( 0x0 ), /* 0 */
13023 /* 1086 */ NdrFcShort( 0x8 ), /* Offset= 8 (1094) */
13024 /* 1088 */ 0x36, /* FC_POINTER */
13025 0x36, /* FC_POINTER */
13026 /* 1090 */ 0x8, /* FC_LONG */
13027 0x8, /* FC_LONG */
13028 /* 1092 */ 0x5c, /* FC_PAD */
13029 0x5b, /* FC_END */
13030 /* 1094 */
13031 0x12, 0x0, /* FC_UP */
13032 /* 1096 */ NdrFcShort( 0xffffffd4 ), /* Offset= -44 (1052) */
13033 /* 1098 */
13034 0x12, 0x0, /* FC_UP */
13035 /* 1100 */ NdrFcShort( 0xffffffe2 ), /* Offset= -30 (1070) */
13036 /* 1102 */
13037 0x11, 0x4, /* FC_RP [alloced_on_stack] */
13038 /* 1104 */ NdrFcShort( 0x6 ), /* Offset= 6 (1110) */
13039 /* 1106 */
13040 0x13, 0x0, /* FC_OP */
13041 /* 1108 */ NdrFcShort( 0xffffffaa ), /* Offset= -86 (1022) */
13042 /* 1110 */ 0xb4, /* FC_USER_MARSHAL */
13043 0x83, /* 131 */
13044 /* 1112 */ NdrFcShort( 0x0 ), /* 0 */
13045 /* 1114 */ NdrFcShort( 0x10 ), /* 16 */
13046 /* 1116 */ NdrFcShort( 0x0 ), /* 0 */
13047 /* 1118 */ NdrFcShort( 0xfffffff4 ), /* Offset= -12 (1106) */
13048 /* 1120 */
13049 0x11, 0x4, /* FC_RP [alloced_on_stack] */
13050 /* 1122 */ NdrFcShort( 0x10 ), /* Offset= 16 (1138) */
13051 /* 1124 */
13052 0x13, 0x0, /* FC_OP */
13053 /* 1126 */ NdrFcShort( 0xfffffd22 ), /* Offset= -734 (392) */
13054 /* 1128 */ 0xb4, /* FC_USER_MARSHAL */
13055 0x83, /* 131 */
13056 /* 1130 */ NdrFcShort( 0x1 ), /* 1 */
13057 /* 1132 */ NdrFcShort( 0x4 ), /* 4 */
13058 /* 1134 */ NdrFcShort( 0x0 ), /* 0 */
13059 /* 1136 */ NdrFcShort( 0xfffffff4 ), /* Offset= -12 (1124) */
13060 /* 1138 */
13061 0x1a, /* FC_BOGUS_STRUCT */
13062 0x3, /* 3 */
13063 /* 1140 */ NdrFcShort( 0x20 ), /* 32 */
13064 /* 1142 */ NdrFcShort( 0x0 ), /* 0 */
13065 /* 1144 */ NdrFcShort( 0x0 ), /* Offset= 0 (1144) */
13066 /* 1146 */ 0x6, /* FC_SHORT */
13067 0x6, /* FC_SHORT */
13068 /* 1148 */ 0x4c, /* FC_EMBEDDED_COMPLEX */
13069 0x0, /* 0 */
13070 /* 1150 */ NdrFcShort( 0xffffffea ), /* Offset= -22 (1128) */
13071 /* 1152 */ 0x4c, /* FC_EMBEDDED_COMPLEX */
13072 0x0, /* 0 */
13073 /* 1154 */ NdrFcShort( 0xffffffe6 ), /* Offset= -26 (1128) */
13074 /* 1156 */ 0x4c, /* FC_EMBEDDED_COMPLEX */
13075 0x0, /* 0 */
13076 /* 1158 */ NdrFcShort( 0xffffffe2 ), /* Offset= -30 (1128) */
13077 /* 1160 */ 0x38, /* FC_ALIGNM4 */
13078 0x8, /* FC_LONG */
13079 /* 1162 */ 0x8, /* FC_LONG */
13080 0x8, /* FC_LONG */
13081 /* 1164 */ 0x8, /* FC_LONG */
13082 0x5b, /* FC_END */
13083 /* 1166 */
13084 0x11, 0x0, /* FC_RP */
13085 /* 1168 */ NdrFcShort( 0x2 ), /* Offset= 2 (1170) */
13086 /* 1170 */
13087 0x1b, /* FC_CARRAY */
13088 0x3, /* 3 */
13089 /* 1172 */ NdrFcShort( 0x4 ), /* 4 */
13090 /* 1174 */ 0x29, /* Corr desc: parameter, FC_ULONG */
13091 0x0, /* */
13092 #ifndef _ALPHA_
13093 /* 1176 */ NdrFcShort( 0x24 ), /* x86, MIPS, PPC Stack size/offset = 36 */
13094 #else
13095 NdrFcShort( 0x48 ), /* Alpha Stack size/offset = 72 */
13096 #endif
13097 /* 1178 */ 0x8, /* FC_LONG */
13098 0x5b, /* FC_END */
13099 /* 1180 */
13100 0x11, 0x0, /* FC_RP */
13101 /* 1182 */ NdrFcShort( 0x2 ), /* Offset= 2 (1184) */
13102 /* 1184 */
13103 0x21, /* FC_BOGUS_ARRAY */
13104 0x3, /* 3 */
13105 /* 1186 */ NdrFcShort( 0x0 ), /* 0 */
13106 /* 1188 */ 0x29, /* Corr desc: parameter, FC_ULONG */
13107 0x0, /* */
13108 #ifndef _ALPHA_
13109 /* 1190 */ NdrFcShort( 0x24 ), /* x86, MIPS, PPC Stack size/offset = 36 */
13110 #else
13111 NdrFcShort( 0x48 ), /* Alpha Stack size/offset = 72 */
13112 #endif
13113 /* 1192 */ NdrFcLong( 0xffffffff ), /* -1 */
13114 /* 1196 */ 0x4c, /* FC_EMBEDDED_COMPLEX */
13115 0x0, /* 0 */
13116 /* 1198 */ NdrFcShort( 0xffffffa8 ), /* Offset= -88 (1110) */
13117 /* 1200 */ 0x5c, /* FC_PAD */
13118 0x5b, /* FC_END */
13119 /* 1202 */
13120 0x11, 0x0, /* FC_RP */
13121 /* 1204 */ NdrFcShort( 0x2 ), /* Offset= 2 (1206) */
13122 /* 1206 */
13123 0x21, /* FC_BOGUS_ARRAY */
13124 0x3, /* 3 */
13125 /* 1208 */ NdrFcShort( 0x0 ), /* 0 */
13126 /* 1210 */ 0x29, /* Corr desc: parameter, FC_ULONG */
13127 0x0, /* */
13128 #ifndef _ALPHA_
13129 /* 1212 */ NdrFcShort( 0x4 ), /* x86, MIPS, PPC Stack size/offset = 4 */
13130 #else
13131 NdrFcShort( 0x8 ), /* Alpha Stack size/offset = 8 */
13132 #endif
13133 /* 1214 */ 0x29, /* Corr desc: parameter, FC_ULONG */
13134 0x54, /* FC_DEREFERENCE */
13135 #ifndef _ALPHA_
13136 /* 1216 */ NdrFcShort( 0xc ), /* x86, MIPS, PPC Stack size/offset = 12 */
13137 #else
13138 NdrFcShort( 0x18 ), /* Alpha Stack size/offset = 24 */
13139 #endif
13140 /* 1218 */ 0x4c, /* FC_EMBEDDED_COMPLEX */
13141 0x0, /* 0 */
13142 /* 1220 */ NdrFcShort( 0xffffff92 ), /* Offset= -110 (1110) */
13143 /* 1222 */ 0x5c, /* FC_PAD */
13144 0x5b, /* FC_END */
13145 /* 1224 */
13146 0x11, 0x14, /* FC_RP [alloced_on_stack] */
13147 /* 1226 */ NdrFcShort( 0x2 ), /* Offset= 2 (1228) */
13148 /* 1228 */
13149 0x2f, /* FC_IP */
13150 0x5a, /* FC_CONSTANT_IID */
13151 /* 1230 */ NdrFcLong( 0x20404 ), /* 132100 */
13152 /* 1234 */ NdrFcShort( 0x0 ), /* 0 */
13153 /* 1236 */ NdrFcShort( 0x0 ), /* 0 */
13154 /* 1238 */ 0xc0, /* 192 */
13155 0x0, /* 0 */
13156 /* 1240 */ 0x0, /* 0 */
13157 0x0, /* 0 */
13158 /* 1242 */ 0x0, /* 0 */
13159 0x0, /* 0 */
13160 /* 1244 */ 0x0, /* 0 */
13161 0x46, /* 70 */
13162 /* 1246 */
13163 0x11, 0x8, /* FC_RP [simple_pointer] */
13164 /* 1248 */
13165 0x25, /* FC_C_WSTRING */
13166 0x5c, /* FC_PAD */
13167 /* 1250 */
13168 0x11, 0xc, /* FC_RP [alloced_on_stack] [simple_pointer] */
13169 /* 1252 */ 0xe, /* FC_ENUM32 */
13170 0x5c, /* FC_PAD */
13171 /* 1254 */
13172 0x11, 0x14, /* FC_RP [alloced_on_stack] */
13173 /* 1256 */ NdrFcShort( 0x2 ), /* Offset= 2 (1258) */
13174 /* 1258 */
13175 0x13, 0x0, /* FC_OP */
13176 /* 1260 */ NdrFcShort( 0xaa ), /* Offset= 170 (1430) */
13177 /* 1262 */
13178 0x2b, /* FC_NON_ENCAPSULATED_UNION */
13179 0x7, /* FC_USHORT */
13180 /* 1264 */ 0x7, /* Corr desc: FC_USHORT */
13181 0x0, /* */
13182 /* 1266 */ NdrFcShort( 0x4 ), /* 4 */
13183 /* 1268 */ NdrFcShort( 0x2 ), /* Offset= 2 (1270) */
13184 /* 1270 */ NdrFcShort( 0x4 ), /* 4 */
13185 /* 1272 */ NdrFcShort( 0x4 ), /* 4 */
13186 /* 1274 */ NdrFcLong( 0x1a ), /* 26 */
13187 /* 1278 */ NdrFcShort( 0x16 ), /* Offset= 22 (1300) */
13188 /* 1280 */ NdrFcLong( 0x1b ), /* 27 */
13189 /* 1284 */ NdrFcShort( 0x10 ), /* Offset= 16 (1300) */
13190 /* 1286 */ NdrFcLong( 0x1c ), /* 28 */
13191 /* 1290 */ NdrFcShort( 0xe ), /* Offset= 14 (1304) */
13192 /* 1292 */ NdrFcLong( 0x1d ), /* 29 */
13193 /* 1296 */ NdrFcShort( 0x8008 ), /* Simple arm type: FC_LONG */
13194 /* 1298 */ NdrFcShort( 0x0 ), /* Offset= 0 (1298) */
13195 /* 1300 */
13196 0x13, 0x0, /* FC_OP */
13197 /* 1302 */ NdrFcShort( 0x24 ), /* Offset= 36 (1338) */
13198 /* 1304 */
13199 0x13, 0x0, /* FC_OP */
13200 /* 1306 */ NdrFcShort( 0x10 ), /* Offset= 16 (1322) */
13201 /* 1308 */
13202 0x1b, /* FC_CARRAY */
13203 0x3, /* 3 */
13204 /* 1310 */ NdrFcShort( 0x8 ), /* 8 */
13205 /* 1312 */ 0x7, /* Corr desc: FC_USHORT */
13206 0x0, /* */
13207 /* 1314 */ NdrFcShort( 0xfffc ), /* -4 */
13208 /* 1316 */ 0x4c, /* FC_EMBEDDED_COMPLEX */
13209 0x0, /* 0 */
13210 /* 1318 */ NdrFcShort( 0xfffffe78 ), /* Offset= -392 (926) */
13211 /* 1320 */ 0x5c, /* FC_PAD */
13212 0x5b, /* FC_END */
13213 /* 1322 */
13214 0x1a, /* FC_BOGUS_STRUCT */
13215 0x3, /* 3 */
13216 /* 1324 */ NdrFcShort( 0x4 ), /* 4 */
13217 /* 1326 */ NdrFcShort( 0xffffffee ), /* Offset= -18 (1308) */
13218 /* 1328 */ NdrFcShort( 0x0 ), /* Offset= 0 (1328) */
13219 /* 1330 */ 0x4c, /* FC_EMBEDDED_COMPLEX */
13220 0x0, /* 0 */
13221 /* 1332 */ NdrFcShort( 0x6 ), /* Offset= 6 (1338) */
13222 /* 1334 */ 0x6, /* FC_SHORT */
13223 0x3e, /* FC_STRUCTPAD2 */
13224 /* 1336 */ 0x5c, /* FC_PAD */
13225 0x5b, /* FC_END */
13226 /* 1338 */
13227 0x1a, /* FC_BOGUS_STRUCT */
13228 0x3, /* 3 */
13229 /* 1340 */ NdrFcShort( 0x8 ), /* 8 */
13230 /* 1342 */ NdrFcShort( 0x0 ), /* 0 */
13231 /* 1344 */ NdrFcShort( 0x0 ), /* Offset= 0 (1344) */
13232 /* 1346 */ 0x4c, /* FC_EMBEDDED_COMPLEX */
13233 0x0, /* 0 */
13234 /* 1348 */ NdrFcShort( 0xffffffaa ), /* Offset= -86 (1262) */
13235 /* 1350 */ 0x6, /* FC_SHORT */
13236 0x3e, /* FC_STRUCTPAD2 */
13237 /* 1352 */ 0x5c, /* FC_PAD */
13238 0x5b, /* FC_END */
13239 /* 1354 */
13240 0x1a, /* FC_BOGUS_STRUCT */
13241 0x3, /* 3 */
13242 /* 1356 */ NdrFcShort( 0x18 ), /* 24 */
13243 /* 1358 */ NdrFcShort( 0x0 ), /* 0 */
13244 /* 1360 */ NdrFcShort( 0x0 ), /* Offset= 0 (1360) */
13245 /* 1362 */ 0x8, /* FC_LONG */
13246 0x4c, /* FC_EMBEDDED_COMPLEX */
13247 /* 1364 */ 0x4, /* 4 */
13248 NdrFcShort( 0xffffff01 ), /* Offset= -255 (1110) */
13249 0x5b, /* FC_END */
13250 /* 1368 */
13251 0x1a, /* FC_BOGUS_STRUCT */
13252 0x3, /* 3 */
13253 /* 1370 */ NdrFcShort( 0x8 ), /* 8 */
13254 /* 1372 */ NdrFcShort( 0x0 ), /* 0 */
13255 /* 1374 */ NdrFcShort( 0x6 ), /* Offset= 6 (1380) */
13256 /* 1376 */ 0x36, /* FC_POINTER */
13257 0x6, /* FC_SHORT */
13258 /* 1378 */ 0x3e, /* FC_STRUCTPAD2 */
13259 0x5b, /* FC_END */
13260 /* 1380 */
13261 0x13, 0x0, /* FC_OP */
13262 /* 1382 */ NdrFcShort( 0xffffffe4 ), /* Offset= -28 (1354) */
13263 /* 1384 */
13264 0x1a, /* FC_BOGUS_STRUCT */
13265 0x3, /* 3 */
13266 /* 1386 */ NdrFcShort( 0x10 ), /* 16 */
13267 /* 1388 */ NdrFcShort( 0x0 ), /* 0 */
13268 /* 1390 */ NdrFcShort( 0x0 ), /* Offset= 0 (1390) */
13269 /* 1392 */ 0x4c, /* FC_EMBEDDED_COMPLEX */
13270 0x0, /* 0 */
13271 /* 1394 */ NdrFcShort( 0xffffffc8 ), /* Offset= -56 (1338) */
13272 /* 1396 */ 0x4c, /* FC_EMBEDDED_COMPLEX */
13273 0x0, /* 0 */
13274 /* 1398 */ NdrFcShort( 0xffffffe2 ), /* Offset= -30 (1368) */
13275 /* 1400 */ 0x5c, /* FC_PAD */
13276 0x5b, /* FC_END */
13277 /* 1402 */
13278 0x1b, /* FC_CARRAY */
13279 0x3, /* 3 */
13280 /* 1404 */ NdrFcShort( 0x4 ), /* 4 */
13281 /* 1406 */ 0x16, /* Corr desc: field pointer, FC_SHORT */
13282 0x0, /* */
13283 /* 1408 */ NdrFcShort( 0x1e ), /* 30 */
13284 /* 1410 */ 0x8, /* FC_LONG */
13285 0x5b, /* FC_END */
13286 /* 1412 */
13287 0x21, /* FC_BOGUS_ARRAY */
13288 0x3, /* 3 */
13289 /* 1414 */ NdrFcShort( 0x0 ), /* 0 */
13290 /* 1416 */ 0x16, /* Corr desc: field pointer, FC_SHORT */
13291 0x0, /* */
13292 /* 1418 */ NdrFcShort( 0x18 ), /* 24 */
13293 /* 1420 */ NdrFcLong( 0xffffffff ), /* -1 */
13294 /* 1424 */ 0x4c, /* FC_EMBEDDED_COMPLEX */
13295 0x0, /* 0 */
13296 /* 1426 */ NdrFcShort( 0xffffffd6 ), /* Offset= -42 (1384) */
13297 /* 1428 */ 0x5c, /* FC_PAD */
13298 0x5b, /* FC_END */
13299 /* 1430 */
13300 0x1a, /* FC_BOGUS_STRUCT */
13301 0x3, /* 3 */
13302 /* 1432 */ NdrFcShort( 0x34 ), /* 52 */
13303 /* 1434 */ NdrFcShort( 0x0 ), /* 0 */
13304 /* 1436 */ NdrFcShort( 0x14 ), /* Offset= 20 (1456) */
13305 /* 1438 */ 0x8, /* FC_LONG */
13306 0x36, /* FC_POINTER */
13307 /* 1440 */ 0x36, /* FC_POINTER */
13308 0xe, /* FC_ENUM32 */
13309 /* 1442 */ 0xe, /* FC_ENUM32 */
13310 0xe, /* FC_ENUM32 */
13311 /* 1444 */ 0x6, /* FC_SHORT */
13312 0x6, /* FC_SHORT */
13313 /* 1446 */ 0x6, /* FC_SHORT */
13314 0x6, /* FC_SHORT */
13315 /* 1448 */ 0x4c, /* FC_EMBEDDED_COMPLEX */
13316 0x0, /* 0 */
13317 /* 1450 */ NdrFcShort( 0xffffffbe ), /* Offset= -66 (1384) */
13318 /* 1452 */ 0x6, /* FC_SHORT */
13319 0x3e, /* FC_STRUCTPAD2 */
13320 /* 1454 */ 0x5c, /* FC_PAD */
13321 0x5b, /* FC_END */
13322 /* 1456 */
13323 0x13, 0x0, /* FC_OP */
13324 /* 1458 */ NdrFcShort( 0xffffffc8 ), /* Offset= -56 (1402) */
13325 /* 1460 */
13326 0x13, 0x0, /* FC_OP */
13327 /* 1462 */ NdrFcShort( 0xffffffce ), /* Offset= -50 (1412) */
13328 /* 1464 */
13329 0x11, 0x14, /* FC_RP [alloced_on_stack] */
13330 /* 1466 */ NdrFcShort( 0x2 ), /* Offset= 2 (1468) */
13331 /* 1468 */
13332 0x13, 0x0, /* FC_OP */
13333 /* 1470 */ NdrFcShort( 0x2c ), /* Offset= 44 (1514) */
13334 /* 1472 */
13335 0x2b, /* FC_NON_ENCAPSULATED_UNION */
13336 0x8, /* FC_LONG */
13337 /* 1474 */ 0x8, /* Corr desc: FC_LONG */
13338 0x0, /* */
13339 /* 1476 */ NdrFcShort( 0x18 ), /* 24 */
13340 /* 1478 */ NdrFcShort( 0x2 ), /* Offset= 2 (1480) */
13341 /* 1480 */ NdrFcShort( 0x4 ), /* 4 */
13342 /* 1482 */ NdrFcShort( 0x4 ), /* 4 */
13343 /* 1484 */ NdrFcLong( 0x0 ), /* 0 */
13344 /* 1488 */ NdrFcShort( 0x8008 ), /* Simple arm type: FC_LONG */
13345 /* 1490 */ NdrFcLong( 0x3 ), /* 3 */
13346 /* 1494 */ NdrFcShort( 0x8008 ), /* Simple arm type: FC_LONG */
13347 /* 1496 */ NdrFcLong( 0x1 ), /* 1 */
13348 /* 1500 */ NdrFcShort( 0x8008 ), /* Simple arm type: FC_LONG */
13349 /* 1502 */ NdrFcLong( 0x2 ), /* 2 */
13350 /* 1506 */ NdrFcShort( 0x4 ), /* Offset= 4 (1510) */
13351 /* 1508 */ NdrFcShort( 0xffffffff ), /* Offset= -1 (1507) */
13352 /* 1510 */
13353 0x13, 0x0, /* FC_OP */
13354 /* 1512 */ NdrFcShort( 0xfffffe6e ), /* Offset= -402 (1110) */
13355 /* 1514 */
13356 0x1a, /* FC_BOGUS_STRUCT */
13357 0x3, /* 3 */
13358 /* 1516 */ NdrFcShort( 0x24 ), /* 36 */
13359 /* 1518 */ NdrFcShort( 0x0 ), /* 0 */
13360 /* 1520 */ NdrFcShort( 0x10 ), /* Offset= 16 (1536) */
13361 /* 1522 */ 0x8, /* FC_LONG */
13362 0x36, /* FC_POINTER */
13363 /* 1524 */ 0x4c, /* FC_EMBEDDED_COMPLEX */
13364 0x0, /* 0 */
13365 /* 1526 */ NdrFcShort( 0xffffffca ), /* Offset= -54 (1472) */
13366 /* 1528 */ 0x4c, /* FC_EMBEDDED_COMPLEX */
13367 0x0, /* 0 */
13368 /* 1530 */ NdrFcShort( 0xffffff6e ), /* Offset= -146 (1384) */
13369 /* 1532 */ 0x6, /* FC_SHORT */
13370 0x38, /* FC_ALIGNM4 */
13371 /* 1534 */ 0xe, /* FC_ENUM32 */
13372 0x5b, /* FC_END */
13373 /* 1536 */
13374 0x13, 0x8, /* FC_OP [simple_pointer] */
13375 /* 1538 */
13376 0x25, /* FC_C_WSTRING */
13377 0x5c, /* FC_PAD */
13378 /* 1540 */
13379 0x11, 0x14, /* FC_RP [alloced_on_stack] */
13380 /* 1542 */ NdrFcShort( 0x2 ), /* Offset= 2 (1544) */
13381 /* 1544 */
13382 0x2f, /* FC_IP */
13383 0x5a, /* FC_CONSTANT_IID */
13384 /* 1546 */ NdrFcLong( 0x20403 ), /* 132099 */
13385 /* 1550 */ NdrFcShort( 0x0 ), /* 0 */
13386 /* 1552 */ NdrFcShort( 0x0 ), /* 0 */
13387 /* 1554 */ 0xc0, /* 192 */
13388 0x0, /* 0 */
13389 /* 1556 */ 0x0, /* 0 */
13390 0x0, /* 0 */
13391 /* 1558 */ 0x0, /* 0 */
13392 0x0, /* 0 */
13393 /* 1560 */ 0x0, /* 0 */
13394 0x46, /* 70 */
13395 /* 1562 */
13396 0x11, 0x4, /* FC_RP [alloced_on_stack] */
13397 /* 1564 */ NdrFcShort( 0x4 ), /* Offset= 4 (1568) */
13398 /* 1566 */ 0x8, /* FC_LONG */
13399 0x5c, /* FC_PAD */
13400 /* 1568 */ 0xb4, /* FC_USER_MARSHAL */
13401 0x3, /* 3 */
13402 /* 1570 */ NdrFcShort( 0x2 ), /* 2 */
13403 /* 1572 */ NdrFcShort( 0xc ), /* 12 */
13404 /* 1574 */ NdrFcShort( 0x4 ), /* 4 */
13405 /* 1576 */ NdrFcShort( 0xfffffff6 ), /* Offset= -10 (1566) */
13406 /* 1578 */
13407 0x11, 0x14, /* FC_RP [alloced_on_stack] */
13408 /* 1580 */ NdrFcShort( 0x2 ), /* Offset= 2 (1582) */
13409 /* 1582 */
13410 0x13, 0x0, /* FC_OP */
13411 /* 1584 */ NdrFcShort( 0xe ), /* Offset= 14 (1598) */
13412 /* 1586 */
13413 0x1a, /* FC_BOGUS_STRUCT */
13414 0x3, /* 3 */
13415 /* 1588 */ NdrFcShort( 0x8 ), /* 8 */
13416 /* 1590 */ NdrFcShort( 0x0 ), /* 0 */
13417 /* 1592 */ NdrFcShort( 0x0 ), /* Offset= 0 (1592) */
13418 /* 1594 */ 0x8, /* FC_LONG */
13419 0x6, /* FC_SHORT */
13420 /* 1596 */ 0x3e, /* FC_STRUCTPAD2 */
13421 0x5b, /* FC_END */
13422 /* 1598 */
13423 0x1a, /* FC_BOGUS_STRUCT */
13424 0x3, /* 3 */
13425 /* 1600 */ NdrFcShort( 0x4c ), /* 76 */
13426 /* 1602 */ NdrFcShort( 0x0 ), /* 0 */
13427 /* 1604 */ NdrFcShort( 0x1e ), /* Offset= 30 (1634) */
13428 /* 1606 */ 0x4c, /* FC_EMBEDDED_COMPLEX */
13429 0x0, /* 0 */
13430 /* 1608 */ NdrFcShort( 0xfffff9de ), /* Offset= -1570 (38) */
13431 /* 1610 */ 0x8, /* FC_LONG */
13432 0x8, /* FC_LONG */
13433 /* 1612 */ 0x8, /* FC_LONG */
13434 0x8, /* FC_LONG */
13435 /* 1614 */ 0x36, /* FC_POINTER */
13436 0x8, /* FC_LONG */
13437 /* 1616 */ 0xe, /* FC_ENUM32 */
13438 0x6, /* FC_SHORT */
13439 /* 1618 */ 0x6, /* FC_SHORT */
13440 0x6, /* FC_SHORT */
13441 /* 1620 */ 0x6, /* FC_SHORT */
13442 0x6, /* FC_SHORT */
13443 /* 1622 */ 0x6, /* FC_SHORT */
13444 0x6, /* FC_SHORT */
13445 /* 1624 */ 0x6, /* FC_SHORT */
13446 0x4c, /* FC_EMBEDDED_COMPLEX */
13447 /* 1626 */ 0x0, /* 0 */
13448 NdrFcShort( 0xfffffedf ), /* Offset= -289 (1338) */
13449 0x4c, /* FC_EMBEDDED_COMPLEX */
13450 /* 1630 */ 0x0, /* 0 */
13451 NdrFcShort( 0xffffffd3 ), /* Offset= -45 (1586) */
13452 0x5b, /* FC_END */
13453 /* 1634 */
13454 0x13, 0x8, /* FC_OP [simple_pointer] */
13455 /* 1636 */
13456 0x25, /* FC_C_WSTRING */
13457 0x5c, /* FC_PAD */
13458 /* 1638 */
13459 0x11, 0x4, /* FC_RP [alloced_on_stack] */
13460 /* 1640 */ NdrFcShort( 0x4 ), /* Offset= 4 (1644) */
13461 /* 1642 */ 0x8, /* FC_LONG */
13462 0x5c, /* FC_PAD */
13463 /* 1644 */ 0xb4, /* FC_USER_MARSHAL */
13464 0x3, /* 3 */
13465 /* 1646 */ NdrFcShort( 0x2 ), /* 2 */
13466 /* 1648 */ NdrFcShort( 0xc ), /* 12 */
13467 /* 1650 */ NdrFcShort( 0x4 ), /* 4 */
13468 /* 1652 */ NdrFcShort( 0xfffffff6 ), /* Offset= -10 (1642) */
13469 /* 1654 */
13470 0x11, 0x4, /* FC_RP [alloced_on_stack] */
13471 /* 1656 */ NdrFcShort( 0x4 ), /* Offset= 4 (1660) */
13472 /* 1658 */ 0x8, /* FC_LONG */
13473 0x5c, /* FC_PAD */
13474 /* 1660 */ 0xb4, /* FC_USER_MARSHAL */
13475 0x3, /* 3 */
13476 /* 1662 */ NdrFcShort( 0x2 ), /* 2 */
13477 /* 1664 */ NdrFcShort( 0xc ), /* 12 */
13478 /* 1666 */ NdrFcShort( 0x4 ), /* 4 */
13479 /* 1668 */ NdrFcShort( 0xfffffff6 ), /* Offset= -10 (1658) */
13480 /* 1670 */
13481 0x11, 0x4, /* FC_RP [alloced_on_stack] */
13482 /* 1672 */ NdrFcShort( 0x4 ), /* Offset= 4 (1676) */
13483 /* 1674 */ 0x8, /* FC_LONG */
13484 0x5c, /* FC_PAD */
13485 /* 1676 */ 0xb4, /* FC_USER_MARSHAL */
13486 0x3, /* 3 */
13487 /* 1678 */ NdrFcShort( 0x2 ), /* 2 */
13488 /* 1680 */ NdrFcShort( 0xc ), /* 12 */
13489 /* 1682 */ NdrFcShort( 0x4 ), /* 4 */
13490 /* 1684 */ NdrFcShort( 0xfffffff6 ), /* Offset= -10 (1674) */
13491 /* 1686 */
13492 0x11, 0x0, /* FC_RP */
13493 /* 1688 */ NdrFcShort( 0x2 ), /* Offset= 2 (1690) */
13494 /* 1690 */
13495 0x21, /* FC_BOGUS_ARRAY */
13496 0x3, /* 3 */
13497 /* 1692 */ NdrFcShort( 0x0 ), /* 0 */
13498 /* 1694 */ 0x29, /* Corr desc: parameter, FC_ULONG */
13499 0x0, /* */
13500 #ifndef _ALPHA_
13501 /* 1696 */ NdrFcShort( 0xc ), /* x86, MIPS, PPC Stack size/offset = 12 */
13502 #else
13503 NdrFcShort( 0x18 ), /* Alpha Stack size/offset = 24 */
13504 #endif
13505 /* 1698 */ 0x29, /* Corr desc: parameter, FC_ULONG */
13506 0x54, /* FC_DEREFERENCE */
13507 #ifndef _ALPHA_
13508 /* 1700 */ NdrFcShort( 0x10 ), /* x86, MIPS, PPC Stack size/offset = 16 */
13509 #else
13510 NdrFcShort( 0x20 ), /* Alpha Stack size/offset = 32 */
13511 #endif
13512 /* 1702 */ 0x4c, /* FC_EMBEDDED_COMPLEX */
13513 0x0, /* 0 */
13514 /* 1704 */ NdrFcShort( 0xfffffdc0 ), /* Offset= -576 (1128) */
13515 /* 1706 */ 0x5c, /* FC_PAD */
13516 0x5b, /* FC_END */
13517 /* 1708 */
13518 0x11, 0x4, /* FC_RP [alloced_on_stack] */
13519 /* 1710 */ NdrFcShort( 0xfffffdba ), /* Offset= -582 (1128) */
13520 /* 1712 */
13521 0x11, 0xc, /* FC_RP [alloced_on_stack] [simple_pointer] */
13522 /* 1714 */ 0x6, /* FC_SHORT */
13523 0x5c, /* FC_PAD */
13524 /* 1716 */
13525 0x11, 0x14, /* FC_RP [alloced_on_stack] */
13526 /* 1718 */ NdrFcShort( 0x2 ), /* Offset= 2 (1720) */
13527 /* 1720 */
13528 0x2f, /* FC_IP */
13529 0x5c, /* FC_PAD */
13530 /* 1722 */ 0x28, /* Corr desc: parameter, FC_LONG */
13531 0x0, /* */
13532 #ifndef _ALPHA_
13533 /* 1724 */ NdrFcShort( 0x4 ), /* x86, MIPS, PPC Stack size/offset = 4 */
13534 #else
13535 NdrFcShort( 0x8 ), /* Alpha Stack size/offset = 8 */
13536 #endif
13537 /* 1726 */
13538 0x11, 0x14, /* FC_RP [alloced_on_stack] */
13539 /* 1728 */ NdrFcShort( 0x2 ), /* Offset= 2 (1730) */
13540 /* 1730 */
13541 0x2f, /* FC_IP */
13542 0x5a, /* FC_CONSTANT_IID */
13543 /* 1732 */ NdrFcLong( 0x20402 ), /* 132098 */
13544 /* 1736 */ NdrFcShort( 0x0 ), /* 0 */
13545 /* 1738 */ NdrFcShort( 0x0 ), /* 0 */
13546 /* 1740 */ 0xc0, /* 192 */
13547 0x0, /* 0 */
13548 /* 1742 */ 0x0, /* 0 */
13549 0x0, /* 0 */
13550 /* 1744 */ 0x0, /* 0 */
13551 0x0, /* 0 */
13552 /* 1746 */ 0x0, /* 0 */
13553 0x46, /* 70 */
13554 /* 1748 */
13555 0x11, 0x4, /* FC_RP [alloced_on_stack] */
13556 /* 1750 */ NdrFcShort( 0x26 ), /* Offset= 38 (1788) */
13557 /* 1752 */
13558 0x1a, /* FC_BOGUS_STRUCT */
13559 0x3, /* 3 */
13560 /* 1754 */ NdrFcShort( 0x20 ), /* 32 */
13561 /* 1756 */ NdrFcShort( 0x0 ), /* 0 */
13562 /* 1758 */ NdrFcShort( 0x0 ), /* Offset= 0 (1758) */
13563 /* 1760 */ 0x4c, /* FC_EMBEDDED_COMPLEX */
13564 0x0, /* 0 */
13565 /* 1762 */ NdrFcShort( 0xfffff944 ), /* Offset= -1724 (38) */
13566 /* 1764 */ 0x4c, /* FC_EMBEDDED_COMPLEX */
13567 0x0, /* 0 */
13568 /* 1766 */ NdrFcShort( 0xfffffd70 ), /* Offset= -656 (1110) */
13569 /* 1768 */ 0x5c, /* FC_PAD */
13570 0x5b, /* FC_END */
13571 /* 1770 */
13572 0x21, /* FC_BOGUS_ARRAY */
13573 0x3, /* 3 */
13574 /* 1772 */ NdrFcShort( 0x0 ), /* 0 */
13575 /* 1774 */ 0x19, /* Corr desc: field pointer, FC_ULONG */
13576 0x0, /* */
13577 /* 1776 */ NdrFcShort( 0x0 ), /* 0 */
13578 /* 1778 */ NdrFcLong( 0xffffffff ), /* -1 */
13579 /* 1782 */ 0x4c, /* FC_EMBEDDED_COMPLEX */
13580 0x0, /* 0 */
13581 /* 1784 */ NdrFcShort( 0xffffffe0 ), /* Offset= -32 (1752) */
13582 /* 1786 */ 0x5c, /* FC_PAD */
13583 0x5b, /* FC_END */
13584 /* 1788 */
13585 0x1a, /* FC_BOGUS_STRUCT */
13586 0x3, /* 3 */
13587 /* 1790 */ NdrFcShort( 0x8 ), /* 8 */
13588 /* 1792 */ NdrFcShort( 0x0 ), /* 0 */
13589 /* 1794 */ NdrFcShort( 0x6 ), /* Offset= 6 (1800) */
13590 /* 1796 */ 0x8, /* FC_LONG */
13591 0x36, /* FC_POINTER */
13592 /* 1798 */ 0x5c, /* FC_PAD */
13593 0x5b, /* FC_END */
13594 /* 1800 */
13595 0x13, 0x0, /* FC_OP */
13596 /* 1802 */ NdrFcShort( 0xffffffe0 ), /* Offset= -32 (1770) */
13597 /* 1804 */
13598 0x11, 0x14, /* FC_RP [alloced_on_stack] */
13599 /* 1806 */ NdrFcShort( 0x2 ), /* Offset= 2 (1808) */
13600 /* 1808 */
13601 0x13, 0x0, /* FC_OP */
13602 /* 1810 */ NdrFcShort( 0x2 ), /* Offset= 2 (1812) */
13603 /* 1812 */
13604 0x1a, /* FC_BOGUS_STRUCT */
13605 0x3, /* 3 */
13606 /* 1814 */ NdrFcShort( 0x20 ), /* 32 */
13607 /* 1816 */ NdrFcShort( 0x0 ), /* 0 */
13608 /* 1818 */ NdrFcShort( 0x0 ), /* Offset= 0 (1818) */
13609 /* 1820 */ 0x4c, /* FC_EMBEDDED_COMPLEX */
13610 0x0, /* 0 */
13611 /* 1822 */ NdrFcShort( 0xfffff908 ), /* Offset= -1784 (38) */
13612 /* 1824 */ 0x8, /* FC_LONG */
13613 0xe, /* FC_ENUM32 */
13614 /* 1826 */ 0x6, /* FC_SHORT */
13615 0x6, /* FC_SHORT */
13616 /* 1828 */ 0x6, /* FC_SHORT */
13617 0x3e, /* FC_STRUCTPAD2 */
13618 /* 1830 */ 0x5c, /* FC_PAD */
13619 0x5b, /* FC_END */
13620 /* 1832 */
13621 0x11, 0x4, /* FC_RP [alloced_on_stack] */
13622 /* 1834 */ NdrFcShort( 0x4 ), /* Offset= 4 (1838) */
13623 /* 1836 */ 0x8, /* FC_LONG */
13624 0x5c, /* FC_PAD */
13625 /* 1838 */ 0xb4, /* FC_USER_MARSHAL */
13626 0x3, /* 3 */
13627 /* 1840 */ NdrFcShort( 0x2 ), /* 2 */
13628 /* 1842 */ NdrFcShort( 0xc ), /* 12 */
13629 /* 1844 */ NdrFcShort( 0x4 ), /* 4 */
13630 /* 1846 */ NdrFcShort( 0xfffffff6 ), /* Offset= -10 (1836) */
13631 /* 1848 */
13632 0x11, 0x0, /* FC_RP */
13633 /* 1850 */ NdrFcShort( 0x2 ), /* Offset= 2 (1852) */
13634 /* 1852 */
13635 0x21, /* FC_BOGUS_ARRAY */
13636 0x3, /* 3 */
13637 /* 1854 */ NdrFcShort( 0x0 ), /* 0 */
13638 /* 1856 */ 0x27, /* Corr desc: parameter, FC_USHORT */
13639 0x54, /* FC_DEREFERENCE */
13640 #ifndef _ALPHA_
13641 /* 1858 */ NdrFcShort( 0x14 ), /* x86, MIPS, PPC Stack size/offset = 20 */
13642 #else
13643 NdrFcShort( 0x28 ), /* Alpha Stack size/offset = 40 */
13644 #endif
13645 /* 1860 */ 0x27, /* Corr desc: parameter, FC_USHORT */
13646 0x54, /* FC_DEREFERENCE */
13647 #ifndef _ALPHA_
13648 /* 1862 */ NdrFcShort( 0x14 ), /* x86, MIPS, PPC Stack size/offset = 20 */
13649 #else
13650 NdrFcShort( 0x28 ), /* Alpha Stack size/offset = 40 */
13651 #endif
13652 /* 1864 */ 0x4c, /* FC_EMBEDDED_COMPLEX */
13653 0x0, /* 0 */
13654 /* 1866 */ NdrFcShort( 0xfffff8c0 ), /* Offset= -1856 (10) */
13655 /* 1868 */ 0x5c, /* FC_PAD */
13656 0x5b, /* FC_END */
13657 /* 1870 */
13658 0x11, 0x0, /* FC_RP */
13659 /* 1872 */ NdrFcShort( 0x2 ), /* Offset= 2 (1874) */
13660 /* 1874 */
13661 0x1c, /* FC_CVARRAY */
13662 0x3, /* 3 */
13663 /* 1876 */ NdrFcShort( 0x4 ), /* 4 */
13664 /* 1878 */ 0x27, /* Corr desc: parameter, FC_USHORT */
13665 0x54, /* FC_DEREFERENCE */
13666 #ifndef _ALPHA_
13667 /* 1880 */ NdrFcShort( 0x14 ), /* x86, MIPS, PPC Stack size/offset = 20 */
13668 #else
13669 NdrFcShort( 0x28 ), /* Alpha Stack size/offset = 40 */
13670 #endif
13671 /* 1882 */ 0x27, /* Corr desc: parameter, FC_USHORT */
13672 0x54, /* FC_DEREFERENCE */
13673 #ifndef _ALPHA_
13674 /* 1884 */ NdrFcShort( 0x14 ), /* x86, MIPS, PPC Stack size/offset = 20 */
13675 #else
13676 NdrFcShort( 0x28 ), /* Alpha Stack size/offset = 40 */
13677 #endif
13678 /* 1886 */ 0x8, /* FC_LONG */
13679 0x5b, /* FC_END */
13680 /* 1888 */
13681 0x11, 0x8, /* FC_RP [simple_pointer] */
13682 /* 1890 */ 0x6, /* FC_SHORT */
13683 0x5c, /* FC_PAD */
13684 /* 1892 */
13685 0x11, 0x4, /* FC_RP [alloced_on_stack] */
13686 /* 1894 */ NdrFcShort( 0xfffff8c0 ), /* Offset= -1856 (38) */
13687 /* 1896 */
13688 0x11, 0x14, /* FC_RP [alloced_on_stack] */
13689 /* 1898 */ NdrFcShort( 0x2 ), /* Offset= 2 (1900) */
13690 /* 1900 */
13691 0x2f, /* FC_IP */
13692 0x5c, /* FC_PAD */
13693 /* 1902 */ 0x28, /* Corr desc: parameter, FC_LONG */
13694 0x0, /* */
13695 #ifndef _ALPHA_
13696 /* 1904 */ NdrFcShort( 0x8 ), /* x86, MIPS, PPC Stack size/offset = 8 */
13697 #else
13698 NdrFcShort( 0x10 ), /* Alpha Stack size/offset = 16 */
13699 #endif
13705 const CInterfaceProxyVtbl * _oaidl_ProxyVtblList[] =
13707 ( CInterfaceProxyVtbl *) &_IDispatchProxyVtbl,
13708 ( CInterfaceProxyVtbl *) &_ITypeInfoProxyVtbl,
13709 ( CInterfaceProxyVtbl *) &_ITypeLibProxyVtbl,
13710 ( CInterfaceProxyVtbl *) &_ITypeCompProxyVtbl,
13711 ( CInterfaceProxyVtbl *) &_IEnumVARIANTProxyVtbl,
13712 ( CInterfaceProxyVtbl *) &_ITypeLib2ProxyVtbl,
13713 ( CInterfaceProxyVtbl *) &_ITypeInfo2ProxyVtbl,
13714 ( CInterfaceProxyVtbl *) &_IErrorInfoProxyVtbl,
13715 ( CInterfaceProxyVtbl *) &_ITypeFactoryProxyVtbl,
13716 ( CInterfaceProxyVtbl *) &_ICreateErrorInfoProxyVtbl,
13717 ( CInterfaceProxyVtbl *) &_ISupportErrorInfoProxyVtbl,
13721 const CInterfaceStubVtbl * _oaidl_StubVtblList[] =
13723 ( CInterfaceStubVtbl *) &_IDispatchStubVtbl,
13724 ( CInterfaceStubVtbl *) &_ITypeInfoStubVtbl,
13725 ( CInterfaceStubVtbl *) &_ITypeLibStubVtbl,
13726 ( CInterfaceStubVtbl *) &_ITypeCompStubVtbl,
13727 ( CInterfaceStubVtbl *) &_IEnumVARIANTStubVtbl,
13728 ( CInterfaceStubVtbl *) &_ITypeLib2StubVtbl,
13729 ( CInterfaceStubVtbl *) &_ITypeInfo2StubVtbl,
13730 ( CInterfaceStubVtbl *) &_IErrorInfoStubVtbl,
13731 ( CInterfaceStubVtbl *) &_ITypeFactoryStubVtbl,
13732 ( CInterfaceStubVtbl *) &_ICreateErrorInfoStubVtbl,
13733 ( CInterfaceStubVtbl *) &_ISupportErrorInfoStubVtbl,
13737 PCInterfaceName const _oaidl_InterfaceNamesList[] =
13739 "IDispatch",
13740 "ITypeInfo",
13741 "ITypeLib",
13742 "ITypeComp",
13743 "IEnumVARIANT",
13744 "ITypeLib2",
13745 "ITypeInfo2",
13746 "IErrorInfo",
13747 "ITypeFactory",
13748 "ICreateErrorInfo",
13749 "ISupportErrorInfo",
13754 #define _oaidl_CHECK_IID(n) IID_GENERIC_CHECK_IID( _oaidl, pIID, n)
13756 int __stdcall _oaidl_IID_Lookup( const IID * pIID, int * pIndex )
13758 IID_BS_LOOKUP_SETUP
13760 IID_BS_LOOKUP_INITIAL_TEST( _oaidl, 11, 8 )
13761 IID_BS_LOOKUP_NEXT_TEST( _oaidl, 4 )
13762 IID_BS_LOOKUP_NEXT_TEST( _oaidl, 2 )
13763 IID_BS_LOOKUP_NEXT_TEST( _oaidl, 1 )
13764 IID_BS_LOOKUP_RETURN_RESULT( _oaidl, 11, *pIndex )
13768 const ExtendedProxyFileInfo oaidl_ProxyFileInfo =
13770 (PCInterfaceProxyVtblList *) & _oaidl_ProxyVtblList,
13771 (PCInterfaceStubVtblList *) & _oaidl_StubVtblList,
13772 (const PCInterfaceName * ) & _oaidl_InterfaceNamesList,
13773 0, /* no delegation */
13774 & _oaidl_IID_Lookup,
13777 0, /* table of [async_uuid] interfaces */
13778 0, /* Filler1 */
13779 0, /* Filler2 */
13780 0 /* Filler3 */