Fixed a couple of races with exiting threads in suspend_for_ptrace().
[wine/gsoc_dplay.git] / dlls / oleaut32 / oaidl_p.c
blob0e9ed954d8943a8f51784248696079450a6bdd20
1 /* this ALWAYS GENERATED file contains the proxy stub code */
4 /* File created by MIDL compiler version 5.01.0164 */
5 /* at Tue Jan 07 22:24:52 2003
6 */
7 /* Compiler settings for oaidl.idl:
8 Os (OptLev=s), W1, Zp8, env=Win32, ms_ext, c_ext
9 error checks: allocation ref bounds_check enum stub_data
11 /*@@MIDL_FILE_HEADING( ) */
14 /* verify that the <rpcproxy.h> version is high enough to compile this file*/
15 #ifndef __REDQ_RPCPROXY_H_VERSION__
16 #define __REQUIRED_RPCPROXY_H_VERSION__ 440
17 #endif
20 #include "objbase.h"
21 #include "rpcproxy.h"
22 #ifndef __RPCPROXY_H_VERSION__
23 #error this stub requires an updated version of <rpcproxy.h>
24 #endif /* __RPCPROXY_H_VERSION__ */
27 #include "oaidl.h"
29 #define TYPE_FORMAT_STRING_SIZE 1907
30 #define PROC_FORMAT_STRING_SIZE 495
32 typedef struct _MIDL_TYPE_FORMAT_STRING
34 short Pad;
35 unsigned char Format[ TYPE_FORMAT_STRING_SIZE ];
36 } MIDL_TYPE_FORMAT_STRING;
38 typedef struct _MIDL_PROC_FORMAT_STRING
40 short Pad;
41 unsigned char Format[ PROC_FORMAT_STRING_SIZE ];
42 } MIDL_PROC_FORMAT_STRING;
45 extern const MIDL_TYPE_FORMAT_STRING __MIDL_TypeFormatString;
46 extern const MIDL_PROC_FORMAT_STRING __MIDL_ProcFormatString;
49 /* Standard interface: __MIDL_itf_oaidl_0000, ver. 0.0,
50 GUID={0x00000000,0x0000,0x0000,{0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00}} */
53 /* Standard interface: IOleAutomationTypes, ver. 1.0,
54 GUID={0x00000000,0x0000,0x0000,{0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00}} */
57 /* Object interface: IUnknown, ver. 0.0,
58 GUID={0x00000000,0x0000,0x0000,{0xC0,0x00,0x00,0x00,0x00,0x00,0x00,0x46}} */
61 /* Object interface: IDispatch, ver. 0.0,
62 GUID={0x00020400,0x0000,0x0000,{0xC0,0x00,0x00,0x00,0x00,0x00,0x00,0x46}} */
65 extern const MIDL_STUB_DESC Object_StubDesc;
68 HRESULT STDMETHODCALLTYPE IDispatch_GetTypeInfoCount_Proxy(
69 IDispatch __RPC_FAR * This,
70 /* [out] */ UINT __RPC_FAR *pctinfo)
73 HRESULT _RetVal;
75 RPC_MESSAGE _RpcMessage;
77 MIDL_STUB_MESSAGE _StubMsg;
79 RpcTryExcept
81 NdrProxyInitialize(
82 ( void __RPC_FAR * )This,
83 ( PRPC_MESSAGE )&_RpcMessage,
84 ( PMIDL_STUB_MESSAGE )&_StubMsg,
85 ( PMIDL_STUB_DESC )&Object_StubDesc,
86 3);
90 if(!pctinfo)
92 RpcRaiseException(RPC_X_NULL_REF_POINTER);
94 RpcTryFinally
97 _StubMsg.BufferLength = 0U;
98 NdrProxyGetBuffer(This, &_StubMsg);
99 NdrProxySendReceive(This, &_StubMsg);
101 if ( (_RpcMessage.DataRepresentation & 0X0000FFFFUL) != NDR_LOCAL_DATA_REPRESENTATION )
102 NdrConvert( (PMIDL_STUB_MESSAGE) &_StubMsg, (PFORMAT_STRING) &__MIDL_ProcFormatString.Format[0] );
104 *pctinfo = *(( UINT __RPC_FAR * )_StubMsg.Buffer)++;
106 _RetVal = *(( HRESULT __RPC_FAR * )_StubMsg.Buffer)++;
109 RpcFinally
111 NdrProxyFreeBuffer(This, &_StubMsg);
114 RpcEndFinally
117 RpcExcept(_StubMsg.dwStubPhase != PROXY_SENDRECEIVE)
119 NdrClearOutParameters(
120 ( PMIDL_STUB_MESSAGE )&_StubMsg,
121 ( PFORMAT_STRING )&__MIDL_TypeFormatString.Format[2],
122 ( void __RPC_FAR * )pctinfo);
123 _RetVal = NdrProxyErrorHandler(RpcExceptionCode());
125 RpcEndExcept
126 return _RetVal;
129 void __RPC_STUB IDispatch_GetTypeInfoCount_Stub(
130 IRpcStubBuffer *This,
131 IRpcChannelBuffer *_pRpcChannelBuffer,
132 PRPC_MESSAGE _pRpcMessage,
133 DWORD *_pdwStubPhase)
135 UINT _M0;
136 HRESULT _RetVal;
137 MIDL_STUB_MESSAGE _StubMsg;
138 UINT __RPC_FAR *pctinfo;
140 NdrStubInitialize(
141 _pRpcMessage,
142 &_StubMsg,
143 &Object_StubDesc,
144 _pRpcChannelBuffer);
145 ( UINT __RPC_FAR * )pctinfo = 0;
146 RpcTryFinally
148 pctinfo = &_M0;
150 *_pdwStubPhase = STUB_CALL_SERVER;
151 _RetVal = (((IDispatch*) ((CStdStubBuffer *)This)->pvServerObject)->lpVtbl) -> GetTypeInfoCount((IDispatch *) ((CStdStubBuffer *)This)->pvServerObject,pctinfo);
153 *_pdwStubPhase = STUB_MARSHAL;
155 _StubMsg.BufferLength = 4U + 4U;
156 NdrStubGetBuffer(This, _pRpcChannelBuffer, &_StubMsg);
157 *(( UINT __RPC_FAR * )_StubMsg.Buffer)++ = *pctinfo;
159 *(( HRESULT __RPC_FAR * )_StubMsg.Buffer)++ = _RetVal;
162 RpcFinally
165 RpcEndFinally
166 _pRpcMessage->BufferLength =
167 (unsigned int)((long)_StubMsg.Buffer - (long)_pRpcMessage->Buffer);
172 HRESULT STDMETHODCALLTYPE IDispatch_GetTypeInfo_Proxy(
173 IDispatch __RPC_FAR * This,
174 /* [in] */ UINT iTInfo,
175 /* [in] */ LCID lcid,
176 /* [out] */ ITypeInfo __RPC_FAR *__RPC_FAR *ppTInfo)
179 HRESULT _RetVal;
181 RPC_MESSAGE _RpcMessage;
183 MIDL_STUB_MESSAGE _StubMsg;
185 if(ppTInfo)
187 MIDL_memset(
188 ppTInfo,
190 sizeof( ITypeInfo __RPC_FAR *__RPC_FAR * ));
192 RpcTryExcept
194 NdrProxyInitialize(
195 ( void __RPC_FAR * )This,
196 ( PRPC_MESSAGE )&_RpcMessage,
197 ( PMIDL_STUB_MESSAGE )&_StubMsg,
198 ( PMIDL_STUB_DESC )&Object_StubDesc,
203 if(!ppTInfo)
205 RpcRaiseException(RPC_X_NULL_REF_POINTER);
207 RpcTryFinally
210 _StubMsg.BufferLength = 4U + 4U;
211 NdrProxyGetBuffer(This, &_StubMsg);
212 *(( UINT __RPC_FAR * )_StubMsg.Buffer)++ = iTInfo;
214 *(( LCID __RPC_FAR * )_StubMsg.Buffer)++ = lcid;
216 NdrProxySendReceive(This, &_StubMsg);
218 if ( (_RpcMessage.DataRepresentation & 0X0000FFFFUL) != NDR_LOCAL_DATA_REPRESENTATION )
219 NdrConvert( (PMIDL_STUB_MESSAGE) &_StubMsg, (PFORMAT_STRING) &__MIDL_ProcFormatString.Format[6] );
221 NdrPointerUnmarshall( (PMIDL_STUB_MESSAGE) &_StubMsg,
222 (unsigned char __RPC_FAR * __RPC_FAR *)&ppTInfo,
223 (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[6],
224 (unsigned char)0 );
226 _StubMsg.Buffer = (unsigned char __RPC_FAR *)(((long)_StubMsg.Buffer + 3) & ~ 0x3);
227 _RetVal = *(( HRESULT __RPC_FAR * )_StubMsg.Buffer)++;
230 RpcFinally
232 NdrProxyFreeBuffer(This, &_StubMsg);
235 RpcEndFinally
238 RpcExcept(_StubMsg.dwStubPhase != PROXY_SENDRECEIVE)
240 NdrClearOutParameters(
241 ( PMIDL_STUB_MESSAGE )&_StubMsg,
242 ( PFORMAT_STRING )&__MIDL_TypeFormatString.Format[6],
243 ( void __RPC_FAR * )ppTInfo);
244 _RetVal = NdrProxyErrorHandler(RpcExceptionCode());
246 RpcEndExcept
247 return _RetVal;
250 void __RPC_STUB IDispatch_GetTypeInfo_Stub(
251 IRpcStubBuffer *This,
252 IRpcChannelBuffer *_pRpcChannelBuffer,
253 PRPC_MESSAGE _pRpcMessage,
254 DWORD *_pdwStubPhase)
256 ITypeInfo __RPC_FAR *_M1;
257 HRESULT _RetVal;
258 MIDL_STUB_MESSAGE _StubMsg;
259 UINT iTInfo;
260 LCID lcid;
261 ITypeInfo __RPC_FAR *__RPC_FAR *ppTInfo;
263 NdrStubInitialize(
264 _pRpcMessage,
265 &_StubMsg,
266 &Object_StubDesc,
267 _pRpcChannelBuffer);
268 ( ITypeInfo __RPC_FAR *__RPC_FAR * )ppTInfo = 0;
269 RpcTryFinally
271 if ( (_pRpcMessage->DataRepresentation & 0X0000FFFFUL) != NDR_LOCAL_DATA_REPRESENTATION )
272 NdrConvert( (PMIDL_STUB_MESSAGE) &_StubMsg, (PFORMAT_STRING) &__MIDL_ProcFormatString.Format[6] );
274 iTInfo = *(( UINT __RPC_FAR * )_StubMsg.Buffer)++;
276 lcid = *(( LCID __RPC_FAR * )_StubMsg.Buffer)++;
278 ppTInfo = &_M1;
279 _M1 = 0;
281 *_pdwStubPhase = STUB_CALL_SERVER;
282 _RetVal = (((IDispatch*) ((CStdStubBuffer *)This)->pvServerObject)->lpVtbl) -> GetTypeInfo(
283 (IDispatch *) ((CStdStubBuffer *)This)->pvServerObject,
284 iTInfo,
285 lcid,
286 ppTInfo);
288 *_pdwStubPhase = STUB_MARSHAL;
290 _StubMsg.BufferLength = 0U + 4U;
291 NdrPointerBufferSize( (PMIDL_STUB_MESSAGE) &_StubMsg,
292 (unsigned char __RPC_FAR *)ppTInfo,
293 (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[6] );
295 _StubMsg.BufferLength += 16;
297 NdrStubGetBuffer(This, _pRpcChannelBuffer, &_StubMsg);
298 NdrPointerMarshall( (PMIDL_STUB_MESSAGE)& _StubMsg,
299 (unsigned char __RPC_FAR *)ppTInfo,
300 (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[6] );
302 _StubMsg.Buffer = (unsigned char __RPC_FAR *)(((long)_StubMsg.Buffer + 3) & ~ 0x3);
303 *(( HRESULT __RPC_FAR * )_StubMsg.Buffer)++ = _RetVal;
306 RpcFinally
308 NdrPointerFree( &_StubMsg,
309 (unsigned char __RPC_FAR *)ppTInfo,
310 &__MIDL_TypeFormatString.Format[6] );
313 RpcEndFinally
314 _pRpcMessage->BufferLength =
315 (unsigned int)((long)_StubMsg.Buffer - (long)_pRpcMessage->Buffer);
320 HRESULT STDMETHODCALLTYPE IDispatch_GetIDsOfNames_Proxy(
321 IDispatch __RPC_FAR * This,
322 /* [in] */ REFIID riid,
323 /* [size_is][in] */ LPOLESTR __RPC_FAR *rgszNames,
324 /* [in] */ UINT cNames,
325 /* [in] */ LCID lcid,
326 /* [size_is][out] */ DISPID __RPC_FAR *rgDispId)
329 HRESULT _RetVal;
331 RPC_MESSAGE _RpcMessage;
333 MIDL_STUB_MESSAGE _StubMsg;
335 RpcTryExcept
337 NdrProxyInitialize(
338 ( void __RPC_FAR * )This,
339 ( PRPC_MESSAGE )&_RpcMessage,
340 ( PMIDL_STUB_MESSAGE )&_StubMsg,
341 ( PMIDL_STUB_DESC )&Object_StubDesc,
346 if(!riid)
348 RpcRaiseException(RPC_X_NULL_REF_POINTER);
350 if(!rgszNames)
352 RpcRaiseException(RPC_X_NULL_REF_POINTER);
354 if(!rgDispId)
356 RpcRaiseException(RPC_X_NULL_REF_POINTER);
358 RpcTryFinally
361 _StubMsg.BufferLength = 0U + 7U + 7U + 7U;
362 NdrSimpleStructBufferSize( (PMIDL_STUB_MESSAGE) &_StubMsg,
363 (unsigned char __RPC_FAR *)riid,
364 (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[38] );
366 _StubMsg.MaxCount = cNames;
368 NdrConformantArrayBufferSize( (PMIDL_STUB_MESSAGE) &_StubMsg,
369 (unsigned char __RPC_FAR *)rgszNames,
370 (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[54] );
372 NdrProxyGetBuffer(This, &_StubMsg);
373 NdrSimpleStructMarshall( (PMIDL_STUB_MESSAGE)& _StubMsg,
374 (unsigned char __RPC_FAR *)riid,
375 (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[38] );
377 _StubMsg.MaxCount = cNames;
379 NdrConformantArrayMarshall( (PMIDL_STUB_MESSAGE)& _StubMsg,
380 (unsigned char __RPC_FAR *)rgszNames,
381 (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[54] );
383 _StubMsg.Buffer = (unsigned char __RPC_FAR *)(((long)_StubMsg.Buffer + 3) & ~ 0x3);
384 *(( UINT __RPC_FAR * )_StubMsg.Buffer)++ = cNames;
386 *(( LCID __RPC_FAR * )_StubMsg.Buffer)++ = lcid;
388 NdrProxySendReceive(This, &_StubMsg);
390 if ( (_RpcMessage.DataRepresentation & 0X0000FFFFUL) != NDR_LOCAL_DATA_REPRESENTATION )
391 NdrConvert( (PMIDL_STUB_MESSAGE) &_StubMsg, (PFORMAT_STRING) &__MIDL_ProcFormatString.Format[16] );
393 NdrConformantArrayUnmarshall( (PMIDL_STUB_MESSAGE) &_StubMsg,
394 (unsigned char __RPC_FAR * __RPC_FAR *)&rgDispId,
395 (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[88],
396 (unsigned char)0 );
398 _RetVal = *(( HRESULT __RPC_FAR * )_StubMsg.Buffer)++;
401 RpcFinally
403 NdrProxyFreeBuffer(This, &_StubMsg);
406 RpcEndFinally
409 RpcExcept(_StubMsg.dwStubPhase != PROXY_SENDRECEIVE)
411 _StubMsg.MaxCount = cNames;
413 NdrClearOutParameters(
414 ( PMIDL_STUB_MESSAGE )&_StubMsg,
415 ( PFORMAT_STRING )&__MIDL_TypeFormatString.Format[84],
416 ( void __RPC_FAR * )rgDispId);
417 _RetVal = NdrProxyErrorHandler(RpcExceptionCode());
419 RpcEndExcept
420 return _RetVal;
423 void __RPC_STUB IDispatch_GetIDsOfNames_Stub(
424 IRpcStubBuffer *This,
425 IRpcChannelBuffer *_pRpcChannelBuffer,
426 PRPC_MESSAGE _pRpcMessage,
427 DWORD *_pdwStubPhase)
429 HRESULT _RetVal;
430 MIDL_STUB_MESSAGE _StubMsg;
431 UINT cNames;
432 LCID lcid;
433 DISPID __RPC_FAR *rgDispId;
434 LPOLESTR __RPC_FAR *rgszNames;
435 REFIID riid = 0;
437 NdrStubInitialize(
438 _pRpcMessage,
439 &_StubMsg,
440 &Object_StubDesc,
441 _pRpcChannelBuffer);
442 ( LPOLESTR __RPC_FAR * )rgszNames = 0;
443 ( DISPID __RPC_FAR * )rgDispId = 0;
444 RpcTryFinally
446 if ( (_pRpcMessage->DataRepresentation & 0X0000FFFFUL) != NDR_LOCAL_DATA_REPRESENTATION )
447 NdrConvert( (PMIDL_STUB_MESSAGE) &_StubMsg, (PFORMAT_STRING) &__MIDL_ProcFormatString.Format[16] );
449 NdrSimpleStructUnmarshall( (PMIDL_STUB_MESSAGE) &_StubMsg,
450 (unsigned char __RPC_FAR * __RPC_FAR *)&riid,
451 (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[38],
452 (unsigned char)0 );
454 NdrConformantArrayUnmarshall( (PMIDL_STUB_MESSAGE) &_StubMsg,
455 (unsigned char __RPC_FAR * __RPC_FAR *)&rgszNames,
456 (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[54],
457 (unsigned char)0 );
459 _StubMsg.Buffer = (unsigned char __RPC_FAR *)(((long)_StubMsg.Buffer + 3) & ~ 0x3);
460 cNames = *(( UINT __RPC_FAR * )_StubMsg.Buffer)++;
462 lcid = *(( LCID __RPC_FAR * )_StubMsg.Buffer)++;
464 rgDispId = NdrAllocate(&_StubMsg,cNames * 4);
466 *_pdwStubPhase = STUB_CALL_SERVER;
467 _RetVal = (((IDispatch*) ((CStdStubBuffer *)This)->pvServerObject)->lpVtbl) -> GetIDsOfNames(
468 (IDispatch *) ((CStdStubBuffer *)This)->pvServerObject,
469 riid,
470 rgszNames,
471 cNames,
472 lcid,
473 rgDispId);
475 *_pdwStubPhase = STUB_MARSHAL;
477 _StubMsg.BufferLength = 4U + 7U;
478 _StubMsg.MaxCount = cNames;
480 NdrConformantArrayBufferSize( (PMIDL_STUB_MESSAGE) &_StubMsg,
481 (unsigned char __RPC_FAR *)rgDispId,
482 (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[88] );
484 _StubMsg.BufferLength += 16;
486 NdrStubGetBuffer(This, _pRpcChannelBuffer, &_StubMsg);
487 _StubMsg.MaxCount = cNames;
489 NdrConformantArrayMarshall( (PMIDL_STUB_MESSAGE)& _StubMsg,
490 (unsigned char __RPC_FAR *)rgDispId,
491 (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[88] );
493 *(( HRESULT __RPC_FAR * )_StubMsg.Buffer)++ = _RetVal;
496 RpcFinally
498 _StubMsg.MaxCount = cNames;
500 NdrPointerFree( &_StubMsg,
501 (unsigned char __RPC_FAR *)rgszNames,
502 &__MIDL_TypeFormatString.Format[50] );
504 if ( rgDispId )
505 _StubMsg.pfnFree( rgDispId );
508 RpcEndFinally
509 _pRpcMessage->BufferLength =
510 (unsigned int)((long)_StubMsg.Buffer - (long)_pRpcMessage->Buffer);
515 /* [call_as] */ HRESULT STDMETHODCALLTYPE IDispatch_RemoteInvoke_Proxy(
516 IDispatch __RPC_FAR * This,
517 /* [in] */ DISPID dispIdMember,
518 /* [in] */ REFIID riid,
519 /* [in] */ LCID lcid,
520 /* [in] */ DWORD dwFlags,
521 /* [in] */ DISPPARAMS __RPC_FAR *pDispParams,
522 /* [out] */ VARIANT __RPC_FAR *pVarResult,
523 /* [out] */ EXCEPINFO __RPC_FAR *pExcepInfo,
524 /* [out] */ UINT __RPC_FAR *pArgErr,
525 /* [in] */ UINT cVarRef,
526 /* [size_is][in] */ UINT __RPC_FAR *rgVarRefIdx,
527 /* [size_is][out][in] */ VARIANTARG __RPC_FAR *rgVarRef)
530 HRESULT _RetVal;
532 RPC_MESSAGE _RpcMessage;
534 MIDL_STUB_MESSAGE _StubMsg;
536 if(pVarResult)
538 MIDL_memset(
539 pVarResult,
541 sizeof( VARIANT ));
543 if(pExcepInfo)
545 MIDL_memset(
546 pExcepInfo,
548 sizeof( EXCEPINFO ));
550 RpcTryExcept
552 NdrProxyInitialize(
553 ( void __RPC_FAR * )This,
554 ( PRPC_MESSAGE )&_RpcMessage,
555 ( PMIDL_STUB_MESSAGE )&_StubMsg,
556 ( PMIDL_STUB_DESC )&Object_StubDesc,
561 if(!riid)
563 RpcRaiseException(RPC_X_NULL_REF_POINTER);
565 if(!pDispParams)
567 RpcRaiseException(RPC_X_NULL_REF_POINTER);
569 if(!pVarResult)
571 RpcRaiseException(RPC_X_NULL_REF_POINTER);
573 if(!pExcepInfo)
575 RpcRaiseException(RPC_X_NULL_REF_POINTER);
577 if(!pArgErr)
579 RpcRaiseException(RPC_X_NULL_REF_POINTER);
581 if(!rgVarRefIdx)
583 RpcRaiseException(RPC_X_NULL_REF_POINTER);
585 if(!rgVarRef)
587 RpcRaiseException(RPC_X_NULL_REF_POINTER);
589 RpcTryFinally
592 _StubMsg.BufferLength = 4U + 4U + 11U + 7U + 4U + 11U + 7U + 7U;
593 NdrSimpleStructBufferSize( (PMIDL_STUB_MESSAGE) &_StubMsg,
594 (unsigned char __RPC_FAR *)riid,
595 (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[38] );
597 NdrComplexStructBufferSize( (PMIDL_STUB_MESSAGE) &_StubMsg,
598 (unsigned char __RPC_FAR *)pDispParams,
599 (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[1080] );
601 _StubMsg.MaxCount = cVarRef;
603 NdrConformantArrayBufferSize( (PMIDL_STUB_MESSAGE) &_StubMsg,
604 (unsigned char __RPC_FAR *)rgVarRefIdx,
605 (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[1170] );
607 _StubMsg.MaxCount = cVarRef;
609 NdrComplexArrayBufferSize( (PMIDL_STUB_MESSAGE) &_StubMsg,
610 (unsigned char __RPC_FAR *)rgVarRef,
611 (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[1184] );
613 NdrProxyGetBuffer(This, &_StubMsg);
614 *(( DISPID __RPC_FAR * )_StubMsg.Buffer)++ = dispIdMember;
616 NdrSimpleStructMarshall( (PMIDL_STUB_MESSAGE)& _StubMsg,
617 (unsigned char __RPC_FAR *)riid,
618 (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[38] );
620 *(( LCID __RPC_FAR * )_StubMsg.Buffer)++ = lcid;
622 *(( DWORD __RPC_FAR * )_StubMsg.Buffer)++ = dwFlags;
624 NdrComplexStructMarshall( (PMIDL_STUB_MESSAGE)& _StubMsg,
625 (unsigned char __RPC_FAR *)pDispParams,
626 (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[1080] );
628 _StubMsg.Buffer = (unsigned char __RPC_FAR *)(((long)_StubMsg.Buffer + 3) & ~ 0x3);
629 *(( UINT __RPC_FAR * )_StubMsg.Buffer)++ = cVarRef;
631 _StubMsg.MaxCount = cVarRef;
633 NdrConformantArrayMarshall( (PMIDL_STUB_MESSAGE)& _StubMsg,
634 (unsigned char __RPC_FAR *)rgVarRefIdx,
635 (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[1170] );
637 _StubMsg.MaxCount = cVarRef;
639 NdrComplexArrayMarshall( (PMIDL_STUB_MESSAGE)& _StubMsg,
640 (unsigned char __RPC_FAR *)rgVarRef,
641 (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[1184] );
643 NdrProxySendReceive(This, &_StubMsg);
645 if ( (_RpcMessage.DataRepresentation & 0X0000FFFFUL) != NDR_LOCAL_DATA_REPRESENTATION )
646 NdrConvert( (PMIDL_STUB_MESSAGE) &_StubMsg, (PFORMAT_STRING) &__MIDL_ProcFormatString.Format[34] );
648 NdrUserMarshalUnmarshall( (PMIDL_STUB_MESSAGE) &_StubMsg,
649 (unsigned char __RPC_FAR * __RPC_FAR *)&pVarResult,
650 (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[1110],
651 (unsigned char)0 );
653 NdrComplexStructUnmarshall( (PMIDL_STUB_MESSAGE) &_StubMsg,
654 (unsigned char __RPC_FAR * __RPC_FAR *)&pExcepInfo,
655 (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[1138],
656 (unsigned char)0 );
658 _StubMsg.Buffer = (unsigned char __RPC_FAR *)(((long)_StubMsg.Buffer + 3) & ~ 0x3);
659 *pArgErr = *(( UINT __RPC_FAR * )_StubMsg.Buffer)++;
661 NdrComplexArrayUnmarshall( (PMIDL_STUB_MESSAGE) &_StubMsg,
662 (unsigned char __RPC_FAR * __RPC_FAR *)&rgVarRef,
663 (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[1184],
664 (unsigned char)0 );
666 _StubMsg.Buffer = (unsigned char __RPC_FAR *)(((long)_StubMsg.Buffer + 3) & ~ 0x3);
667 _RetVal = *(( HRESULT __RPC_FAR * )_StubMsg.Buffer)++;
670 RpcFinally
672 NdrProxyFreeBuffer(This, &_StubMsg);
675 RpcEndFinally
678 RpcExcept(_StubMsg.dwStubPhase != PROXY_SENDRECEIVE)
680 NdrClearOutParameters(
681 ( PMIDL_STUB_MESSAGE )&_StubMsg,
682 ( PFORMAT_STRING )&__MIDL_TypeFormatString.Format[1102],
683 ( void __RPC_FAR * )pVarResult);
684 NdrClearOutParameters(
685 ( PMIDL_STUB_MESSAGE )&_StubMsg,
686 ( PFORMAT_STRING )&__MIDL_TypeFormatString.Format[1120],
687 ( void __RPC_FAR * )pExcepInfo);
688 NdrClearOutParameters(
689 ( PMIDL_STUB_MESSAGE )&_StubMsg,
690 ( PFORMAT_STRING )&__MIDL_TypeFormatString.Format[2],
691 ( void __RPC_FAR * )pArgErr);
692 _StubMsg.MaxCount = cVarRef;
694 NdrClearOutParameters(
695 ( PMIDL_STUB_MESSAGE )&_StubMsg,
696 ( PFORMAT_STRING )&__MIDL_TypeFormatString.Format[1180],
697 ( void __RPC_FAR * )rgVarRef);
698 _RetVal = NdrProxyErrorHandler(RpcExceptionCode());
700 RpcEndExcept
701 return _RetVal;
704 void __RPC_STUB IDispatch_RemoteInvoke_Stub(
705 IRpcStubBuffer *This,
706 IRpcChannelBuffer *_pRpcChannelBuffer,
707 PRPC_MESSAGE _pRpcMessage,
708 DWORD *_pdwStubPhase)
710 VARIANT _M6;
711 UINT _M7;
712 HRESULT _RetVal;
713 MIDL_STUB_MESSAGE _StubMsg;
714 EXCEPINFO _pExcepInfoM;
715 UINT cVarRef;
716 DISPID dispIdMember;
717 DWORD dwFlags;
718 LCID lcid;
719 UINT __RPC_FAR *pArgErr;
720 DISPPARAMS __RPC_FAR *pDispParams;
721 EXCEPINFO __RPC_FAR *pExcepInfo;
722 VARIANT __RPC_FAR *pVarResult;
723 VARIANTARG __RPC_FAR *rgVarRef;
724 UINT __RPC_FAR *rgVarRefIdx;
725 REFIID riid = 0;
727 NdrStubInitialize(
728 _pRpcMessage,
729 &_StubMsg,
730 &Object_StubDesc,
731 _pRpcChannelBuffer);
732 ( DISPPARAMS __RPC_FAR * )pDispParams = 0;
733 ( VARIANT __RPC_FAR * )pVarResult = 0;
734 ( EXCEPINFO __RPC_FAR * )pExcepInfo = 0;
735 ( UINT __RPC_FAR * )pArgErr = 0;
736 ( UINT __RPC_FAR * )rgVarRefIdx = 0;
737 ( VARIANTARG __RPC_FAR * )rgVarRef = 0;
738 RpcTryFinally
740 if ( (_pRpcMessage->DataRepresentation & 0X0000FFFFUL) != NDR_LOCAL_DATA_REPRESENTATION )
741 NdrConvert( (PMIDL_STUB_MESSAGE) &_StubMsg, (PFORMAT_STRING) &__MIDL_ProcFormatString.Format[34] );
743 dispIdMember = *(( DISPID __RPC_FAR * )_StubMsg.Buffer)++;
745 NdrSimpleStructUnmarshall( (PMIDL_STUB_MESSAGE) &_StubMsg,
746 (unsigned char __RPC_FAR * __RPC_FAR *)&riid,
747 (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[38],
748 (unsigned char)0 );
750 lcid = *(( LCID __RPC_FAR * )_StubMsg.Buffer)++;
752 dwFlags = *(( DWORD __RPC_FAR * )_StubMsg.Buffer)++;
754 NdrComplexStructUnmarshall( (PMIDL_STUB_MESSAGE) &_StubMsg,
755 (unsigned char __RPC_FAR * __RPC_FAR *)&pDispParams,
756 (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[1080],
757 (unsigned char)0 );
759 _StubMsg.Buffer = (unsigned char __RPC_FAR *)(((long)_StubMsg.Buffer + 3) & ~ 0x3);
760 cVarRef = *(( UINT __RPC_FAR * )_StubMsg.Buffer)++;
762 NdrConformantArrayUnmarshall( (PMIDL_STUB_MESSAGE) &_StubMsg,
763 (unsigned char __RPC_FAR * __RPC_FAR *)&rgVarRefIdx,
764 (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[1170],
765 (unsigned char)0 );
767 NdrComplexArrayUnmarshall( (PMIDL_STUB_MESSAGE) &_StubMsg,
768 (unsigned char __RPC_FAR * __RPC_FAR *)&rgVarRef,
769 (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[1184],
770 (unsigned char)0 );
772 pVarResult = &_M6;
773 MIDL_memset(
774 pVarResult,
776 sizeof( VARIANT ));
777 pExcepInfo = &_pExcepInfoM;
778 pArgErr = &_M7;
780 *_pdwStubPhase = STUB_CALL_SERVER;
783 _RetVal = IDispatch_Invoke_Stub(
784 (IDispatch *) ((CStdStubBuffer *)This)->pvServerObject,
785 dispIdMember,
786 riid,
787 lcid,
788 dwFlags,
789 pDispParams,
790 pVarResult,
791 pExcepInfo,
792 pArgErr,
793 cVarRef,
794 rgVarRefIdx,
795 rgVarRef);
797 *_pdwStubPhase = STUB_MARSHAL;
799 _StubMsg.BufferLength = 8U + 7U + 11U + 7U + 7U;
800 NdrUserMarshalBufferSize( (PMIDL_STUB_MESSAGE) &_StubMsg,
801 (unsigned char __RPC_FAR *)pVarResult,
802 (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[1110] );
804 NdrComplexStructBufferSize( (PMIDL_STUB_MESSAGE) &_StubMsg,
805 (unsigned char __RPC_FAR *)pExcepInfo,
806 (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[1138] );
808 _StubMsg.MaxCount = cVarRef;
810 NdrComplexArrayBufferSize( (PMIDL_STUB_MESSAGE) &_StubMsg,
811 (unsigned char __RPC_FAR *)rgVarRef,
812 (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[1184] );
814 _StubMsg.BufferLength += 16;
816 NdrStubGetBuffer(This, _pRpcChannelBuffer, &_StubMsg);
817 NdrUserMarshalMarshall( (PMIDL_STUB_MESSAGE)& _StubMsg,
818 (unsigned char __RPC_FAR *)pVarResult,
819 (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[1110] );
821 NdrComplexStructMarshall( (PMIDL_STUB_MESSAGE)& _StubMsg,
822 (unsigned char __RPC_FAR *)pExcepInfo,
823 (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[1138] );
825 _StubMsg.Buffer = (unsigned char __RPC_FAR *)(((long)_StubMsg.Buffer + 3) & ~ 0x3);
826 *(( UINT __RPC_FAR * )_StubMsg.Buffer)++ = *pArgErr;
828 _StubMsg.MaxCount = cVarRef;
830 NdrComplexArrayMarshall( (PMIDL_STUB_MESSAGE)& _StubMsg,
831 (unsigned char __RPC_FAR *)rgVarRef,
832 (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[1184] );
834 _StubMsg.Buffer = (unsigned char __RPC_FAR *)(((long)_StubMsg.Buffer + 3) & ~ 0x3);
835 *(( HRESULT __RPC_FAR * )_StubMsg.Buffer)++ = _RetVal;
838 RpcFinally
840 NdrPointerFree( &_StubMsg,
841 (unsigned char __RPC_FAR *)pDispParams,
842 &__MIDL_TypeFormatString.Format[98] );
844 NdrPointerFree( &_StubMsg,
845 (unsigned char __RPC_FAR *)pVarResult,
846 &__MIDL_TypeFormatString.Format[1102] );
848 NdrPointerFree( &_StubMsg,
849 (unsigned char __RPC_FAR *)pExcepInfo,
850 &__MIDL_TypeFormatString.Format[1120] );
852 _StubMsg.MaxCount = cVarRef;
854 NdrPointerFree( &_StubMsg,
855 (unsigned char __RPC_FAR *)rgVarRef,
856 &__MIDL_TypeFormatString.Format[1180] );
859 RpcEndFinally
860 _pRpcMessage->BufferLength =
861 (unsigned int)((long)_StubMsg.Buffer - (long)_pRpcMessage->Buffer);
865 const CINTERFACE_PROXY_VTABLE(7) _IDispatchProxyVtbl =
867 { &IID_IDispatch },
869 IUnknown_QueryInterface_Proxy,
870 IUnknown_AddRef_Proxy,
871 IUnknown_Release_Proxy ,
872 IDispatch_GetTypeInfoCount_Proxy ,
873 IDispatch_GetTypeInfo_Proxy ,
874 IDispatch_GetIDsOfNames_Proxy ,
875 IDispatch_Invoke_Proxy
880 static const PRPC_STUB_FUNCTION IDispatch_table[] =
882 IDispatch_GetTypeInfoCount_Stub,
883 IDispatch_GetTypeInfo_Stub,
884 IDispatch_GetIDsOfNames_Stub,
885 IDispatch_RemoteInvoke_Stub
888 const CInterfaceStubVtbl _IDispatchStubVtbl =
891 &IID_IDispatch,
894 &IDispatch_table[-3]
896 { CStdStubBuffer_METHODS }
900 /* Object interface: IEnumVARIANT, ver. 0.0,
901 GUID={0x00020404,0x0000,0x0000,{0xC0,0x00,0x00,0x00,0x00,0x00,0x00,0x46}} */
904 extern const MIDL_STUB_DESC Object_StubDesc;
907 /* [call_as] */ HRESULT STDMETHODCALLTYPE IEnumVARIANT_RemoteNext_Proxy(
908 IEnumVARIANT __RPC_FAR * This,
909 /* [in] */ ULONG celt,
910 /* [length_is][size_is][out] */ VARIANT __RPC_FAR *rgVar,
911 /* [out] */ ULONG __RPC_FAR *pCeltFetched)
914 HRESULT _RetVal;
916 RPC_MESSAGE _RpcMessage;
918 MIDL_STUB_MESSAGE _StubMsg;
920 if(rgVar)
922 MIDL_memset(
923 rgVar,
925 celt * sizeof( VARIANT ));
927 RpcTryExcept
929 NdrProxyInitialize(
930 ( void __RPC_FAR * )This,
931 ( PRPC_MESSAGE )&_RpcMessage,
932 ( PMIDL_STUB_MESSAGE )&_StubMsg,
933 ( PMIDL_STUB_DESC )&Object_StubDesc,
938 if(!rgVar)
940 RpcRaiseException(RPC_X_NULL_REF_POINTER);
942 if(!pCeltFetched)
944 RpcRaiseException(RPC_X_NULL_REF_POINTER);
946 RpcTryFinally
949 _StubMsg.BufferLength = 4U;
950 NdrProxyGetBuffer(This, &_StubMsg);
951 *(( ULONG __RPC_FAR * )_StubMsg.Buffer)++ = celt;
953 NdrProxySendReceive(This, &_StubMsg);
955 if ( (_RpcMessage.DataRepresentation & 0X0000FFFFUL) != NDR_LOCAL_DATA_REPRESENTATION )
956 NdrConvert( (PMIDL_STUB_MESSAGE) &_StubMsg, (PFORMAT_STRING) &__MIDL_ProcFormatString.Format[72] );
958 NdrComplexArrayUnmarshall( (PMIDL_STUB_MESSAGE) &_StubMsg,
959 (unsigned char __RPC_FAR * __RPC_FAR *)&rgVar,
960 (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[1206],
961 (unsigned char)0 );
963 _StubMsg.Buffer = (unsigned char __RPC_FAR *)(((long)_StubMsg.Buffer + 3) & ~ 0x3);
964 *pCeltFetched = *(( ULONG __RPC_FAR * )_StubMsg.Buffer)++;
966 _RetVal = *(( HRESULT __RPC_FAR * )_StubMsg.Buffer)++;
969 RpcFinally
971 NdrProxyFreeBuffer(This, &_StubMsg);
974 RpcEndFinally
977 RpcExcept(_StubMsg.dwStubPhase != PROXY_SENDRECEIVE)
979 _StubMsg.MaxCount = celt;
980 _StubMsg.Offset = 0;
981 _StubMsg.ActualCount = _StubMsg.MaxCount;
983 NdrClearOutParameters(
984 ( PMIDL_STUB_MESSAGE )&_StubMsg,
985 ( PFORMAT_STRING )&__MIDL_TypeFormatString.Format[1202],
986 ( void __RPC_FAR * )rgVar);
987 NdrClearOutParameters(
988 ( PMIDL_STUB_MESSAGE )&_StubMsg,
989 ( PFORMAT_STRING )&__MIDL_TypeFormatString.Format[2],
990 ( void __RPC_FAR * )pCeltFetched);
991 _RetVal = NdrProxyErrorHandler(RpcExceptionCode());
993 RpcEndExcept
994 return _RetVal;
997 void __RPC_STUB IEnumVARIANT_RemoteNext_Stub(
998 IRpcStubBuffer *This,
999 IRpcChannelBuffer *_pRpcChannelBuffer,
1000 PRPC_MESSAGE _pRpcMessage,
1001 DWORD *_pdwStubPhase)
1003 ULONG _M11;
1004 HRESULT _RetVal;
1005 MIDL_STUB_MESSAGE _StubMsg;
1006 ULONG celt;
1007 ULONG __RPC_FAR *pCeltFetched;
1008 VARIANT __RPC_FAR *rgVar;
1010 NdrStubInitialize(
1011 _pRpcMessage,
1012 &_StubMsg,
1013 &Object_StubDesc,
1014 _pRpcChannelBuffer);
1015 ( VARIANT __RPC_FAR * )rgVar = 0;
1016 ( ULONG __RPC_FAR * )pCeltFetched = 0;
1017 RpcTryFinally
1019 if ( (_pRpcMessage->DataRepresentation & 0X0000FFFFUL) != NDR_LOCAL_DATA_REPRESENTATION )
1020 NdrConvert( (PMIDL_STUB_MESSAGE) &_StubMsg, (PFORMAT_STRING) &__MIDL_ProcFormatString.Format[72] );
1022 celt = *(( ULONG __RPC_FAR * )_StubMsg.Buffer)++;
1024 rgVar = NdrAllocate(&_StubMsg,celt * 16);
1025 pCeltFetched = &_M11;
1027 *_pdwStubPhase = STUB_CALL_SERVER;
1030 _RetVal = IEnumVARIANT_Next_Stub(
1031 (IEnumVARIANT *) ((CStdStubBuffer *)This)->pvServerObject,
1032 celt,
1033 rgVar,
1034 pCeltFetched);
1036 *_pdwStubPhase = STUB_MARSHAL;
1038 _StubMsg.BufferLength = 12U + 7U + 7U;
1039 _StubMsg.MaxCount = celt;
1040 _StubMsg.Offset = 0;
1041 _StubMsg.ActualCount = pCeltFetched ? *pCeltFetched : 0;
1043 NdrComplexArrayBufferSize( (PMIDL_STUB_MESSAGE) &_StubMsg,
1044 (unsigned char __RPC_FAR *)rgVar,
1045 (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[1206] );
1047 _StubMsg.BufferLength += 16;
1049 NdrStubGetBuffer(This, _pRpcChannelBuffer, &_StubMsg);
1050 _StubMsg.MaxCount = celt;
1051 _StubMsg.Offset = 0;
1052 _StubMsg.ActualCount = pCeltFetched ? *pCeltFetched : 0;
1054 NdrComplexArrayMarshall( (PMIDL_STUB_MESSAGE)& _StubMsg,
1055 (unsigned char __RPC_FAR *)rgVar,
1056 (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[1206] );
1058 _StubMsg.Buffer = (unsigned char __RPC_FAR *)(((long)_StubMsg.Buffer + 3) & ~ 0x3);
1059 *(( ULONG __RPC_FAR * )_StubMsg.Buffer)++ = *pCeltFetched;
1061 *(( HRESULT __RPC_FAR * )_StubMsg.Buffer)++ = _RetVal;
1064 RpcFinally
1066 _StubMsg.MaxCount = celt;
1067 _StubMsg.Offset = 0;
1068 _StubMsg.ActualCount = pCeltFetched ? *pCeltFetched : 0;
1070 NdrPointerFree( &_StubMsg,
1071 (unsigned char __RPC_FAR *)rgVar,
1072 &__MIDL_TypeFormatString.Format[1202] );
1075 RpcEndFinally
1076 _pRpcMessage->BufferLength =
1077 (unsigned int)((long)_StubMsg.Buffer - (long)_pRpcMessage->Buffer);
1082 HRESULT STDMETHODCALLTYPE IEnumVARIANT_Skip_Proxy(
1083 IEnumVARIANT __RPC_FAR * This,
1084 /* [in] */ ULONG celt)
1087 HRESULT _RetVal;
1089 RPC_MESSAGE _RpcMessage;
1091 MIDL_STUB_MESSAGE _StubMsg;
1093 RpcTryExcept
1095 NdrProxyInitialize(
1096 ( void __RPC_FAR * )This,
1097 ( PRPC_MESSAGE )&_RpcMessage,
1098 ( PMIDL_STUB_MESSAGE )&_StubMsg,
1099 ( PMIDL_STUB_DESC )&Object_StubDesc,
1104 RpcTryFinally
1107 _StubMsg.BufferLength = 4U;
1108 NdrProxyGetBuffer(This, &_StubMsg);
1109 *(( ULONG __RPC_FAR * )_StubMsg.Buffer)++ = celt;
1111 NdrProxySendReceive(This, &_StubMsg);
1113 if ( (_RpcMessage.DataRepresentation & 0X0000FFFFUL) != NDR_LOCAL_DATA_REPRESENTATION )
1114 NdrConvert( (PMIDL_STUB_MESSAGE) &_StubMsg, (PFORMAT_STRING) &__MIDL_ProcFormatString.Format[84] );
1116 _RetVal = *(( HRESULT __RPC_FAR * )_StubMsg.Buffer)++;
1119 RpcFinally
1121 NdrProxyFreeBuffer(This, &_StubMsg);
1124 RpcEndFinally
1127 RpcExcept(_StubMsg.dwStubPhase != PROXY_SENDRECEIVE)
1129 _RetVal = NdrProxyErrorHandler(RpcExceptionCode());
1131 RpcEndExcept
1132 return _RetVal;
1135 void __RPC_STUB IEnumVARIANT_Skip_Stub(
1136 IRpcStubBuffer *This,
1137 IRpcChannelBuffer *_pRpcChannelBuffer,
1138 PRPC_MESSAGE _pRpcMessage,
1139 DWORD *_pdwStubPhase)
1141 HRESULT _RetVal;
1142 MIDL_STUB_MESSAGE _StubMsg;
1143 ULONG celt;
1145 NdrStubInitialize(
1146 _pRpcMessage,
1147 &_StubMsg,
1148 &Object_StubDesc,
1149 _pRpcChannelBuffer);
1150 RpcTryFinally
1152 if ( (_pRpcMessage->DataRepresentation & 0X0000FFFFUL) != NDR_LOCAL_DATA_REPRESENTATION )
1153 NdrConvert( (PMIDL_STUB_MESSAGE) &_StubMsg, (PFORMAT_STRING) &__MIDL_ProcFormatString.Format[84] );
1155 celt = *(( ULONG __RPC_FAR * )_StubMsg.Buffer)++;
1158 *_pdwStubPhase = STUB_CALL_SERVER;
1159 _RetVal = (((IEnumVARIANT*) ((CStdStubBuffer *)This)->pvServerObject)->lpVtbl) -> Skip((IEnumVARIANT *) ((CStdStubBuffer *)This)->pvServerObject,celt);
1161 *_pdwStubPhase = STUB_MARSHAL;
1163 _StubMsg.BufferLength = 4U;
1164 NdrStubGetBuffer(This, _pRpcChannelBuffer, &_StubMsg);
1165 *(( HRESULT __RPC_FAR * )_StubMsg.Buffer)++ = _RetVal;
1168 RpcFinally
1171 RpcEndFinally
1172 _pRpcMessage->BufferLength =
1173 (unsigned int)((long)_StubMsg.Buffer - (long)_pRpcMessage->Buffer);
1178 HRESULT STDMETHODCALLTYPE IEnumVARIANT_Reset_Proxy(
1179 IEnumVARIANT __RPC_FAR * This)
1182 HRESULT _RetVal;
1184 RPC_MESSAGE _RpcMessage;
1186 MIDL_STUB_MESSAGE _StubMsg;
1188 RpcTryExcept
1190 NdrProxyInitialize(
1191 ( void __RPC_FAR * )This,
1192 ( PRPC_MESSAGE )&_RpcMessage,
1193 ( PMIDL_STUB_MESSAGE )&_StubMsg,
1194 ( PMIDL_STUB_DESC )&Object_StubDesc,
1199 RpcTryFinally
1202 _StubMsg.BufferLength = 0U;
1203 NdrProxyGetBuffer(This, &_StubMsg);
1204 NdrProxySendReceive(This, &_StubMsg);
1206 if ( (_RpcMessage.DataRepresentation & 0X0000FFFFUL) != NDR_LOCAL_DATA_REPRESENTATION )
1207 NdrConvert( (PMIDL_STUB_MESSAGE) &_StubMsg, (PFORMAT_STRING) &__MIDL_ProcFormatString.Format[88] );
1209 _RetVal = *(( HRESULT __RPC_FAR * )_StubMsg.Buffer)++;
1212 RpcFinally
1214 NdrProxyFreeBuffer(This, &_StubMsg);
1217 RpcEndFinally
1220 RpcExcept(_StubMsg.dwStubPhase != PROXY_SENDRECEIVE)
1222 _RetVal = NdrProxyErrorHandler(RpcExceptionCode());
1224 RpcEndExcept
1225 return _RetVal;
1228 void __RPC_STUB IEnumVARIANT_Reset_Stub(
1229 IRpcStubBuffer *This,
1230 IRpcChannelBuffer *_pRpcChannelBuffer,
1231 PRPC_MESSAGE _pRpcMessage,
1232 DWORD *_pdwStubPhase)
1234 HRESULT _RetVal;
1235 MIDL_STUB_MESSAGE _StubMsg;
1237 NdrStubInitialize(
1238 _pRpcMessage,
1239 &_StubMsg,
1240 &Object_StubDesc,
1241 _pRpcChannelBuffer);
1242 RpcTryFinally
1245 *_pdwStubPhase = STUB_CALL_SERVER;
1246 _RetVal = (((IEnumVARIANT*) ((CStdStubBuffer *)This)->pvServerObject)->lpVtbl) -> Reset((IEnumVARIANT *) ((CStdStubBuffer *)This)->pvServerObject);
1248 *_pdwStubPhase = STUB_MARSHAL;
1250 _StubMsg.BufferLength = 4U;
1251 NdrStubGetBuffer(This, _pRpcChannelBuffer, &_StubMsg);
1252 *(( HRESULT __RPC_FAR * )_StubMsg.Buffer)++ = _RetVal;
1255 RpcFinally
1258 RpcEndFinally
1259 _pRpcMessage->BufferLength =
1260 (unsigned int)((long)_StubMsg.Buffer - (long)_pRpcMessage->Buffer);
1265 HRESULT STDMETHODCALLTYPE IEnumVARIANT_Clone_Proxy(
1266 IEnumVARIANT __RPC_FAR * This,
1267 /* [out] */ IEnumVARIANT __RPC_FAR *__RPC_FAR *ppEnum)
1270 HRESULT _RetVal;
1272 RPC_MESSAGE _RpcMessage;
1274 MIDL_STUB_MESSAGE _StubMsg;
1276 if(ppEnum)
1278 MIDL_memset(
1279 ppEnum,
1281 sizeof( IEnumVARIANT __RPC_FAR *__RPC_FAR * ));
1283 RpcTryExcept
1285 NdrProxyInitialize(
1286 ( void __RPC_FAR * )This,
1287 ( PRPC_MESSAGE )&_RpcMessage,
1288 ( PMIDL_STUB_MESSAGE )&_StubMsg,
1289 ( PMIDL_STUB_DESC )&Object_StubDesc,
1294 if(!ppEnum)
1296 RpcRaiseException(RPC_X_NULL_REF_POINTER);
1298 RpcTryFinally
1301 _StubMsg.BufferLength = 0U;
1302 NdrProxyGetBuffer(This, &_StubMsg);
1303 NdrProxySendReceive(This, &_StubMsg);
1305 if ( (_RpcMessage.DataRepresentation & 0X0000FFFFUL) != NDR_LOCAL_DATA_REPRESENTATION )
1306 NdrConvert( (PMIDL_STUB_MESSAGE) &_StubMsg, (PFORMAT_STRING) &__MIDL_ProcFormatString.Format[90] );
1308 NdrPointerUnmarshall( (PMIDL_STUB_MESSAGE) &_StubMsg,
1309 (unsigned char __RPC_FAR * __RPC_FAR *)&ppEnum,
1310 (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[1224],
1311 (unsigned char)0 );
1313 _StubMsg.Buffer = (unsigned char __RPC_FAR *)(((long)_StubMsg.Buffer + 3) & ~ 0x3);
1314 _RetVal = *(( HRESULT __RPC_FAR * )_StubMsg.Buffer)++;
1317 RpcFinally
1319 NdrProxyFreeBuffer(This, &_StubMsg);
1322 RpcEndFinally
1325 RpcExcept(_StubMsg.dwStubPhase != PROXY_SENDRECEIVE)
1327 NdrClearOutParameters(
1328 ( PMIDL_STUB_MESSAGE )&_StubMsg,
1329 ( PFORMAT_STRING )&__MIDL_TypeFormatString.Format[1224],
1330 ( void __RPC_FAR * )ppEnum);
1331 _RetVal = NdrProxyErrorHandler(RpcExceptionCode());
1333 RpcEndExcept
1334 return _RetVal;
1337 void __RPC_STUB IEnumVARIANT_Clone_Stub(
1338 IRpcStubBuffer *This,
1339 IRpcChannelBuffer *_pRpcChannelBuffer,
1340 PRPC_MESSAGE _pRpcMessage,
1341 DWORD *_pdwStubPhase)
1343 IEnumVARIANT __RPC_FAR *_M12;
1344 HRESULT _RetVal;
1345 MIDL_STUB_MESSAGE _StubMsg;
1346 IEnumVARIANT __RPC_FAR *__RPC_FAR *ppEnum;
1348 NdrStubInitialize(
1349 _pRpcMessage,
1350 &_StubMsg,
1351 &Object_StubDesc,
1352 _pRpcChannelBuffer);
1353 ( IEnumVARIANT __RPC_FAR *__RPC_FAR * )ppEnum = 0;
1354 RpcTryFinally
1356 ppEnum = &_M12;
1357 _M12 = 0;
1359 *_pdwStubPhase = STUB_CALL_SERVER;
1360 _RetVal = (((IEnumVARIANT*) ((CStdStubBuffer *)This)->pvServerObject)->lpVtbl) -> Clone((IEnumVARIANT *) ((CStdStubBuffer *)This)->pvServerObject,ppEnum);
1362 *_pdwStubPhase = STUB_MARSHAL;
1364 _StubMsg.BufferLength = 0U + 4U;
1365 NdrPointerBufferSize( (PMIDL_STUB_MESSAGE) &_StubMsg,
1366 (unsigned char __RPC_FAR *)ppEnum,
1367 (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[1224] );
1369 _StubMsg.BufferLength += 16;
1371 NdrStubGetBuffer(This, _pRpcChannelBuffer, &_StubMsg);
1372 NdrPointerMarshall( (PMIDL_STUB_MESSAGE)& _StubMsg,
1373 (unsigned char __RPC_FAR *)ppEnum,
1374 (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[1224] );
1376 _StubMsg.Buffer = (unsigned char __RPC_FAR *)(((long)_StubMsg.Buffer + 3) & ~ 0x3);
1377 *(( HRESULT __RPC_FAR * )_StubMsg.Buffer)++ = _RetVal;
1380 RpcFinally
1382 NdrPointerFree( &_StubMsg,
1383 (unsigned char __RPC_FAR *)ppEnum,
1384 &__MIDL_TypeFormatString.Format[1224] );
1387 RpcEndFinally
1388 _pRpcMessage->BufferLength =
1389 (unsigned int)((long)_StubMsg.Buffer - (long)_pRpcMessage->Buffer);
1393 const CINTERFACE_PROXY_VTABLE(7) _IEnumVARIANTProxyVtbl =
1395 { &IID_IEnumVARIANT },
1397 IUnknown_QueryInterface_Proxy,
1398 IUnknown_AddRef_Proxy,
1399 IUnknown_Release_Proxy ,
1400 IEnumVARIANT_Next_Proxy ,
1401 IEnumVARIANT_Skip_Proxy ,
1402 IEnumVARIANT_Reset_Proxy ,
1403 IEnumVARIANT_Clone_Proxy
1408 static const PRPC_STUB_FUNCTION IEnumVARIANT_table[] =
1410 IEnumVARIANT_RemoteNext_Stub,
1411 IEnumVARIANT_Skip_Stub,
1412 IEnumVARIANT_Reset_Stub,
1413 IEnumVARIANT_Clone_Stub
1416 const CInterfaceStubVtbl _IEnumVARIANTStubVtbl =
1419 &IID_IEnumVARIANT,
1422 &IEnumVARIANT_table[-3]
1424 { CStdStubBuffer_METHODS }
1428 /* Object interface: ITypeComp, ver. 0.0,
1429 GUID={0x00020403,0x0000,0x0000,{0xC0,0x00,0x00,0x00,0x00,0x00,0x00,0x46}} */
1432 extern const MIDL_STUB_DESC Object_StubDesc;
1435 /* [call_as] */ HRESULT STDMETHODCALLTYPE ITypeComp_RemoteBind_Proxy(
1436 ITypeComp __RPC_FAR * This,
1437 /* [in] */ LPOLESTR szName,
1438 /* [in] */ ULONG lHashVal,
1439 /* [in] */ WORD wFlags,
1440 /* [out] */ ITypeInfo __RPC_FAR *__RPC_FAR *ppTInfo,
1441 /* [out] */ DESCKIND __RPC_FAR *pDescKind,
1442 /* [out] */ LPFUNCDESC __RPC_FAR *ppFuncDesc,
1443 /* [out] */ LPVARDESC __RPC_FAR *ppVarDesc,
1444 /* [out] */ ITypeComp __RPC_FAR *__RPC_FAR *ppTypeComp,
1445 /* [out] */ CLEANLOCALSTORAGE __RPC_FAR *pDummy)
1448 HRESULT _RetVal;
1450 RPC_MESSAGE _RpcMessage;
1452 MIDL_STUB_MESSAGE _StubMsg;
1454 if(ppTInfo)
1456 MIDL_memset(
1457 ppTInfo,
1459 sizeof( ITypeInfo __RPC_FAR *__RPC_FAR * ));
1461 if(ppFuncDesc)
1463 *ppFuncDesc = 0;
1465 if(ppVarDesc)
1467 *ppVarDesc = 0;
1469 if(ppTypeComp)
1471 MIDL_memset(
1472 ppTypeComp,
1474 sizeof( ITypeComp __RPC_FAR *__RPC_FAR * ));
1476 if(pDummy)
1478 MIDL_memset(
1479 pDummy,
1481 sizeof( CLEANLOCALSTORAGE ));
1483 RpcTryExcept
1485 NdrProxyInitialize(
1486 ( void __RPC_FAR * )This,
1487 ( PRPC_MESSAGE )&_RpcMessage,
1488 ( PMIDL_STUB_MESSAGE )&_StubMsg,
1489 ( PMIDL_STUB_DESC )&Object_StubDesc,
1494 if(!szName)
1496 RpcRaiseException(RPC_X_NULL_REF_POINTER);
1498 if(!ppTInfo)
1500 RpcRaiseException(RPC_X_NULL_REF_POINTER);
1502 if(!pDescKind)
1504 RpcRaiseException(RPC_X_NULL_REF_POINTER);
1506 if(!ppFuncDesc)
1508 RpcRaiseException(RPC_X_NULL_REF_POINTER);
1510 if(!ppVarDesc)
1512 RpcRaiseException(RPC_X_NULL_REF_POINTER);
1514 if(!ppTypeComp)
1516 RpcRaiseException(RPC_X_NULL_REF_POINTER);
1518 if(!pDummy)
1520 RpcRaiseException(RPC_X_NULL_REF_POINTER);
1522 RpcTryFinally
1525 _StubMsg.BufferLength = 12U + 10U + 4U;
1526 NdrConformantStringBufferSize( (PMIDL_STUB_MESSAGE) &_StubMsg,
1527 (unsigned char __RPC_FAR *)szName,
1528 (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[1248] );
1530 NdrProxyGetBuffer(This, &_StubMsg);
1531 NdrConformantStringMarshall( (PMIDL_STUB_MESSAGE)& _StubMsg,
1532 (unsigned char __RPC_FAR *)szName,
1533 (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[1248] );
1535 _StubMsg.Buffer = (unsigned char __RPC_FAR *)(((long)_StubMsg.Buffer + 3) & ~ 0x3);
1536 *(( ULONG __RPC_FAR * )_StubMsg.Buffer)++ = lHashVal;
1538 *(( WORD __RPC_FAR * )_StubMsg.Buffer)++ = wFlags;
1540 NdrProxySendReceive(This, &_StubMsg);
1542 if ( (_RpcMessage.DataRepresentation & 0X0000FFFFUL) != NDR_LOCAL_DATA_REPRESENTATION )
1543 NdrConvert( (PMIDL_STUB_MESSAGE) &_StubMsg, (PFORMAT_STRING) &__MIDL_ProcFormatString.Format[96] );
1545 NdrPointerUnmarshall( (PMIDL_STUB_MESSAGE) &_StubMsg,
1546 (unsigned char __RPC_FAR * __RPC_FAR *)&ppTInfo,
1547 (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[6],
1548 (unsigned char)0 );
1550 NdrPointerUnmarshall( (PMIDL_STUB_MESSAGE) &_StubMsg,
1551 (unsigned char __RPC_FAR * __RPC_FAR *)&pDescKind,
1552 (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[1250],
1553 (unsigned char)0 );
1555 NdrPointerUnmarshall( (PMIDL_STUB_MESSAGE) &_StubMsg,
1556 (unsigned char __RPC_FAR * __RPC_FAR *)&ppFuncDesc,
1557 (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[1254],
1558 (unsigned char)0 );
1560 NdrPointerUnmarshall( (PMIDL_STUB_MESSAGE) &_StubMsg,
1561 (unsigned char __RPC_FAR * __RPC_FAR *)&ppVarDesc,
1562 (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[1464],
1563 (unsigned char)0 );
1565 NdrPointerUnmarshall( (PMIDL_STUB_MESSAGE) &_StubMsg,
1566 (unsigned char __RPC_FAR * __RPC_FAR *)&ppTypeComp,
1567 (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[1540],
1568 (unsigned char)0 );
1570 NdrUserMarshalUnmarshall( (PMIDL_STUB_MESSAGE) &_StubMsg,
1571 (unsigned char __RPC_FAR * __RPC_FAR *)&pDummy,
1572 (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[1568],
1573 (unsigned char)0 );
1575 _StubMsg.Buffer = (unsigned char __RPC_FAR *)(((long)_StubMsg.Buffer + 3) & ~ 0x3);
1576 _RetVal = *(( HRESULT __RPC_FAR * )_StubMsg.Buffer)++;
1579 RpcFinally
1581 NdrProxyFreeBuffer(This, &_StubMsg);
1584 RpcEndFinally
1587 RpcExcept(_StubMsg.dwStubPhase != PROXY_SENDRECEIVE)
1589 NdrClearOutParameters(
1590 ( PMIDL_STUB_MESSAGE )&_StubMsg,
1591 ( PFORMAT_STRING )&__MIDL_TypeFormatString.Format[6],
1592 ( void __RPC_FAR * )ppTInfo);
1593 NdrClearOutParameters(
1594 ( PMIDL_STUB_MESSAGE )&_StubMsg,
1595 ( PFORMAT_STRING )&__MIDL_TypeFormatString.Format[1250],
1596 ( void __RPC_FAR * )pDescKind);
1597 NdrClearOutParameters(
1598 ( PMIDL_STUB_MESSAGE )&_StubMsg,
1599 ( PFORMAT_STRING )&__MIDL_TypeFormatString.Format[1254],
1600 ( void __RPC_FAR * )ppFuncDesc);
1601 NdrClearOutParameters(
1602 ( PMIDL_STUB_MESSAGE )&_StubMsg,
1603 ( PFORMAT_STRING )&__MIDL_TypeFormatString.Format[1464],
1604 ( void __RPC_FAR * )ppVarDesc);
1605 NdrClearOutParameters(
1606 ( PMIDL_STUB_MESSAGE )&_StubMsg,
1607 ( PFORMAT_STRING )&__MIDL_TypeFormatString.Format[1540],
1608 ( void __RPC_FAR * )ppTypeComp);
1609 NdrClearOutParameters(
1610 ( PMIDL_STUB_MESSAGE )&_StubMsg,
1611 ( PFORMAT_STRING )&__MIDL_TypeFormatString.Format[1562],
1612 ( void __RPC_FAR * )pDummy);
1613 _RetVal = NdrProxyErrorHandler(RpcExceptionCode());
1615 RpcEndExcept
1616 return _RetVal;
1619 void __RPC_STUB ITypeComp_RemoteBind_Stub(
1620 IRpcStubBuffer *This,
1621 IRpcChannelBuffer *_pRpcChannelBuffer,
1622 PRPC_MESSAGE _pRpcMessage,
1623 DWORD *_pdwStubPhase)
1625 ITypeInfo __RPC_FAR *_M15;
1626 DESCKIND _M16;
1627 LPFUNCDESC _M17;
1628 LPVARDESC _M18;
1629 ITypeComp __RPC_FAR *_M19;
1630 CLEANLOCALSTORAGE _M20;
1631 HRESULT _RetVal;
1632 MIDL_STUB_MESSAGE _StubMsg;
1633 ULONG lHashVal;
1634 DESCKIND __RPC_FAR *pDescKind;
1635 CLEANLOCALSTORAGE __RPC_FAR *pDummy;
1636 LPFUNCDESC __RPC_FAR *ppFuncDesc;
1637 ITypeInfo __RPC_FAR *__RPC_FAR *ppTInfo;
1638 ITypeComp __RPC_FAR *__RPC_FAR *ppTypeComp;
1639 LPVARDESC __RPC_FAR *ppVarDesc;
1640 LPOLESTR szName;
1641 WORD wFlags;
1643 NdrStubInitialize(
1644 _pRpcMessage,
1645 &_StubMsg,
1646 &Object_StubDesc,
1647 _pRpcChannelBuffer);
1648 ( LPOLESTR )szName = 0;
1649 ( ITypeInfo __RPC_FAR *__RPC_FAR * )ppTInfo = 0;
1650 ( DESCKIND __RPC_FAR * )pDescKind = 0;
1651 ( LPFUNCDESC __RPC_FAR * )ppFuncDesc = 0;
1652 ( LPVARDESC __RPC_FAR * )ppVarDesc = 0;
1653 ( ITypeComp __RPC_FAR *__RPC_FAR * )ppTypeComp = 0;
1654 ( CLEANLOCALSTORAGE __RPC_FAR * )pDummy = 0;
1655 RpcTryFinally
1657 if ( (_pRpcMessage->DataRepresentation & 0X0000FFFFUL) != NDR_LOCAL_DATA_REPRESENTATION )
1658 NdrConvert( (PMIDL_STUB_MESSAGE) &_StubMsg, (PFORMAT_STRING) &__MIDL_ProcFormatString.Format[96] );
1660 NdrConformantStringUnmarshall( (PMIDL_STUB_MESSAGE) &_StubMsg,
1661 (unsigned char __RPC_FAR * __RPC_FAR *)&szName,
1662 (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[1248],
1663 (unsigned char)0 );
1665 _StubMsg.Buffer = (unsigned char __RPC_FAR *)(((long)_StubMsg.Buffer + 3) & ~ 0x3);
1666 lHashVal = *(( ULONG __RPC_FAR * )_StubMsg.Buffer)++;
1668 wFlags = *(( WORD __RPC_FAR * )_StubMsg.Buffer)++;
1670 ppTInfo = &_M15;
1671 _M15 = 0;
1672 pDescKind = &_M16;
1673 ppFuncDesc = &_M17;
1674 _M17 = 0;
1675 ppVarDesc = &_M18;
1676 _M18 = 0;
1677 ppTypeComp = &_M19;
1678 _M19 = 0;
1679 pDummy = &_M20;
1680 MIDL_memset(
1681 pDummy,
1683 sizeof( CLEANLOCALSTORAGE ));
1685 *_pdwStubPhase = STUB_CALL_SERVER;
1688 _RetVal = ITypeComp_Bind_Stub(
1689 (ITypeComp *) ((CStdStubBuffer *)This)->pvServerObject,
1690 szName,
1691 lHashVal,
1692 wFlags,
1693 ppTInfo,
1694 pDescKind,
1695 ppFuncDesc,
1696 ppVarDesc,
1697 ppTypeComp,
1698 pDummy);
1700 *_pdwStubPhase = STUB_MARSHAL;
1702 _StubMsg.BufferLength = 0U + 4U + 4U + 15U + 0U + 11U + 7U;
1703 NdrPointerBufferSize( (PMIDL_STUB_MESSAGE) &_StubMsg,
1704 (unsigned char __RPC_FAR *)ppTInfo,
1705 (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[6] );
1707 NdrPointerBufferSize( (PMIDL_STUB_MESSAGE) &_StubMsg,
1708 (unsigned char __RPC_FAR *)ppFuncDesc,
1709 (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[1254] );
1711 NdrPointerBufferSize( (PMIDL_STUB_MESSAGE) &_StubMsg,
1712 (unsigned char __RPC_FAR *)ppVarDesc,
1713 (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[1464] );
1715 NdrPointerBufferSize( (PMIDL_STUB_MESSAGE) &_StubMsg,
1716 (unsigned char __RPC_FAR *)ppTypeComp,
1717 (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[1540] );
1719 _StubMsg.BufferLength += 16;
1721 NdrStubGetBuffer(This, _pRpcChannelBuffer, &_StubMsg);
1722 NdrPointerMarshall( (PMIDL_STUB_MESSAGE)& _StubMsg,
1723 (unsigned char __RPC_FAR *)ppTInfo,
1724 (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[6] );
1726 NdrPointerMarshall( (PMIDL_STUB_MESSAGE)& _StubMsg,
1727 (unsigned char __RPC_FAR *)pDescKind,
1728 (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[1250] );
1730 NdrPointerMarshall( (PMIDL_STUB_MESSAGE)& _StubMsg,
1731 (unsigned char __RPC_FAR *)ppFuncDesc,
1732 (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[1254] );
1734 NdrPointerMarshall( (PMIDL_STUB_MESSAGE)& _StubMsg,
1735 (unsigned char __RPC_FAR *)ppVarDesc,
1736 (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[1464] );
1738 NdrPointerMarshall( (PMIDL_STUB_MESSAGE)& _StubMsg,
1739 (unsigned char __RPC_FAR *)ppTypeComp,
1740 (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[1540] );
1742 NdrUserMarshalMarshall( (PMIDL_STUB_MESSAGE)& _StubMsg,
1743 (unsigned char __RPC_FAR *)pDummy,
1744 (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[1568] );
1746 _StubMsg.Buffer = (unsigned char __RPC_FAR *)(((long)_StubMsg.Buffer + 3) & ~ 0x3);
1747 *(( HRESULT __RPC_FAR * )_StubMsg.Buffer)++ = _RetVal;
1750 RpcFinally
1752 NdrPointerFree( &_StubMsg,
1753 (unsigned char __RPC_FAR *)ppTInfo,
1754 &__MIDL_TypeFormatString.Format[6] );
1756 NdrPointerFree( &_StubMsg,
1757 (unsigned char __RPC_FAR *)ppFuncDesc,
1758 &__MIDL_TypeFormatString.Format[1254] );
1760 NdrPointerFree( &_StubMsg,
1761 (unsigned char __RPC_FAR *)ppVarDesc,
1762 &__MIDL_TypeFormatString.Format[1464] );
1764 NdrPointerFree( &_StubMsg,
1765 (unsigned char __RPC_FAR *)ppTypeComp,
1766 &__MIDL_TypeFormatString.Format[1540] );
1768 NdrPointerFree( &_StubMsg,
1769 (unsigned char __RPC_FAR *)pDummy,
1770 &__MIDL_TypeFormatString.Format[1562] );
1773 RpcEndFinally
1774 _pRpcMessage->BufferLength =
1775 (unsigned int)((long)_StubMsg.Buffer - (long)_pRpcMessage->Buffer);
1780 /* [call_as] */ HRESULT STDMETHODCALLTYPE ITypeComp_RemoteBindType_Proxy(
1781 ITypeComp __RPC_FAR * This,
1782 /* [in] */ LPOLESTR szName,
1783 /* [in] */ ULONG lHashVal,
1784 /* [out] */ ITypeInfo __RPC_FAR *__RPC_FAR *ppTInfo)
1787 HRESULT _RetVal;
1789 RPC_MESSAGE _RpcMessage;
1791 MIDL_STUB_MESSAGE _StubMsg;
1793 if(ppTInfo)
1795 MIDL_memset(
1796 ppTInfo,
1798 sizeof( ITypeInfo __RPC_FAR *__RPC_FAR * ));
1800 RpcTryExcept
1802 NdrProxyInitialize(
1803 ( void __RPC_FAR * )This,
1804 ( PRPC_MESSAGE )&_RpcMessage,
1805 ( PMIDL_STUB_MESSAGE )&_StubMsg,
1806 ( PMIDL_STUB_DESC )&Object_StubDesc,
1811 if(!szName)
1813 RpcRaiseException(RPC_X_NULL_REF_POINTER);
1815 if(!ppTInfo)
1817 RpcRaiseException(RPC_X_NULL_REF_POINTER);
1819 RpcTryFinally
1822 _StubMsg.BufferLength = 12U + 10U;
1823 NdrConformantStringBufferSize( (PMIDL_STUB_MESSAGE) &_StubMsg,
1824 (unsigned char __RPC_FAR *)szName,
1825 (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[1248] );
1827 NdrProxyGetBuffer(This, &_StubMsg);
1828 NdrConformantStringMarshall( (PMIDL_STUB_MESSAGE)& _StubMsg,
1829 (unsigned char __RPC_FAR *)szName,
1830 (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[1248] );
1832 _StubMsg.Buffer = (unsigned char __RPC_FAR *)(((long)_StubMsg.Buffer + 3) & ~ 0x3);
1833 *(( ULONG __RPC_FAR * )_StubMsg.Buffer)++ = lHashVal;
1835 NdrProxySendReceive(This, &_StubMsg);
1837 if ( (_RpcMessage.DataRepresentation & 0X0000FFFFUL) != NDR_LOCAL_DATA_REPRESENTATION )
1838 NdrConvert( (PMIDL_STUB_MESSAGE) &_StubMsg, (PFORMAT_STRING) &__MIDL_ProcFormatString.Format[130] );
1840 NdrPointerUnmarshall( (PMIDL_STUB_MESSAGE) &_StubMsg,
1841 (unsigned char __RPC_FAR * __RPC_FAR *)&ppTInfo,
1842 (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[6],
1843 (unsigned char)0 );
1845 _StubMsg.Buffer = (unsigned char __RPC_FAR *)(((long)_StubMsg.Buffer + 3) & ~ 0x3);
1846 _RetVal = *(( HRESULT __RPC_FAR * )_StubMsg.Buffer)++;
1849 RpcFinally
1851 NdrProxyFreeBuffer(This, &_StubMsg);
1854 RpcEndFinally
1857 RpcExcept(_StubMsg.dwStubPhase != PROXY_SENDRECEIVE)
1859 NdrClearOutParameters(
1860 ( PMIDL_STUB_MESSAGE )&_StubMsg,
1861 ( PFORMAT_STRING )&__MIDL_TypeFormatString.Format[6],
1862 ( void __RPC_FAR * )ppTInfo);
1863 _RetVal = NdrProxyErrorHandler(RpcExceptionCode());
1865 RpcEndExcept
1866 return _RetVal;
1869 void __RPC_STUB ITypeComp_RemoteBindType_Stub(
1870 IRpcStubBuffer *This,
1871 IRpcChannelBuffer *_pRpcChannelBuffer,
1872 PRPC_MESSAGE _pRpcMessage,
1873 DWORD *_pdwStubPhase)
1875 ITypeInfo __RPC_FAR *_M23;
1876 HRESULT _RetVal;
1877 MIDL_STUB_MESSAGE _StubMsg;
1878 ULONG lHashVal;
1879 ITypeInfo __RPC_FAR *__RPC_FAR *ppTInfo;
1880 LPOLESTR szName;
1882 NdrStubInitialize(
1883 _pRpcMessage,
1884 &_StubMsg,
1885 &Object_StubDesc,
1886 _pRpcChannelBuffer);
1887 ( LPOLESTR )szName = 0;
1888 ( ITypeInfo __RPC_FAR *__RPC_FAR * )ppTInfo = 0;
1889 RpcTryFinally
1891 if ( (_pRpcMessage->DataRepresentation & 0X0000FFFFUL) != NDR_LOCAL_DATA_REPRESENTATION )
1892 NdrConvert( (PMIDL_STUB_MESSAGE) &_StubMsg, (PFORMAT_STRING) &__MIDL_ProcFormatString.Format[130] );
1894 NdrConformantStringUnmarshall( (PMIDL_STUB_MESSAGE) &_StubMsg,
1895 (unsigned char __RPC_FAR * __RPC_FAR *)&szName,
1896 (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[1248],
1897 (unsigned char)0 );
1899 _StubMsg.Buffer = (unsigned char __RPC_FAR *)(((long)_StubMsg.Buffer + 3) & ~ 0x3);
1900 lHashVal = *(( ULONG __RPC_FAR * )_StubMsg.Buffer)++;
1902 ppTInfo = &_M23;
1903 _M23 = 0;
1905 *_pdwStubPhase = STUB_CALL_SERVER;
1908 _RetVal = ITypeComp_BindType_Stub(
1909 (ITypeComp *) ((CStdStubBuffer *)This)->pvServerObject,
1910 szName,
1911 lHashVal,
1912 ppTInfo);
1914 *_pdwStubPhase = STUB_MARSHAL;
1916 _StubMsg.BufferLength = 0U + 4U;
1917 NdrPointerBufferSize( (PMIDL_STUB_MESSAGE) &_StubMsg,
1918 (unsigned char __RPC_FAR *)ppTInfo,
1919 (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[6] );
1921 _StubMsg.BufferLength += 16;
1923 NdrStubGetBuffer(This, _pRpcChannelBuffer, &_StubMsg);
1924 NdrPointerMarshall( (PMIDL_STUB_MESSAGE)& _StubMsg,
1925 (unsigned char __RPC_FAR *)ppTInfo,
1926 (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[6] );
1928 _StubMsg.Buffer = (unsigned char __RPC_FAR *)(((long)_StubMsg.Buffer + 3) & ~ 0x3);
1929 *(( HRESULT __RPC_FAR * )_StubMsg.Buffer)++ = _RetVal;
1932 RpcFinally
1934 NdrPointerFree( &_StubMsg,
1935 (unsigned char __RPC_FAR *)ppTInfo,
1936 &__MIDL_TypeFormatString.Format[6] );
1939 RpcEndFinally
1940 _pRpcMessage->BufferLength =
1941 (unsigned int)((long)_StubMsg.Buffer - (long)_pRpcMessage->Buffer);
1945 const CINTERFACE_PROXY_VTABLE(5) _ITypeCompProxyVtbl =
1947 { &IID_ITypeComp },
1949 IUnknown_QueryInterface_Proxy,
1950 IUnknown_AddRef_Proxy,
1951 IUnknown_Release_Proxy ,
1952 ITypeComp_Bind_Proxy ,
1953 ITypeComp_BindType_Proxy
1958 static const PRPC_STUB_FUNCTION ITypeComp_table[] =
1960 ITypeComp_RemoteBind_Stub,
1961 ITypeComp_RemoteBindType_Stub
1964 const CInterfaceStubVtbl _ITypeCompStubVtbl =
1967 &IID_ITypeComp,
1970 &ITypeComp_table[-3]
1972 { CStdStubBuffer_METHODS }
1976 /* Object interface: ITypeInfo, ver. 0.0,
1977 GUID={0x00020401,0x0000,0x0000,{0xC0,0x00,0x00,0x00,0x00,0x00,0x00,0x46}} */
1980 extern const MIDL_STUB_DESC Object_StubDesc;
1983 /* [call_as] */ HRESULT STDMETHODCALLTYPE ITypeInfo_RemoteGetTypeAttr_Proxy(
1984 ITypeInfo __RPC_FAR * This,
1985 /* [out] */ LPTYPEATTR __RPC_FAR *ppTypeAttr,
1986 /* [out] */ CLEANLOCALSTORAGE __RPC_FAR *pDummy)
1989 HRESULT _RetVal;
1991 RPC_MESSAGE _RpcMessage;
1993 MIDL_STUB_MESSAGE _StubMsg;
1995 if(ppTypeAttr)
1997 *ppTypeAttr = 0;
1999 if(pDummy)
2001 MIDL_memset(
2002 pDummy,
2004 sizeof( CLEANLOCALSTORAGE ));
2006 RpcTryExcept
2008 NdrProxyInitialize(
2009 ( void __RPC_FAR * )This,
2010 ( PRPC_MESSAGE )&_RpcMessage,
2011 ( PMIDL_STUB_MESSAGE )&_StubMsg,
2012 ( PMIDL_STUB_DESC )&Object_StubDesc,
2017 if(!ppTypeAttr)
2019 RpcRaiseException(RPC_X_NULL_REF_POINTER);
2021 if(!pDummy)
2023 RpcRaiseException(RPC_X_NULL_REF_POINTER);
2025 RpcTryFinally
2028 _StubMsg.BufferLength = 0U;
2029 NdrProxyGetBuffer(This, &_StubMsg);
2030 NdrProxySendReceive(This, &_StubMsg);
2032 if ( (_RpcMessage.DataRepresentation & 0X0000FFFFUL) != NDR_LOCAL_DATA_REPRESENTATION )
2033 NdrConvert( (PMIDL_STUB_MESSAGE) &_StubMsg, (PFORMAT_STRING) &__MIDL_ProcFormatString.Format[142] );
2035 NdrPointerUnmarshall( (PMIDL_STUB_MESSAGE) &_StubMsg,
2036 (unsigned char __RPC_FAR * __RPC_FAR *)&ppTypeAttr,
2037 (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[1578],
2038 (unsigned char)0 );
2040 NdrUserMarshalUnmarshall( (PMIDL_STUB_MESSAGE) &_StubMsg,
2041 (unsigned char __RPC_FAR * __RPC_FAR *)&pDummy,
2042 (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[1644],
2043 (unsigned char)0 );
2045 _StubMsg.Buffer = (unsigned char __RPC_FAR *)(((long)_StubMsg.Buffer + 3) & ~ 0x3);
2046 _RetVal = *(( HRESULT __RPC_FAR * )_StubMsg.Buffer)++;
2049 RpcFinally
2051 NdrProxyFreeBuffer(This, &_StubMsg);
2054 RpcEndFinally
2057 RpcExcept(_StubMsg.dwStubPhase != PROXY_SENDRECEIVE)
2059 NdrClearOutParameters(
2060 ( PMIDL_STUB_MESSAGE )&_StubMsg,
2061 ( PFORMAT_STRING )&__MIDL_TypeFormatString.Format[1578],
2062 ( void __RPC_FAR * )ppTypeAttr);
2063 NdrClearOutParameters(
2064 ( PMIDL_STUB_MESSAGE )&_StubMsg,
2065 ( PFORMAT_STRING )&__MIDL_TypeFormatString.Format[1638],
2066 ( void __RPC_FAR * )pDummy);
2067 _RetVal = NdrProxyErrorHandler(RpcExceptionCode());
2069 RpcEndExcept
2070 return _RetVal;
2073 void __RPC_STUB ITypeInfo_RemoteGetTypeAttr_Stub(
2074 IRpcStubBuffer *This,
2075 IRpcChannelBuffer *_pRpcChannelBuffer,
2076 PRPC_MESSAGE _pRpcMessage,
2077 DWORD *_pdwStubPhase)
2079 LPTYPEATTR _M24;
2080 CLEANLOCALSTORAGE _M25;
2081 HRESULT _RetVal;
2082 MIDL_STUB_MESSAGE _StubMsg;
2083 CLEANLOCALSTORAGE __RPC_FAR *pDummy;
2084 LPTYPEATTR __RPC_FAR *ppTypeAttr;
2086 NdrStubInitialize(
2087 _pRpcMessage,
2088 &_StubMsg,
2089 &Object_StubDesc,
2090 _pRpcChannelBuffer);
2091 ( LPTYPEATTR __RPC_FAR * )ppTypeAttr = 0;
2092 ( CLEANLOCALSTORAGE __RPC_FAR * )pDummy = 0;
2093 RpcTryFinally
2095 ppTypeAttr = &_M24;
2096 _M24 = 0;
2097 pDummy = &_M25;
2098 MIDL_memset(
2099 pDummy,
2101 sizeof( CLEANLOCALSTORAGE ));
2103 *_pdwStubPhase = STUB_CALL_SERVER;
2106 _RetVal = ITypeInfo_GetTypeAttr_Stub(
2107 (ITypeInfo *) ((CStdStubBuffer *)This)->pvServerObject,
2108 ppTypeAttr,
2109 pDummy);
2111 *_pdwStubPhase = STUB_MARSHAL;
2113 _StubMsg.BufferLength = 8U + 11U + 7U;
2114 NdrPointerBufferSize( (PMIDL_STUB_MESSAGE) &_StubMsg,
2115 (unsigned char __RPC_FAR *)ppTypeAttr,
2116 (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[1578] );
2118 _StubMsg.BufferLength += 16;
2120 NdrStubGetBuffer(This, _pRpcChannelBuffer, &_StubMsg);
2121 NdrPointerMarshall( (PMIDL_STUB_MESSAGE)& _StubMsg,
2122 (unsigned char __RPC_FAR *)ppTypeAttr,
2123 (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[1578] );
2125 NdrUserMarshalMarshall( (PMIDL_STUB_MESSAGE)& _StubMsg,
2126 (unsigned char __RPC_FAR *)pDummy,
2127 (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[1644] );
2129 _StubMsg.Buffer = (unsigned char __RPC_FAR *)(((long)_StubMsg.Buffer + 3) & ~ 0x3);
2130 *(( HRESULT __RPC_FAR * )_StubMsg.Buffer)++ = _RetVal;
2133 RpcFinally
2135 NdrPointerFree( &_StubMsg,
2136 (unsigned char __RPC_FAR *)ppTypeAttr,
2137 &__MIDL_TypeFormatString.Format[1578] );
2139 NdrPointerFree( &_StubMsg,
2140 (unsigned char __RPC_FAR *)pDummy,
2141 &__MIDL_TypeFormatString.Format[1638] );
2144 RpcEndFinally
2145 _pRpcMessage->BufferLength =
2146 (unsigned int)((long)_StubMsg.Buffer - (long)_pRpcMessage->Buffer);
2151 HRESULT STDMETHODCALLTYPE ITypeInfo_GetTypeComp_Proxy(
2152 ITypeInfo __RPC_FAR * This,
2153 /* [out] */ ITypeComp __RPC_FAR *__RPC_FAR *ppTComp)
2156 HRESULT _RetVal;
2158 RPC_MESSAGE _RpcMessage;
2160 MIDL_STUB_MESSAGE _StubMsg;
2162 if(ppTComp)
2164 MIDL_memset(
2165 ppTComp,
2167 sizeof( ITypeComp __RPC_FAR *__RPC_FAR * ));
2169 RpcTryExcept
2171 NdrProxyInitialize(
2172 ( void __RPC_FAR * )This,
2173 ( PRPC_MESSAGE )&_RpcMessage,
2174 ( PMIDL_STUB_MESSAGE )&_StubMsg,
2175 ( PMIDL_STUB_DESC )&Object_StubDesc,
2180 if(!ppTComp)
2182 RpcRaiseException(RPC_X_NULL_REF_POINTER);
2184 RpcTryFinally
2187 _StubMsg.BufferLength = 0U;
2188 NdrProxyGetBuffer(This, &_StubMsg);
2189 NdrProxySendReceive(This, &_StubMsg);
2191 if ( (_RpcMessage.DataRepresentation & 0X0000FFFFUL) != NDR_LOCAL_DATA_REPRESENTATION )
2192 NdrConvert( (PMIDL_STUB_MESSAGE) &_StubMsg, (PFORMAT_STRING) &__MIDL_ProcFormatString.Format[152] );
2194 NdrPointerUnmarshall( (PMIDL_STUB_MESSAGE) &_StubMsg,
2195 (unsigned char __RPC_FAR * __RPC_FAR *)&ppTComp,
2196 (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[1540],
2197 (unsigned char)0 );
2199 _StubMsg.Buffer = (unsigned char __RPC_FAR *)(((long)_StubMsg.Buffer + 3) & ~ 0x3);
2200 _RetVal = *(( HRESULT __RPC_FAR * )_StubMsg.Buffer)++;
2203 RpcFinally
2205 NdrProxyFreeBuffer(This, &_StubMsg);
2208 RpcEndFinally
2211 RpcExcept(_StubMsg.dwStubPhase != PROXY_SENDRECEIVE)
2213 NdrClearOutParameters(
2214 ( PMIDL_STUB_MESSAGE )&_StubMsg,
2215 ( PFORMAT_STRING )&__MIDL_TypeFormatString.Format[1540],
2216 ( void __RPC_FAR * )ppTComp);
2217 _RetVal = NdrProxyErrorHandler(RpcExceptionCode());
2219 RpcEndExcept
2220 return _RetVal;
2223 void __RPC_STUB ITypeInfo_GetTypeComp_Stub(
2224 IRpcStubBuffer *This,
2225 IRpcChannelBuffer *_pRpcChannelBuffer,
2226 PRPC_MESSAGE _pRpcMessage,
2227 DWORD *_pdwStubPhase)
2229 ITypeComp __RPC_FAR *_M26;
2230 HRESULT _RetVal;
2231 MIDL_STUB_MESSAGE _StubMsg;
2232 ITypeComp __RPC_FAR *__RPC_FAR *ppTComp;
2234 NdrStubInitialize(
2235 _pRpcMessage,
2236 &_StubMsg,
2237 &Object_StubDesc,
2238 _pRpcChannelBuffer);
2239 ( ITypeComp __RPC_FAR *__RPC_FAR * )ppTComp = 0;
2240 RpcTryFinally
2242 ppTComp = &_M26;
2243 _M26 = 0;
2245 *_pdwStubPhase = STUB_CALL_SERVER;
2246 _RetVal = (((ITypeInfo*) ((CStdStubBuffer *)This)->pvServerObject)->lpVtbl) -> GetTypeComp((ITypeInfo *) ((CStdStubBuffer *)This)->pvServerObject,ppTComp);
2248 *_pdwStubPhase = STUB_MARSHAL;
2250 _StubMsg.BufferLength = 0U + 4U;
2251 NdrPointerBufferSize( (PMIDL_STUB_MESSAGE) &_StubMsg,
2252 (unsigned char __RPC_FAR *)ppTComp,
2253 (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[1540] );
2255 _StubMsg.BufferLength += 16;
2257 NdrStubGetBuffer(This, _pRpcChannelBuffer, &_StubMsg);
2258 NdrPointerMarshall( (PMIDL_STUB_MESSAGE)& _StubMsg,
2259 (unsigned char __RPC_FAR *)ppTComp,
2260 (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[1540] );
2262 _StubMsg.Buffer = (unsigned char __RPC_FAR *)(((long)_StubMsg.Buffer + 3) & ~ 0x3);
2263 *(( HRESULT __RPC_FAR * )_StubMsg.Buffer)++ = _RetVal;
2266 RpcFinally
2268 NdrPointerFree( &_StubMsg,
2269 (unsigned char __RPC_FAR *)ppTComp,
2270 &__MIDL_TypeFormatString.Format[1540] );
2273 RpcEndFinally
2274 _pRpcMessage->BufferLength =
2275 (unsigned int)((long)_StubMsg.Buffer - (long)_pRpcMessage->Buffer);
2280 /* [call_as] */ HRESULT STDMETHODCALLTYPE ITypeInfo_RemoteGetFuncDesc_Proxy(
2281 ITypeInfo __RPC_FAR * This,
2282 /* [in] */ UINT index,
2283 /* [out] */ LPFUNCDESC __RPC_FAR *ppFuncDesc,
2284 /* [out] */ CLEANLOCALSTORAGE __RPC_FAR *pDummy)
2287 HRESULT _RetVal;
2289 RPC_MESSAGE _RpcMessage;
2291 MIDL_STUB_MESSAGE _StubMsg;
2293 if(ppFuncDesc)
2295 *ppFuncDesc = 0;
2297 if(pDummy)
2299 MIDL_memset(
2300 pDummy,
2302 sizeof( CLEANLOCALSTORAGE ));
2304 RpcTryExcept
2306 NdrProxyInitialize(
2307 ( void __RPC_FAR * )This,
2308 ( PRPC_MESSAGE )&_RpcMessage,
2309 ( PMIDL_STUB_MESSAGE )&_StubMsg,
2310 ( PMIDL_STUB_DESC )&Object_StubDesc,
2315 if(!ppFuncDesc)
2317 RpcRaiseException(RPC_X_NULL_REF_POINTER);
2319 if(!pDummy)
2321 RpcRaiseException(RPC_X_NULL_REF_POINTER);
2323 RpcTryFinally
2326 _StubMsg.BufferLength = 4U;
2327 NdrProxyGetBuffer(This, &_StubMsg);
2328 *(( UINT __RPC_FAR * )_StubMsg.Buffer)++ = index;
2330 NdrProxySendReceive(This, &_StubMsg);
2332 if ( (_RpcMessage.DataRepresentation & 0X0000FFFFUL) != NDR_LOCAL_DATA_REPRESENTATION )
2333 NdrConvert( (PMIDL_STUB_MESSAGE) &_StubMsg, (PFORMAT_STRING) &__MIDL_ProcFormatString.Format[158] );
2335 NdrPointerUnmarshall( (PMIDL_STUB_MESSAGE) &_StubMsg,
2336 (unsigned char __RPC_FAR * __RPC_FAR *)&ppFuncDesc,
2337 (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[1254],
2338 (unsigned char)0 );
2340 NdrUserMarshalUnmarshall( (PMIDL_STUB_MESSAGE) &_StubMsg,
2341 (unsigned char __RPC_FAR * __RPC_FAR *)&pDummy,
2342 (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[1660],
2343 (unsigned char)0 );
2345 _StubMsg.Buffer = (unsigned char __RPC_FAR *)(((long)_StubMsg.Buffer + 3) & ~ 0x3);
2346 _RetVal = *(( HRESULT __RPC_FAR * )_StubMsg.Buffer)++;
2349 RpcFinally
2351 NdrProxyFreeBuffer(This, &_StubMsg);
2354 RpcEndFinally
2357 RpcExcept(_StubMsg.dwStubPhase != PROXY_SENDRECEIVE)
2359 NdrClearOutParameters(
2360 ( PMIDL_STUB_MESSAGE )&_StubMsg,
2361 ( PFORMAT_STRING )&__MIDL_TypeFormatString.Format[1254],
2362 ( void __RPC_FAR * )ppFuncDesc);
2363 NdrClearOutParameters(
2364 ( PMIDL_STUB_MESSAGE )&_StubMsg,
2365 ( PFORMAT_STRING )&__MIDL_TypeFormatString.Format[1654],
2366 ( void __RPC_FAR * )pDummy);
2367 _RetVal = NdrProxyErrorHandler(RpcExceptionCode());
2369 RpcEndExcept
2370 return _RetVal;
2373 void __RPC_STUB ITypeInfo_RemoteGetFuncDesc_Stub(
2374 IRpcStubBuffer *This,
2375 IRpcChannelBuffer *_pRpcChannelBuffer,
2376 PRPC_MESSAGE _pRpcMessage,
2377 DWORD *_pdwStubPhase)
2379 LPFUNCDESC _M27;
2380 CLEANLOCALSTORAGE _M28;
2381 HRESULT _RetVal;
2382 MIDL_STUB_MESSAGE _StubMsg;
2383 UINT index;
2384 CLEANLOCALSTORAGE __RPC_FAR *pDummy;
2385 LPFUNCDESC __RPC_FAR *ppFuncDesc;
2387 NdrStubInitialize(
2388 _pRpcMessage,
2389 &_StubMsg,
2390 &Object_StubDesc,
2391 _pRpcChannelBuffer);
2392 ( LPFUNCDESC __RPC_FAR * )ppFuncDesc = 0;
2393 ( CLEANLOCALSTORAGE __RPC_FAR * )pDummy = 0;
2394 RpcTryFinally
2396 if ( (_pRpcMessage->DataRepresentation & 0X0000FFFFUL) != NDR_LOCAL_DATA_REPRESENTATION )
2397 NdrConvert( (PMIDL_STUB_MESSAGE) &_StubMsg, (PFORMAT_STRING) &__MIDL_ProcFormatString.Format[158] );
2399 index = *(( UINT __RPC_FAR * )_StubMsg.Buffer)++;
2401 ppFuncDesc = &_M27;
2402 _M27 = 0;
2403 pDummy = &_M28;
2404 MIDL_memset(
2405 pDummy,
2407 sizeof( CLEANLOCALSTORAGE ));
2409 *_pdwStubPhase = STUB_CALL_SERVER;
2412 _RetVal = ITypeInfo_GetFuncDesc_Stub(
2413 (ITypeInfo *) ((CStdStubBuffer *)This)->pvServerObject,
2414 index,
2415 ppFuncDesc,
2416 pDummy);
2418 *_pdwStubPhase = STUB_MARSHAL;
2420 _StubMsg.BufferLength = 8U + 11U + 7U;
2421 NdrPointerBufferSize( (PMIDL_STUB_MESSAGE) &_StubMsg,
2422 (unsigned char __RPC_FAR *)ppFuncDesc,
2423 (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[1254] );
2425 _StubMsg.BufferLength += 16;
2427 NdrStubGetBuffer(This, _pRpcChannelBuffer, &_StubMsg);
2428 NdrPointerMarshall( (PMIDL_STUB_MESSAGE)& _StubMsg,
2429 (unsigned char __RPC_FAR *)ppFuncDesc,
2430 (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[1254] );
2432 NdrUserMarshalMarshall( (PMIDL_STUB_MESSAGE)& _StubMsg,
2433 (unsigned char __RPC_FAR *)pDummy,
2434 (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[1660] );
2436 _StubMsg.Buffer = (unsigned char __RPC_FAR *)(((long)_StubMsg.Buffer + 3) & ~ 0x3);
2437 *(( HRESULT __RPC_FAR * )_StubMsg.Buffer)++ = _RetVal;
2440 RpcFinally
2442 NdrPointerFree( &_StubMsg,
2443 (unsigned char __RPC_FAR *)ppFuncDesc,
2444 &__MIDL_TypeFormatString.Format[1254] );
2446 NdrPointerFree( &_StubMsg,
2447 (unsigned char __RPC_FAR *)pDummy,
2448 &__MIDL_TypeFormatString.Format[1654] );
2451 RpcEndFinally
2452 _pRpcMessage->BufferLength =
2453 (unsigned int)((long)_StubMsg.Buffer - (long)_pRpcMessage->Buffer);
2458 /* [call_as] */ HRESULT STDMETHODCALLTYPE ITypeInfo_RemoteGetVarDesc_Proxy(
2459 ITypeInfo __RPC_FAR * This,
2460 /* [in] */ UINT index,
2461 /* [out] */ LPVARDESC __RPC_FAR *ppVarDesc,
2462 /* [out] */ CLEANLOCALSTORAGE __RPC_FAR *pDummy)
2465 HRESULT _RetVal;
2467 RPC_MESSAGE _RpcMessage;
2469 MIDL_STUB_MESSAGE _StubMsg;
2471 if(ppVarDesc)
2473 *ppVarDesc = 0;
2475 if(pDummy)
2477 MIDL_memset(
2478 pDummy,
2480 sizeof( CLEANLOCALSTORAGE ));
2482 RpcTryExcept
2484 NdrProxyInitialize(
2485 ( void __RPC_FAR * )This,
2486 ( PRPC_MESSAGE )&_RpcMessage,
2487 ( PMIDL_STUB_MESSAGE )&_StubMsg,
2488 ( PMIDL_STUB_DESC )&Object_StubDesc,
2493 if(!ppVarDesc)
2495 RpcRaiseException(RPC_X_NULL_REF_POINTER);
2497 if(!pDummy)
2499 RpcRaiseException(RPC_X_NULL_REF_POINTER);
2501 RpcTryFinally
2504 _StubMsg.BufferLength = 4U;
2505 NdrProxyGetBuffer(This, &_StubMsg);
2506 *(( UINT __RPC_FAR * )_StubMsg.Buffer)++ = index;
2508 NdrProxySendReceive(This, &_StubMsg);
2510 if ( (_RpcMessage.DataRepresentation & 0X0000FFFFUL) != NDR_LOCAL_DATA_REPRESENTATION )
2511 NdrConvert( (PMIDL_STUB_MESSAGE) &_StubMsg, (PFORMAT_STRING) &__MIDL_ProcFormatString.Format[170] );
2513 NdrPointerUnmarshall( (PMIDL_STUB_MESSAGE) &_StubMsg,
2514 (unsigned char __RPC_FAR * __RPC_FAR *)&ppVarDesc,
2515 (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[1464],
2516 (unsigned char)0 );
2518 NdrUserMarshalUnmarshall( (PMIDL_STUB_MESSAGE) &_StubMsg,
2519 (unsigned char __RPC_FAR * __RPC_FAR *)&pDummy,
2520 (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[1676],
2521 (unsigned char)0 );
2523 _StubMsg.Buffer = (unsigned char __RPC_FAR *)(((long)_StubMsg.Buffer + 3) & ~ 0x3);
2524 _RetVal = *(( HRESULT __RPC_FAR * )_StubMsg.Buffer)++;
2527 RpcFinally
2529 NdrProxyFreeBuffer(This, &_StubMsg);
2532 RpcEndFinally
2535 RpcExcept(_StubMsg.dwStubPhase != PROXY_SENDRECEIVE)
2537 NdrClearOutParameters(
2538 ( PMIDL_STUB_MESSAGE )&_StubMsg,
2539 ( PFORMAT_STRING )&__MIDL_TypeFormatString.Format[1464],
2540 ( void __RPC_FAR * )ppVarDesc);
2541 NdrClearOutParameters(
2542 ( PMIDL_STUB_MESSAGE )&_StubMsg,
2543 ( PFORMAT_STRING )&__MIDL_TypeFormatString.Format[1670],
2544 ( void __RPC_FAR * )pDummy);
2545 _RetVal = NdrProxyErrorHandler(RpcExceptionCode());
2547 RpcEndExcept
2548 return _RetVal;
2551 void __RPC_STUB ITypeInfo_RemoteGetVarDesc_Stub(
2552 IRpcStubBuffer *This,
2553 IRpcChannelBuffer *_pRpcChannelBuffer,
2554 PRPC_MESSAGE _pRpcMessage,
2555 DWORD *_pdwStubPhase)
2557 LPVARDESC _M29;
2558 CLEANLOCALSTORAGE _M30;
2559 HRESULT _RetVal;
2560 MIDL_STUB_MESSAGE _StubMsg;
2561 UINT index;
2562 CLEANLOCALSTORAGE __RPC_FAR *pDummy;
2563 LPVARDESC __RPC_FAR *ppVarDesc;
2565 NdrStubInitialize(
2566 _pRpcMessage,
2567 &_StubMsg,
2568 &Object_StubDesc,
2569 _pRpcChannelBuffer);
2570 ( LPVARDESC __RPC_FAR * )ppVarDesc = 0;
2571 ( CLEANLOCALSTORAGE __RPC_FAR * )pDummy = 0;
2572 RpcTryFinally
2574 if ( (_pRpcMessage->DataRepresentation & 0X0000FFFFUL) != NDR_LOCAL_DATA_REPRESENTATION )
2575 NdrConvert( (PMIDL_STUB_MESSAGE) &_StubMsg, (PFORMAT_STRING) &__MIDL_ProcFormatString.Format[170] );
2577 index = *(( UINT __RPC_FAR * )_StubMsg.Buffer)++;
2579 ppVarDesc = &_M29;
2580 _M29 = 0;
2581 pDummy = &_M30;
2582 MIDL_memset(
2583 pDummy,
2585 sizeof( CLEANLOCALSTORAGE ));
2587 *_pdwStubPhase = STUB_CALL_SERVER;
2590 _RetVal = ITypeInfo_GetVarDesc_Stub(
2591 (ITypeInfo *) ((CStdStubBuffer *)This)->pvServerObject,
2592 index,
2593 ppVarDesc,
2594 pDummy);
2596 *_pdwStubPhase = STUB_MARSHAL;
2598 _StubMsg.BufferLength = 8U + 11U + 7U;
2599 NdrPointerBufferSize( (PMIDL_STUB_MESSAGE) &_StubMsg,
2600 (unsigned char __RPC_FAR *)ppVarDesc,
2601 (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[1464] );
2603 _StubMsg.BufferLength += 16;
2605 NdrStubGetBuffer(This, _pRpcChannelBuffer, &_StubMsg);
2606 NdrPointerMarshall( (PMIDL_STUB_MESSAGE)& _StubMsg,
2607 (unsigned char __RPC_FAR *)ppVarDesc,
2608 (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[1464] );
2610 NdrUserMarshalMarshall( (PMIDL_STUB_MESSAGE)& _StubMsg,
2611 (unsigned char __RPC_FAR *)pDummy,
2612 (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[1676] );
2614 _StubMsg.Buffer = (unsigned char __RPC_FAR *)(((long)_StubMsg.Buffer + 3) & ~ 0x3);
2615 *(( HRESULT __RPC_FAR * )_StubMsg.Buffer)++ = _RetVal;
2618 RpcFinally
2620 NdrPointerFree( &_StubMsg,
2621 (unsigned char __RPC_FAR *)ppVarDesc,
2622 &__MIDL_TypeFormatString.Format[1464] );
2624 NdrPointerFree( &_StubMsg,
2625 (unsigned char __RPC_FAR *)pDummy,
2626 &__MIDL_TypeFormatString.Format[1670] );
2629 RpcEndFinally
2630 _pRpcMessage->BufferLength =
2631 (unsigned int)((long)_StubMsg.Buffer - (long)_pRpcMessage->Buffer);
2636 /* [call_as] */ HRESULT STDMETHODCALLTYPE ITypeInfo_RemoteGetNames_Proxy(
2637 ITypeInfo __RPC_FAR * This,
2638 /* [in] */ MEMBERID memid,
2639 /* [length_is][size_is][out] */ BSTR __RPC_FAR *rgBstrNames,
2640 /* [in] */ UINT cMaxNames,
2641 /* [out] */ UINT __RPC_FAR *pcNames)
2644 HRESULT _RetVal;
2646 RPC_MESSAGE _RpcMessage;
2648 MIDL_STUB_MESSAGE _StubMsg;
2650 if(rgBstrNames)
2652 MIDL_memset(
2653 rgBstrNames,
2655 cMaxNames * sizeof( BSTR ));
2657 RpcTryExcept
2659 NdrProxyInitialize(
2660 ( void __RPC_FAR * )This,
2661 ( PRPC_MESSAGE )&_RpcMessage,
2662 ( PMIDL_STUB_MESSAGE )&_StubMsg,
2663 ( PMIDL_STUB_DESC )&Object_StubDesc,
2668 if(!rgBstrNames)
2670 RpcRaiseException(RPC_X_NULL_REF_POINTER);
2672 if(!pcNames)
2674 RpcRaiseException(RPC_X_NULL_REF_POINTER);
2676 RpcTryFinally
2679 _StubMsg.BufferLength = 4U + 4U;
2680 NdrProxyGetBuffer(This, &_StubMsg);
2681 *(( MEMBERID __RPC_FAR * )_StubMsg.Buffer)++ = memid;
2683 *(( UINT __RPC_FAR * )_StubMsg.Buffer)++ = cMaxNames;
2685 NdrProxySendReceive(This, &_StubMsg);
2687 if ( (_RpcMessage.DataRepresentation & 0X0000FFFFUL) != NDR_LOCAL_DATA_REPRESENTATION )
2688 NdrConvert( (PMIDL_STUB_MESSAGE) &_StubMsg, (PFORMAT_STRING) &__MIDL_ProcFormatString.Format[182] );
2690 NdrComplexArrayUnmarshall( (PMIDL_STUB_MESSAGE) &_StubMsg,
2691 (unsigned char __RPC_FAR * __RPC_FAR *)&rgBstrNames,
2692 (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[1690],
2693 (unsigned char)0 );
2695 _StubMsg.Buffer = (unsigned char __RPC_FAR *)(((long)_StubMsg.Buffer + 3) & ~ 0x3);
2696 *pcNames = *(( UINT __RPC_FAR * )_StubMsg.Buffer)++;
2698 _RetVal = *(( HRESULT __RPC_FAR * )_StubMsg.Buffer)++;
2701 RpcFinally
2703 NdrProxyFreeBuffer(This, &_StubMsg);
2706 RpcEndFinally
2709 RpcExcept(_StubMsg.dwStubPhase != PROXY_SENDRECEIVE)
2711 _StubMsg.MaxCount = cMaxNames;
2712 _StubMsg.Offset = 0;
2713 _StubMsg.ActualCount = _StubMsg.MaxCount;
2715 NdrClearOutParameters(
2716 ( PMIDL_STUB_MESSAGE )&_StubMsg,
2717 ( PFORMAT_STRING )&__MIDL_TypeFormatString.Format[1686],
2718 ( void __RPC_FAR * )rgBstrNames);
2719 NdrClearOutParameters(
2720 ( PMIDL_STUB_MESSAGE )&_StubMsg,
2721 ( PFORMAT_STRING )&__MIDL_TypeFormatString.Format[2],
2722 ( void __RPC_FAR * )pcNames);
2723 _RetVal = NdrProxyErrorHandler(RpcExceptionCode());
2725 RpcEndExcept
2726 return _RetVal;
2729 void __RPC_STUB ITypeInfo_RemoteGetNames_Stub(
2730 IRpcStubBuffer *This,
2731 IRpcChannelBuffer *_pRpcChannelBuffer,
2732 PRPC_MESSAGE _pRpcMessage,
2733 DWORD *_pdwStubPhase)
2735 UINT _M34;
2736 HRESULT _RetVal;
2737 MIDL_STUB_MESSAGE _StubMsg;
2738 UINT cMaxNames;
2739 MEMBERID memid;
2740 UINT __RPC_FAR *pcNames;
2741 BSTR __RPC_FAR *rgBstrNames;
2743 NdrStubInitialize(
2744 _pRpcMessage,
2745 &_StubMsg,
2746 &Object_StubDesc,
2747 _pRpcChannelBuffer);
2748 ( BSTR __RPC_FAR * )rgBstrNames = 0;
2749 ( UINT __RPC_FAR * )pcNames = 0;
2750 RpcTryFinally
2752 if ( (_pRpcMessage->DataRepresentation & 0X0000FFFFUL) != NDR_LOCAL_DATA_REPRESENTATION )
2753 NdrConvert( (PMIDL_STUB_MESSAGE) &_StubMsg, (PFORMAT_STRING) &__MIDL_ProcFormatString.Format[182] );
2755 memid = *(( MEMBERID __RPC_FAR * )_StubMsg.Buffer)++;
2757 cMaxNames = *(( UINT __RPC_FAR * )_StubMsg.Buffer)++;
2759 rgBstrNames = NdrAllocate(&_StubMsg,cMaxNames * 4);
2760 pcNames = &_M34;
2762 *_pdwStubPhase = STUB_CALL_SERVER;
2765 _RetVal = ITypeInfo_GetNames_Stub(
2766 (ITypeInfo *) ((CStdStubBuffer *)This)->pvServerObject,
2767 memid,
2768 rgBstrNames,
2769 cMaxNames,
2770 pcNames);
2772 *_pdwStubPhase = STUB_MARSHAL;
2774 _StubMsg.BufferLength = 12U + 7U + 7U;
2775 _StubMsg.MaxCount = cMaxNames;
2776 _StubMsg.Offset = 0;
2777 _StubMsg.ActualCount = pcNames ? *pcNames : 0;
2779 NdrComplexArrayBufferSize( (PMIDL_STUB_MESSAGE) &_StubMsg,
2780 (unsigned char __RPC_FAR *)rgBstrNames,
2781 (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[1690] );
2783 _StubMsg.BufferLength += 16;
2785 NdrStubGetBuffer(This, _pRpcChannelBuffer, &_StubMsg);
2786 _StubMsg.MaxCount = cMaxNames;
2787 _StubMsg.Offset = 0;
2788 _StubMsg.ActualCount = pcNames ? *pcNames : 0;
2790 NdrComplexArrayMarshall( (PMIDL_STUB_MESSAGE)& _StubMsg,
2791 (unsigned char __RPC_FAR *)rgBstrNames,
2792 (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[1690] );
2794 _StubMsg.Buffer = (unsigned char __RPC_FAR *)(((long)_StubMsg.Buffer + 3) & ~ 0x3);
2795 *(( UINT __RPC_FAR * )_StubMsg.Buffer)++ = *pcNames;
2797 *(( HRESULT __RPC_FAR * )_StubMsg.Buffer)++ = _RetVal;
2800 RpcFinally
2802 _StubMsg.MaxCount = cMaxNames;
2803 _StubMsg.Offset = 0;
2804 _StubMsg.ActualCount = pcNames ? *pcNames : 0;
2806 NdrPointerFree( &_StubMsg,
2807 (unsigned char __RPC_FAR *)rgBstrNames,
2808 &__MIDL_TypeFormatString.Format[1686] );
2811 RpcEndFinally
2812 _pRpcMessage->BufferLength =
2813 (unsigned int)((long)_StubMsg.Buffer - (long)_pRpcMessage->Buffer);
2818 HRESULT STDMETHODCALLTYPE ITypeInfo_GetRefTypeOfImplType_Proxy(
2819 ITypeInfo __RPC_FAR * This,
2820 /* [in] */ UINT index,
2821 /* [out] */ HREFTYPE __RPC_FAR *pRefType)
2824 HRESULT _RetVal;
2826 RPC_MESSAGE _RpcMessage;
2828 MIDL_STUB_MESSAGE _StubMsg;
2830 RpcTryExcept
2832 NdrProxyInitialize(
2833 ( void __RPC_FAR * )This,
2834 ( PRPC_MESSAGE )&_RpcMessage,
2835 ( PMIDL_STUB_MESSAGE )&_StubMsg,
2836 ( PMIDL_STUB_DESC )&Object_StubDesc,
2841 if(!pRefType)
2843 RpcRaiseException(RPC_X_NULL_REF_POINTER);
2845 RpcTryFinally
2848 _StubMsg.BufferLength = 4U;
2849 NdrProxyGetBuffer(This, &_StubMsg);
2850 *(( UINT __RPC_FAR * )_StubMsg.Buffer)++ = index;
2852 NdrProxySendReceive(This, &_StubMsg);
2854 if ( (_RpcMessage.DataRepresentation & 0X0000FFFFUL) != NDR_LOCAL_DATA_REPRESENTATION )
2855 NdrConvert( (PMIDL_STUB_MESSAGE) &_StubMsg, (PFORMAT_STRING) &__MIDL_ProcFormatString.Format[196] );
2857 *pRefType = *(( HREFTYPE __RPC_FAR * )_StubMsg.Buffer)++;
2859 _RetVal = *(( HRESULT __RPC_FAR * )_StubMsg.Buffer)++;
2862 RpcFinally
2864 NdrProxyFreeBuffer(This, &_StubMsg);
2867 RpcEndFinally
2870 RpcExcept(_StubMsg.dwStubPhase != PROXY_SENDRECEIVE)
2872 NdrClearOutParameters(
2873 ( PMIDL_STUB_MESSAGE )&_StubMsg,
2874 ( PFORMAT_STRING )&__MIDL_TypeFormatString.Format[2],
2875 ( void __RPC_FAR * )pRefType);
2876 _RetVal = NdrProxyErrorHandler(RpcExceptionCode());
2878 RpcEndExcept
2879 return _RetVal;
2882 void __RPC_STUB ITypeInfo_GetRefTypeOfImplType_Stub(
2883 IRpcStubBuffer *This,
2884 IRpcChannelBuffer *_pRpcChannelBuffer,
2885 PRPC_MESSAGE _pRpcMessage,
2886 DWORD *_pdwStubPhase)
2888 HREFTYPE _M35;
2889 HRESULT _RetVal;
2890 MIDL_STUB_MESSAGE _StubMsg;
2891 UINT index;
2892 HREFTYPE __RPC_FAR *pRefType;
2894 NdrStubInitialize(
2895 _pRpcMessage,
2896 &_StubMsg,
2897 &Object_StubDesc,
2898 _pRpcChannelBuffer);
2899 ( HREFTYPE __RPC_FAR * )pRefType = 0;
2900 RpcTryFinally
2902 if ( (_pRpcMessage->DataRepresentation & 0X0000FFFFUL) != NDR_LOCAL_DATA_REPRESENTATION )
2903 NdrConvert( (PMIDL_STUB_MESSAGE) &_StubMsg, (PFORMAT_STRING) &__MIDL_ProcFormatString.Format[196] );
2905 index = *(( UINT __RPC_FAR * )_StubMsg.Buffer)++;
2907 pRefType = &_M35;
2909 *_pdwStubPhase = STUB_CALL_SERVER;
2910 _RetVal = (((ITypeInfo*) ((CStdStubBuffer *)This)->pvServerObject)->lpVtbl) -> GetRefTypeOfImplType(
2911 (ITypeInfo *) ((CStdStubBuffer *)This)->pvServerObject,
2912 index,
2913 pRefType);
2915 *_pdwStubPhase = STUB_MARSHAL;
2917 _StubMsg.BufferLength = 4U + 4U;
2918 NdrStubGetBuffer(This, _pRpcChannelBuffer, &_StubMsg);
2919 *(( HREFTYPE __RPC_FAR * )_StubMsg.Buffer)++ = *pRefType;
2921 *(( HRESULT __RPC_FAR * )_StubMsg.Buffer)++ = _RetVal;
2924 RpcFinally
2927 RpcEndFinally
2928 _pRpcMessage->BufferLength =
2929 (unsigned int)((long)_StubMsg.Buffer - (long)_pRpcMessage->Buffer);
2934 HRESULT STDMETHODCALLTYPE ITypeInfo_GetImplTypeFlags_Proxy(
2935 ITypeInfo __RPC_FAR * This,
2936 /* [in] */ UINT index,
2937 /* [out] */ INT __RPC_FAR *pImplTypeFlags)
2940 HRESULT _RetVal;
2942 RPC_MESSAGE _RpcMessage;
2944 MIDL_STUB_MESSAGE _StubMsg;
2946 RpcTryExcept
2948 NdrProxyInitialize(
2949 ( void __RPC_FAR * )This,
2950 ( PRPC_MESSAGE )&_RpcMessage,
2951 ( PMIDL_STUB_MESSAGE )&_StubMsg,
2952 ( PMIDL_STUB_DESC )&Object_StubDesc,
2957 if(!pImplTypeFlags)
2959 RpcRaiseException(RPC_X_NULL_REF_POINTER);
2961 RpcTryFinally
2964 _StubMsg.BufferLength = 4U;
2965 NdrProxyGetBuffer(This, &_StubMsg);
2966 *(( UINT __RPC_FAR * )_StubMsg.Buffer)++ = index;
2968 NdrProxySendReceive(This, &_StubMsg);
2970 if ( (_RpcMessage.DataRepresentation & 0X0000FFFFUL) != NDR_LOCAL_DATA_REPRESENTATION )
2971 NdrConvert( (PMIDL_STUB_MESSAGE) &_StubMsg, (PFORMAT_STRING) &__MIDL_ProcFormatString.Format[196] );
2973 *pImplTypeFlags = *(( INT __RPC_FAR * )_StubMsg.Buffer)++;
2975 _RetVal = *(( HRESULT __RPC_FAR * )_StubMsg.Buffer)++;
2978 RpcFinally
2980 NdrProxyFreeBuffer(This, &_StubMsg);
2983 RpcEndFinally
2986 RpcExcept(_StubMsg.dwStubPhase != PROXY_SENDRECEIVE)
2988 NdrClearOutParameters(
2989 ( PMIDL_STUB_MESSAGE )&_StubMsg,
2990 ( PFORMAT_STRING )&__MIDL_TypeFormatString.Format[2],
2991 ( void __RPC_FAR * )pImplTypeFlags);
2992 _RetVal = NdrProxyErrorHandler(RpcExceptionCode());
2994 RpcEndExcept
2995 return _RetVal;
2998 void __RPC_STUB ITypeInfo_GetImplTypeFlags_Stub(
2999 IRpcStubBuffer *This,
3000 IRpcChannelBuffer *_pRpcChannelBuffer,
3001 PRPC_MESSAGE _pRpcMessage,
3002 DWORD *_pdwStubPhase)
3004 INT _M36;
3005 HRESULT _RetVal;
3006 MIDL_STUB_MESSAGE _StubMsg;
3007 UINT index;
3008 INT __RPC_FAR *pImplTypeFlags;
3010 NdrStubInitialize(
3011 _pRpcMessage,
3012 &_StubMsg,
3013 &Object_StubDesc,
3014 _pRpcChannelBuffer);
3015 ( INT __RPC_FAR * )pImplTypeFlags = 0;
3016 RpcTryFinally
3018 if ( (_pRpcMessage->DataRepresentation & 0X0000FFFFUL) != NDR_LOCAL_DATA_REPRESENTATION )
3019 NdrConvert( (PMIDL_STUB_MESSAGE) &_StubMsg, (PFORMAT_STRING) &__MIDL_ProcFormatString.Format[196] );
3021 index = *(( UINT __RPC_FAR * )_StubMsg.Buffer)++;
3023 pImplTypeFlags = &_M36;
3025 *_pdwStubPhase = STUB_CALL_SERVER;
3026 _RetVal = (((ITypeInfo*) ((CStdStubBuffer *)This)->pvServerObject)->lpVtbl) -> GetImplTypeFlags(
3027 (ITypeInfo *) ((CStdStubBuffer *)This)->pvServerObject,
3028 index,
3029 pImplTypeFlags);
3031 *_pdwStubPhase = STUB_MARSHAL;
3033 _StubMsg.BufferLength = 4U + 4U;
3034 NdrStubGetBuffer(This, _pRpcChannelBuffer, &_StubMsg);
3035 *(( INT __RPC_FAR * )_StubMsg.Buffer)++ = *pImplTypeFlags;
3037 *(( HRESULT __RPC_FAR * )_StubMsg.Buffer)++ = _RetVal;
3040 RpcFinally
3043 RpcEndFinally
3044 _pRpcMessage->BufferLength =
3045 (unsigned int)((long)_StubMsg.Buffer - (long)_pRpcMessage->Buffer);
3050 /* [call_as] */ HRESULT STDMETHODCALLTYPE ITypeInfo_LocalGetIDsOfNames_Proxy(
3051 ITypeInfo __RPC_FAR * This)
3054 HRESULT _RetVal;
3056 RPC_MESSAGE _RpcMessage;
3058 MIDL_STUB_MESSAGE _StubMsg;
3060 RpcTryExcept
3062 NdrProxyInitialize(
3063 ( void __RPC_FAR * )This,
3064 ( PRPC_MESSAGE )&_RpcMessage,
3065 ( PMIDL_STUB_MESSAGE )&_StubMsg,
3066 ( PMIDL_STUB_DESC )&Object_StubDesc,
3067 10);
3071 RpcTryFinally
3074 _StubMsg.BufferLength = 0U;
3075 NdrProxyGetBuffer(This, &_StubMsg);
3076 NdrProxySendReceive(This, &_StubMsg);
3078 if ( (_RpcMessage.DataRepresentation & 0X0000FFFFUL) != NDR_LOCAL_DATA_REPRESENTATION )
3079 NdrConvert( (PMIDL_STUB_MESSAGE) &_StubMsg, (PFORMAT_STRING) &__MIDL_ProcFormatString.Format[88] );
3081 _RetVal = *(( HRESULT __RPC_FAR * )_StubMsg.Buffer)++;
3084 RpcFinally
3086 NdrProxyFreeBuffer(This, &_StubMsg);
3089 RpcEndFinally
3092 RpcExcept(_StubMsg.dwStubPhase != PROXY_SENDRECEIVE)
3094 _RetVal = NdrProxyErrorHandler(RpcExceptionCode());
3096 RpcEndExcept
3097 return _RetVal;
3100 void __RPC_STUB ITypeInfo_LocalGetIDsOfNames_Stub(
3101 IRpcStubBuffer *This,
3102 IRpcChannelBuffer *_pRpcChannelBuffer,
3103 PRPC_MESSAGE _pRpcMessage,
3104 DWORD *_pdwStubPhase)
3106 HRESULT _RetVal;
3107 MIDL_STUB_MESSAGE _StubMsg;
3109 NdrStubInitialize(
3110 _pRpcMessage,
3111 &_StubMsg,
3112 &Object_StubDesc,
3113 _pRpcChannelBuffer);
3114 RpcTryFinally
3117 *_pdwStubPhase = STUB_CALL_SERVER;
3120 _RetVal = ITypeInfo_GetIDsOfNames_Stub((ITypeInfo *) ((CStdStubBuffer *)This)->pvServerObject);
3122 *_pdwStubPhase = STUB_MARSHAL;
3124 _StubMsg.BufferLength = 4U;
3125 NdrStubGetBuffer(This, _pRpcChannelBuffer, &_StubMsg);
3126 *(( HRESULT __RPC_FAR * )_StubMsg.Buffer)++ = _RetVal;
3129 RpcFinally
3132 RpcEndFinally
3133 _pRpcMessage->BufferLength =
3134 (unsigned int)((long)_StubMsg.Buffer - (long)_pRpcMessage->Buffer);
3139 /* [call_as] */ HRESULT STDMETHODCALLTYPE ITypeInfo_LocalInvoke_Proxy(
3140 ITypeInfo __RPC_FAR * This)
3143 HRESULT _RetVal;
3145 RPC_MESSAGE _RpcMessage;
3147 MIDL_STUB_MESSAGE _StubMsg;
3149 RpcTryExcept
3151 NdrProxyInitialize(
3152 ( void __RPC_FAR * )This,
3153 ( PRPC_MESSAGE )&_RpcMessage,
3154 ( PMIDL_STUB_MESSAGE )&_StubMsg,
3155 ( PMIDL_STUB_DESC )&Object_StubDesc,
3156 11);
3160 RpcTryFinally
3163 _StubMsg.BufferLength = 0U;
3164 NdrProxyGetBuffer(This, &_StubMsg);
3165 NdrProxySendReceive(This, &_StubMsg);
3167 if ( (_RpcMessage.DataRepresentation & 0X0000FFFFUL) != NDR_LOCAL_DATA_REPRESENTATION )
3168 NdrConvert( (PMIDL_STUB_MESSAGE) &_StubMsg, (PFORMAT_STRING) &__MIDL_ProcFormatString.Format[88] );
3170 _RetVal = *(( HRESULT __RPC_FAR * )_StubMsg.Buffer)++;
3173 RpcFinally
3175 NdrProxyFreeBuffer(This, &_StubMsg);
3178 RpcEndFinally
3181 RpcExcept(_StubMsg.dwStubPhase != PROXY_SENDRECEIVE)
3183 _RetVal = NdrProxyErrorHandler(RpcExceptionCode());
3185 RpcEndExcept
3186 return _RetVal;
3189 void __RPC_STUB ITypeInfo_LocalInvoke_Stub(
3190 IRpcStubBuffer *This,
3191 IRpcChannelBuffer *_pRpcChannelBuffer,
3192 PRPC_MESSAGE _pRpcMessage,
3193 DWORD *_pdwStubPhase)
3195 HRESULT _RetVal;
3196 MIDL_STUB_MESSAGE _StubMsg;
3198 NdrStubInitialize(
3199 _pRpcMessage,
3200 &_StubMsg,
3201 &Object_StubDesc,
3202 _pRpcChannelBuffer);
3203 RpcTryFinally
3206 *_pdwStubPhase = STUB_CALL_SERVER;
3209 _RetVal = ITypeInfo_Invoke_Stub((ITypeInfo *) ((CStdStubBuffer *)This)->pvServerObject);
3211 *_pdwStubPhase = STUB_MARSHAL;
3213 _StubMsg.BufferLength = 4U;
3214 NdrStubGetBuffer(This, _pRpcChannelBuffer, &_StubMsg);
3215 *(( HRESULT __RPC_FAR * )_StubMsg.Buffer)++ = _RetVal;
3218 RpcFinally
3221 RpcEndFinally
3222 _pRpcMessage->BufferLength =
3223 (unsigned int)((long)_StubMsg.Buffer - (long)_pRpcMessage->Buffer);
3228 /* [call_as] */ HRESULT STDMETHODCALLTYPE ITypeInfo_RemoteGetDocumentation_Proxy(
3229 ITypeInfo __RPC_FAR * This,
3230 /* [in] */ MEMBERID memid,
3231 /* [in] */ DWORD refPtrFlags,
3232 /* [out] */ BSTR __RPC_FAR *pBstrName,
3233 /* [out] */ BSTR __RPC_FAR *pBstrDocString,
3234 /* [out] */ DWORD __RPC_FAR *pdwHelpContext,
3235 /* [out] */ BSTR __RPC_FAR *pBstrHelpFile)
3238 HRESULT _RetVal;
3240 RPC_MESSAGE _RpcMessage;
3242 MIDL_STUB_MESSAGE _StubMsg;
3244 if(pBstrName)
3246 MIDL_memset(
3247 pBstrName,
3249 sizeof( BSTR ));
3251 if(pBstrDocString)
3253 MIDL_memset(
3254 pBstrDocString,
3256 sizeof( BSTR ));
3258 if(pBstrHelpFile)
3260 MIDL_memset(
3261 pBstrHelpFile,
3263 sizeof( BSTR ));
3265 RpcTryExcept
3267 NdrProxyInitialize(
3268 ( void __RPC_FAR * )This,
3269 ( PRPC_MESSAGE )&_RpcMessage,
3270 ( PMIDL_STUB_MESSAGE )&_StubMsg,
3271 ( PMIDL_STUB_DESC )&Object_StubDesc,
3272 12);
3276 if(!pBstrName)
3278 RpcRaiseException(RPC_X_NULL_REF_POINTER);
3280 if(!pBstrDocString)
3282 RpcRaiseException(RPC_X_NULL_REF_POINTER);
3284 if(!pdwHelpContext)
3286 RpcRaiseException(RPC_X_NULL_REF_POINTER);
3288 if(!pBstrHelpFile)
3290 RpcRaiseException(RPC_X_NULL_REF_POINTER);
3292 RpcTryFinally
3295 _StubMsg.BufferLength = 4U + 4U;
3296 NdrProxyGetBuffer(This, &_StubMsg);
3297 *(( MEMBERID __RPC_FAR * )_StubMsg.Buffer)++ = memid;
3299 *(( DWORD __RPC_FAR * )_StubMsg.Buffer)++ = refPtrFlags;
3301 NdrProxySendReceive(This, &_StubMsg);
3303 if ( (_RpcMessage.DataRepresentation & 0X0000FFFFUL) != NDR_LOCAL_DATA_REPRESENTATION )
3304 NdrConvert( (PMIDL_STUB_MESSAGE) &_StubMsg, (PFORMAT_STRING) &__MIDL_ProcFormatString.Format[204] );
3306 NdrUserMarshalUnmarshall( (PMIDL_STUB_MESSAGE) &_StubMsg,
3307 (unsigned char __RPC_FAR * __RPC_FAR *)&pBstrName,
3308 (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[1128],
3309 (unsigned char)0 );
3311 NdrUserMarshalUnmarshall( (PMIDL_STUB_MESSAGE) &_StubMsg,
3312 (unsigned char __RPC_FAR * __RPC_FAR *)&pBstrDocString,
3313 (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[1128],
3314 (unsigned char)0 );
3316 _StubMsg.Buffer = (unsigned char __RPC_FAR *)(((long)_StubMsg.Buffer + 3) & ~ 0x3);
3317 *pdwHelpContext = *(( DWORD __RPC_FAR * )_StubMsg.Buffer)++;
3319 NdrUserMarshalUnmarshall( (PMIDL_STUB_MESSAGE) &_StubMsg,
3320 (unsigned char __RPC_FAR * __RPC_FAR *)&pBstrHelpFile,
3321 (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[1128],
3322 (unsigned char)0 );
3324 _StubMsg.Buffer = (unsigned char __RPC_FAR *)(((long)_StubMsg.Buffer + 3) & ~ 0x3);
3325 _RetVal = *(( HRESULT __RPC_FAR * )_StubMsg.Buffer)++;
3328 RpcFinally
3330 NdrProxyFreeBuffer(This, &_StubMsg);
3333 RpcEndFinally
3336 RpcExcept(_StubMsg.dwStubPhase != PROXY_SENDRECEIVE)
3338 NdrClearOutParameters(
3339 ( PMIDL_STUB_MESSAGE )&_StubMsg,
3340 ( PFORMAT_STRING )&__MIDL_TypeFormatString.Format[1708],
3341 ( void __RPC_FAR * )pBstrName);
3342 NdrClearOutParameters(
3343 ( PMIDL_STUB_MESSAGE )&_StubMsg,
3344 ( PFORMAT_STRING )&__MIDL_TypeFormatString.Format[1708],
3345 ( void __RPC_FAR * )pBstrDocString);
3346 NdrClearOutParameters(
3347 ( PMIDL_STUB_MESSAGE )&_StubMsg,
3348 ( PFORMAT_STRING )&__MIDL_TypeFormatString.Format[2],
3349 ( void __RPC_FAR * )pdwHelpContext);
3350 NdrClearOutParameters(
3351 ( PMIDL_STUB_MESSAGE )&_StubMsg,
3352 ( PFORMAT_STRING )&__MIDL_TypeFormatString.Format[1708],
3353 ( void __RPC_FAR * )pBstrHelpFile);
3354 _RetVal = NdrProxyErrorHandler(RpcExceptionCode());
3356 RpcEndExcept
3357 return _RetVal;
3360 void __RPC_STUB ITypeInfo_RemoteGetDocumentation_Stub(
3361 IRpcStubBuffer *This,
3362 IRpcChannelBuffer *_pRpcChannelBuffer,
3363 PRPC_MESSAGE _pRpcMessage,
3364 DWORD *_pdwStubPhase)
3366 BSTR _M37;
3367 BSTR _M38;
3368 DWORD _M39;
3369 BSTR _M40;
3370 HRESULT _RetVal;
3371 MIDL_STUB_MESSAGE _StubMsg;
3372 MEMBERID memid;
3373 BSTR __RPC_FAR *pBstrDocString;
3374 BSTR __RPC_FAR *pBstrHelpFile;
3375 BSTR __RPC_FAR *pBstrName;
3376 DWORD __RPC_FAR *pdwHelpContext;
3377 DWORD refPtrFlags;
3379 NdrStubInitialize(
3380 _pRpcMessage,
3381 &_StubMsg,
3382 &Object_StubDesc,
3383 _pRpcChannelBuffer);
3384 ( BSTR __RPC_FAR * )pBstrName = 0;
3385 ( BSTR __RPC_FAR * )pBstrDocString = 0;
3386 ( DWORD __RPC_FAR * )pdwHelpContext = 0;
3387 ( BSTR __RPC_FAR * )pBstrHelpFile = 0;
3388 RpcTryFinally
3390 if ( (_pRpcMessage->DataRepresentation & 0X0000FFFFUL) != NDR_LOCAL_DATA_REPRESENTATION )
3391 NdrConvert( (PMIDL_STUB_MESSAGE) &_StubMsg, (PFORMAT_STRING) &__MIDL_ProcFormatString.Format[204] );
3393 memid = *(( MEMBERID __RPC_FAR * )_StubMsg.Buffer)++;
3395 refPtrFlags = *(( DWORD __RPC_FAR * )_StubMsg.Buffer)++;
3397 pBstrName = &_M37;
3398 MIDL_memset(
3399 pBstrName,
3401 sizeof( BSTR ));
3402 pBstrDocString = &_M38;
3403 MIDL_memset(
3404 pBstrDocString,
3406 sizeof( BSTR ));
3407 pdwHelpContext = &_M39;
3408 pBstrHelpFile = &_M40;
3409 MIDL_memset(
3410 pBstrHelpFile,
3412 sizeof( BSTR ));
3414 *_pdwStubPhase = STUB_CALL_SERVER;
3417 _RetVal = ITypeInfo_GetDocumentation_Stub(
3418 (ITypeInfo *) ((CStdStubBuffer *)This)->pvServerObject,
3419 memid,
3420 refPtrFlags,
3421 pBstrName,
3422 pBstrDocString,
3423 pdwHelpContext,
3424 pBstrHelpFile);
3426 *_pdwStubPhase = STUB_MARSHAL;
3428 _StubMsg.BufferLength = 8U + 15U + 11U + 11U + 11U;
3429 NdrUserMarshalBufferSize( (PMIDL_STUB_MESSAGE) &_StubMsg,
3430 (unsigned char __RPC_FAR *)pBstrName,
3431 (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[1128] );
3433 NdrUserMarshalBufferSize( (PMIDL_STUB_MESSAGE) &_StubMsg,
3434 (unsigned char __RPC_FAR *)pBstrDocString,
3435 (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[1128] );
3437 NdrUserMarshalBufferSize( (PMIDL_STUB_MESSAGE) &_StubMsg,
3438 (unsigned char __RPC_FAR *)pBstrHelpFile,
3439 (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[1128] );
3441 _StubMsg.BufferLength += 16;
3443 NdrStubGetBuffer(This, _pRpcChannelBuffer, &_StubMsg);
3444 NdrUserMarshalMarshall( (PMIDL_STUB_MESSAGE)& _StubMsg,
3445 (unsigned char __RPC_FAR *)pBstrName,
3446 (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[1128] );
3448 NdrUserMarshalMarshall( (PMIDL_STUB_MESSAGE)& _StubMsg,
3449 (unsigned char __RPC_FAR *)pBstrDocString,
3450 (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[1128] );
3452 _StubMsg.Buffer = (unsigned char __RPC_FAR *)(((long)_StubMsg.Buffer + 3) & ~ 0x3);
3453 *(( DWORD __RPC_FAR * )_StubMsg.Buffer)++ = *pdwHelpContext;
3455 NdrUserMarshalMarshall( (PMIDL_STUB_MESSAGE)& _StubMsg,
3456 (unsigned char __RPC_FAR *)pBstrHelpFile,
3457 (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[1128] );
3459 _StubMsg.Buffer = (unsigned char __RPC_FAR *)(((long)_StubMsg.Buffer + 3) & ~ 0x3);
3460 *(( HRESULT __RPC_FAR * )_StubMsg.Buffer)++ = _RetVal;
3463 RpcFinally
3465 NdrPointerFree( &_StubMsg,
3466 (unsigned char __RPC_FAR *)pBstrName,
3467 &__MIDL_TypeFormatString.Format[1708] );
3469 NdrPointerFree( &_StubMsg,
3470 (unsigned char __RPC_FAR *)pBstrDocString,
3471 &__MIDL_TypeFormatString.Format[1708] );
3473 NdrPointerFree( &_StubMsg,
3474 (unsigned char __RPC_FAR *)pBstrHelpFile,
3475 &__MIDL_TypeFormatString.Format[1708] );
3478 RpcEndFinally
3479 _pRpcMessage->BufferLength =
3480 (unsigned int)((long)_StubMsg.Buffer - (long)_pRpcMessage->Buffer);
3485 /* [call_as] */ HRESULT STDMETHODCALLTYPE ITypeInfo_RemoteGetDllEntry_Proxy(
3486 ITypeInfo __RPC_FAR * This,
3487 /* [in] */ MEMBERID memid,
3488 /* [in] */ INVOKEKIND invKind,
3489 /* [in] */ DWORD refPtrFlags,
3490 /* [out] */ BSTR __RPC_FAR *pBstrDllName,
3491 /* [out] */ BSTR __RPC_FAR *pBstrName,
3492 /* [out] */ WORD __RPC_FAR *pwOrdinal)
3495 HRESULT _RetVal;
3497 RPC_MESSAGE _RpcMessage;
3499 MIDL_STUB_MESSAGE _StubMsg;
3501 if(pBstrDllName)
3503 MIDL_memset(
3504 pBstrDllName,
3506 sizeof( BSTR ));
3508 if(pBstrName)
3510 MIDL_memset(
3511 pBstrName,
3513 sizeof( BSTR ));
3515 RpcTryExcept
3517 NdrProxyInitialize(
3518 ( void __RPC_FAR * )This,
3519 ( PRPC_MESSAGE )&_RpcMessage,
3520 ( PMIDL_STUB_MESSAGE )&_StubMsg,
3521 ( PMIDL_STUB_DESC )&Object_StubDesc,
3522 13);
3526 if(!pBstrDllName)
3528 RpcRaiseException(RPC_X_NULL_REF_POINTER);
3530 if(!pBstrName)
3532 RpcRaiseException(RPC_X_NULL_REF_POINTER);
3534 if(!pwOrdinal)
3536 RpcRaiseException(RPC_X_NULL_REF_POINTER);
3538 RpcTryFinally
3541 _StubMsg.BufferLength = 4U + 4U + 4U;
3542 NdrProxyGetBuffer(This, &_StubMsg);
3543 *(( MEMBERID __RPC_FAR * )_StubMsg.Buffer)++ = memid;
3545 NdrSimpleTypeMarshall(
3546 ( PMIDL_STUB_MESSAGE )&_StubMsg,
3547 ( unsigned char __RPC_FAR * )&invKind,
3548 14);
3549 *(( DWORD __RPC_FAR * )_StubMsg.Buffer)++ = refPtrFlags;
3551 NdrProxySendReceive(This, &_StubMsg);
3553 if ( (_RpcMessage.DataRepresentation & 0X0000FFFFUL) != NDR_LOCAL_DATA_REPRESENTATION )
3554 NdrConvert( (PMIDL_STUB_MESSAGE) &_StubMsg, (PFORMAT_STRING) &__MIDL_ProcFormatString.Format[226] );
3556 NdrUserMarshalUnmarshall( (PMIDL_STUB_MESSAGE) &_StubMsg,
3557 (unsigned char __RPC_FAR * __RPC_FAR *)&pBstrDllName,
3558 (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[1128],
3559 (unsigned char)0 );
3561 NdrUserMarshalUnmarshall( (PMIDL_STUB_MESSAGE) &_StubMsg,
3562 (unsigned char __RPC_FAR * __RPC_FAR *)&pBstrName,
3563 (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[1128],
3564 (unsigned char)0 );
3566 _StubMsg.Buffer = (unsigned char __RPC_FAR *)(((long)_StubMsg.Buffer + 1) & ~ 0x1);
3567 *pwOrdinal = *(( WORD __RPC_FAR * )_StubMsg.Buffer)++;
3569 _StubMsg.Buffer = (unsigned char __RPC_FAR *)(((long)_StubMsg.Buffer + 3) & ~ 0x3);
3570 _RetVal = *(( HRESULT __RPC_FAR * )_StubMsg.Buffer)++;
3573 RpcFinally
3575 NdrProxyFreeBuffer(This, &_StubMsg);
3578 RpcEndFinally
3581 RpcExcept(_StubMsg.dwStubPhase != PROXY_SENDRECEIVE)
3583 NdrClearOutParameters(
3584 ( PMIDL_STUB_MESSAGE )&_StubMsg,
3585 ( PFORMAT_STRING )&__MIDL_TypeFormatString.Format[1708],
3586 ( void __RPC_FAR * )pBstrDllName);
3587 NdrClearOutParameters(
3588 ( PMIDL_STUB_MESSAGE )&_StubMsg,
3589 ( PFORMAT_STRING )&__MIDL_TypeFormatString.Format[1708],
3590 ( void __RPC_FAR * )pBstrName);
3591 NdrClearOutParameters(
3592 ( PMIDL_STUB_MESSAGE )&_StubMsg,
3593 ( PFORMAT_STRING )&__MIDL_TypeFormatString.Format[1712],
3594 ( void __RPC_FAR * )pwOrdinal);
3595 _RetVal = NdrProxyErrorHandler(RpcExceptionCode());
3597 RpcEndExcept
3598 return _RetVal;
3601 void __RPC_STUB ITypeInfo_RemoteGetDllEntry_Stub(
3602 IRpcStubBuffer *This,
3603 IRpcChannelBuffer *_pRpcChannelBuffer,
3604 PRPC_MESSAGE _pRpcMessage,
3605 DWORD *_pdwStubPhase)
3607 BSTR _M41;
3608 BSTR _M42;
3609 WORD _M43;
3610 HRESULT _RetVal;
3611 MIDL_STUB_MESSAGE _StubMsg;
3612 INVOKEKIND invKind;
3613 MEMBERID memid;
3614 BSTR __RPC_FAR *pBstrDllName;
3615 BSTR __RPC_FAR *pBstrName;
3616 WORD __RPC_FAR *pwOrdinal;
3617 DWORD refPtrFlags;
3619 NdrStubInitialize(
3620 _pRpcMessage,
3621 &_StubMsg,
3622 &Object_StubDesc,
3623 _pRpcChannelBuffer);
3624 ( BSTR __RPC_FAR * )pBstrDllName = 0;
3625 ( BSTR __RPC_FAR * )pBstrName = 0;
3626 ( WORD __RPC_FAR * )pwOrdinal = 0;
3627 RpcTryFinally
3629 if ( (_pRpcMessage->DataRepresentation & 0X0000FFFFUL) != NDR_LOCAL_DATA_REPRESENTATION )
3630 NdrConvert( (PMIDL_STUB_MESSAGE) &_StubMsg, (PFORMAT_STRING) &__MIDL_ProcFormatString.Format[226] );
3632 memid = *(( MEMBERID __RPC_FAR * )_StubMsg.Buffer)++;
3634 NdrSimpleTypeUnmarshall(
3635 ( PMIDL_STUB_MESSAGE )&_StubMsg,
3636 ( unsigned char __RPC_FAR * )&invKind,
3637 14);
3638 refPtrFlags = *(( DWORD __RPC_FAR * )_StubMsg.Buffer)++;
3640 pBstrDllName = &_M41;
3641 MIDL_memset(
3642 pBstrDllName,
3644 sizeof( BSTR ));
3645 pBstrName = &_M42;
3646 MIDL_memset(
3647 pBstrName,
3649 sizeof( BSTR ));
3650 pwOrdinal = &_M43;
3652 *_pdwStubPhase = STUB_CALL_SERVER;
3655 _RetVal = ITypeInfo_GetDllEntry_Stub(
3656 (ITypeInfo *) ((CStdStubBuffer *)This)->pvServerObject,
3657 memid,
3658 invKind,
3659 refPtrFlags,
3660 pBstrDllName,
3661 pBstrName,
3662 pwOrdinal);
3664 *_pdwStubPhase = STUB_MARSHAL;
3666 _StubMsg.BufferLength = 8U + 15U + 5U + 10U;
3667 NdrUserMarshalBufferSize( (PMIDL_STUB_MESSAGE) &_StubMsg,
3668 (unsigned char __RPC_FAR *)pBstrDllName,
3669 (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[1128] );
3671 NdrUserMarshalBufferSize( (PMIDL_STUB_MESSAGE) &_StubMsg,
3672 (unsigned char __RPC_FAR *)pBstrName,
3673 (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[1128] );
3675 _StubMsg.BufferLength += 16;
3677 NdrStubGetBuffer(This, _pRpcChannelBuffer, &_StubMsg);
3678 NdrUserMarshalMarshall( (PMIDL_STUB_MESSAGE)& _StubMsg,
3679 (unsigned char __RPC_FAR *)pBstrDllName,
3680 (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[1128] );
3682 NdrUserMarshalMarshall( (PMIDL_STUB_MESSAGE)& _StubMsg,
3683 (unsigned char __RPC_FAR *)pBstrName,
3684 (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[1128] );
3686 _StubMsg.Buffer = (unsigned char __RPC_FAR *)(((long)_StubMsg.Buffer + 1) & ~ 0x1);
3687 *(( WORD __RPC_FAR * )_StubMsg.Buffer)++ = *pwOrdinal;
3689 _StubMsg.Buffer = (unsigned char __RPC_FAR *)(((long)_StubMsg.Buffer + 3) & ~ 0x3);
3690 *(( HRESULT __RPC_FAR * )_StubMsg.Buffer)++ = _RetVal;
3693 RpcFinally
3695 NdrPointerFree( &_StubMsg,
3696 (unsigned char __RPC_FAR *)pBstrDllName,
3697 &__MIDL_TypeFormatString.Format[1708] );
3699 NdrPointerFree( &_StubMsg,
3700 (unsigned char __RPC_FAR *)pBstrName,
3701 &__MIDL_TypeFormatString.Format[1708] );
3704 RpcEndFinally
3705 _pRpcMessage->BufferLength =
3706 (unsigned int)((long)_StubMsg.Buffer - (long)_pRpcMessage->Buffer);
3711 HRESULT STDMETHODCALLTYPE ITypeInfo_GetRefTypeInfo_Proxy(
3712 ITypeInfo __RPC_FAR * This,
3713 /* [in] */ HREFTYPE hRefType,
3714 /* [out] */ ITypeInfo __RPC_FAR *__RPC_FAR *ppTInfo)
3717 HRESULT _RetVal;
3719 RPC_MESSAGE _RpcMessage;
3721 MIDL_STUB_MESSAGE _StubMsg;
3723 if(ppTInfo)
3725 MIDL_memset(
3726 ppTInfo,
3728 sizeof( ITypeInfo __RPC_FAR *__RPC_FAR * ));
3730 RpcTryExcept
3732 NdrProxyInitialize(
3733 ( void __RPC_FAR * )This,
3734 ( PRPC_MESSAGE )&_RpcMessage,
3735 ( PMIDL_STUB_MESSAGE )&_StubMsg,
3736 ( PMIDL_STUB_DESC )&Object_StubDesc,
3737 14);
3741 if(!ppTInfo)
3743 RpcRaiseException(RPC_X_NULL_REF_POINTER);
3745 RpcTryFinally
3748 _StubMsg.BufferLength = 4U;
3749 NdrProxyGetBuffer(This, &_StubMsg);
3750 *(( HREFTYPE __RPC_FAR * )_StubMsg.Buffer)++ = hRefType;
3752 NdrProxySendReceive(This, &_StubMsg);
3754 if ( (_RpcMessage.DataRepresentation & 0X0000FFFFUL) != NDR_LOCAL_DATA_REPRESENTATION )
3755 NdrConvert( (PMIDL_STUB_MESSAGE) &_StubMsg, (PFORMAT_STRING) &__MIDL_ProcFormatString.Format[246] );
3757 NdrPointerUnmarshall( (PMIDL_STUB_MESSAGE) &_StubMsg,
3758 (unsigned char __RPC_FAR * __RPC_FAR *)&ppTInfo,
3759 (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[6],
3760 (unsigned char)0 );
3762 _StubMsg.Buffer = (unsigned char __RPC_FAR *)(((long)_StubMsg.Buffer + 3) & ~ 0x3);
3763 _RetVal = *(( HRESULT __RPC_FAR * )_StubMsg.Buffer)++;
3766 RpcFinally
3768 NdrProxyFreeBuffer(This, &_StubMsg);
3771 RpcEndFinally
3774 RpcExcept(_StubMsg.dwStubPhase != PROXY_SENDRECEIVE)
3776 NdrClearOutParameters(
3777 ( PMIDL_STUB_MESSAGE )&_StubMsg,
3778 ( PFORMAT_STRING )&__MIDL_TypeFormatString.Format[6],
3779 ( void __RPC_FAR * )ppTInfo);
3780 _RetVal = NdrProxyErrorHandler(RpcExceptionCode());
3782 RpcEndExcept
3783 return _RetVal;
3786 void __RPC_STUB ITypeInfo_GetRefTypeInfo_Stub(
3787 IRpcStubBuffer *This,
3788 IRpcChannelBuffer *_pRpcChannelBuffer,
3789 PRPC_MESSAGE _pRpcMessage,
3790 DWORD *_pdwStubPhase)
3792 ITypeInfo __RPC_FAR *_M44;
3793 HRESULT _RetVal;
3794 MIDL_STUB_MESSAGE _StubMsg;
3795 HREFTYPE hRefType;
3796 ITypeInfo __RPC_FAR *__RPC_FAR *ppTInfo;
3798 NdrStubInitialize(
3799 _pRpcMessage,
3800 &_StubMsg,
3801 &Object_StubDesc,
3802 _pRpcChannelBuffer);
3803 ( ITypeInfo __RPC_FAR *__RPC_FAR * )ppTInfo = 0;
3804 RpcTryFinally
3806 if ( (_pRpcMessage->DataRepresentation & 0X0000FFFFUL) != NDR_LOCAL_DATA_REPRESENTATION )
3807 NdrConvert( (PMIDL_STUB_MESSAGE) &_StubMsg, (PFORMAT_STRING) &__MIDL_ProcFormatString.Format[246] );
3809 hRefType = *(( HREFTYPE __RPC_FAR * )_StubMsg.Buffer)++;
3811 ppTInfo = &_M44;
3812 _M44 = 0;
3814 *_pdwStubPhase = STUB_CALL_SERVER;
3815 _RetVal = (((ITypeInfo*) ((CStdStubBuffer *)This)->pvServerObject)->lpVtbl) -> GetRefTypeInfo(
3816 (ITypeInfo *) ((CStdStubBuffer *)This)->pvServerObject,
3817 hRefType,
3818 ppTInfo);
3820 *_pdwStubPhase = STUB_MARSHAL;
3822 _StubMsg.BufferLength = 0U + 4U;
3823 NdrPointerBufferSize( (PMIDL_STUB_MESSAGE) &_StubMsg,
3824 (unsigned char __RPC_FAR *)ppTInfo,
3825 (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[6] );
3827 _StubMsg.BufferLength += 16;
3829 NdrStubGetBuffer(This, _pRpcChannelBuffer, &_StubMsg);
3830 NdrPointerMarshall( (PMIDL_STUB_MESSAGE)& _StubMsg,
3831 (unsigned char __RPC_FAR *)ppTInfo,
3832 (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[6] );
3834 _StubMsg.Buffer = (unsigned char __RPC_FAR *)(((long)_StubMsg.Buffer + 3) & ~ 0x3);
3835 *(( HRESULT __RPC_FAR * )_StubMsg.Buffer)++ = _RetVal;
3838 RpcFinally
3840 NdrPointerFree( &_StubMsg,
3841 (unsigned char __RPC_FAR *)ppTInfo,
3842 &__MIDL_TypeFormatString.Format[6] );
3845 RpcEndFinally
3846 _pRpcMessage->BufferLength =
3847 (unsigned int)((long)_StubMsg.Buffer - (long)_pRpcMessage->Buffer);
3852 /* [call_as] */ HRESULT STDMETHODCALLTYPE ITypeInfo_LocalAddressOfMember_Proxy(
3853 ITypeInfo __RPC_FAR * This)
3856 HRESULT _RetVal;
3858 RPC_MESSAGE _RpcMessage;
3860 MIDL_STUB_MESSAGE _StubMsg;
3862 RpcTryExcept
3864 NdrProxyInitialize(
3865 ( void __RPC_FAR * )This,
3866 ( PRPC_MESSAGE )&_RpcMessage,
3867 ( PMIDL_STUB_MESSAGE )&_StubMsg,
3868 ( PMIDL_STUB_DESC )&Object_StubDesc,
3869 15);
3873 RpcTryFinally
3876 _StubMsg.BufferLength = 0U;
3877 NdrProxyGetBuffer(This, &_StubMsg);
3878 NdrProxySendReceive(This, &_StubMsg);
3880 if ( (_RpcMessage.DataRepresentation & 0X0000FFFFUL) != NDR_LOCAL_DATA_REPRESENTATION )
3881 NdrConvert( (PMIDL_STUB_MESSAGE) &_StubMsg, (PFORMAT_STRING) &__MIDL_ProcFormatString.Format[88] );
3883 _RetVal = *(( HRESULT __RPC_FAR * )_StubMsg.Buffer)++;
3886 RpcFinally
3888 NdrProxyFreeBuffer(This, &_StubMsg);
3891 RpcEndFinally
3894 RpcExcept(_StubMsg.dwStubPhase != PROXY_SENDRECEIVE)
3896 _RetVal = NdrProxyErrorHandler(RpcExceptionCode());
3898 RpcEndExcept
3899 return _RetVal;
3902 void __RPC_STUB ITypeInfo_LocalAddressOfMember_Stub(
3903 IRpcStubBuffer *This,
3904 IRpcChannelBuffer *_pRpcChannelBuffer,
3905 PRPC_MESSAGE _pRpcMessage,
3906 DWORD *_pdwStubPhase)
3908 HRESULT _RetVal;
3909 MIDL_STUB_MESSAGE _StubMsg;
3911 NdrStubInitialize(
3912 _pRpcMessage,
3913 &_StubMsg,
3914 &Object_StubDesc,
3915 _pRpcChannelBuffer);
3916 RpcTryFinally
3919 *_pdwStubPhase = STUB_CALL_SERVER;
3922 _RetVal = ITypeInfo_AddressOfMember_Stub((ITypeInfo *) ((CStdStubBuffer *)This)->pvServerObject);
3924 *_pdwStubPhase = STUB_MARSHAL;
3926 _StubMsg.BufferLength = 4U;
3927 NdrStubGetBuffer(This, _pRpcChannelBuffer, &_StubMsg);
3928 *(( HRESULT __RPC_FAR * )_StubMsg.Buffer)++ = _RetVal;
3931 RpcFinally
3934 RpcEndFinally
3935 _pRpcMessage->BufferLength =
3936 (unsigned int)((long)_StubMsg.Buffer - (long)_pRpcMessage->Buffer);
3941 /* [call_as] */ HRESULT STDMETHODCALLTYPE ITypeInfo_RemoteCreateInstance_Proxy(
3942 ITypeInfo __RPC_FAR * This,
3943 /* [in] */ REFIID riid,
3944 /* [iid_is][out] */ IUnknown __RPC_FAR *__RPC_FAR *ppvObj)
3947 HRESULT _RetVal;
3949 RPC_MESSAGE _RpcMessage;
3951 MIDL_STUB_MESSAGE _StubMsg;
3953 if(ppvObj)
3955 MIDL_memset(
3956 ppvObj,
3958 sizeof( IUnknown __RPC_FAR *__RPC_FAR * ));
3960 RpcTryExcept
3962 NdrProxyInitialize(
3963 ( void __RPC_FAR * )This,
3964 ( PRPC_MESSAGE )&_RpcMessage,
3965 ( PMIDL_STUB_MESSAGE )&_StubMsg,
3966 ( PMIDL_STUB_DESC )&Object_StubDesc,
3967 16);
3971 if(!riid)
3973 RpcRaiseException(RPC_X_NULL_REF_POINTER);
3975 if(!ppvObj)
3977 RpcRaiseException(RPC_X_NULL_REF_POINTER);
3979 RpcTryFinally
3982 _StubMsg.BufferLength = 0U;
3983 NdrSimpleStructBufferSize( (PMIDL_STUB_MESSAGE) &_StubMsg,
3984 (unsigned char __RPC_FAR *)riid,
3985 (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[38] );
3987 NdrProxyGetBuffer(This, &_StubMsg);
3988 NdrSimpleStructMarshall( (PMIDL_STUB_MESSAGE)& _StubMsg,
3989 (unsigned char __RPC_FAR *)riid,
3990 (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[38] );
3992 NdrProxySendReceive(This, &_StubMsg);
3994 if ( (_RpcMessage.DataRepresentation & 0X0000FFFFUL) != NDR_LOCAL_DATA_REPRESENTATION )
3995 NdrConvert( (PMIDL_STUB_MESSAGE) &_StubMsg, (PFORMAT_STRING) &__MIDL_ProcFormatString.Format[254] );
3997 NdrPointerUnmarshall( (PMIDL_STUB_MESSAGE) &_StubMsg,
3998 (unsigned char __RPC_FAR * __RPC_FAR *)&ppvObj,
3999 (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[1716],
4000 (unsigned char)0 );
4002 _StubMsg.Buffer = (unsigned char __RPC_FAR *)(((long)_StubMsg.Buffer + 3) & ~ 0x3);
4003 _RetVal = *(( HRESULT __RPC_FAR * )_StubMsg.Buffer)++;
4006 RpcFinally
4008 NdrProxyFreeBuffer(This, &_StubMsg);
4011 RpcEndFinally
4014 RpcExcept(_StubMsg.dwStubPhase != PROXY_SENDRECEIVE)
4016 _StubMsg.MaxCount = (unsigned long) ( riid );
4018 NdrClearOutParameters(
4019 ( PMIDL_STUB_MESSAGE )&_StubMsg,
4020 ( PFORMAT_STRING )&__MIDL_TypeFormatString.Format[1716],
4021 ( void __RPC_FAR * )ppvObj);
4022 _RetVal = NdrProxyErrorHandler(RpcExceptionCode());
4024 RpcEndExcept
4025 return _RetVal;
4028 void __RPC_STUB ITypeInfo_RemoteCreateInstance_Stub(
4029 IRpcStubBuffer *This,
4030 IRpcChannelBuffer *_pRpcChannelBuffer,
4031 PRPC_MESSAGE _pRpcMessage,
4032 DWORD *_pdwStubPhase)
4034 IUnknown __RPC_FAR *__RPC_FAR *_M45;
4035 HRESULT _RetVal;
4036 MIDL_STUB_MESSAGE _StubMsg;
4037 IUnknown __RPC_FAR *__RPC_FAR *ppvObj;
4038 REFIID riid = 0;
4040 NdrStubInitialize(
4041 _pRpcMessage,
4042 &_StubMsg,
4043 &Object_StubDesc,
4044 _pRpcChannelBuffer);
4045 ( IUnknown __RPC_FAR *__RPC_FAR * )ppvObj = 0;
4046 RpcTryFinally
4048 if ( (_pRpcMessage->DataRepresentation & 0X0000FFFFUL) != NDR_LOCAL_DATA_REPRESENTATION )
4049 NdrConvert( (PMIDL_STUB_MESSAGE) &_StubMsg, (PFORMAT_STRING) &__MIDL_ProcFormatString.Format[254] );
4051 NdrSimpleStructUnmarshall( (PMIDL_STUB_MESSAGE) &_StubMsg,
4052 (unsigned char __RPC_FAR * __RPC_FAR *)&riid,
4053 (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[38],
4054 (unsigned char)0 );
4056 ppvObj = (void *)&_M45;
4057 _M45 = 0;
4059 *_pdwStubPhase = STUB_CALL_SERVER;
4062 _RetVal = ITypeInfo_CreateInstance_Stub(
4063 (ITypeInfo *) ((CStdStubBuffer *)This)->pvServerObject,
4064 riid,
4065 ppvObj);
4067 *_pdwStubPhase = STUB_MARSHAL;
4069 _StubMsg.BufferLength = 0U + 4U;
4070 _StubMsg.MaxCount = (unsigned long) ( riid );
4072 NdrPointerBufferSize( (PMIDL_STUB_MESSAGE) &_StubMsg,
4073 (unsigned char __RPC_FAR *)ppvObj,
4074 (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[1716] );
4076 _StubMsg.BufferLength += 16;
4078 NdrStubGetBuffer(This, _pRpcChannelBuffer, &_StubMsg);
4079 _StubMsg.MaxCount = (unsigned long) ( riid );
4081 NdrPointerMarshall( (PMIDL_STUB_MESSAGE)& _StubMsg,
4082 (unsigned char __RPC_FAR *)ppvObj,
4083 (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[1716] );
4085 _StubMsg.Buffer = (unsigned char __RPC_FAR *)(((long)_StubMsg.Buffer + 3) & ~ 0x3);
4086 *(( HRESULT __RPC_FAR * )_StubMsg.Buffer)++ = _RetVal;
4089 RpcFinally
4091 _StubMsg.MaxCount = (unsigned long) ( riid );
4093 NdrPointerFree( &_StubMsg,
4094 (unsigned char __RPC_FAR *)ppvObj,
4095 &__MIDL_TypeFormatString.Format[1716] );
4098 RpcEndFinally
4099 _pRpcMessage->BufferLength =
4100 (unsigned int)((long)_StubMsg.Buffer - (long)_pRpcMessage->Buffer);
4105 HRESULT STDMETHODCALLTYPE ITypeInfo_GetMops_Proxy(
4106 ITypeInfo __RPC_FAR * This,
4107 /* [in] */ MEMBERID memid,
4108 /* [out] */ BSTR __RPC_FAR *pBstrMops)
4111 HRESULT _RetVal;
4113 RPC_MESSAGE _RpcMessage;
4115 MIDL_STUB_MESSAGE _StubMsg;
4117 if(pBstrMops)
4119 MIDL_memset(
4120 pBstrMops,
4122 sizeof( BSTR ));
4124 RpcTryExcept
4126 NdrProxyInitialize(
4127 ( void __RPC_FAR * )This,
4128 ( PRPC_MESSAGE )&_RpcMessage,
4129 ( PMIDL_STUB_MESSAGE )&_StubMsg,
4130 ( PMIDL_STUB_DESC )&Object_StubDesc,
4131 17);
4135 if(!pBstrMops)
4137 RpcRaiseException(RPC_X_NULL_REF_POINTER);
4139 RpcTryFinally
4142 _StubMsg.BufferLength = 4U;
4143 NdrProxyGetBuffer(This, &_StubMsg);
4144 *(( MEMBERID __RPC_FAR * )_StubMsg.Buffer)++ = memid;
4146 NdrProxySendReceive(This, &_StubMsg);
4148 if ( (_RpcMessage.DataRepresentation & 0X0000FFFFUL) != NDR_LOCAL_DATA_REPRESENTATION )
4149 NdrConvert( (PMIDL_STUB_MESSAGE) &_StubMsg, (PFORMAT_STRING) &__MIDL_ProcFormatString.Format[264] );
4151 NdrUserMarshalUnmarshall( (PMIDL_STUB_MESSAGE) &_StubMsg,
4152 (unsigned char __RPC_FAR * __RPC_FAR *)&pBstrMops,
4153 (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[1128],
4154 (unsigned char)0 );
4156 _StubMsg.Buffer = (unsigned char __RPC_FAR *)(((long)_StubMsg.Buffer + 3) & ~ 0x3);
4157 _RetVal = *(( HRESULT __RPC_FAR * )_StubMsg.Buffer)++;
4160 RpcFinally
4162 NdrProxyFreeBuffer(This, &_StubMsg);
4165 RpcEndFinally
4168 RpcExcept(_StubMsg.dwStubPhase != PROXY_SENDRECEIVE)
4170 NdrClearOutParameters(
4171 ( PMIDL_STUB_MESSAGE )&_StubMsg,
4172 ( PFORMAT_STRING )&__MIDL_TypeFormatString.Format[1708],
4173 ( void __RPC_FAR * )pBstrMops);
4174 _RetVal = NdrProxyErrorHandler(RpcExceptionCode());
4176 RpcEndExcept
4177 return _RetVal;
4180 void __RPC_STUB ITypeInfo_GetMops_Stub(
4181 IRpcStubBuffer *This,
4182 IRpcChannelBuffer *_pRpcChannelBuffer,
4183 PRPC_MESSAGE _pRpcMessage,
4184 DWORD *_pdwStubPhase)
4186 BSTR _M46;
4187 HRESULT _RetVal;
4188 MIDL_STUB_MESSAGE _StubMsg;
4189 MEMBERID memid;
4190 BSTR __RPC_FAR *pBstrMops;
4192 NdrStubInitialize(
4193 _pRpcMessage,
4194 &_StubMsg,
4195 &Object_StubDesc,
4196 _pRpcChannelBuffer);
4197 ( BSTR __RPC_FAR * )pBstrMops = 0;
4198 RpcTryFinally
4200 if ( (_pRpcMessage->DataRepresentation & 0X0000FFFFUL) != NDR_LOCAL_DATA_REPRESENTATION )
4201 NdrConvert( (PMIDL_STUB_MESSAGE) &_StubMsg, (PFORMAT_STRING) &__MIDL_ProcFormatString.Format[264] );
4203 memid = *(( MEMBERID __RPC_FAR * )_StubMsg.Buffer)++;
4205 pBstrMops = &_M46;
4206 MIDL_memset(
4207 pBstrMops,
4209 sizeof( BSTR ));
4211 *_pdwStubPhase = STUB_CALL_SERVER;
4212 _RetVal = (((ITypeInfo*) ((CStdStubBuffer *)This)->pvServerObject)->lpVtbl) -> GetMops(
4213 (ITypeInfo *) ((CStdStubBuffer *)This)->pvServerObject,
4214 memid,
4215 pBstrMops);
4217 *_pdwStubPhase = STUB_MARSHAL;
4219 _StubMsg.BufferLength = 8U + 11U;
4220 NdrUserMarshalBufferSize( (PMIDL_STUB_MESSAGE) &_StubMsg,
4221 (unsigned char __RPC_FAR *)pBstrMops,
4222 (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[1128] );
4224 _StubMsg.BufferLength += 16;
4226 NdrStubGetBuffer(This, _pRpcChannelBuffer, &_StubMsg);
4227 NdrUserMarshalMarshall( (PMIDL_STUB_MESSAGE)& _StubMsg,
4228 (unsigned char __RPC_FAR *)pBstrMops,
4229 (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[1128] );
4231 _StubMsg.Buffer = (unsigned char __RPC_FAR *)(((long)_StubMsg.Buffer + 3) & ~ 0x3);
4232 *(( HRESULT __RPC_FAR * )_StubMsg.Buffer)++ = _RetVal;
4235 RpcFinally
4237 NdrPointerFree( &_StubMsg,
4238 (unsigned char __RPC_FAR *)pBstrMops,
4239 &__MIDL_TypeFormatString.Format[1708] );
4242 RpcEndFinally
4243 _pRpcMessage->BufferLength =
4244 (unsigned int)((long)_StubMsg.Buffer - (long)_pRpcMessage->Buffer);
4249 /* [call_as] */ HRESULT STDMETHODCALLTYPE ITypeInfo_RemoteGetContainingTypeLib_Proxy(
4250 ITypeInfo __RPC_FAR * This,
4251 /* [out] */ ITypeLib __RPC_FAR *__RPC_FAR *ppTLib,
4252 /* [out] */ UINT __RPC_FAR *pIndex)
4255 HRESULT _RetVal;
4257 RPC_MESSAGE _RpcMessage;
4259 MIDL_STUB_MESSAGE _StubMsg;
4261 if(ppTLib)
4263 MIDL_memset(
4264 ppTLib,
4266 sizeof( ITypeLib __RPC_FAR *__RPC_FAR * ));
4268 RpcTryExcept
4270 NdrProxyInitialize(
4271 ( void __RPC_FAR * )This,
4272 ( PRPC_MESSAGE )&_RpcMessage,
4273 ( PMIDL_STUB_MESSAGE )&_StubMsg,
4274 ( PMIDL_STUB_DESC )&Object_StubDesc,
4275 18);
4279 if(!ppTLib)
4281 RpcRaiseException(RPC_X_NULL_REF_POINTER);
4283 if(!pIndex)
4285 RpcRaiseException(RPC_X_NULL_REF_POINTER);
4287 RpcTryFinally
4290 _StubMsg.BufferLength = 0U;
4291 NdrProxyGetBuffer(This, &_StubMsg);
4292 NdrProxySendReceive(This, &_StubMsg);
4294 if ( (_RpcMessage.DataRepresentation & 0X0000FFFFUL) != NDR_LOCAL_DATA_REPRESENTATION )
4295 NdrConvert( (PMIDL_STUB_MESSAGE) &_StubMsg, (PFORMAT_STRING) &__MIDL_ProcFormatString.Format[272] );
4297 NdrPointerUnmarshall( (PMIDL_STUB_MESSAGE) &_StubMsg,
4298 (unsigned char __RPC_FAR * __RPC_FAR *)&ppTLib,
4299 (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[1726],
4300 (unsigned char)0 );
4302 _StubMsg.Buffer = (unsigned char __RPC_FAR *)(((long)_StubMsg.Buffer + 3) & ~ 0x3);
4303 *pIndex = *(( UINT __RPC_FAR * )_StubMsg.Buffer)++;
4305 _RetVal = *(( HRESULT __RPC_FAR * )_StubMsg.Buffer)++;
4308 RpcFinally
4310 NdrProxyFreeBuffer(This, &_StubMsg);
4313 RpcEndFinally
4316 RpcExcept(_StubMsg.dwStubPhase != PROXY_SENDRECEIVE)
4318 NdrClearOutParameters(
4319 ( PMIDL_STUB_MESSAGE )&_StubMsg,
4320 ( PFORMAT_STRING )&__MIDL_TypeFormatString.Format[1726],
4321 ( void __RPC_FAR * )ppTLib);
4322 NdrClearOutParameters(
4323 ( PMIDL_STUB_MESSAGE )&_StubMsg,
4324 ( PFORMAT_STRING )&__MIDL_TypeFormatString.Format[2],
4325 ( void __RPC_FAR * )pIndex);
4326 _RetVal = NdrProxyErrorHandler(RpcExceptionCode());
4328 RpcEndExcept
4329 return _RetVal;
4332 void __RPC_STUB ITypeInfo_RemoteGetContainingTypeLib_Stub(
4333 IRpcStubBuffer *This,
4334 IRpcChannelBuffer *_pRpcChannelBuffer,
4335 PRPC_MESSAGE _pRpcMessage,
4336 DWORD *_pdwStubPhase)
4338 ITypeLib __RPC_FAR *_M47;
4339 UINT _M48;
4340 HRESULT _RetVal;
4341 MIDL_STUB_MESSAGE _StubMsg;
4342 UINT __RPC_FAR *pIndex;
4343 ITypeLib __RPC_FAR *__RPC_FAR *ppTLib;
4345 NdrStubInitialize(
4346 _pRpcMessage,
4347 &_StubMsg,
4348 &Object_StubDesc,
4349 _pRpcChannelBuffer);
4350 ( ITypeLib __RPC_FAR *__RPC_FAR * )ppTLib = 0;
4351 ( UINT __RPC_FAR * )pIndex = 0;
4352 RpcTryFinally
4354 ppTLib = &_M47;
4355 _M47 = 0;
4356 pIndex = &_M48;
4358 *_pdwStubPhase = STUB_CALL_SERVER;
4361 _RetVal = ITypeInfo_GetContainingTypeLib_Stub(
4362 (ITypeInfo *) ((CStdStubBuffer *)This)->pvServerObject,
4363 ppTLib,
4364 pIndex);
4366 *_pdwStubPhase = STUB_MARSHAL;
4368 _StubMsg.BufferLength = 0U + 4U + 4U;
4369 NdrPointerBufferSize( (PMIDL_STUB_MESSAGE) &_StubMsg,
4370 (unsigned char __RPC_FAR *)ppTLib,
4371 (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[1726] );
4373 _StubMsg.BufferLength += 16;
4375 NdrStubGetBuffer(This, _pRpcChannelBuffer, &_StubMsg);
4376 NdrPointerMarshall( (PMIDL_STUB_MESSAGE)& _StubMsg,
4377 (unsigned char __RPC_FAR *)ppTLib,
4378 (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[1726] );
4380 _StubMsg.Buffer = (unsigned char __RPC_FAR *)(((long)_StubMsg.Buffer + 3) & ~ 0x3);
4381 *(( UINT __RPC_FAR * )_StubMsg.Buffer)++ = *pIndex;
4383 *(( HRESULT __RPC_FAR * )_StubMsg.Buffer)++ = _RetVal;
4386 RpcFinally
4388 NdrPointerFree( &_StubMsg,
4389 (unsigned char __RPC_FAR *)ppTLib,
4390 &__MIDL_TypeFormatString.Format[1726] );
4393 RpcEndFinally
4394 _pRpcMessage->BufferLength =
4395 (unsigned int)((long)_StubMsg.Buffer - (long)_pRpcMessage->Buffer);
4400 /* [call_as] */ HRESULT STDMETHODCALLTYPE ITypeInfo_LocalReleaseTypeAttr_Proxy(
4401 ITypeInfo __RPC_FAR * This)
4404 HRESULT _RetVal;
4406 RPC_MESSAGE _RpcMessage;
4408 MIDL_STUB_MESSAGE _StubMsg;
4410 RpcTryExcept
4412 NdrProxyInitialize(
4413 ( void __RPC_FAR * )This,
4414 ( PRPC_MESSAGE )&_RpcMessage,
4415 ( PMIDL_STUB_MESSAGE )&_StubMsg,
4416 ( PMIDL_STUB_DESC )&Object_StubDesc,
4417 19);
4421 RpcTryFinally
4424 _StubMsg.BufferLength = 0U;
4425 NdrProxyGetBuffer(This, &_StubMsg);
4426 NdrProxySendReceive(This, &_StubMsg);
4428 if ( (_RpcMessage.DataRepresentation & 0X0000FFFFUL) != NDR_LOCAL_DATA_REPRESENTATION )
4429 NdrConvert( (PMIDL_STUB_MESSAGE) &_StubMsg, (PFORMAT_STRING) &__MIDL_ProcFormatString.Format[88] );
4431 _RetVal = *(( HRESULT __RPC_FAR * )_StubMsg.Buffer)++;
4434 RpcFinally
4436 NdrProxyFreeBuffer(This, &_StubMsg);
4439 RpcEndFinally
4442 RpcExcept(_StubMsg.dwStubPhase != PROXY_SENDRECEIVE)
4444 _RetVal = NdrProxyErrorHandler(RpcExceptionCode());
4446 RpcEndExcept
4447 return _RetVal;
4450 void __RPC_STUB ITypeInfo_LocalReleaseTypeAttr_Stub(
4451 IRpcStubBuffer *This,
4452 IRpcChannelBuffer *_pRpcChannelBuffer,
4453 PRPC_MESSAGE _pRpcMessage,
4454 DWORD *_pdwStubPhase)
4456 HRESULT _RetVal;
4457 MIDL_STUB_MESSAGE _StubMsg;
4459 NdrStubInitialize(
4460 _pRpcMessage,
4461 &_StubMsg,
4462 &Object_StubDesc,
4463 _pRpcChannelBuffer);
4464 RpcTryFinally
4467 *_pdwStubPhase = STUB_CALL_SERVER;
4470 _RetVal = ITypeInfo_ReleaseTypeAttr_Stub((ITypeInfo *) ((CStdStubBuffer *)This)->pvServerObject);
4472 *_pdwStubPhase = STUB_MARSHAL;
4474 _StubMsg.BufferLength = 4U;
4475 NdrStubGetBuffer(This, _pRpcChannelBuffer, &_StubMsg);
4476 *(( HRESULT __RPC_FAR * )_StubMsg.Buffer)++ = _RetVal;
4479 RpcFinally
4482 RpcEndFinally
4483 _pRpcMessage->BufferLength =
4484 (unsigned int)((long)_StubMsg.Buffer - (long)_pRpcMessage->Buffer);
4489 /* [call_as] */ HRESULT STDMETHODCALLTYPE ITypeInfo_LocalReleaseFuncDesc_Proxy(
4490 ITypeInfo __RPC_FAR * This)
4493 HRESULT _RetVal;
4495 RPC_MESSAGE _RpcMessage;
4497 MIDL_STUB_MESSAGE _StubMsg;
4499 RpcTryExcept
4501 NdrProxyInitialize(
4502 ( void __RPC_FAR * )This,
4503 ( PRPC_MESSAGE )&_RpcMessage,
4504 ( PMIDL_STUB_MESSAGE )&_StubMsg,
4505 ( PMIDL_STUB_DESC )&Object_StubDesc,
4506 20);
4510 RpcTryFinally
4513 _StubMsg.BufferLength = 0U;
4514 NdrProxyGetBuffer(This, &_StubMsg);
4515 NdrProxySendReceive(This, &_StubMsg);
4517 if ( (_RpcMessage.DataRepresentation & 0X0000FFFFUL) != NDR_LOCAL_DATA_REPRESENTATION )
4518 NdrConvert( (PMIDL_STUB_MESSAGE) &_StubMsg, (PFORMAT_STRING) &__MIDL_ProcFormatString.Format[88] );
4520 _RetVal = *(( HRESULT __RPC_FAR * )_StubMsg.Buffer)++;
4523 RpcFinally
4525 NdrProxyFreeBuffer(This, &_StubMsg);
4528 RpcEndFinally
4531 RpcExcept(_StubMsg.dwStubPhase != PROXY_SENDRECEIVE)
4533 _RetVal = NdrProxyErrorHandler(RpcExceptionCode());
4535 RpcEndExcept
4536 return _RetVal;
4539 void __RPC_STUB ITypeInfo_LocalReleaseFuncDesc_Stub(
4540 IRpcStubBuffer *This,
4541 IRpcChannelBuffer *_pRpcChannelBuffer,
4542 PRPC_MESSAGE _pRpcMessage,
4543 DWORD *_pdwStubPhase)
4545 HRESULT _RetVal;
4546 MIDL_STUB_MESSAGE _StubMsg;
4548 NdrStubInitialize(
4549 _pRpcMessage,
4550 &_StubMsg,
4551 &Object_StubDesc,
4552 _pRpcChannelBuffer);
4553 RpcTryFinally
4556 *_pdwStubPhase = STUB_CALL_SERVER;
4559 _RetVal = ITypeInfo_ReleaseFuncDesc_Stub((ITypeInfo *) ((CStdStubBuffer *)This)->pvServerObject);
4561 *_pdwStubPhase = STUB_MARSHAL;
4563 _StubMsg.BufferLength = 4U;
4564 NdrStubGetBuffer(This, _pRpcChannelBuffer, &_StubMsg);
4565 *(( HRESULT __RPC_FAR * )_StubMsg.Buffer)++ = _RetVal;
4568 RpcFinally
4571 RpcEndFinally
4572 _pRpcMessage->BufferLength =
4573 (unsigned int)((long)_StubMsg.Buffer - (long)_pRpcMessage->Buffer);
4578 /* [call_as] */ HRESULT STDMETHODCALLTYPE ITypeInfo_LocalReleaseVarDesc_Proxy(
4579 ITypeInfo __RPC_FAR * This)
4582 HRESULT _RetVal;
4584 RPC_MESSAGE _RpcMessage;
4586 MIDL_STUB_MESSAGE _StubMsg;
4588 RpcTryExcept
4590 NdrProxyInitialize(
4591 ( void __RPC_FAR * )This,
4592 ( PRPC_MESSAGE )&_RpcMessage,
4593 ( PMIDL_STUB_MESSAGE )&_StubMsg,
4594 ( PMIDL_STUB_DESC )&Object_StubDesc,
4595 21);
4599 RpcTryFinally
4602 _StubMsg.BufferLength = 0U;
4603 NdrProxyGetBuffer(This, &_StubMsg);
4604 NdrProxySendReceive(This, &_StubMsg);
4606 if ( (_RpcMessage.DataRepresentation & 0X0000FFFFUL) != NDR_LOCAL_DATA_REPRESENTATION )
4607 NdrConvert( (PMIDL_STUB_MESSAGE) &_StubMsg, (PFORMAT_STRING) &__MIDL_ProcFormatString.Format[88] );
4609 _RetVal = *(( HRESULT __RPC_FAR * )_StubMsg.Buffer)++;
4612 RpcFinally
4614 NdrProxyFreeBuffer(This, &_StubMsg);
4617 RpcEndFinally
4620 RpcExcept(_StubMsg.dwStubPhase != PROXY_SENDRECEIVE)
4622 _RetVal = NdrProxyErrorHandler(RpcExceptionCode());
4624 RpcEndExcept
4625 return _RetVal;
4628 void __RPC_STUB ITypeInfo_LocalReleaseVarDesc_Stub(
4629 IRpcStubBuffer *This,
4630 IRpcChannelBuffer *_pRpcChannelBuffer,
4631 PRPC_MESSAGE _pRpcMessage,
4632 DWORD *_pdwStubPhase)
4634 HRESULT _RetVal;
4635 MIDL_STUB_MESSAGE _StubMsg;
4637 NdrStubInitialize(
4638 _pRpcMessage,
4639 &_StubMsg,
4640 &Object_StubDesc,
4641 _pRpcChannelBuffer);
4642 RpcTryFinally
4645 *_pdwStubPhase = STUB_CALL_SERVER;
4648 _RetVal = ITypeInfo_ReleaseVarDesc_Stub((ITypeInfo *) ((CStdStubBuffer *)This)->pvServerObject);
4650 *_pdwStubPhase = STUB_MARSHAL;
4652 _StubMsg.BufferLength = 4U;
4653 NdrStubGetBuffer(This, _pRpcChannelBuffer, &_StubMsg);
4654 *(( HRESULT __RPC_FAR * )_StubMsg.Buffer)++ = _RetVal;
4657 RpcFinally
4660 RpcEndFinally
4661 _pRpcMessage->BufferLength =
4662 (unsigned int)((long)_StubMsg.Buffer - (long)_pRpcMessage->Buffer);
4666 const CINTERFACE_PROXY_VTABLE(22) _ITypeInfoProxyVtbl =
4668 { &IID_ITypeInfo },
4670 IUnknown_QueryInterface_Proxy,
4671 IUnknown_AddRef_Proxy,
4672 IUnknown_Release_Proxy ,
4673 ITypeInfo_GetTypeAttr_Proxy ,
4674 ITypeInfo_GetTypeComp_Proxy ,
4675 ITypeInfo_GetFuncDesc_Proxy ,
4676 ITypeInfo_GetVarDesc_Proxy ,
4677 ITypeInfo_GetNames_Proxy ,
4678 ITypeInfo_GetRefTypeOfImplType_Proxy ,
4679 ITypeInfo_GetImplTypeFlags_Proxy ,
4680 ITypeInfo_GetIDsOfNames_Proxy ,
4681 ITypeInfo_Invoke_Proxy ,
4682 ITypeInfo_GetDocumentation_Proxy ,
4683 ITypeInfo_GetDllEntry_Proxy ,
4684 ITypeInfo_GetRefTypeInfo_Proxy ,
4685 ITypeInfo_AddressOfMember_Proxy ,
4686 ITypeInfo_CreateInstance_Proxy ,
4687 ITypeInfo_GetMops_Proxy ,
4688 ITypeInfo_GetContainingTypeLib_Proxy ,
4689 ITypeInfo_ReleaseTypeAttr_Proxy ,
4690 ITypeInfo_ReleaseFuncDesc_Proxy ,
4691 ITypeInfo_ReleaseVarDesc_Proxy
4696 static const PRPC_STUB_FUNCTION ITypeInfo_table[] =
4698 ITypeInfo_RemoteGetTypeAttr_Stub,
4699 ITypeInfo_GetTypeComp_Stub,
4700 ITypeInfo_RemoteGetFuncDesc_Stub,
4701 ITypeInfo_RemoteGetVarDesc_Stub,
4702 ITypeInfo_RemoteGetNames_Stub,
4703 ITypeInfo_GetRefTypeOfImplType_Stub,
4704 ITypeInfo_GetImplTypeFlags_Stub,
4705 ITypeInfo_LocalGetIDsOfNames_Stub,
4706 ITypeInfo_LocalInvoke_Stub,
4707 ITypeInfo_RemoteGetDocumentation_Stub,
4708 ITypeInfo_RemoteGetDllEntry_Stub,
4709 ITypeInfo_GetRefTypeInfo_Stub,
4710 ITypeInfo_LocalAddressOfMember_Stub,
4711 ITypeInfo_RemoteCreateInstance_Stub,
4712 ITypeInfo_GetMops_Stub,
4713 ITypeInfo_RemoteGetContainingTypeLib_Stub,
4714 ITypeInfo_LocalReleaseTypeAttr_Stub,
4715 ITypeInfo_LocalReleaseFuncDesc_Stub,
4716 ITypeInfo_LocalReleaseVarDesc_Stub
4719 const CInterfaceStubVtbl _ITypeInfoStubVtbl =
4722 &IID_ITypeInfo,
4725 &ITypeInfo_table[-3]
4727 { CStdStubBuffer_METHODS }
4731 /* Object interface: ITypeInfo2, ver. 0.0,
4732 GUID={0x00020412,0x0000,0x0000,{0xC0,0x00,0x00,0x00,0x00,0x00,0x00,0x46}} */
4735 extern const MIDL_STUB_DESC Object_StubDesc;
4738 HRESULT STDMETHODCALLTYPE ITypeInfo2_GetTypeKind_Proxy(
4739 ITypeInfo2 __RPC_FAR * This,
4740 /* [out] */ TYPEKIND __RPC_FAR *pTypeKind)
4743 HRESULT _RetVal;
4745 RPC_MESSAGE _RpcMessage;
4747 MIDL_STUB_MESSAGE _StubMsg;
4749 RpcTryExcept
4751 NdrProxyInitialize(
4752 ( void __RPC_FAR * )This,
4753 ( PRPC_MESSAGE )&_RpcMessage,
4754 ( PMIDL_STUB_MESSAGE )&_StubMsg,
4755 ( PMIDL_STUB_DESC )&Object_StubDesc,
4756 22);
4760 if(!pTypeKind)
4762 RpcRaiseException(RPC_X_NULL_REF_POINTER);
4764 RpcTryFinally
4767 _StubMsg.BufferLength = 0U;
4768 NdrProxyGetBuffer(This, &_StubMsg);
4769 NdrProxySendReceive(This, &_StubMsg);
4771 if ( (_RpcMessage.DataRepresentation & 0X0000FFFFUL) != NDR_LOCAL_DATA_REPRESENTATION )
4772 NdrConvert( (PMIDL_STUB_MESSAGE) &_StubMsg, (PFORMAT_STRING) &__MIDL_ProcFormatString.Format[282] );
4774 NdrPointerUnmarshall( (PMIDL_STUB_MESSAGE) &_StubMsg,
4775 (unsigned char __RPC_FAR * __RPC_FAR *)&pTypeKind,
4776 (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[1250],
4777 (unsigned char)0 );
4779 _RetVal = *(( HRESULT __RPC_FAR * )_StubMsg.Buffer)++;
4782 RpcFinally
4784 NdrProxyFreeBuffer(This, &_StubMsg);
4787 RpcEndFinally
4790 RpcExcept(_StubMsg.dwStubPhase != PROXY_SENDRECEIVE)
4792 NdrClearOutParameters(
4793 ( PMIDL_STUB_MESSAGE )&_StubMsg,
4794 ( PFORMAT_STRING )&__MIDL_TypeFormatString.Format[1250],
4795 ( void __RPC_FAR * )pTypeKind);
4796 _RetVal = NdrProxyErrorHandler(RpcExceptionCode());
4798 RpcEndExcept
4799 return _RetVal;
4802 void __RPC_STUB ITypeInfo2_GetTypeKind_Stub(
4803 IRpcStubBuffer *This,
4804 IRpcChannelBuffer *_pRpcChannelBuffer,
4805 PRPC_MESSAGE _pRpcMessage,
4806 DWORD *_pdwStubPhase)
4808 TYPEKIND _M49;
4809 HRESULT _RetVal;
4810 MIDL_STUB_MESSAGE _StubMsg;
4811 TYPEKIND __RPC_FAR *pTypeKind;
4813 NdrStubInitialize(
4814 _pRpcMessage,
4815 &_StubMsg,
4816 &Object_StubDesc,
4817 _pRpcChannelBuffer);
4818 ( TYPEKIND __RPC_FAR * )pTypeKind = 0;
4819 RpcTryFinally
4821 pTypeKind = &_M49;
4823 *_pdwStubPhase = STUB_CALL_SERVER;
4824 _RetVal = (((ITypeInfo2*) ((CStdStubBuffer *)This)->pvServerObject)->lpVtbl) -> GetTypeKind((ITypeInfo2 *) ((CStdStubBuffer *)This)->pvServerObject,pTypeKind);
4826 *_pdwStubPhase = STUB_MARSHAL;
4828 _StubMsg.BufferLength = 4U + 4U;
4829 NdrStubGetBuffer(This, _pRpcChannelBuffer, &_StubMsg);
4830 NdrPointerMarshall( (PMIDL_STUB_MESSAGE)& _StubMsg,
4831 (unsigned char __RPC_FAR *)pTypeKind,
4832 (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[1250] );
4834 *(( HRESULT __RPC_FAR * )_StubMsg.Buffer)++ = _RetVal;
4837 RpcFinally
4840 RpcEndFinally
4841 _pRpcMessage->BufferLength =
4842 (unsigned int)((long)_StubMsg.Buffer - (long)_pRpcMessage->Buffer);
4847 HRESULT STDMETHODCALLTYPE ITypeInfo2_GetTypeFlags_Proxy(
4848 ITypeInfo2 __RPC_FAR * This,
4849 /* [out] */ ULONG __RPC_FAR *pTypeFlags)
4852 HRESULT _RetVal;
4854 RPC_MESSAGE _RpcMessage;
4856 MIDL_STUB_MESSAGE _StubMsg;
4858 RpcTryExcept
4860 NdrProxyInitialize(
4861 ( void __RPC_FAR * )This,
4862 ( PRPC_MESSAGE )&_RpcMessage,
4863 ( PMIDL_STUB_MESSAGE )&_StubMsg,
4864 ( PMIDL_STUB_DESC )&Object_StubDesc,
4865 23);
4869 if(!pTypeFlags)
4871 RpcRaiseException(RPC_X_NULL_REF_POINTER);
4873 RpcTryFinally
4876 _StubMsg.BufferLength = 0U;
4877 NdrProxyGetBuffer(This, &_StubMsg);
4878 NdrProxySendReceive(This, &_StubMsg);
4880 if ( (_RpcMessage.DataRepresentation & 0X0000FFFFUL) != NDR_LOCAL_DATA_REPRESENTATION )
4881 NdrConvert( (PMIDL_STUB_MESSAGE) &_StubMsg, (PFORMAT_STRING) &__MIDL_ProcFormatString.Format[0] );
4883 *pTypeFlags = *(( ULONG __RPC_FAR * )_StubMsg.Buffer)++;
4885 _RetVal = *(( HRESULT __RPC_FAR * )_StubMsg.Buffer)++;
4888 RpcFinally
4890 NdrProxyFreeBuffer(This, &_StubMsg);
4893 RpcEndFinally
4896 RpcExcept(_StubMsg.dwStubPhase != PROXY_SENDRECEIVE)
4898 NdrClearOutParameters(
4899 ( PMIDL_STUB_MESSAGE )&_StubMsg,
4900 ( PFORMAT_STRING )&__MIDL_TypeFormatString.Format[2],
4901 ( void __RPC_FAR * )pTypeFlags);
4902 _RetVal = NdrProxyErrorHandler(RpcExceptionCode());
4904 RpcEndExcept
4905 return _RetVal;
4908 void __RPC_STUB ITypeInfo2_GetTypeFlags_Stub(
4909 IRpcStubBuffer *This,
4910 IRpcChannelBuffer *_pRpcChannelBuffer,
4911 PRPC_MESSAGE _pRpcMessage,
4912 DWORD *_pdwStubPhase)
4914 ULONG _M50;
4915 HRESULT _RetVal;
4916 MIDL_STUB_MESSAGE _StubMsg;
4917 ULONG __RPC_FAR *pTypeFlags;
4919 NdrStubInitialize(
4920 _pRpcMessage,
4921 &_StubMsg,
4922 &Object_StubDesc,
4923 _pRpcChannelBuffer);
4924 ( ULONG __RPC_FAR * )pTypeFlags = 0;
4925 RpcTryFinally
4927 pTypeFlags = &_M50;
4929 *_pdwStubPhase = STUB_CALL_SERVER;
4930 _RetVal = (((ITypeInfo2*) ((CStdStubBuffer *)This)->pvServerObject)->lpVtbl) -> GetTypeFlags((ITypeInfo2 *) ((CStdStubBuffer *)This)->pvServerObject,pTypeFlags);
4932 *_pdwStubPhase = STUB_MARSHAL;
4934 _StubMsg.BufferLength = 4U + 4U;
4935 NdrStubGetBuffer(This, _pRpcChannelBuffer, &_StubMsg);
4936 *(( ULONG __RPC_FAR * )_StubMsg.Buffer)++ = *pTypeFlags;
4938 *(( HRESULT __RPC_FAR * )_StubMsg.Buffer)++ = _RetVal;
4941 RpcFinally
4944 RpcEndFinally
4945 _pRpcMessage->BufferLength =
4946 (unsigned int)((long)_StubMsg.Buffer - (long)_pRpcMessage->Buffer);
4951 HRESULT STDMETHODCALLTYPE ITypeInfo2_GetFuncIndexOfMemId_Proxy(
4952 ITypeInfo2 __RPC_FAR * This,
4953 /* [in] */ MEMBERID memid,
4954 /* [in] */ INVOKEKIND invKind,
4955 /* [out] */ UINT __RPC_FAR *pFuncIndex)
4958 HRESULT _RetVal;
4960 RPC_MESSAGE _RpcMessage;
4962 MIDL_STUB_MESSAGE _StubMsg;
4964 RpcTryExcept
4966 NdrProxyInitialize(
4967 ( void __RPC_FAR * )This,
4968 ( PRPC_MESSAGE )&_RpcMessage,
4969 ( PMIDL_STUB_MESSAGE )&_StubMsg,
4970 ( PMIDL_STUB_DESC )&Object_StubDesc,
4971 24);
4975 if(!pFuncIndex)
4977 RpcRaiseException(RPC_X_NULL_REF_POINTER);
4979 RpcTryFinally
4982 _StubMsg.BufferLength = 4U + 4U;
4983 NdrProxyGetBuffer(This, &_StubMsg);
4984 *(( MEMBERID __RPC_FAR * )_StubMsg.Buffer)++ = memid;
4986 NdrSimpleTypeMarshall(
4987 ( PMIDL_STUB_MESSAGE )&_StubMsg,
4988 ( unsigned char __RPC_FAR * )&invKind,
4989 14);
4990 NdrProxySendReceive(This, &_StubMsg);
4992 if ( (_RpcMessage.DataRepresentation & 0X0000FFFFUL) != NDR_LOCAL_DATA_REPRESENTATION )
4993 NdrConvert( (PMIDL_STUB_MESSAGE) &_StubMsg, (PFORMAT_STRING) &__MIDL_ProcFormatString.Format[288] );
4995 *pFuncIndex = *(( UINT __RPC_FAR * )_StubMsg.Buffer)++;
4997 _RetVal = *(( HRESULT __RPC_FAR * )_StubMsg.Buffer)++;
5000 RpcFinally
5002 NdrProxyFreeBuffer(This, &_StubMsg);
5005 RpcEndFinally
5008 RpcExcept(_StubMsg.dwStubPhase != PROXY_SENDRECEIVE)
5010 NdrClearOutParameters(
5011 ( PMIDL_STUB_MESSAGE )&_StubMsg,
5012 ( PFORMAT_STRING )&__MIDL_TypeFormatString.Format[2],
5013 ( void __RPC_FAR * )pFuncIndex);
5014 _RetVal = NdrProxyErrorHandler(RpcExceptionCode());
5016 RpcEndExcept
5017 return _RetVal;
5020 void __RPC_STUB ITypeInfo2_GetFuncIndexOfMemId_Stub(
5021 IRpcStubBuffer *This,
5022 IRpcChannelBuffer *_pRpcChannelBuffer,
5023 PRPC_MESSAGE _pRpcMessage,
5024 DWORD *_pdwStubPhase)
5026 UINT _M51;
5027 HRESULT _RetVal;
5028 MIDL_STUB_MESSAGE _StubMsg;
5029 INVOKEKIND invKind;
5030 MEMBERID memid;
5031 UINT __RPC_FAR *pFuncIndex;
5033 NdrStubInitialize(
5034 _pRpcMessage,
5035 &_StubMsg,
5036 &Object_StubDesc,
5037 _pRpcChannelBuffer);
5038 ( UINT __RPC_FAR * )pFuncIndex = 0;
5039 RpcTryFinally
5041 if ( (_pRpcMessage->DataRepresentation & 0X0000FFFFUL) != NDR_LOCAL_DATA_REPRESENTATION )
5042 NdrConvert( (PMIDL_STUB_MESSAGE) &_StubMsg, (PFORMAT_STRING) &__MIDL_ProcFormatString.Format[288] );
5044 memid = *(( MEMBERID __RPC_FAR * )_StubMsg.Buffer)++;
5046 NdrSimpleTypeUnmarshall(
5047 ( PMIDL_STUB_MESSAGE )&_StubMsg,
5048 ( unsigned char __RPC_FAR * )&invKind,
5049 14);
5050 pFuncIndex = &_M51;
5052 *_pdwStubPhase = STUB_CALL_SERVER;
5053 _RetVal = (((ITypeInfo2*) ((CStdStubBuffer *)This)->pvServerObject)->lpVtbl) -> GetFuncIndexOfMemId(
5054 (ITypeInfo2 *) ((CStdStubBuffer *)This)->pvServerObject,
5055 memid,
5056 invKind,
5057 pFuncIndex);
5059 *_pdwStubPhase = STUB_MARSHAL;
5061 _StubMsg.BufferLength = 4U + 4U;
5062 NdrStubGetBuffer(This, _pRpcChannelBuffer, &_StubMsg);
5063 *(( UINT __RPC_FAR * )_StubMsg.Buffer)++ = *pFuncIndex;
5065 *(( HRESULT __RPC_FAR * )_StubMsg.Buffer)++ = _RetVal;
5068 RpcFinally
5071 RpcEndFinally
5072 _pRpcMessage->BufferLength =
5073 (unsigned int)((long)_StubMsg.Buffer - (long)_pRpcMessage->Buffer);
5078 HRESULT STDMETHODCALLTYPE ITypeInfo2_GetVarIndexOfMemId_Proxy(
5079 ITypeInfo2 __RPC_FAR * This,
5080 /* [in] */ MEMBERID memid,
5081 /* [out] */ UINT __RPC_FAR *pVarIndex)
5084 HRESULT _RetVal;
5086 RPC_MESSAGE _RpcMessage;
5088 MIDL_STUB_MESSAGE _StubMsg;
5090 RpcTryExcept
5092 NdrProxyInitialize(
5093 ( void __RPC_FAR * )This,
5094 ( PRPC_MESSAGE )&_RpcMessage,
5095 ( PMIDL_STUB_MESSAGE )&_StubMsg,
5096 ( PMIDL_STUB_DESC )&Object_StubDesc,
5097 25);
5101 if(!pVarIndex)
5103 RpcRaiseException(RPC_X_NULL_REF_POINTER);
5105 RpcTryFinally
5108 _StubMsg.BufferLength = 4U;
5109 NdrProxyGetBuffer(This, &_StubMsg);
5110 *(( MEMBERID __RPC_FAR * )_StubMsg.Buffer)++ = memid;
5112 NdrProxySendReceive(This, &_StubMsg);
5114 if ( (_RpcMessage.DataRepresentation & 0X0000FFFFUL) != NDR_LOCAL_DATA_REPRESENTATION )
5115 NdrConvert( (PMIDL_STUB_MESSAGE) &_StubMsg, (PFORMAT_STRING) &__MIDL_ProcFormatString.Format[196] );
5117 *pVarIndex = *(( UINT __RPC_FAR * )_StubMsg.Buffer)++;
5119 _RetVal = *(( HRESULT __RPC_FAR * )_StubMsg.Buffer)++;
5122 RpcFinally
5124 NdrProxyFreeBuffer(This, &_StubMsg);
5127 RpcEndFinally
5130 RpcExcept(_StubMsg.dwStubPhase != PROXY_SENDRECEIVE)
5132 NdrClearOutParameters(
5133 ( PMIDL_STUB_MESSAGE )&_StubMsg,
5134 ( PFORMAT_STRING )&__MIDL_TypeFormatString.Format[2],
5135 ( void __RPC_FAR * )pVarIndex);
5136 _RetVal = NdrProxyErrorHandler(RpcExceptionCode());
5138 RpcEndExcept
5139 return _RetVal;
5142 void __RPC_STUB ITypeInfo2_GetVarIndexOfMemId_Stub(
5143 IRpcStubBuffer *This,
5144 IRpcChannelBuffer *_pRpcChannelBuffer,
5145 PRPC_MESSAGE _pRpcMessage,
5146 DWORD *_pdwStubPhase)
5148 UINT _M52;
5149 HRESULT _RetVal;
5150 MIDL_STUB_MESSAGE _StubMsg;
5151 MEMBERID memid;
5152 UINT __RPC_FAR *pVarIndex;
5154 NdrStubInitialize(
5155 _pRpcMessage,
5156 &_StubMsg,
5157 &Object_StubDesc,
5158 _pRpcChannelBuffer);
5159 ( UINT __RPC_FAR * )pVarIndex = 0;
5160 RpcTryFinally
5162 if ( (_pRpcMessage->DataRepresentation & 0X0000FFFFUL) != NDR_LOCAL_DATA_REPRESENTATION )
5163 NdrConvert( (PMIDL_STUB_MESSAGE) &_StubMsg, (PFORMAT_STRING) &__MIDL_ProcFormatString.Format[196] );
5165 memid = *(( MEMBERID __RPC_FAR * )_StubMsg.Buffer)++;
5167 pVarIndex = &_M52;
5169 *_pdwStubPhase = STUB_CALL_SERVER;
5170 _RetVal = (((ITypeInfo2*) ((CStdStubBuffer *)This)->pvServerObject)->lpVtbl) -> GetVarIndexOfMemId(
5171 (ITypeInfo2 *) ((CStdStubBuffer *)This)->pvServerObject,
5172 memid,
5173 pVarIndex);
5175 *_pdwStubPhase = STUB_MARSHAL;
5177 _StubMsg.BufferLength = 4U + 4U;
5178 NdrStubGetBuffer(This, _pRpcChannelBuffer, &_StubMsg);
5179 *(( UINT __RPC_FAR * )_StubMsg.Buffer)++ = *pVarIndex;
5181 *(( HRESULT __RPC_FAR * )_StubMsg.Buffer)++ = _RetVal;
5184 RpcFinally
5187 RpcEndFinally
5188 _pRpcMessage->BufferLength =
5189 (unsigned int)((long)_StubMsg.Buffer - (long)_pRpcMessage->Buffer);
5194 HRESULT STDMETHODCALLTYPE ITypeInfo2_GetCustData_Proxy(
5195 ITypeInfo2 __RPC_FAR * This,
5196 /* [in] */ REFGUID guid,
5197 /* [out] */ VARIANT __RPC_FAR *pVarVal)
5200 HRESULT _RetVal;
5202 RPC_MESSAGE _RpcMessage;
5204 MIDL_STUB_MESSAGE _StubMsg;
5206 if(pVarVal)
5208 MIDL_memset(
5209 pVarVal,
5211 sizeof( VARIANT ));
5213 RpcTryExcept
5215 NdrProxyInitialize(
5216 ( void __RPC_FAR * )This,
5217 ( PRPC_MESSAGE )&_RpcMessage,
5218 ( PMIDL_STUB_MESSAGE )&_StubMsg,
5219 ( PMIDL_STUB_DESC )&Object_StubDesc,
5220 26);
5224 if(!guid)
5226 RpcRaiseException(RPC_X_NULL_REF_POINTER);
5228 if(!pVarVal)
5230 RpcRaiseException(RPC_X_NULL_REF_POINTER);
5232 RpcTryFinally
5235 _StubMsg.BufferLength = 0U;
5236 NdrSimpleStructBufferSize( (PMIDL_STUB_MESSAGE) &_StubMsg,
5237 (unsigned char __RPC_FAR *)guid,
5238 (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[38] );
5240 NdrProxyGetBuffer(This, &_StubMsg);
5241 NdrSimpleStructMarshall( (PMIDL_STUB_MESSAGE)& _StubMsg,
5242 (unsigned char __RPC_FAR *)guid,
5243 (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[38] );
5245 NdrProxySendReceive(This, &_StubMsg);
5247 if ( (_RpcMessage.DataRepresentation & 0X0000FFFFUL) != NDR_LOCAL_DATA_REPRESENTATION )
5248 NdrConvert( (PMIDL_STUB_MESSAGE) &_StubMsg, (PFORMAT_STRING) &__MIDL_ProcFormatString.Format[298] );
5250 NdrUserMarshalUnmarshall( (PMIDL_STUB_MESSAGE) &_StubMsg,
5251 (unsigned char __RPC_FAR * __RPC_FAR *)&pVarVal,
5252 (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[1110],
5253 (unsigned char)0 );
5255 _StubMsg.Buffer = (unsigned char __RPC_FAR *)(((long)_StubMsg.Buffer + 3) & ~ 0x3);
5256 _RetVal = *(( HRESULT __RPC_FAR * )_StubMsg.Buffer)++;
5259 RpcFinally
5261 NdrProxyFreeBuffer(This, &_StubMsg);
5264 RpcEndFinally
5267 RpcExcept(_StubMsg.dwStubPhase != PROXY_SENDRECEIVE)
5269 NdrClearOutParameters(
5270 ( PMIDL_STUB_MESSAGE )&_StubMsg,
5271 ( PFORMAT_STRING )&__MIDL_TypeFormatString.Format[1102],
5272 ( void __RPC_FAR * )pVarVal);
5273 _RetVal = NdrProxyErrorHandler(RpcExceptionCode());
5275 RpcEndExcept
5276 return _RetVal;
5279 void __RPC_STUB ITypeInfo2_GetCustData_Stub(
5280 IRpcStubBuffer *This,
5281 IRpcChannelBuffer *_pRpcChannelBuffer,
5282 PRPC_MESSAGE _pRpcMessage,
5283 DWORD *_pdwStubPhase)
5285 VARIANT _M53;
5286 HRESULT _RetVal;
5287 MIDL_STUB_MESSAGE _StubMsg;
5288 REFGUID guid = 0;
5289 VARIANT __RPC_FAR *pVarVal;
5291 NdrStubInitialize(
5292 _pRpcMessage,
5293 &_StubMsg,
5294 &Object_StubDesc,
5295 _pRpcChannelBuffer);
5296 ( VARIANT __RPC_FAR * )pVarVal = 0;
5297 RpcTryFinally
5299 if ( (_pRpcMessage->DataRepresentation & 0X0000FFFFUL) != NDR_LOCAL_DATA_REPRESENTATION )
5300 NdrConvert( (PMIDL_STUB_MESSAGE) &_StubMsg, (PFORMAT_STRING) &__MIDL_ProcFormatString.Format[298] );
5302 NdrSimpleStructUnmarshall( (PMIDL_STUB_MESSAGE) &_StubMsg,
5303 (unsigned char __RPC_FAR * __RPC_FAR *)&guid,
5304 (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[38],
5305 (unsigned char)0 );
5307 pVarVal = &_M53;
5308 MIDL_memset(
5309 pVarVal,
5311 sizeof( VARIANT ));
5313 *_pdwStubPhase = STUB_CALL_SERVER;
5314 _RetVal = (((ITypeInfo2*) ((CStdStubBuffer *)This)->pvServerObject)->lpVtbl) -> GetCustData(
5315 (ITypeInfo2 *) ((CStdStubBuffer *)This)->pvServerObject,
5316 guid,
5317 pVarVal);
5319 *_pdwStubPhase = STUB_MARSHAL;
5321 _StubMsg.BufferLength = 8U + 11U;
5322 NdrUserMarshalBufferSize( (PMIDL_STUB_MESSAGE) &_StubMsg,
5323 (unsigned char __RPC_FAR *)pVarVal,
5324 (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[1110] );
5326 _StubMsg.BufferLength += 16;
5328 NdrStubGetBuffer(This, _pRpcChannelBuffer, &_StubMsg);
5329 NdrUserMarshalMarshall( (PMIDL_STUB_MESSAGE)& _StubMsg,
5330 (unsigned char __RPC_FAR *)pVarVal,
5331 (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[1110] );
5333 _StubMsg.Buffer = (unsigned char __RPC_FAR *)(((long)_StubMsg.Buffer + 3) & ~ 0x3);
5334 *(( HRESULT __RPC_FAR * )_StubMsg.Buffer)++ = _RetVal;
5337 RpcFinally
5339 NdrPointerFree( &_StubMsg,
5340 (unsigned char __RPC_FAR *)pVarVal,
5341 &__MIDL_TypeFormatString.Format[1102] );
5344 RpcEndFinally
5345 _pRpcMessage->BufferLength =
5346 (unsigned int)((long)_StubMsg.Buffer - (long)_pRpcMessage->Buffer);
5351 HRESULT STDMETHODCALLTYPE ITypeInfo2_GetFuncCustData_Proxy(
5352 ITypeInfo2 __RPC_FAR * This,
5353 /* [in] */ UINT index,
5354 /* [in] */ REFGUID guid,
5355 /* [out] */ VARIANT __RPC_FAR *pVarVal)
5358 HRESULT _RetVal;
5360 RPC_MESSAGE _RpcMessage;
5362 MIDL_STUB_MESSAGE _StubMsg;
5364 if(pVarVal)
5366 MIDL_memset(
5367 pVarVal,
5369 sizeof( VARIANT ));
5371 RpcTryExcept
5373 NdrProxyInitialize(
5374 ( void __RPC_FAR * )This,
5375 ( PRPC_MESSAGE )&_RpcMessage,
5376 ( PMIDL_STUB_MESSAGE )&_StubMsg,
5377 ( PMIDL_STUB_DESC )&Object_StubDesc,
5378 27);
5382 if(!guid)
5384 RpcRaiseException(RPC_X_NULL_REF_POINTER);
5386 if(!pVarVal)
5388 RpcRaiseException(RPC_X_NULL_REF_POINTER);
5390 RpcTryFinally
5393 _StubMsg.BufferLength = 4U + 4U;
5394 NdrSimpleStructBufferSize( (PMIDL_STUB_MESSAGE) &_StubMsg,
5395 (unsigned char __RPC_FAR *)guid,
5396 (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[38] );
5398 NdrProxyGetBuffer(This, &_StubMsg);
5399 *(( UINT __RPC_FAR * )_StubMsg.Buffer)++ = index;
5401 NdrSimpleStructMarshall( (PMIDL_STUB_MESSAGE)& _StubMsg,
5402 (unsigned char __RPC_FAR *)guid,
5403 (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[38] );
5405 NdrProxySendReceive(This, &_StubMsg);
5407 if ( (_RpcMessage.DataRepresentation & 0X0000FFFFUL) != NDR_LOCAL_DATA_REPRESENTATION )
5408 NdrConvert( (PMIDL_STUB_MESSAGE) &_StubMsg, (PFORMAT_STRING) &__MIDL_ProcFormatString.Format[308] );
5410 NdrUserMarshalUnmarshall( (PMIDL_STUB_MESSAGE) &_StubMsg,
5411 (unsigned char __RPC_FAR * __RPC_FAR *)&pVarVal,
5412 (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[1110],
5413 (unsigned char)0 );
5415 _StubMsg.Buffer = (unsigned char __RPC_FAR *)(((long)_StubMsg.Buffer + 3) & ~ 0x3);
5416 _RetVal = *(( HRESULT __RPC_FAR * )_StubMsg.Buffer)++;
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_GetFuncCustData_Stub(
5440 IRpcStubBuffer *This,
5441 IRpcChannelBuffer *_pRpcChannelBuffer,
5442 PRPC_MESSAGE _pRpcMessage,
5443 DWORD *_pdwStubPhase)
5445 VARIANT _M54;
5446 HRESULT _RetVal;
5447 MIDL_STUB_MESSAGE _StubMsg;
5448 REFGUID guid = 0;
5449 UINT index;
5450 VARIANT __RPC_FAR *pVarVal;
5452 NdrStubInitialize(
5453 _pRpcMessage,
5454 &_StubMsg,
5455 &Object_StubDesc,
5456 _pRpcChannelBuffer);
5457 ( VARIANT __RPC_FAR * )pVarVal = 0;
5458 RpcTryFinally
5460 if ( (_pRpcMessage->DataRepresentation & 0X0000FFFFUL) != NDR_LOCAL_DATA_REPRESENTATION )
5461 NdrConvert( (PMIDL_STUB_MESSAGE) &_StubMsg, (PFORMAT_STRING) &__MIDL_ProcFormatString.Format[308] );
5463 index = *(( UINT __RPC_FAR * )_StubMsg.Buffer)++;
5465 NdrSimpleStructUnmarshall( (PMIDL_STUB_MESSAGE) &_StubMsg,
5466 (unsigned char __RPC_FAR * __RPC_FAR *)&guid,
5467 (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[38],
5468 (unsigned char)0 );
5470 pVarVal = &_M54;
5471 MIDL_memset(
5472 pVarVal,
5474 sizeof( VARIANT ));
5476 *_pdwStubPhase = STUB_CALL_SERVER;
5477 _RetVal = (((ITypeInfo2*) ((CStdStubBuffer *)This)->pvServerObject)->lpVtbl) -> GetFuncCustData(
5478 (ITypeInfo2 *) ((CStdStubBuffer *)This)->pvServerObject,
5479 index,
5480 guid,
5481 pVarVal);
5483 *_pdwStubPhase = STUB_MARSHAL;
5485 _StubMsg.BufferLength = 8U + 11U;
5486 NdrUserMarshalBufferSize( (PMIDL_STUB_MESSAGE) &_StubMsg,
5487 (unsigned char __RPC_FAR *)pVarVal,
5488 (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[1110] );
5490 _StubMsg.BufferLength += 16;
5492 NdrStubGetBuffer(This, _pRpcChannelBuffer, &_StubMsg);
5493 NdrUserMarshalMarshall( (PMIDL_STUB_MESSAGE)& _StubMsg,
5494 (unsigned char __RPC_FAR *)pVarVal,
5495 (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[1110] );
5497 _StubMsg.Buffer = (unsigned char __RPC_FAR *)(((long)_StubMsg.Buffer + 3) & ~ 0x3);
5498 *(( HRESULT __RPC_FAR * )_StubMsg.Buffer)++ = _RetVal;
5501 RpcFinally
5503 NdrPointerFree( &_StubMsg,
5504 (unsigned char __RPC_FAR *)pVarVal,
5505 &__MIDL_TypeFormatString.Format[1102] );
5508 RpcEndFinally
5509 _pRpcMessage->BufferLength =
5510 (unsigned int)((long)_StubMsg.Buffer - (long)_pRpcMessage->Buffer);
5515 HRESULT STDMETHODCALLTYPE ITypeInfo2_GetParamCustData_Proxy(
5516 ITypeInfo2 __RPC_FAR * This,
5517 /* [in] */ UINT indexFunc,
5518 /* [in] */ UINT indexParam,
5519 /* [in] */ REFGUID guid,
5520 /* [out] */ VARIANT __RPC_FAR *pVarVal)
5523 HRESULT _RetVal;
5525 RPC_MESSAGE _RpcMessage;
5527 MIDL_STUB_MESSAGE _StubMsg;
5529 if(pVarVal)
5531 MIDL_memset(
5532 pVarVal,
5534 sizeof( VARIANT ));
5536 RpcTryExcept
5538 NdrProxyInitialize(
5539 ( void __RPC_FAR * )This,
5540 ( PRPC_MESSAGE )&_RpcMessage,
5541 ( PMIDL_STUB_MESSAGE )&_StubMsg,
5542 ( PMIDL_STUB_DESC )&Object_StubDesc,
5543 28);
5547 if(!guid)
5549 RpcRaiseException(RPC_X_NULL_REF_POINTER);
5551 if(!pVarVal)
5553 RpcRaiseException(RPC_X_NULL_REF_POINTER);
5555 RpcTryFinally
5558 _StubMsg.BufferLength = 4U + 4U + 0U;
5559 NdrSimpleStructBufferSize( (PMIDL_STUB_MESSAGE) &_StubMsg,
5560 (unsigned char __RPC_FAR *)guid,
5561 (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[38] );
5563 NdrProxyGetBuffer(This, &_StubMsg);
5564 *(( UINT __RPC_FAR * )_StubMsg.Buffer)++ = indexFunc;
5566 *(( UINT __RPC_FAR * )_StubMsg.Buffer)++ = indexParam;
5568 NdrSimpleStructMarshall( (PMIDL_STUB_MESSAGE)& _StubMsg,
5569 (unsigned char __RPC_FAR *)guid,
5570 (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[38] );
5572 NdrProxySendReceive(This, &_StubMsg);
5574 if ( (_RpcMessage.DataRepresentation & 0X0000FFFFUL) != NDR_LOCAL_DATA_REPRESENTATION )
5575 NdrConvert( (PMIDL_STUB_MESSAGE) &_StubMsg, (PFORMAT_STRING) &__MIDL_ProcFormatString.Format[320] );
5577 NdrUserMarshalUnmarshall( (PMIDL_STUB_MESSAGE) &_StubMsg,
5578 (unsigned char __RPC_FAR * __RPC_FAR *)&pVarVal,
5579 (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[1110],
5580 (unsigned char)0 );
5582 _StubMsg.Buffer = (unsigned char __RPC_FAR *)(((long)_StubMsg.Buffer + 3) & ~ 0x3);
5583 _RetVal = *(( HRESULT __RPC_FAR * )_StubMsg.Buffer)++;
5586 RpcFinally
5588 NdrProxyFreeBuffer(This, &_StubMsg);
5591 RpcEndFinally
5594 RpcExcept(_StubMsg.dwStubPhase != PROXY_SENDRECEIVE)
5596 NdrClearOutParameters(
5597 ( PMIDL_STUB_MESSAGE )&_StubMsg,
5598 ( PFORMAT_STRING )&__MIDL_TypeFormatString.Format[1102],
5599 ( void __RPC_FAR * )pVarVal);
5600 _RetVal = NdrProxyErrorHandler(RpcExceptionCode());
5602 RpcEndExcept
5603 return _RetVal;
5606 void __RPC_STUB ITypeInfo2_GetParamCustData_Stub(
5607 IRpcStubBuffer *This,
5608 IRpcChannelBuffer *_pRpcChannelBuffer,
5609 PRPC_MESSAGE _pRpcMessage,
5610 DWORD *_pdwStubPhase)
5612 VARIANT _M55;
5613 HRESULT _RetVal;
5614 MIDL_STUB_MESSAGE _StubMsg;
5615 REFGUID guid = 0;
5616 UINT indexFunc;
5617 UINT indexParam;
5618 VARIANT __RPC_FAR *pVarVal;
5620 NdrStubInitialize(
5621 _pRpcMessage,
5622 &_StubMsg,
5623 &Object_StubDesc,
5624 _pRpcChannelBuffer);
5625 ( VARIANT __RPC_FAR * )pVarVal = 0;
5626 RpcTryFinally
5628 if ( (_pRpcMessage->DataRepresentation & 0X0000FFFFUL) != NDR_LOCAL_DATA_REPRESENTATION )
5629 NdrConvert( (PMIDL_STUB_MESSAGE) &_StubMsg, (PFORMAT_STRING) &__MIDL_ProcFormatString.Format[320] );
5631 indexFunc = *(( UINT __RPC_FAR * )_StubMsg.Buffer)++;
5633 indexParam = *(( UINT __RPC_FAR * )_StubMsg.Buffer)++;
5635 NdrSimpleStructUnmarshall( (PMIDL_STUB_MESSAGE) &_StubMsg,
5636 (unsigned char __RPC_FAR * __RPC_FAR *)&guid,
5637 (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[38],
5638 (unsigned char)0 );
5640 pVarVal = &_M55;
5641 MIDL_memset(
5642 pVarVal,
5644 sizeof( VARIANT ));
5646 *_pdwStubPhase = STUB_CALL_SERVER;
5647 _RetVal = (((ITypeInfo2*) ((CStdStubBuffer *)This)->pvServerObject)->lpVtbl) -> GetParamCustData(
5648 (ITypeInfo2 *) ((CStdStubBuffer *)This)->pvServerObject,
5649 indexFunc,
5650 indexParam,
5651 guid,
5652 pVarVal);
5654 *_pdwStubPhase = STUB_MARSHAL;
5656 _StubMsg.BufferLength = 8U + 11U;
5657 NdrUserMarshalBufferSize( (PMIDL_STUB_MESSAGE) &_StubMsg,
5658 (unsigned char __RPC_FAR *)pVarVal,
5659 (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[1110] );
5661 _StubMsg.BufferLength += 16;
5663 NdrStubGetBuffer(This, _pRpcChannelBuffer, &_StubMsg);
5664 NdrUserMarshalMarshall( (PMIDL_STUB_MESSAGE)& _StubMsg,
5665 (unsigned char __RPC_FAR *)pVarVal,
5666 (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[1110] );
5668 _StubMsg.Buffer = (unsigned char __RPC_FAR *)(((long)_StubMsg.Buffer + 3) & ~ 0x3);
5669 *(( HRESULT __RPC_FAR * )_StubMsg.Buffer)++ = _RetVal;
5672 RpcFinally
5674 NdrPointerFree( &_StubMsg,
5675 (unsigned char __RPC_FAR *)pVarVal,
5676 &__MIDL_TypeFormatString.Format[1102] );
5679 RpcEndFinally
5680 _pRpcMessage->BufferLength =
5681 (unsigned int)((long)_StubMsg.Buffer - (long)_pRpcMessage->Buffer);
5686 HRESULT STDMETHODCALLTYPE ITypeInfo2_GetVarCustData_Proxy(
5687 ITypeInfo2 __RPC_FAR * This,
5688 /* [in] */ UINT index,
5689 /* [in] */ REFGUID guid,
5690 /* [out] */ VARIANT __RPC_FAR *pVarVal)
5693 HRESULT _RetVal;
5695 RPC_MESSAGE _RpcMessage;
5697 MIDL_STUB_MESSAGE _StubMsg;
5699 if(pVarVal)
5701 MIDL_memset(
5702 pVarVal,
5704 sizeof( VARIANT ));
5706 RpcTryExcept
5708 NdrProxyInitialize(
5709 ( void __RPC_FAR * )This,
5710 ( PRPC_MESSAGE )&_RpcMessage,
5711 ( PMIDL_STUB_MESSAGE )&_StubMsg,
5712 ( PMIDL_STUB_DESC )&Object_StubDesc,
5713 29);
5717 if(!guid)
5719 RpcRaiseException(RPC_X_NULL_REF_POINTER);
5721 if(!pVarVal)
5723 RpcRaiseException(RPC_X_NULL_REF_POINTER);
5725 RpcTryFinally
5728 _StubMsg.BufferLength = 4U + 4U;
5729 NdrSimpleStructBufferSize( (PMIDL_STUB_MESSAGE) &_StubMsg,
5730 (unsigned char __RPC_FAR *)guid,
5731 (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[38] );
5733 NdrProxyGetBuffer(This, &_StubMsg);
5734 *(( UINT __RPC_FAR * )_StubMsg.Buffer)++ = index;
5736 NdrSimpleStructMarshall( (PMIDL_STUB_MESSAGE)& _StubMsg,
5737 (unsigned char __RPC_FAR *)guid,
5738 (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[38] );
5740 NdrProxySendReceive(This, &_StubMsg);
5742 if ( (_RpcMessage.DataRepresentation & 0X0000FFFFUL) != NDR_LOCAL_DATA_REPRESENTATION )
5743 NdrConvert( (PMIDL_STUB_MESSAGE) &_StubMsg, (PFORMAT_STRING) &__MIDL_ProcFormatString.Format[308] );
5745 NdrUserMarshalUnmarshall( (PMIDL_STUB_MESSAGE) &_StubMsg,
5746 (unsigned char __RPC_FAR * __RPC_FAR *)&pVarVal,
5747 (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[1110],
5748 (unsigned char)0 );
5750 _StubMsg.Buffer = (unsigned char __RPC_FAR *)(((long)_StubMsg.Buffer + 3) & ~ 0x3);
5751 _RetVal = *(( HRESULT __RPC_FAR * )_StubMsg.Buffer)++;
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_GetVarCustData_Stub(
5775 IRpcStubBuffer *This,
5776 IRpcChannelBuffer *_pRpcChannelBuffer,
5777 PRPC_MESSAGE _pRpcMessage,
5778 DWORD *_pdwStubPhase)
5780 VARIANT _M56;
5781 HRESULT _RetVal;
5782 MIDL_STUB_MESSAGE _StubMsg;
5783 REFGUID guid = 0;
5784 UINT index;
5785 VARIANT __RPC_FAR *pVarVal;
5787 NdrStubInitialize(
5788 _pRpcMessage,
5789 &_StubMsg,
5790 &Object_StubDesc,
5791 _pRpcChannelBuffer);
5792 ( VARIANT __RPC_FAR * )pVarVal = 0;
5793 RpcTryFinally
5795 if ( (_pRpcMessage->DataRepresentation & 0X0000FFFFUL) != NDR_LOCAL_DATA_REPRESENTATION )
5796 NdrConvert( (PMIDL_STUB_MESSAGE) &_StubMsg, (PFORMAT_STRING) &__MIDL_ProcFormatString.Format[308] );
5798 index = *(( UINT __RPC_FAR * )_StubMsg.Buffer)++;
5800 NdrSimpleStructUnmarshall( (PMIDL_STUB_MESSAGE) &_StubMsg,
5801 (unsigned char __RPC_FAR * __RPC_FAR *)&guid,
5802 (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[38],
5803 (unsigned char)0 );
5805 pVarVal = &_M56;
5806 MIDL_memset(
5807 pVarVal,
5809 sizeof( VARIANT ));
5811 *_pdwStubPhase = STUB_CALL_SERVER;
5812 _RetVal = (((ITypeInfo2*) ((CStdStubBuffer *)This)->pvServerObject)->lpVtbl) -> GetVarCustData(
5813 (ITypeInfo2 *) ((CStdStubBuffer *)This)->pvServerObject,
5814 index,
5815 guid,
5816 pVarVal);
5818 *_pdwStubPhase = STUB_MARSHAL;
5820 _StubMsg.BufferLength = 8U + 11U;
5821 NdrUserMarshalBufferSize( (PMIDL_STUB_MESSAGE) &_StubMsg,
5822 (unsigned char __RPC_FAR *)pVarVal,
5823 (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[1110] );
5825 _StubMsg.BufferLength += 16;
5827 NdrStubGetBuffer(This, _pRpcChannelBuffer, &_StubMsg);
5828 NdrUserMarshalMarshall( (PMIDL_STUB_MESSAGE)& _StubMsg,
5829 (unsigned char __RPC_FAR *)pVarVal,
5830 (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[1110] );
5832 _StubMsg.Buffer = (unsigned char __RPC_FAR *)(((long)_StubMsg.Buffer + 3) & ~ 0x3);
5833 *(( HRESULT __RPC_FAR * )_StubMsg.Buffer)++ = _RetVal;
5836 RpcFinally
5838 NdrPointerFree( &_StubMsg,
5839 (unsigned char __RPC_FAR *)pVarVal,
5840 &__MIDL_TypeFormatString.Format[1102] );
5843 RpcEndFinally
5844 _pRpcMessage->BufferLength =
5845 (unsigned int)((long)_StubMsg.Buffer - (long)_pRpcMessage->Buffer);
5850 HRESULT STDMETHODCALLTYPE ITypeInfo2_GetImplTypeCustData_Proxy(
5851 ITypeInfo2 __RPC_FAR * This,
5852 /* [in] */ UINT index,
5853 /* [in] */ REFGUID guid,
5854 /* [out] */ VARIANT __RPC_FAR *pVarVal)
5857 HRESULT _RetVal;
5859 RPC_MESSAGE _RpcMessage;
5861 MIDL_STUB_MESSAGE _StubMsg;
5863 if(pVarVal)
5865 MIDL_memset(
5866 pVarVal,
5868 sizeof( VARIANT ));
5870 RpcTryExcept
5872 NdrProxyInitialize(
5873 ( void __RPC_FAR * )This,
5874 ( PRPC_MESSAGE )&_RpcMessage,
5875 ( PMIDL_STUB_MESSAGE )&_StubMsg,
5876 ( PMIDL_STUB_DESC )&Object_StubDesc,
5877 30);
5881 if(!guid)
5883 RpcRaiseException(RPC_X_NULL_REF_POINTER);
5885 if(!pVarVal)
5887 RpcRaiseException(RPC_X_NULL_REF_POINTER);
5889 RpcTryFinally
5892 _StubMsg.BufferLength = 4U + 4U;
5893 NdrSimpleStructBufferSize( (PMIDL_STUB_MESSAGE) &_StubMsg,
5894 (unsigned char __RPC_FAR *)guid,
5895 (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[38] );
5897 NdrProxyGetBuffer(This, &_StubMsg);
5898 *(( UINT __RPC_FAR * )_StubMsg.Buffer)++ = index;
5900 NdrSimpleStructMarshall( (PMIDL_STUB_MESSAGE)& _StubMsg,
5901 (unsigned char __RPC_FAR *)guid,
5902 (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[38] );
5904 NdrProxySendReceive(This, &_StubMsg);
5906 if ( (_RpcMessage.DataRepresentation & 0X0000FFFFUL) != NDR_LOCAL_DATA_REPRESENTATION )
5907 NdrConvert( (PMIDL_STUB_MESSAGE) &_StubMsg, (PFORMAT_STRING) &__MIDL_ProcFormatString.Format[308] );
5909 NdrUserMarshalUnmarshall( (PMIDL_STUB_MESSAGE) &_StubMsg,
5910 (unsigned char __RPC_FAR * __RPC_FAR *)&pVarVal,
5911 (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[1110],
5912 (unsigned char)0 );
5914 _StubMsg.Buffer = (unsigned char __RPC_FAR *)(((long)_StubMsg.Buffer + 3) & ~ 0x3);
5915 _RetVal = *(( HRESULT __RPC_FAR * )_StubMsg.Buffer)++;
5918 RpcFinally
5920 NdrProxyFreeBuffer(This, &_StubMsg);
5923 RpcEndFinally
5926 RpcExcept(_StubMsg.dwStubPhase != PROXY_SENDRECEIVE)
5928 NdrClearOutParameters(
5929 ( PMIDL_STUB_MESSAGE )&_StubMsg,
5930 ( PFORMAT_STRING )&__MIDL_TypeFormatString.Format[1102],
5931 ( void __RPC_FAR * )pVarVal);
5932 _RetVal = NdrProxyErrorHandler(RpcExceptionCode());
5934 RpcEndExcept
5935 return _RetVal;
5938 void __RPC_STUB ITypeInfo2_GetImplTypeCustData_Stub(
5939 IRpcStubBuffer *This,
5940 IRpcChannelBuffer *_pRpcChannelBuffer,
5941 PRPC_MESSAGE _pRpcMessage,
5942 DWORD *_pdwStubPhase)
5944 VARIANT _M57;
5945 HRESULT _RetVal;
5946 MIDL_STUB_MESSAGE _StubMsg;
5947 REFGUID guid = 0;
5948 UINT index;
5949 VARIANT __RPC_FAR *pVarVal;
5951 NdrStubInitialize(
5952 _pRpcMessage,
5953 &_StubMsg,
5954 &Object_StubDesc,
5955 _pRpcChannelBuffer);
5956 ( VARIANT __RPC_FAR * )pVarVal = 0;
5957 RpcTryFinally
5959 if ( (_pRpcMessage->DataRepresentation & 0X0000FFFFUL) != NDR_LOCAL_DATA_REPRESENTATION )
5960 NdrConvert( (PMIDL_STUB_MESSAGE) &_StubMsg, (PFORMAT_STRING) &__MIDL_ProcFormatString.Format[308] );
5962 index = *(( UINT __RPC_FAR * )_StubMsg.Buffer)++;
5964 NdrSimpleStructUnmarshall( (PMIDL_STUB_MESSAGE) &_StubMsg,
5965 (unsigned char __RPC_FAR * __RPC_FAR *)&guid,
5966 (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[38],
5967 (unsigned char)0 );
5969 pVarVal = &_M57;
5970 MIDL_memset(
5971 pVarVal,
5973 sizeof( VARIANT ));
5975 *_pdwStubPhase = STUB_CALL_SERVER;
5976 _RetVal = (((ITypeInfo2*) ((CStdStubBuffer *)This)->pvServerObject)->lpVtbl) -> GetImplTypeCustData(
5977 (ITypeInfo2 *) ((CStdStubBuffer *)This)->pvServerObject,
5978 index,
5979 guid,
5980 pVarVal);
5982 *_pdwStubPhase = STUB_MARSHAL;
5984 _StubMsg.BufferLength = 8U + 11U;
5985 NdrUserMarshalBufferSize( (PMIDL_STUB_MESSAGE) &_StubMsg,
5986 (unsigned char __RPC_FAR *)pVarVal,
5987 (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[1110] );
5989 _StubMsg.BufferLength += 16;
5991 NdrStubGetBuffer(This, _pRpcChannelBuffer, &_StubMsg);
5992 NdrUserMarshalMarshall( (PMIDL_STUB_MESSAGE)& _StubMsg,
5993 (unsigned char __RPC_FAR *)pVarVal,
5994 (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[1110] );
5996 _StubMsg.Buffer = (unsigned char __RPC_FAR *)(((long)_StubMsg.Buffer + 3) & ~ 0x3);
5997 *(( HRESULT __RPC_FAR * )_StubMsg.Buffer)++ = _RetVal;
6000 RpcFinally
6002 NdrPointerFree( &_StubMsg,
6003 (unsigned char __RPC_FAR *)pVarVal,
6004 &__MIDL_TypeFormatString.Format[1102] );
6007 RpcEndFinally
6008 _pRpcMessage->BufferLength =
6009 (unsigned int)((long)_StubMsg.Buffer - (long)_pRpcMessage->Buffer);
6014 /* [call_as] */ HRESULT STDMETHODCALLTYPE ITypeInfo2_RemoteGetDocumentation2_Proxy(
6015 ITypeInfo2 __RPC_FAR * This,
6016 /* [in] */ MEMBERID memid,
6017 /* [in] */ LCID lcid,
6018 /* [in] */ DWORD refPtrFlags,
6019 /* [out] */ BSTR __RPC_FAR *pbstrHelpString,
6020 /* [out] */ DWORD __RPC_FAR *pdwHelpStringContext,
6021 /* [out] */ BSTR __RPC_FAR *pbstrHelpStringDll)
6024 HRESULT _RetVal;
6026 RPC_MESSAGE _RpcMessage;
6028 MIDL_STUB_MESSAGE _StubMsg;
6030 if(pbstrHelpString)
6032 MIDL_memset(
6033 pbstrHelpString,
6035 sizeof( BSTR ));
6037 if(pbstrHelpStringDll)
6039 MIDL_memset(
6040 pbstrHelpStringDll,
6042 sizeof( BSTR ));
6044 RpcTryExcept
6046 NdrProxyInitialize(
6047 ( void __RPC_FAR * )This,
6048 ( PRPC_MESSAGE )&_RpcMessage,
6049 ( PMIDL_STUB_MESSAGE )&_StubMsg,
6050 ( PMIDL_STUB_DESC )&Object_StubDesc,
6051 31);
6055 if(!pbstrHelpString)
6057 RpcRaiseException(RPC_X_NULL_REF_POINTER);
6059 if(!pdwHelpStringContext)
6061 RpcRaiseException(RPC_X_NULL_REF_POINTER);
6063 if(!pbstrHelpStringDll)
6065 RpcRaiseException(RPC_X_NULL_REF_POINTER);
6067 RpcTryFinally
6070 _StubMsg.BufferLength = 4U + 4U + 4U;
6071 NdrProxyGetBuffer(This, &_StubMsg);
6072 *(( MEMBERID __RPC_FAR * )_StubMsg.Buffer)++ = memid;
6074 *(( LCID __RPC_FAR * )_StubMsg.Buffer)++ = lcid;
6076 *(( DWORD __RPC_FAR * )_StubMsg.Buffer)++ = refPtrFlags;
6078 NdrProxySendReceive(This, &_StubMsg);
6080 if ( (_RpcMessage.DataRepresentation & 0X0000FFFFUL) != NDR_LOCAL_DATA_REPRESENTATION )
6081 NdrConvert( (PMIDL_STUB_MESSAGE) &_StubMsg, (PFORMAT_STRING) &__MIDL_ProcFormatString.Format[334] );
6083 NdrUserMarshalUnmarshall( (PMIDL_STUB_MESSAGE) &_StubMsg,
6084 (unsigned char __RPC_FAR * __RPC_FAR *)&pbstrHelpString,
6085 (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[1128],
6086 (unsigned char)0 );
6088 _StubMsg.Buffer = (unsigned char __RPC_FAR *)(((long)_StubMsg.Buffer + 3) & ~ 0x3);
6089 *pdwHelpStringContext = *(( DWORD __RPC_FAR * )_StubMsg.Buffer)++;
6091 NdrUserMarshalUnmarshall( (PMIDL_STUB_MESSAGE) &_StubMsg,
6092 (unsigned char __RPC_FAR * __RPC_FAR *)&pbstrHelpStringDll,
6093 (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[1128],
6094 (unsigned char)0 );
6096 _StubMsg.Buffer = (unsigned char __RPC_FAR *)(((long)_StubMsg.Buffer + 3) & ~ 0x3);
6097 _RetVal = *(( HRESULT __RPC_FAR * )_StubMsg.Buffer)++;
6100 RpcFinally
6102 NdrProxyFreeBuffer(This, &_StubMsg);
6105 RpcEndFinally
6108 RpcExcept(_StubMsg.dwStubPhase != PROXY_SENDRECEIVE)
6110 NdrClearOutParameters(
6111 ( PMIDL_STUB_MESSAGE )&_StubMsg,
6112 ( PFORMAT_STRING )&__MIDL_TypeFormatString.Format[1708],
6113 ( void __RPC_FAR * )pbstrHelpString);
6114 NdrClearOutParameters(
6115 ( PMIDL_STUB_MESSAGE )&_StubMsg,
6116 ( PFORMAT_STRING )&__MIDL_TypeFormatString.Format[2],
6117 ( void __RPC_FAR * )pdwHelpStringContext);
6118 NdrClearOutParameters(
6119 ( PMIDL_STUB_MESSAGE )&_StubMsg,
6120 ( PFORMAT_STRING )&__MIDL_TypeFormatString.Format[1708],
6121 ( void __RPC_FAR * )pbstrHelpStringDll);
6122 _RetVal = NdrProxyErrorHandler(RpcExceptionCode());
6124 RpcEndExcept
6125 return _RetVal;
6128 void __RPC_STUB ITypeInfo2_RemoteGetDocumentation2_Stub(
6129 IRpcStubBuffer *This,
6130 IRpcChannelBuffer *_pRpcChannelBuffer,
6131 PRPC_MESSAGE _pRpcMessage,
6132 DWORD *_pdwStubPhase)
6134 BSTR _M58;
6135 DWORD _M59;
6136 BSTR _M60;
6137 HRESULT _RetVal;
6138 MIDL_STUB_MESSAGE _StubMsg;
6139 LCID lcid;
6140 MEMBERID memid;
6141 BSTR __RPC_FAR *pbstrHelpString;
6142 BSTR __RPC_FAR *pbstrHelpStringDll;
6143 DWORD __RPC_FAR *pdwHelpStringContext;
6144 DWORD refPtrFlags;
6146 NdrStubInitialize(
6147 _pRpcMessage,
6148 &_StubMsg,
6149 &Object_StubDesc,
6150 _pRpcChannelBuffer);
6151 ( BSTR __RPC_FAR * )pbstrHelpString = 0;
6152 ( DWORD __RPC_FAR * )pdwHelpStringContext = 0;
6153 ( BSTR __RPC_FAR * )pbstrHelpStringDll = 0;
6154 RpcTryFinally
6156 if ( (_pRpcMessage->DataRepresentation & 0X0000FFFFUL) != NDR_LOCAL_DATA_REPRESENTATION )
6157 NdrConvert( (PMIDL_STUB_MESSAGE) &_StubMsg, (PFORMAT_STRING) &__MIDL_ProcFormatString.Format[334] );
6159 memid = *(( MEMBERID __RPC_FAR * )_StubMsg.Buffer)++;
6161 lcid = *(( LCID __RPC_FAR * )_StubMsg.Buffer)++;
6163 refPtrFlags = *(( DWORD __RPC_FAR * )_StubMsg.Buffer)++;
6165 pbstrHelpString = &_M58;
6166 MIDL_memset(
6167 pbstrHelpString,
6169 sizeof( BSTR ));
6170 pdwHelpStringContext = &_M59;
6171 pbstrHelpStringDll = &_M60;
6172 MIDL_memset(
6173 pbstrHelpStringDll,
6175 sizeof( BSTR ));
6177 *_pdwStubPhase = STUB_CALL_SERVER;
6180 _RetVal = ITypeInfo2_GetDocumentation2_Stub(
6181 (ITypeInfo2 *) ((CStdStubBuffer *)This)->pvServerObject,
6182 memid,
6183 lcid,
6184 refPtrFlags,
6185 pbstrHelpString,
6186 pdwHelpStringContext,
6187 pbstrHelpStringDll);
6189 *_pdwStubPhase = STUB_MARSHAL;
6191 _StubMsg.BufferLength = 8U + 11U + 11U + 11U;
6192 NdrUserMarshalBufferSize( (PMIDL_STUB_MESSAGE) &_StubMsg,
6193 (unsigned char __RPC_FAR *)pbstrHelpString,
6194 (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[1128] );
6196 NdrUserMarshalBufferSize( (PMIDL_STUB_MESSAGE) &_StubMsg,
6197 (unsigned char __RPC_FAR *)pbstrHelpStringDll,
6198 (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[1128] );
6200 _StubMsg.BufferLength += 16;
6202 NdrStubGetBuffer(This, _pRpcChannelBuffer, &_StubMsg);
6203 NdrUserMarshalMarshall( (PMIDL_STUB_MESSAGE)& _StubMsg,
6204 (unsigned char __RPC_FAR *)pbstrHelpString,
6205 (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[1128] );
6207 _StubMsg.Buffer = (unsigned char __RPC_FAR *)(((long)_StubMsg.Buffer + 3) & ~ 0x3);
6208 *(( DWORD __RPC_FAR * )_StubMsg.Buffer)++ = *pdwHelpStringContext;
6210 NdrUserMarshalMarshall( (PMIDL_STUB_MESSAGE)& _StubMsg,
6211 (unsigned char __RPC_FAR *)pbstrHelpStringDll,
6212 (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[1128] );
6214 _StubMsg.Buffer = (unsigned char __RPC_FAR *)(((long)_StubMsg.Buffer + 3) & ~ 0x3);
6215 *(( HRESULT __RPC_FAR * )_StubMsg.Buffer)++ = _RetVal;
6218 RpcFinally
6220 NdrPointerFree( &_StubMsg,
6221 (unsigned char __RPC_FAR *)pbstrHelpString,
6222 &__MIDL_TypeFormatString.Format[1708] );
6224 NdrPointerFree( &_StubMsg,
6225 (unsigned char __RPC_FAR *)pbstrHelpStringDll,
6226 &__MIDL_TypeFormatString.Format[1708] );
6229 RpcEndFinally
6230 _pRpcMessage->BufferLength =
6231 (unsigned int)((long)_StubMsg.Buffer - (long)_pRpcMessage->Buffer);
6236 HRESULT STDMETHODCALLTYPE ITypeInfo2_GetAllCustData_Proxy(
6237 ITypeInfo2 __RPC_FAR * This,
6238 /* [out] */ CUSTDATA __RPC_FAR *pCustData)
6241 HRESULT _RetVal;
6243 RPC_MESSAGE _RpcMessage;
6245 MIDL_STUB_MESSAGE _StubMsg;
6247 if(pCustData)
6249 MIDL_memset(
6250 pCustData,
6252 sizeof( CUSTDATA ));
6254 RpcTryExcept
6256 NdrProxyInitialize(
6257 ( void __RPC_FAR * )This,
6258 ( PRPC_MESSAGE )&_RpcMessage,
6259 ( PMIDL_STUB_MESSAGE )&_StubMsg,
6260 ( PMIDL_STUB_DESC )&Object_StubDesc,
6261 32);
6265 if(!pCustData)
6267 RpcRaiseException(RPC_X_NULL_REF_POINTER);
6269 RpcTryFinally
6272 _StubMsg.BufferLength = 0U;
6273 NdrProxyGetBuffer(This, &_StubMsg);
6274 NdrProxySendReceive(This, &_StubMsg);
6276 if ( (_RpcMessage.DataRepresentation & 0X0000FFFFUL) != NDR_LOCAL_DATA_REPRESENTATION )
6277 NdrConvert( (PMIDL_STUB_MESSAGE) &_StubMsg, (PFORMAT_STRING) &__MIDL_ProcFormatString.Format[354] );
6279 NdrComplexStructUnmarshall( (PMIDL_STUB_MESSAGE) &_StubMsg,
6280 (unsigned char __RPC_FAR * __RPC_FAR *)&pCustData,
6281 (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[1788],
6282 (unsigned char)0 );
6284 _StubMsg.Buffer = (unsigned char __RPC_FAR *)(((long)_StubMsg.Buffer + 3) & ~ 0x3);
6285 _RetVal = *(( HRESULT __RPC_FAR * )_StubMsg.Buffer)++;
6288 RpcFinally
6290 NdrProxyFreeBuffer(This, &_StubMsg);
6293 RpcEndFinally
6296 RpcExcept(_StubMsg.dwStubPhase != PROXY_SENDRECEIVE)
6298 NdrClearOutParameters(
6299 ( PMIDL_STUB_MESSAGE )&_StubMsg,
6300 ( PFORMAT_STRING )&__MIDL_TypeFormatString.Format[1748],
6301 ( void __RPC_FAR * )pCustData);
6302 _RetVal = NdrProxyErrorHandler(RpcExceptionCode());
6304 RpcEndExcept
6305 return _RetVal;
6308 void __RPC_STUB ITypeInfo2_GetAllCustData_Stub(
6309 IRpcStubBuffer *This,
6310 IRpcChannelBuffer *_pRpcChannelBuffer,
6311 PRPC_MESSAGE _pRpcMessage,
6312 DWORD *_pdwStubPhase)
6314 HRESULT _RetVal;
6315 MIDL_STUB_MESSAGE _StubMsg;
6316 CUSTDATA _pCustDataM;
6317 CUSTDATA __RPC_FAR *pCustData;
6319 NdrStubInitialize(
6320 _pRpcMessage,
6321 &_StubMsg,
6322 &Object_StubDesc,
6323 _pRpcChannelBuffer);
6324 ( CUSTDATA __RPC_FAR * )pCustData = 0;
6325 RpcTryFinally
6327 pCustData = &_pCustDataM;
6328 pCustData -> prgCustData = 0;
6330 *_pdwStubPhase = STUB_CALL_SERVER;
6331 _RetVal = (((ITypeInfo2*) ((CStdStubBuffer *)This)->pvServerObject)->lpVtbl) -> GetAllCustData((ITypeInfo2 *) ((CStdStubBuffer *)This)->pvServerObject,pCustData);
6333 *_pdwStubPhase = STUB_MARSHAL;
6335 _StubMsg.BufferLength = 0U + 11U;
6336 NdrComplexStructBufferSize( (PMIDL_STUB_MESSAGE) &_StubMsg,
6337 (unsigned char __RPC_FAR *)pCustData,
6338 (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[1788] );
6340 _StubMsg.BufferLength += 16;
6342 NdrStubGetBuffer(This, _pRpcChannelBuffer, &_StubMsg);
6343 NdrComplexStructMarshall( (PMIDL_STUB_MESSAGE)& _StubMsg,
6344 (unsigned char __RPC_FAR *)pCustData,
6345 (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[1788] );
6347 _StubMsg.Buffer = (unsigned char __RPC_FAR *)(((long)_StubMsg.Buffer + 3) & ~ 0x3);
6348 *(( HRESULT __RPC_FAR * )_StubMsg.Buffer)++ = _RetVal;
6351 RpcFinally
6353 NdrPointerFree( &_StubMsg,
6354 (unsigned char __RPC_FAR *)pCustData,
6355 &__MIDL_TypeFormatString.Format[1748] );
6358 RpcEndFinally
6359 _pRpcMessage->BufferLength =
6360 (unsigned int)((long)_StubMsg.Buffer - (long)_pRpcMessage->Buffer);
6365 HRESULT STDMETHODCALLTYPE ITypeInfo2_GetAllFuncCustData_Proxy(
6366 ITypeInfo2 __RPC_FAR * This,
6367 /* [in] */ UINT index,
6368 /* [out] */ CUSTDATA __RPC_FAR *pCustData)
6371 HRESULT _RetVal;
6373 RPC_MESSAGE _RpcMessage;
6375 MIDL_STUB_MESSAGE _StubMsg;
6377 if(pCustData)
6379 MIDL_memset(
6380 pCustData,
6382 sizeof( CUSTDATA ));
6384 RpcTryExcept
6386 NdrProxyInitialize(
6387 ( void __RPC_FAR * )This,
6388 ( PRPC_MESSAGE )&_RpcMessage,
6389 ( PMIDL_STUB_MESSAGE )&_StubMsg,
6390 ( PMIDL_STUB_DESC )&Object_StubDesc,
6391 33);
6395 if(!pCustData)
6397 RpcRaiseException(RPC_X_NULL_REF_POINTER);
6399 RpcTryFinally
6402 _StubMsg.BufferLength = 4U;
6403 NdrProxyGetBuffer(This, &_StubMsg);
6404 *(( UINT __RPC_FAR * )_StubMsg.Buffer)++ = index;
6406 NdrProxySendReceive(This, &_StubMsg);
6408 if ( (_RpcMessage.DataRepresentation & 0X0000FFFFUL) != NDR_LOCAL_DATA_REPRESENTATION )
6409 NdrConvert( (PMIDL_STUB_MESSAGE) &_StubMsg, (PFORMAT_STRING) &__MIDL_ProcFormatString.Format[360] );
6411 NdrComplexStructUnmarshall( (PMIDL_STUB_MESSAGE) &_StubMsg,
6412 (unsigned char __RPC_FAR * __RPC_FAR *)&pCustData,
6413 (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[1788],
6414 (unsigned char)0 );
6416 _StubMsg.Buffer = (unsigned char __RPC_FAR *)(((long)_StubMsg.Buffer + 3) & ~ 0x3);
6417 _RetVal = *(( HRESULT __RPC_FAR * )_StubMsg.Buffer)++;
6420 RpcFinally
6422 NdrProxyFreeBuffer(This, &_StubMsg);
6425 RpcEndFinally
6428 RpcExcept(_StubMsg.dwStubPhase != PROXY_SENDRECEIVE)
6430 NdrClearOutParameters(
6431 ( PMIDL_STUB_MESSAGE )&_StubMsg,
6432 ( PFORMAT_STRING )&__MIDL_TypeFormatString.Format[1748],
6433 ( void __RPC_FAR * )pCustData);
6434 _RetVal = NdrProxyErrorHandler(RpcExceptionCode());
6436 RpcEndExcept
6437 return _RetVal;
6440 void __RPC_STUB ITypeInfo2_GetAllFuncCustData_Stub(
6441 IRpcStubBuffer *This,
6442 IRpcChannelBuffer *_pRpcChannelBuffer,
6443 PRPC_MESSAGE _pRpcMessage,
6444 DWORD *_pdwStubPhase)
6446 HRESULT _RetVal;
6447 MIDL_STUB_MESSAGE _StubMsg;
6448 CUSTDATA _pCustDataM;
6449 UINT index;
6450 CUSTDATA __RPC_FAR *pCustData;
6452 NdrStubInitialize(
6453 _pRpcMessage,
6454 &_StubMsg,
6455 &Object_StubDesc,
6456 _pRpcChannelBuffer);
6457 ( CUSTDATA __RPC_FAR * )pCustData = 0;
6458 RpcTryFinally
6460 if ( (_pRpcMessage->DataRepresentation & 0X0000FFFFUL) != NDR_LOCAL_DATA_REPRESENTATION )
6461 NdrConvert( (PMIDL_STUB_MESSAGE) &_StubMsg, (PFORMAT_STRING) &__MIDL_ProcFormatString.Format[360] );
6463 index = *(( UINT __RPC_FAR * )_StubMsg.Buffer)++;
6465 pCustData = &_pCustDataM;
6466 pCustData -> prgCustData = 0;
6468 *_pdwStubPhase = STUB_CALL_SERVER;
6469 _RetVal = (((ITypeInfo2*) ((CStdStubBuffer *)This)->pvServerObject)->lpVtbl) -> GetAllFuncCustData(
6470 (ITypeInfo2 *) ((CStdStubBuffer *)This)->pvServerObject,
6471 index,
6472 pCustData);
6474 *_pdwStubPhase = STUB_MARSHAL;
6476 _StubMsg.BufferLength = 0U + 11U;
6477 NdrComplexStructBufferSize( (PMIDL_STUB_MESSAGE) &_StubMsg,
6478 (unsigned char __RPC_FAR *)pCustData,
6479 (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[1788] );
6481 _StubMsg.BufferLength += 16;
6483 NdrStubGetBuffer(This, _pRpcChannelBuffer, &_StubMsg);
6484 NdrComplexStructMarshall( (PMIDL_STUB_MESSAGE)& _StubMsg,
6485 (unsigned char __RPC_FAR *)pCustData,
6486 (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[1788] );
6488 _StubMsg.Buffer = (unsigned char __RPC_FAR *)(((long)_StubMsg.Buffer + 3) & ~ 0x3);
6489 *(( HRESULT __RPC_FAR * )_StubMsg.Buffer)++ = _RetVal;
6492 RpcFinally
6494 NdrPointerFree( &_StubMsg,
6495 (unsigned char __RPC_FAR *)pCustData,
6496 &__MIDL_TypeFormatString.Format[1748] );
6499 RpcEndFinally
6500 _pRpcMessage->BufferLength =
6501 (unsigned int)((long)_StubMsg.Buffer - (long)_pRpcMessage->Buffer);
6506 HRESULT STDMETHODCALLTYPE ITypeInfo2_GetAllParamCustData_Proxy(
6507 ITypeInfo2 __RPC_FAR * This,
6508 /* [in] */ UINT indexFunc,
6509 /* [in] */ UINT indexParam,
6510 /* [out] */ CUSTDATA __RPC_FAR *pCustData)
6513 HRESULT _RetVal;
6515 RPC_MESSAGE _RpcMessage;
6517 MIDL_STUB_MESSAGE _StubMsg;
6519 if(pCustData)
6521 MIDL_memset(
6522 pCustData,
6524 sizeof( CUSTDATA ));
6526 RpcTryExcept
6528 NdrProxyInitialize(
6529 ( void __RPC_FAR * )This,
6530 ( PRPC_MESSAGE )&_RpcMessage,
6531 ( PMIDL_STUB_MESSAGE )&_StubMsg,
6532 ( PMIDL_STUB_DESC )&Object_StubDesc,
6533 34);
6537 if(!pCustData)
6539 RpcRaiseException(RPC_X_NULL_REF_POINTER);
6541 RpcTryFinally
6544 _StubMsg.BufferLength = 4U + 4U;
6545 NdrProxyGetBuffer(This, &_StubMsg);
6546 *(( UINT __RPC_FAR * )_StubMsg.Buffer)++ = indexFunc;
6548 *(( UINT __RPC_FAR * )_StubMsg.Buffer)++ = indexParam;
6550 NdrProxySendReceive(This, &_StubMsg);
6552 if ( (_RpcMessage.DataRepresentation & 0X0000FFFFUL) != NDR_LOCAL_DATA_REPRESENTATION )
6553 NdrConvert( (PMIDL_STUB_MESSAGE) &_StubMsg, (PFORMAT_STRING) &__MIDL_ProcFormatString.Format[368] );
6555 NdrComplexStructUnmarshall( (PMIDL_STUB_MESSAGE) &_StubMsg,
6556 (unsigned char __RPC_FAR * __RPC_FAR *)&pCustData,
6557 (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[1788],
6558 (unsigned char)0 );
6560 _StubMsg.Buffer = (unsigned char __RPC_FAR *)(((long)_StubMsg.Buffer + 3) & ~ 0x3);
6561 _RetVal = *(( HRESULT __RPC_FAR * )_StubMsg.Buffer)++;
6564 RpcFinally
6566 NdrProxyFreeBuffer(This, &_StubMsg);
6569 RpcEndFinally
6572 RpcExcept(_StubMsg.dwStubPhase != PROXY_SENDRECEIVE)
6574 NdrClearOutParameters(
6575 ( PMIDL_STUB_MESSAGE )&_StubMsg,
6576 ( PFORMAT_STRING )&__MIDL_TypeFormatString.Format[1748],
6577 ( void __RPC_FAR * )pCustData);
6578 _RetVal = NdrProxyErrorHandler(RpcExceptionCode());
6580 RpcEndExcept
6581 return _RetVal;
6584 void __RPC_STUB ITypeInfo2_GetAllParamCustData_Stub(
6585 IRpcStubBuffer *This,
6586 IRpcChannelBuffer *_pRpcChannelBuffer,
6587 PRPC_MESSAGE _pRpcMessage,
6588 DWORD *_pdwStubPhase)
6590 HRESULT _RetVal;
6591 MIDL_STUB_MESSAGE _StubMsg;
6592 CUSTDATA _pCustDataM;
6593 UINT indexFunc;
6594 UINT indexParam;
6595 CUSTDATA __RPC_FAR *pCustData;
6597 NdrStubInitialize(
6598 _pRpcMessage,
6599 &_StubMsg,
6600 &Object_StubDesc,
6601 _pRpcChannelBuffer);
6602 ( CUSTDATA __RPC_FAR * )pCustData = 0;
6603 RpcTryFinally
6605 if ( (_pRpcMessage->DataRepresentation & 0X0000FFFFUL) != NDR_LOCAL_DATA_REPRESENTATION )
6606 NdrConvert( (PMIDL_STUB_MESSAGE) &_StubMsg, (PFORMAT_STRING) &__MIDL_ProcFormatString.Format[368] );
6608 indexFunc = *(( UINT __RPC_FAR * )_StubMsg.Buffer)++;
6610 indexParam = *(( UINT __RPC_FAR * )_StubMsg.Buffer)++;
6612 pCustData = &_pCustDataM;
6613 pCustData -> prgCustData = 0;
6615 *_pdwStubPhase = STUB_CALL_SERVER;
6616 _RetVal = (((ITypeInfo2*) ((CStdStubBuffer *)This)->pvServerObject)->lpVtbl) -> GetAllParamCustData(
6617 (ITypeInfo2 *) ((CStdStubBuffer *)This)->pvServerObject,
6618 indexFunc,
6619 indexParam,
6620 pCustData);
6622 *_pdwStubPhase = STUB_MARSHAL;
6624 _StubMsg.BufferLength = 0U + 11U;
6625 NdrComplexStructBufferSize( (PMIDL_STUB_MESSAGE) &_StubMsg,
6626 (unsigned char __RPC_FAR *)pCustData,
6627 (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[1788] );
6629 _StubMsg.BufferLength += 16;
6631 NdrStubGetBuffer(This, _pRpcChannelBuffer, &_StubMsg);
6632 NdrComplexStructMarshall( (PMIDL_STUB_MESSAGE)& _StubMsg,
6633 (unsigned char __RPC_FAR *)pCustData,
6634 (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[1788] );
6636 _StubMsg.Buffer = (unsigned char __RPC_FAR *)(((long)_StubMsg.Buffer + 3) & ~ 0x3);
6637 *(( HRESULT __RPC_FAR * )_StubMsg.Buffer)++ = _RetVal;
6640 RpcFinally
6642 NdrPointerFree( &_StubMsg,
6643 (unsigned char __RPC_FAR *)pCustData,
6644 &__MIDL_TypeFormatString.Format[1748] );
6647 RpcEndFinally
6648 _pRpcMessage->BufferLength =
6649 (unsigned int)((long)_StubMsg.Buffer - (long)_pRpcMessage->Buffer);
6654 HRESULT STDMETHODCALLTYPE ITypeInfo2_GetAllVarCustData_Proxy(
6655 ITypeInfo2 __RPC_FAR * This,
6656 /* [in] */ UINT index,
6657 /* [out] */ CUSTDATA __RPC_FAR *pCustData)
6660 HRESULT _RetVal;
6662 RPC_MESSAGE _RpcMessage;
6664 MIDL_STUB_MESSAGE _StubMsg;
6666 if(pCustData)
6668 MIDL_memset(
6669 pCustData,
6671 sizeof( CUSTDATA ));
6673 RpcTryExcept
6675 NdrProxyInitialize(
6676 ( void __RPC_FAR * )This,
6677 ( PRPC_MESSAGE )&_RpcMessage,
6678 ( PMIDL_STUB_MESSAGE )&_StubMsg,
6679 ( PMIDL_STUB_DESC )&Object_StubDesc,
6680 35);
6684 if(!pCustData)
6686 RpcRaiseException(RPC_X_NULL_REF_POINTER);
6688 RpcTryFinally
6691 _StubMsg.BufferLength = 4U;
6692 NdrProxyGetBuffer(This, &_StubMsg);
6693 *(( UINT __RPC_FAR * )_StubMsg.Buffer)++ = index;
6695 NdrProxySendReceive(This, &_StubMsg);
6697 if ( (_RpcMessage.DataRepresentation & 0X0000FFFFUL) != NDR_LOCAL_DATA_REPRESENTATION )
6698 NdrConvert( (PMIDL_STUB_MESSAGE) &_StubMsg, (PFORMAT_STRING) &__MIDL_ProcFormatString.Format[360] );
6700 NdrComplexStructUnmarshall( (PMIDL_STUB_MESSAGE) &_StubMsg,
6701 (unsigned char __RPC_FAR * __RPC_FAR *)&pCustData,
6702 (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[1788],
6703 (unsigned char)0 );
6705 _StubMsg.Buffer = (unsigned char __RPC_FAR *)(((long)_StubMsg.Buffer + 3) & ~ 0x3);
6706 _RetVal = *(( HRESULT __RPC_FAR * )_StubMsg.Buffer)++;
6709 RpcFinally
6711 NdrProxyFreeBuffer(This, &_StubMsg);
6714 RpcEndFinally
6717 RpcExcept(_StubMsg.dwStubPhase != PROXY_SENDRECEIVE)
6719 NdrClearOutParameters(
6720 ( PMIDL_STUB_MESSAGE )&_StubMsg,
6721 ( PFORMAT_STRING )&__MIDL_TypeFormatString.Format[1748],
6722 ( void __RPC_FAR * )pCustData);
6723 _RetVal = NdrProxyErrorHandler(RpcExceptionCode());
6725 RpcEndExcept
6726 return _RetVal;
6729 void __RPC_STUB ITypeInfo2_GetAllVarCustData_Stub(
6730 IRpcStubBuffer *This,
6731 IRpcChannelBuffer *_pRpcChannelBuffer,
6732 PRPC_MESSAGE _pRpcMessage,
6733 DWORD *_pdwStubPhase)
6735 HRESULT _RetVal;
6736 MIDL_STUB_MESSAGE _StubMsg;
6737 CUSTDATA _pCustDataM;
6738 UINT index;
6739 CUSTDATA __RPC_FAR *pCustData;
6741 NdrStubInitialize(
6742 _pRpcMessage,
6743 &_StubMsg,
6744 &Object_StubDesc,
6745 _pRpcChannelBuffer);
6746 ( CUSTDATA __RPC_FAR * )pCustData = 0;
6747 RpcTryFinally
6749 if ( (_pRpcMessage->DataRepresentation & 0X0000FFFFUL) != NDR_LOCAL_DATA_REPRESENTATION )
6750 NdrConvert( (PMIDL_STUB_MESSAGE) &_StubMsg, (PFORMAT_STRING) &__MIDL_ProcFormatString.Format[360] );
6752 index = *(( UINT __RPC_FAR * )_StubMsg.Buffer)++;
6754 pCustData = &_pCustDataM;
6755 pCustData -> prgCustData = 0;
6757 *_pdwStubPhase = STUB_CALL_SERVER;
6758 _RetVal = (((ITypeInfo2*) ((CStdStubBuffer *)This)->pvServerObject)->lpVtbl) -> GetAllVarCustData(
6759 (ITypeInfo2 *) ((CStdStubBuffer *)This)->pvServerObject,
6760 index,
6761 pCustData);
6763 *_pdwStubPhase = STUB_MARSHAL;
6765 _StubMsg.BufferLength = 0U + 11U;
6766 NdrComplexStructBufferSize( (PMIDL_STUB_MESSAGE) &_StubMsg,
6767 (unsigned char __RPC_FAR *)pCustData,
6768 (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[1788] );
6770 _StubMsg.BufferLength += 16;
6772 NdrStubGetBuffer(This, _pRpcChannelBuffer, &_StubMsg);
6773 NdrComplexStructMarshall( (PMIDL_STUB_MESSAGE)& _StubMsg,
6774 (unsigned char __RPC_FAR *)pCustData,
6775 (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[1788] );
6777 _StubMsg.Buffer = (unsigned char __RPC_FAR *)(((long)_StubMsg.Buffer + 3) & ~ 0x3);
6778 *(( HRESULT __RPC_FAR * )_StubMsg.Buffer)++ = _RetVal;
6781 RpcFinally
6783 NdrPointerFree( &_StubMsg,
6784 (unsigned char __RPC_FAR *)pCustData,
6785 &__MIDL_TypeFormatString.Format[1748] );
6788 RpcEndFinally
6789 _pRpcMessage->BufferLength =
6790 (unsigned int)((long)_StubMsg.Buffer - (long)_pRpcMessage->Buffer);
6795 HRESULT STDMETHODCALLTYPE ITypeInfo2_GetAllImplTypeCustData_Proxy(
6796 ITypeInfo2 __RPC_FAR * This,
6797 /* [in] */ UINT index,
6798 /* [out] */ CUSTDATA __RPC_FAR *pCustData)
6801 HRESULT _RetVal;
6803 RPC_MESSAGE _RpcMessage;
6805 MIDL_STUB_MESSAGE _StubMsg;
6807 if(pCustData)
6809 MIDL_memset(
6810 pCustData,
6812 sizeof( CUSTDATA ));
6814 RpcTryExcept
6816 NdrProxyInitialize(
6817 ( void __RPC_FAR * )This,
6818 ( PRPC_MESSAGE )&_RpcMessage,
6819 ( PMIDL_STUB_MESSAGE )&_StubMsg,
6820 ( PMIDL_STUB_DESC )&Object_StubDesc,
6821 36);
6825 if(!pCustData)
6827 RpcRaiseException(RPC_X_NULL_REF_POINTER);
6829 RpcTryFinally
6832 _StubMsg.BufferLength = 4U;
6833 NdrProxyGetBuffer(This, &_StubMsg);
6834 *(( UINT __RPC_FAR * )_StubMsg.Buffer)++ = index;
6836 NdrProxySendReceive(This, &_StubMsg);
6838 if ( (_RpcMessage.DataRepresentation & 0X0000FFFFUL) != NDR_LOCAL_DATA_REPRESENTATION )
6839 NdrConvert( (PMIDL_STUB_MESSAGE) &_StubMsg, (PFORMAT_STRING) &__MIDL_ProcFormatString.Format[360] );
6841 NdrComplexStructUnmarshall( (PMIDL_STUB_MESSAGE) &_StubMsg,
6842 (unsigned char __RPC_FAR * __RPC_FAR *)&pCustData,
6843 (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[1788],
6844 (unsigned char)0 );
6846 _StubMsg.Buffer = (unsigned char __RPC_FAR *)(((long)_StubMsg.Buffer + 3) & ~ 0x3);
6847 _RetVal = *(( HRESULT __RPC_FAR * )_StubMsg.Buffer)++;
6850 RpcFinally
6852 NdrProxyFreeBuffer(This, &_StubMsg);
6855 RpcEndFinally
6858 RpcExcept(_StubMsg.dwStubPhase != PROXY_SENDRECEIVE)
6860 NdrClearOutParameters(
6861 ( PMIDL_STUB_MESSAGE )&_StubMsg,
6862 ( PFORMAT_STRING )&__MIDL_TypeFormatString.Format[1748],
6863 ( void __RPC_FAR * )pCustData);
6864 _RetVal = NdrProxyErrorHandler(RpcExceptionCode());
6866 RpcEndExcept
6867 return _RetVal;
6870 void __RPC_STUB ITypeInfo2_GetAllImplTypeCustData_Stub(
6871 IRpcStubBuffer *This,
6872 IRpcChannelBuffer *_pRpcChannelBuffer,
6873 PRPC_MESSAGE _pRpcMessage,
6874 DWORD *_pdwStubPhase)
6876 HRESULT _RetVal;
6877 MIDL_STUB_MESSAGE _StubMsg;
6878 CUSTDATA _pCustDataM;
6879 UINT index;
6880 CUSTDATA __RPC_FAR *pCustData;
6882 NdrStubInitialize(
6883 _pRpcMessage,
6884 &_StubMsg,
6885 &Object_StubDesc,
6886 _pRpcChannelBuffer);
6887 ( CUSTDATA __RPC_FAR * )pCustData = 0;
6888 RpcTryFinally
6890 if ( (_pRpcMessage->DataRepresentation & 0X0000FFFFUL) != NDR_LOCAL_DATA_REPRESENTATION )
6891 NdrConvert( (PMIDL_STUB_MESSAGE) &_StubMsg, (PFORMAT_STRING) &__MIDL_ProcFormatString.Format[360] );
6893 index = *(( UINT __RPC_FAR * )_StubMsg.Buffer)++;
6895 pCustData = &_pCustDataM;
6896 pCustData -> prgCustData = 0;
6898 *_pdwStubPhase = STUB_CALL_SERVER;
6899 _RetVal = (((ITypeInfo2*) ((CStdStubBuffer *)This)->pvServerObject)->lpVtbl) -> GetAllImplTypeCustData(
6900 (ITypeInfo2 *) ((CStdStubBuffer *)This)->pvServerObject,
6901 index,
6902 pCustData);
6904 *_pdwStubPhase = STUB_MARSHAL;
6906 _StubMsg.BufferLength = 0U + 11U;
6907 NdrComplexStructBufferSize( (PMIDL_STUB_MESSAGE) &_StubMsg,
6908 (unsigned char __RPC_FAR *)pCustData,
6909 (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[1788] );
6911 _StubMsg.BufferLength += 16;
6913 NdrStubGetBuffer(This, _pRpcChannelBuffer, &_StubMsg);
6914 NdrComplexStructMarshall( (PMIDL_STUB_MESSAGE)& _StubMsg,
6915 (unsigned char __RPC_FAR *)pCustData,
6916 (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[1788] );
6918 _StubMsg.Buffer = (unsigned char __RPC_FAR *)(((long)_StubMsg.Buffer + 3) & ~ 0x3);
6919 *(( HRESULT __RPC_FAR * )_StubMsg.Buffer)++ = _RetVal;
6922 RpcFinally
6924 NdrPointerFree( &_StubMsg,
6925 (unsigned char __RPC_FAR *)pCustData,
6926 &__MIDL_TypeFormatString.Format[1748] );
6929 RpcEndFinally
6930 _pRpcMessage->BufferLength =
6931 (unsigned int)((long)_StubMsg.Buffer - (long)_pRpcMessage->Buffer);
6935 const CINTERFACE_PROXY_VTABLE(37) _ITypeInfo2ProxyVtbl =
6937 { &IID_ITypeInfo2 },
6939 IUnknown_QueryInterface_Proxy,
6940 IUnknown_AddRef_Proxy,
6941 IUnknown_Release_Proxy ,
6942 ITypeInfo_GetTypeAttr_Proxy ,
6943 ITypeInfo_GetTypeComp_Proxy ,
6944 ITypeInfo_GetFuncDesc_Proxy ,
6945 ITypeInfo_GetVarDesc_Proxy ,
6946 ITypeInfo_GetNames_Proxy ,
6947 ITypeInfo_GetRefTypeOfImplType_Proxy ,
6948 ITypeInfo_GetImplTypeFlags_Proxy ,
6949 ITypeInfo_GetIDsOfNames_Proxy ,
6950 ITypeInfo_Invoke_Proxy ,
6951 ITypeInfo_GetDocumentation_Proxy ,
6952 ITypeInfo_GetDllEntry_Proxy ,
6953 ITypeInfo_GetRefTypeInfo_Proxy ,
6954 ITypeInfo_AddressOfMember_Proxy ,
6955 ITypeInfo_CreateInstance_Proxy ,
6956 ITypeInfo_GetMops_Proxy ,
6957 ITypeInfo_GetContainingTypeLib_Proxy ,
6958 ITypeInfo_ReleaseTypeAttr_Proxy ,
6959 ITypeInfo_ReleaseFuncDesc_Proxy ,
6960 ITypeInfo_ReleaseVarDesc_Proxy ,
6961 ITypeInfo2_GetTypeKind_Proxy ,
6962 ITypeInfo2_GetTypeFlags_Proxy ,
6963 ITypeInfo2_GetFuncIndexOfMemId_Proxy ,
6964 ITypeInfo2_GetVarIndexOfMemId_Proxy ,
6965 ITypeInfo2_GetCustData_Proxy ,
6966 ITypeInfo2_GetFuncCustData_Proxy ,
6967 ITypeInfo2_GetParamCustData_Proxy ,
6968 ITypeInfo2_GetVarCustData_Proxy ,
6969 ITypeInfo2_GetImplTypeCustData_Proxy ,
6970 ITypeInfo2_GetDocumentation2_Proxy ,
6971 ITypeInfo2_GetAllCustData_Proxy ,
6972 ITypeInfo2_GetAllFuncCustData_Proxy ,
6973 ITypeInfo2_GetAllParamCustData_Proxy ,
6974 ITypeInfo2_GetAllVarCustData_Proxy ,
6975 ITypeInfo2_GetAllImplTypeCustData_Proxy
6980 static const PRPC_STUB_FUNCTION ITypeInfo2_table[] =
6982 ITypeInfo_RemoteGetTypeAttr_Stub,
6983 ITypeInfo_GetTypeComp_Stub,
6984 ITypeInfo_RemoteGetFuncDesc_Stub,
6985 ITypeInfo_RemoteGetVarDesc_Stub,
6986 ITypeInfo_RemoteGetNames_Stub,
6987 ITypeInfo_GetRefTypeOfImplType_Stub,
6988 ITypeInfo_GetImplTypeFlags_Stub,
6989 ITypeInfo_LocalGetIDsOfNames_Stub,
6990 ITypeInfo_LocalInvoke_Stub,
6991 ITypeInfo_RemoteGetDocumentation_Stub,
6992 ITypeInfo_RemoteGetDllEntry_Stub,
6993 ITypeInfo_GetRefTypeInfo_Stub,
6994 ITypeInfo_LocalAddressOfMember_Stub,
6995 ITypeInfo_RemoteCreateInstance_Stub,
6996 ITypeInfo_GetMops_Stub,
6997 ITypeInfo_RemoteGetContainingTypeLib_Stub,
6998 ITypeInfo_LocalReleaseTypeAttr_Stub,
6999 ITypeInfo_LocalReleaseFuncDesc_Stub,
7000 ITypeInfo_LocalReleaseVarDesc_Stub,
7001 ITypeInfo2_GetTypeKind_Stub,
7002 ITypeInfo2_GetTypeFlags_Stub,
7003 ITypeInfo2_GetFuncIndexOfMemId_Stub,
7004 ITypeInfo2_GetVarIndexOfMemId_Stub,
7005 ITypeInfo2_GetCustData_Stub,
7006 ITypeInfo2_GetFuncCustData_Stub,
7007 ITypeInfo2_GetParamCustData_Stub,
7008 ITypeInfo2_GetVarCustData_Stub,
7009 ITypeInfo2_GetImplTypeCustData_Stub,
7010 ITypeInfo2_RemoteGetDocumentation2_Stub,
7011 ITypeInfo2_GetAllCustData_Stub,
7012 ITypeInfo2_GetAllFuncCustData_Stub,
7013 ITypeInfo2_GetAllParamCustData_Stub,
7014 ITypeInfo2_GetAllVarCustData_Stub,
7015 ITypeInfo2_GetAllImplTypeCustData_Stub
7018 const CInterfaceStubVtbl _ITypeInfo2StubVtbl =
7021 &IID_ITypeInfo2,
7024 &ITypeInfo2_table[-3]
7026 { CStdStubBuffer_METHODS }
7030 /* Object interface: ITypeLib, ver. 0.0,
7031 GUID={0x00020402,0x0000,0x0000,{0xC0,0x00,0x00,0x00,0x00,0x00,0x00,0x46}} */
7034 extern const MIDL_STUB_DESC Object_StubDesc;
7037 /* [call_as] */ HRESULT STDMETHODCALLTYPE ITypeLib_RemoteGetTypeInfoCount_Proxy(
7038 ITypeLib __RPC_FAR * This,
7039 /* [out] */ UINT __RPC_FAR *pcTInfo)
7042 HRESULT _RetVal;
7044 RPC_MESSAGE _RpcMessage;
7046 MIDL_STUB_MESSAGE _StubMsg;
7048 RpcTryExcept
7050 NdrProxyInitialize(
7051 ( void __RPC_FAR * )This,
7052 ( PRPC_MESSAGE )&_RpcMessage,
7053 ( PMIDL_STUB_MESSAGE )&_StubMsg,
7054 ( PMIDL_STUB_DESC )&Object_StubDesc,
7059 if(!pcTInfo)
7061 RpcRaiseException(RPC_X_NULL_REF_POINTER);
7063 RpcTryFinally
7066 _StubMsg.BufferLength = 0U;
7067 NdrProxyGetBuffer(This, &_StubMsg);
7068 NdrProxySendReceive(This, &_StubMsg);
7070 if ( (_RpcMessage.DataRepresentation & 0X0000FFFFUL) != NDR_LOCAL_DATA_REPRESENTATION )
7071 NdrConvert( (PMIDL_STUB_MESSAGE) &_StubMsg, (PFORMAT_STRING) &__MIDL_ProcFormatString.Format[0] );
7073 *pcTInfo = *(( UINT __RPC_FAR * )_StubMsg.Buffer)++;
7075 _RetVal = *(( HRESULT __RPC_FAR * )_StubMsg.Buffer)++;
7078 RpcFinally
7080 NdrProxyFreeBuffer(This, &_StubMsg);
7083 RpcEndFinally
7086 RpcExcept(_StubMsg.dwStubPhase != PROXY_SENDRECEIVE)
7088 NdrClearOutParameters(
7089 ( PMIDL_STUB_MESSAGE )&_StubMsg,
7090 ( PFORMAT_STRING )&__MIDL_TypeFormatString.Format[2],
7091 ( void __RPC_FAR * )pcTInfo);
7092 _RetVal = NdrProxyErrorHandler(RpcExceptionCode());
7094 RpcEndExcept
7095 return _RetVal;
7098 void __RPC_STUB ITypeLib_RemoteGetTypeInfoCount_Stub(
7099 IRpcStubBuffer *This,
7100 IRpcChannelBuffer *_pRpcChannelBuffer,
7101 PRPC_MESSAGE _pRpcMessage,
7102 DWORD *_pdwStubPhase)
7104 UINT _M61;
7105 HRESULT _RetVal;
7106 MIDL_STUB_MESSAGE _StubMsg;
7107 UINT __RPC_FAR *pcTInfo;
7109 NdrStubInitialize(
7110 _pRpcMessage,
7111 &_StubMsg,
7112 &Object_StubDesc,
7113 _pRpcChannelBuffer);
7114 ( UINT __RPC_FAR * )pcTInfo = 0;
7115 RpcTryFinally
7117 pcTInfo = &_M61;
7119 *_pdwStubPhase = STUB_CALL_SERVER;
7122 _RetVal = ITypeLib_GetTypeInfoCount_Stub((ITypeLib *) ((CStdStubBuffer *)This)->pvServerObject,pcTInfo);
7124 *_pdwStubPhase = STUB_MARSHAL;
7126 _StubMsg.BufferLength = 4U + 4U;
7127 NdrStubGetBuffer(This, _pRpcChannelBuffer, &_StubMsg);
7128 *(( UINT __RPC_FAR * )_StubMsg.Buffer)++ = *pcTInfo;
7130 *(( HRESULT __RPC_FAR * )_StubMsg.Buffer)++ = _RetVal;
7133 RpcFinally
7136 RpcEndFinally
7137 _pRpcMessage->BufferLength =
7138 (unsigned int)((long)_StubMsg.Buffer - (long)_pRpcMessage->Buffer);
7143 HRESULT STDMETHODCALLTYPE ITypeLib_GetTypeInfo_Proxy(
7144 ITypeLib __RPC_FAR * This,
7145 /* [in] */ UINT index,
7146 /* [out] */ ITypeInfo __RPC_FAR *__RPC_FAR *ppTInfo)
7149 HRESULT _RetVal;
7151 RPC_MESSAGE _RpcMessage;
7153 MIDL_STUB_MESSAGE _StubMsg;
7155 if(ppTInfo)
7157 MIDL_memset(
7158 ppTInfo,
7160 sizeof( ITypeInfo __RPC_FAR *__RPC_FAR * ));
7162 RpcTryExcept
7164 NdrProxyInitialize(
7165 ( void __RPC_FAR * )This,
7166 ( PRPC_MESSAGE )&_RpcMessage,
7167 ( PMIDL_STUB_MESSAGE )&_StubMsg,
7168 ( PMIDL_STUB_DESC )&Object_StubDesc,
7173 if(!ppTInfo)
7175 RpcRaiseException(RPC_X_NULL_REF_POINTER);
7177 RpcTryFinally
7180 _StubMsg.BufferLength = 4U;
7181 NdrProxyGetBuffer(This, &_StubMsg);
7182 *(( UINT __RPC_FAR * )_StubMsg.Buffer)++ = index;
7184 NdrProxySendReceive(This, &_StubMsg);
7186 if ( (_RpcMessage.DataRepresentation & 0X0000FFFFUL) != NDR_LOCAL_DATA_REPRESENTATION )
7187 NdrConvert( (PMIDL_STUB_MESSAGE) &_StubMsg, (PFORMAT_STRING) &__MIDL_ProcFormatString.Format[246] );
7189 NdrPointerUnmarshall( (PMIDL_STUB_MESSAGE) &_StubMsg,
7190 (unsigned char __RPC_FAR * __RPC_FAR *)&ppTInfo,
7191 (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[6],
7192 (unsigned char)0 );
7194 _StubMsg.Buffer = (unsigned char __RPC_FAR *)(((long)_StubMsg.Buffer + 3) & ~ 0x3);
7195 _RetVal = *(( HRESULT __RPC_FAR * )_StubMsg.Buffer)++;
7198 RpcFinally
7200 NdrProxyFreeBuffer(This, &_StubMsg);
7203 RpcEndFinally
7206 RpcExcept(_StubMsg.dwStubPhase != PROXY_SENDRECEIVE)
7208 NdrClearOutParameters(
7209 ( PMIDL_STUB_MESSAGE )&_StubMsg,
7210 ( PFORMAT_STRING )&__MIDL_TypeFormatString.Format[6],
7211 ( void __RPC_FAR * )ppTInfo);
7212 _RetVal = NdrProxyErrorHandler(RpcExceptionCode());
7214 RpcEndExcept
7215 return _RetVal;
7218 void __RPC_STUB ITypeLib_GetTypeInfo_Stub(
7219 IRpcStubBuffer *This,
7220 IRpcChannelBuffer *_pRpcChannelBuffer,
7221 PRPC_MESSAGE _pRpcMessage,
7222 DWORD *_pdwStubPhase)
7224 ITypeInfo __RPC_FAR *_M62;
7225 HRESULT _RetVal;
7226 MIDL_STUB_MESSAGE _StubMsg;
7227 UINT index;
7228 ITypeInfo __RPC_FAR *__RPC_FAR *ppTInfo;
7230 NdrStubInitialize(
7231 _pRpcMessage,
7232 &_StubMsg,
7233 &Object_StubDesc,
7234 _pRpcChannelBuffer);
7235 ( ITypeInfo __RPC_FAR *__RPC_FAR * )ppTInfo = 0;
7236 RpcTryFinally
7238 if ( (_pRpcMessage->DataRepresentation & 0X0000FFFFUL) != NDR_LOCAL_DATA_REPRESENTATION )
7239 NdrConvert( (PMIDL_STUB_MESSAGE) &_StubMsg, (PFORMAT_STRING) &__MIDL_ProcFormatString.Format[246] );
7241 index = *(( UINT __RPC_FAR * )_StubMsg.Buffer)++;
7243 ppTInfo = &_M62;
7244 _M62 = 0;
7246 *_pdwStubPhase = STUB_CALL_SERVER;
7247 _RetVal = (((ITypeLib*) ((CStdStubBuffer *)This)->pvServerObject)->lpVtbl) -> GetTypeInfo(
7248 (ITypeLib *) ((CStdStubBuffer *)This)->pvServerObject,
7249 index,
7250 ppTInfo);
7252 *_pdwStubPhase = STUB_MARSHAL;
7254 _StubMsg.BufferLength = 0U + 4U;
7255 NdrPointerBufferSize( (PMIDL_STUB_MESSAGE) &_StubMsg,
7256 (unsigned char __RPC_FAR *)ppTInfo,
7257 (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[6] );
7259 _StubMsg.BufferLength += 16;
7261 NdrStubGetBuffer(This, _pRpcChannelBuffer, &_StubMsg);
7262 NdrPointerMarshall( (PMIDL_STUB_MESSAGE)& _StubMsg,
7263 (unsigned char __RPC_FAR *)ppTInfo,
7264 (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[6] );
7266 _StubMsg.Buffer = (unsigned char __RPC_FAR *)(((long)_StubMsg.Buffer + 3) & ~ 0x3);
7267 *(( HRESULT __RPC_FAR * )_StubMsg.Buffer)++ = _RetVal;
7270 RpcFinally
7272 NdrPointerFree( &_StubMsg,
7273 (unsigned char __RPC_FAR *)ppTInfo,
7274 &__MIDL_TypeFormatString.Format[6] );
7277 RpcEndFinally
7278 _pRpcMessage->BufferLength =
7279 (unsigned int)((long)_StubMsg.Buffer - (long)_pRpcMessage->Buffer);
7284 HRESULT STDMETHODCALLTYPE ITypeLib_GetTypeInfoType_Proxy(
7285 ITypeLib __RPC_FAR * This,
7286 /* [in] */ UINT index,
7287 /* [out] */ TYPEKIND __RPC_FAR *pTKind)
7290 HRESULT _RetVal;
7292 RPC_MESSAGE _RpcMessage;
7294 MIDL_STUB_MESSAGE _StubMsg;
7296 RpcTryExcept
7298 NdrProxyInitialize(
7299 ( void __RPC_FAR * )This,
7300 ( PRPC_MESSAGE )&_RpcMessage,
7301 ( PMIDL_STUB_MESSAGE )&_StubMsg,
7302 ( PMIDL_STUB_DESC )&Object_StubDesc,
7307 if(!pTKind)
7309 RpcRaiseException(RPC_X_NULL_REF_POINTER);
7311 RpcTryFinally
7314 _StubMsg.BufferLength = 4U;
7315 NdrProxyGetBuffer(This, &_StubMsg);
7316 *(( UINT __RPC_FAR * )_StubMsg.Buffer)++ = index;
7318 NdrProxySendReceive(This, &_StubMsg);
7320 if ( (_RpcMessage.DataRepresentation & 0X0000FFFFUL) != NDR_LOCAL_DATA_REPRESENTATION )
7321 NdrConvert( (PMIDL_STUB_MESSAGE) &_StubMsg, (PFORMAT_STRING) &__MIDL_ProcFormatString.Format[378] );
7323 NdrPointerUnmarshall( (PMIDL_STUB_MESSAGE) &_StubMsg,
7324 (unsigned char __RPC_FAR * __RPC_FAR *)&pTKind,
7325 (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[1250],
7326 (unsigned char)0 );
7328 _RetVal = *(( HRESULT __RPC_FAR * )_StubMsg.Buffer)++;
7331 RpcFinally
7333 NdrProxyFreeBuffer(This, &_StubMsg);
7336 RpcEndFinally
7339 RpcExcept(_StubMsg.dwStubPhase != PROXY_SENDRECEIVE)
7341 NdrClearOutParameters(
7342 ( PMIDL_STUB_MESSAGE )&_StubMsg,
7343 ( PFORMAT_STRING )&__MIDL_TypeFormatString.Format[1250],
7344 ( void __RPC_FAR * )pTKind);
7345 _RetVal = NdrProxyErrorHandler(RpcExceptionCode());
7347 RpcEndExcept
7348 return _RetVal;
7351 void __RPC_STUB ITypeLib_GetTypeInfoType_Stub(
7352 IRpcStubBuffer *This,
7353 IRpcChannelBuffer *_pRpcChannelBuffer,
7354 PRPC_MESSAGE _pRpcMessage,
7355 DWORD *_pdwStubPhase)
7357 TYPEKIND _M63;
7358 HRESULT _RetVal;
7359 MIDL_STUB_MESSAGE _StubMsg;
7360 UINT index;
7361 TYPEKIND __RPC_FAR *pTKind;
7363 NdrStubInitialize(
7364 _pRpcMessage,
7365 &_StubMsg,
7366 &Object_StubDesc,
7367 _pRpcChannelBuffer);
7368 ( TYPEKIND __RPC_FAR * )pTKind = 0;
7369 RpcTryFinally
7371 if ( (_pRpcMessage->DataRepresentation & 0X0000FFFFUL) != NDR_LOCAL_DATA_REPRESENTATION )
7372 NdrConvert( (PMIDL_STUB_MESSAGE) &_StubMsg, (PFORMAT_STRING) &__MIDL_ProcFormatString.Format[378] );
7374 index = *(( UINT __RPC_FAR * )_StubMsg.Buffer)++;
7376 pTKind = &_M63;
7378 *_pdwStubPhase = STUB_CALL_SERVER;
7379 _RetVal = (((ITypeLib*) ((CStdStubBuffer *)This)->pvServerObject)->lpVtbl) -> GetTypeInfoType(
7380 (ITypeLib *) ((CStdStubBuffer *)This)->pvServerObject,
7381 index,
7382 pTKind);
7384 *_pdwStubPhase = STUB_MARSHAL;
7386 _StubMsg.BufferLength = 4U + 4U;
7387 NdrStubGetBuffer(This, _pRpcChannelBuffer, &_StubMsg);
7388 NdrPointerMarshall( (PMIDL_STUB_MESSAGE)& _StubMsg,
7389 (unsigned char __RPC_FAR *)pTKind,
7390 (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[1250] );
7392 *(( HRESULT __RPC_FAR * )_StubMsg.Buffer)++ = _RetVal;
7395 RpcFinally
7398 RpcEndFinally
7399 _pRpcMessage->BufferLength =
7400 (unsigned int)((long)_StubMsg.Buffer - (long)_pRpcMessage->Buffer);
7405 HRESULT STDMETHODCALLTYPE ITypeLib_GetTypeInfoOfGuid_Proxy(
7406 ITypeLib __RPC_FAR * This,
7407 /* [in] */ REFGUID guid,
7408 /* [out] */ ITypeInfo __RPC_FAR *__RPC_FAR *ppTinfo)
7411 HRESULT _RetVal;
7413 RPC_MESSAGE _RpcMessage;
7415 MIDL_STUB_MESSAGE _StubMsg;
7417 if(ppTinfo)
7419 MIDL_memset(
7420 ppTinfo,
7422 sizeof( ITypeInfo __RPC_FAR *__RPC_FAR * ));
7424 RpcTryExcept
7426 NdrProxyInitialize(
7427 ( void __RPC_FAR * )This,
7428 ( PRPC_MESSAGE )&_RpcMessage,
7429 ( PMIDL_STUB_MESSAGE )&_StubMsg,
7430 ( PMIDL_STUB_DESC )&Object_StubDesc,
7435 if(!guid)
7437 RpcRaiseException(RPC_X_NULL_REF_POINTER);
7439 if(!ppTinfo)
7441 RpcRaiseException(RPC_X_NULL_REF_POINTER);
7443 RpcTryFinally
7446 _StubMsg.BufferLength = 0U;
7447 NdrSimpleStructBufferSize( (PMIDL_STUB_MESSAGE) &_StubMsg,
7448 (unsigned char __RPC_FAR *)guid,
7449 (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[38] );
7451 NdrProxyGetBuffer(This, &_StubMsg);
7452 NdrSimpleStructMarshall( (PMIDL_STUB_MESSAGE)& _StubMsg,
7453 (unsigned char __RPC_FAR *)guid,
7454 (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[38] );
7456 NdrProxySendReceive(This, &_StubMsg);
7458 if ( (_RpcMessage.DataRepresentation & 0X0000FFFFUL) != NDR_LOCAL_DATA_REPRESENTATION )
7459 NdrConvert( (PMIDL_STUB_MESSAGE) &_StubMsg, (PFORMAT_STRING) &__MIDL_ProcFormatString.Format[386] );
7461 NdrPointerUnmarshall( (PMIDL_STUB_MESSAGE) &_StubMsg,
7462 (unsigned char __RPC_FAR * __RPC_FAR *)&ppTinfo,
7463 (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[6],
7464 (unsigned char)0 );
7466 _StubMsg.Buffer = (unsigned char __RPC_FAR *)(((long)_StubMsg.Buffer + 3) & ~ 0x3);
7467 _RetVal = *(( HRESULT __RPC_FAR * )_StubMsg.Buffer)++;
7470 RpcFinally
7472 NdrProxyFreeBuffer(This, &_StubMsg);
7475 RpcEndFinally
7478 RpcExcept(_StubMsg.dwStubPhase != PROXY_SENDRECEIVE)
7480 NdrClearOutParameters(
7481 ( PMIDL_STUB_MESSAGE )&_StubMsg,
7482 ( PFORMAT_STRING )&__MIDL_TypeFormatString.Format[6],
7483 ( void __RPC_FAR * )ppTinfo);
7484 _RetVal = NdrProxyErrorHandler(RpcExceptionCode());
7486 RpcEndExcept
7487 return _RetVal;
7490 void __RPC_STUB ITypeLib_GetTypeInfoOfGuid_Stub(
7491 IRpcStubBuffer *This,
7492 IRpcChannelBuffer *_pRpcChannelBuffer,
7493 PRPC_MESSAGE _pRpcMessage,
7494 DWORD *_pdwStubPhase)
7496 ITypeInfo __RPC_FAR *_M64;
7497 HRESULT _RetVal;
7498 MIDL_STUB_MESSAGE _StubMsg;
7499 REFGUID guid = 0;
7500 ITypeInfo __RPC_FAR *__RPC_FAR *ppTinfo;
7502 NdrStubInitialize(
7503 _pRpcMessage,
7504 &_StubMsg,
7505 &Object_StubDesc,
7506 _pRpcChannelBuffer);
7507 ( ITypeInfo __RPC_FAR *__RPC_FAR * )ppTinfo = 0;
7508 RpcTryFinally
7510 if ( (_pRpcMessage->DataRepresentation & 0X0000FFFFUL) != NDR_LOCAL_DATA_REPRESENTATION )
7511 NdrConvert( (PMIDL_STUB_MESSAGE) &_StubMsg, (PFORMAT_STRING) &__MIDL_ProcFormatString.Format[386] );
7513 NdrSimpleStructUnmarshall( (PMIDL_STUB_MESSAGE) &_StubMsg,
7514 (unsigned char __RPC_FAR * __RPC_FAR *)&guid,
7515 (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[38],
7516 (unsigned char)0 );
7518 ppTinfo = &_M64;
7519 _M64 = 0;
7521 *_pdwStubPhase = STUB_CALL_SERVER;
7522 _RetVal = (((ITypeLib*) ((CStdStubBuffer *)This)->pvServerObject)->lpVtbl) -> GetTypeInfoOfGuid(
7523 (ITypeLib *) ((CStdStubBuffer *)This)->pvServerObject,
7524 guid,
7525 ppTinfo);
7527 *_pdwStubPhase = STUB_MARSHAL;
7529 _StubMsg.BufferLength = 0U + 4U;
7530 NdrPointerBufferSize( (PMIDL_STUB_MESSAGE) &_StubMsg,
7531 (unsigned char __RPC_FAR *)ppTinfo,
7532 (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[6] );
7534 _StubMsg.BufferLength += 16;
7536 NdrStubGetBuffer(This, _pRpcChannelBuffer, &_StubMsg);
7537 NdrPointerMarshall( (PMIDL_STUB_MESSAGE)& _StubMsg,
7538 (unsigned char __RPC_FAR *)ppTinfo,
7539 (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[6] );
7541 _StubMsg.Buffer = (unsigned char __RPC_FAR *)(((long)_StubMsg.Buffer + 3) & ~ 0x3);
7542 *(( HRESULT __RPC_FAR * )_StubMsg.Buffer)++ = _RetVal;
7545 RpcFinally
7547 NdrPointerFree( &_StubMsg,
7548 (unsigned char __RPC_FAR *)ppTinfo,
7549 &__MIDL_TypeFormatString.Format[6] );
7552 RpcEndFinally
7553 _pRpcMessage->BufferLength =
7554 (unsigned int)((long)_StubMsg.Buffer - (long)_pRpcMessage->Buffer);
7559 /* [call_as] */ HRESULT STDMETHODCALLTYPE ITypeLib_RemoteGetLibAttr_Proxy(
7560 ITypeLib __RPC_FAR * This,
7561 /* [out] */ LPTLIBATTR __RPC_FAR *ppTLibAttr,
7562 /* [out] */ CLEANLOCALSTORAGE __RPC_FAR *pDummy)
7565 HRESULT _RetVal;
7567 RPC_MESSAGE _RpcMessage;
7569 MIDL_STUB_MESSAGE _StubMsg;
7571 if(ppTLibAttr)
7573 *ppTLibAttr = 0;
7575 if(pDummy)
7577 MIDL_memset(
7578 pDummy,
7580 sizeof( CLEANLOCALSTORAGE ));
7582 RpcTryExcept
7584 NdrProxyInitialize(
7585 ( void __RPC_FAR * )This,
7586 ( PRPC_MESSAGE )&_RpcMessage,
7587 ( PMIDL_STUB_MESSAGE )&_StubMsg,
7588 ( PMIDL_STUB_DESC )&Object_StubDesc,
7593 if(!ppTLibAttr)
7595 RpcRaiseException(RPC_X_NULL_REF_POINTER);
7597 if(!pDummy)
7599 RpcRaiseException(RPC_X_NULL_REF_POINTER);
7601 RpcTryFinally
7604 _StubMsg.BufferLength = 0U;
7605 NdrProxyGetBuffer(This, &_StubMsg);
7606 NdrProxySendReceive(This, &_StubMsg);
7608 if ( (_RpcMessage.DataRepresentation & 0X0000FFFFUL) != NDR_LOCAL_DATA_REPRESENTATION )
7609 NdrConvert( (PMIDL_STUB_MESSAGE) &_StubMsg, (PFORMAT_STRING) &__MIDL_ProcFormatString.Format[396] );
7611 NdrPointerUnmarshall( (PMIDL_STUB_MESSAGE) &_StubMsg,
7612 (unsigned char __RPC_FAR * __RPC_FAR *)&ppTLibAttr,
7613 (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[1804],
7614 (unsigned char)0 );
7616 NdrUserMarshalUnmarshall( (PMIDL_STUB_MESSAGE) &_StubMsg,
7617 (unsigned char __RPC_FAR * __RPC_FAR *)&pDummy,
7618 (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[1838],
7619 (unsigned char)0 );
7621 _StubMsg.Buffer = (unsigned char __RPC_FAR *)(((long)_StubMsg.Buffer + 3) & ~ 0x3);
7622 _RetVal = *(( HRESULT __RPC_FAR * )_StubMsg.Buffer)++;
7625 RpcFinally
7627 NdrProxyFreeBuffer(This, &_StubMsg);
7630 RpcEndFinally
7633 RpcExcept(_StubMsg.dwStubPhase != PROXY_SENDRECEIVE)
7635 NdrClearOutParameters(
7636 ( PMIDL_STUB_MESSAGE )&_StubMsg,
7637 ( PFORMAT_STRING )&__MIDL_TypeFormatString.Format[1804],
7638 ( void __RPC_FAR * )ppTLibAttr);
7639 NdrClearOutParameters(
7640 ( PMIDL_STUB_MESSAGE )&_StubMsg,
7641 ( PFORMAT_STRING )&__MIDL_TypeFormatString.Format[1832],
7642 ( void __RPC_FAR * )pDummy);
7643 _RetVal = NdrProxyErrorHandler(RpcExceptionCode());
7645 RpcEndExcept
7646 return _RetVal;
7649 void __RPC_STUB ITypeLib_RemoteGetLibAttr_Stub(
7650 IRpcStubBuffer *This,
7651 IRpcChannelBuffer *_pRpcChannelBuffer,
7652 PRPC_MESSAGE _pRpcMessage,
7653 DWORD *_pdwStubPhase)
7655 LPTLIBATTR _M65;
7656 CLEANLOCALSTORAGE _M66;
7657 HRESULT _RetVal;
7658 MIDL_STUB_MESSAGE _StubMsg;
7659 CLEANLOCALSTORAGE __RPC_FAR *pDummy;
7660 LPTLIBATTR __RPC_FAR *ppTLibAttr;
7662 NdrStubInitialize(
7663 _pRpcMessage,
7664 &_StubMsg,
7665 &Object_StubDesc,
7666 _pRpcChannelBuffer);
7667 ( LPTLIBATTR __RPC_FAR * )ppTLibAttr = 0;
7668 ( CLEANLOCALSTORAGE __RPC_FAR * )pDummy = 0;
7669 RpcTryFinally
7671 ppTLibAttr = &_M65;
7672 _M65 = 0;
7673 pDummy = &_M66;
7674 MIDL_memset(
7675 pDummy,
7677 sizeof( CLEANLOCALSTORAGE ));
7679 *_pdwStubPhase = STUB_CALL_SERVER;
7682 _RetVal = ITypeLib_GetLibAttr_Stub(
7683 (ITypeLib *) ((CStdStubBuffer *)This)->pvServerObject,
7684 ppTLibAttr,
7685 pDummy);
7687 *_pdwStubPhase = STUB_MARSHAL;
7689 _StubMsg.BufferLength = 8U + 11U + 7U;
7690 NdrPointerBufferSize( (PMIDL_STUB_MESSAGE) &_StubMsg,
7691 (unsigned char __RPC_FAR *)ppTLibAttr,
7692 (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[1804] );
7694 _StubMsg.BufferLength += 16;
7696 NdrStubGetBuffer(This, _pRpcChannelBuffer, &_StubMsg);
7697 NdrPointerMarshall( (PMIDL_STUB_MESSAGE)& _StubMsg,
7698 (unsigned char __RPC_FAR *)ppTLibAttr,
7699 (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[1804] );
7701 NdrUserMarshalMarshall( (PMIDL_STUB_MESSAGE)& _StubMsg,
7702 (unsigned char __RPC_FAR *)pDummy,
7703 (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[1838] );
7705 _StubMsg.Buffer = (unsigned char __RPC_FAR *)(((long)_StubMsg.Buffer + 3) & ~ 0x3);
7706 *(( HRESULT __RPC_FAR * )_StubMsg.Buffer)++ = _RetVal;
7709 RpcFinally
7711 NdrPointerFree( &_StubMsg,
7712 (unsigned char __RPC_FAR *)ppTLibAttr,
7713 &__MIDL_TypeFormatString.Format[1804] );
7715 NdrPointerFree( &_StubMsg,
7716 (unsigned char __RPC_FAR *)pDummy,
7717 &__MIDL_TypeFormatString.Format[1832] );
7720 RpcEndFinally
7721 _pRpcMessage->BufferLength =
7722 (unsigned int)((long)_StubMsg.Buffer - (long)_pRpcMessage->Buffer);
7727 HRESULT STDMETHODCALLTYPE ITypeLib_GetTypeComp_Proxy(
7728 ITypeLib __RPC_FAR * This,
7729 /* [out] */ ITypeComp __RPC_FAR *__RPC_FAR *ppTComp)
7732 HRESULT _RetVal;
7734 RPC_MESSAGE _RpcMessage;
7736 MIDL_STUB_MESSAGE _StubMsg;
7738 if(ppTComp)
7740 MIDL_memset(
7741 ppTComp,
7743 sizeof( ITypeComp __RPC_FAR *__RPC_FAR * ));
7745 RpcTryExcept
7747 NdrProxyInitialize(
7748 ( void __RPC_FAR * )This,
7749 ( PRPC_MESSAGE )&_RpcMessage,
7750 ( PMIDL_STUB_MESSAGE )&_StubMsg,
7751 ( PMIDL_STUB_DESC )&Object_StubDesc,
7756 if(!ppTComp)
7758 RpcRaiseException(RPC_X_NULL_REF_POINTER);
7760 RpcTryFinally
7763 _StubMsg.BufferLength = 0U;
7764 NdrProxyGetBuffer(This, &_StubMsg);
7765 NdrProxySendReceive(This, &_StubMsg);
7767 if ( (_RpcMessage.DataRepresentation & 0X0000FFFFUL) != NDR_LOCAL_DATA_REPRESENTATION )
7768 NdrConvert( (PMIDL_STUB_MESSAGE) &_StubMsg, (PFORMAT_STRING) &__MIDL_ProcFormatString.Format[152] );
7770 NdrPointerUnmarshall( (PMIDL_STUB_MESSAGE) &_StubMsg,
7771 (unsigned char __RPC_FAR * __RPC_FAR *)&ppTComp,
7772 (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[1540],
7773 (unsigned char)0 );
7775 _StubMsg.Buffer = (unsigned char __RPC_FAR *)(((long)_StubMsg.Buffer + 3) & ~ 0x3);
7776 _RetVal = *(( HRESULT __RPC_FAR * )_StubMsg.Buffer)++;
7779 RpcFinally
7781 NdrProxyFreeBuffer(This, &_StubMsg);
7784 RpcEndFinally
7787 RpcExcept(_StubMsg.dwStubPhase != PROXY_SENDRECEIVE)
7789 NdrClearOutParameters(
7790 ( PMIDL_STUB_MESSAGE )&_StubMsg,
7791 ( PFORMAT_STRING )&__MIDL_TypeFormatString.Format[1540],
7792 ( void __RPC_FAR * )ppTComp);
7793 _RetVal = NdrProxyErrorHandler(RpcExceptionCode());
7795 RpcEndExcept
7796 return _RetVal;
7799 void __RPC_STUB ITypeLib_GetTypeComp_Stub(
7800 IRpcStubBuffer *This,
7801 IRpcChannelBuffer *_pRpcChannelBuffer,
7802 PRPC_MESSAGE _pRpcMessage,
7803 DWORD *_pdwStubPhase)
7805 ITypeComp __RPC_FAR *_M67;
7806 HRESULT _RetVal;
7807 MIDL_STUB_MESSAGE _StubMsg;
7808 ITypeComp __RPC_FAR *__RPC_FAR *ppTComp;
7810 NdrStubInitialize(
7811 _pRpcMessage,
7812 &_StubMsg,
7813 &Object_StubDesc,
7814 _pRpcChannelBuffer);
7815 ( ITypeComp __RPC_FAR *__RPC_FAR * )ppTComp = 0;
7816 RpcTryFinally
7818 ppTComp = &_M67;
7819 _M67 = 0;
7821 *_pdwStubPhase = STUB_CALL_SERVER;
7822 _RetVal = (((ITypeLib*) ((CStdStubBuffer *)This)->pvServerObject)->lpVtbl) -> GetTypeComp((ITypeLib *) ((CStdStubBuffer *)This)->pvServerObject,ppTComp);
7824 *_pdwStubPhase = STUB_MARSHAL;
7826 _StubMsg.BufferLength = 0U + 4U;
7827 NdrPointerBufferSize( (PMIDL_STUB_MESSAGE) &_StubMsg,
7828 (unsigned char __RPC_FAR *)ppTComp,
7829 (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[1540] );
7831 _StubMsg.BufferLength += 16;
7833 NdrStubGetBuffer(This, _pRpcChannelBuffer, &_StubMsg);
7834 NdrPointerMarshall( (PMIDL_STUB_MESSAGE)& _StubMsg,
7835 (unsigned char __RPC_FAR *)ppTComp,
7836 (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[1540] );
7838 _StubMsg.Buffer = (unsigned char __RPC_FAR *)(((long)_StubMsg.Buffer + 3) & ~ 0x3);
7839 *(( HRESULT __RPC_FAR * )_StubMsg.Buffer)++ = _RetVal;
7842 RpcFinally
7844 NdrPointerFree( &_StubMsg,
7845 (unsigned char __RPC_FAR *)ppTComp,
7846 &__MIDL_TypeFormatString.Format[1540] );
7849 RpcEndFinally
7850 _pRpcMessage->BufferLength =
7851 (unsigned int)((long)_StubMsg.Buffer - (long)_pRpcMessage->Buffer);
7856 /* [call_as] */ HRESULT STDMETHODCALLTYPE ITypeLib_RemoteGetDocumentation_Proxy(
7857 ITypeLib __RPC_FAR * This,
7858 /* [in] */ INT index,
7859 /* [in] */ DWORD refPtrFlags,
7860 /* [out] */ BSTR __RPC_FAR *pBstrName,
7861 /* [out] */ BSTR __RPC_FAR *pBstrDocString,
7862 /* [out] */ DWORD __RPC_FAR *pdwHelpContext,
7863 /* [out] */ BSTR __RPC_FAR *pBstrHelpFile)
7866 HRESULT _RetVal;
7868 RPC_MESSAGE _RpcMessage;
7870 MIDL_STUB_MESSAGE _StubMsg;
7872 if(pBstrName)
7874 MIDL_memset(
7875 pBstrName,
7877 sizeof( BSTR ));
7879 if(pBstrDocString)
7881 MIDL_memset(
7882 pBstrDocString,
7884 sizeof( BSTR ));
7886 if(pBstrHelpFile)
7888 MIDL_memset(
7889 pBstrHelpFile,
7891 sizeof( BSTR ));
7893 RpcTryExcept
7895 NdrProxyInitialize(
7896 ( void __RPC_FAR * )This,
7897 ( PRPC_MESSAGE )&_RpcMessage,
7898 ( PMIDL_STUB_MESSAGE )&_StubMsg,
7899 ( PMIDL_STUB_DESC )&Object_StubDesc,
7904 if(!pBstrName)
7906 RpcRaiseException(RPC_X_NULL_REF_POINTER);
7908 if(!pBstrDocString)
7910 RpcRaiseException(RPC_X_NULL_REF_POINTER);
7912 if(!pdwHelpContext)
7914 RpcRaiseException(RPC_X_NULL_REF_POINTER);
7916 if(!pBstrHelpFile)
7918 RpcRaiseException(RPC_X_NULL_REF_POINTER);
7920 RpcTryFinally
7923 _StubMsg.BufferLength = 4U + 4U;
7924 NdrProxyGetBuffer(This, &_StubMsg);
7925 *(( INT __RPC_FAR * )_StubMsg.Buffer)++ = index;
7927 *(( DWORD __RPC_FAR * )_StubMsg.Buffer)++ = refPtrFlags;
7929 NdrProxySendReceive(This, &_StubMsg);
7931 if ( (_RpcMessage.DataRepresentation & 0X0000FFFFUL) != NDR_LOCAL_DATA_REPRESENTATION )
7932 NdrConvert( (PMIDL_STUB_MESSAGE) &_StubMsg, (PFORMAT_STRING) &__MIDL_ProcFormatString.Format[204] );
7934 NdrUserMarshalUnmarshall( (PMIDL_STUB_MESSAGE) &_StubMsg,
7935 (unsigned char __RPC_FAR * __RPC_FAR *)&pBstrName,
7936 (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[1128],
7937 (unsigned char)0 );
7939 NdrUserMarshalUnmarshall( (PMIDL_STUB_MESSAGE) &_StubMsg,
7940 (unsigned char __RPC_FAR * __RPC_FAR *)&pBstrDocString,
7941 (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[1128],
7942 (unsigned char)0 );
7944 _StubMsg.Buffer = (unsigned char __RPC_FAR *)(((long)_StubMsg.Buffer + 3) & ~ 0x3);
7945 *pdwHelpContext = *(( DWORD __RPC_FAR * )_StubMsg.Buffer)++;
7947 NdrUserMarshalUnmarshall( (PMIDL_STUB_MESSAGE) &_StubMsg,
7948 (unsigned char __RPC_FAR * __RPC_FAR *)&pBstrHelpFile,
7949 (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[1128],
7950 (unsigned char)0 );
7952 _StubMsg.Buffer = (unsigned char __RPC_FAR *)(((long)_StubMsg.Buffer + 3) & ~ 0x3);
7953 _RetVal = *(( HRESULT __RPC_FAR * )_StubMsg.Buffer)++;
7956 RpcFinally
7958 NdrProxyFreeBuffer(This, &_StubMsg);
7961 RpcEndFinally
7964 RpcExcept(_StubMsg.dwStubPhase != PROXY_SENDRECEIVE)
7966 NdrClearOutParameters(
7967 ( PMIDL_STUB_MESSAGE )&_StubMsg,
7968 ( PFORMAT_STRING )&__MIDL_TypeFormatString.Format[1708],
7969 ( void __RPC_FAR * )pBstrName);
7970 NdrClearOutParameters(
7971 ( PMIDL_STUB_MESSAGE )&_StubMsg,
7972 ( PFORMAT_STRING )&__MIDL_TypeFormatString.Format[1708],
7973 ( void __RPC_FAR * )pBstrDocString);
7974 NdrClearOutParameters(
7975 ( PMIDL_STUB_MESSAGE )&_StubMsg,
7976 ( PFORMAT_STRING )&__MIDL_TypeFormatString.Format[2],
7977 ( void __RPC_FAR * )pdwHelpContext);
7978 NdrClearOutParameters(
7979 ( PMIDL_STUB_MESSAGE )&_StubMsg,
7980 ( PFORMAT_STRING )&__MIDL_TypeFormatString.Format[1708],
7981 ( void __RPC_FAR * )pBstrHelpFile);
7982 _RetVal = NdrProxyErrorHandler(RpcExceptionCode());
7984 RpcEndExcept
7985 return _RetVal;
7988 void __RPC_STUB ITypeLib_RemoteGetDocumentation_Stub(
7989 IRpcStubBuffer *This,
7990 IRpcChannelBuffer *_pRpcChannelBuffer,
7991 PRPC_MESSAGE _pRpcMessage,
7992 DWORD *_pdwStubPhase)
7994 BSTR _M68;
7995 BSTR _M69;
7996 DWORD _M70;
7997 BSTR _M71;
7998 HRESULT _RetVal;
7999 MIDL_STUB_MESSAGE _StubMsg;
8000 INT index;
8001 BSTR __RPC_FAR *pBstrDocString;
8002 BSTR __RPC_FAR *pBstrHelpFile;
8003 BSTR __RPC_FAR *pBstrName;
8004 DWORD __RPC_FAR *pdwHelpContext;
8005 DWORD refPtrFlags;
8007 NdrStubInitialize(
8008 _pRpcMessage,
8009 &_StubMsg,
8010 &Object_StubDesc,
8011 _pRpcChannelBuffer);
8012 ( BSTR __RPC_FAR * )pBstrName = 0;
8013 ( BSTR __RPC_FAR * )pBstrDocString = 0;
8014 ( DWORD __RPC_FAR * )pdwHelpContext = 0;
8015 ( BSTR __RPC_FAR * )pBstrHelpFile = 0;
8016 RpcTryFinally
8018 if ( (_pRpcMessage->DataRepresentation & 0X0000FFFFUL) != NDR_LOCAL_DATA_REPRESENTATION )
8019 NdrConvert( (PMIDL_STUB_MESSAGE) &_StubMsg, (PFORMAT_STRING) &__MIDL_ProcFormatString.Format[204] );
8021 index = *(( INT __RPC_FAR * )_StubMsg.Buffer)++;
8023 refPtrFlags = *(( DWORD __RPC_FAR * )_StubMsg.Buffer)++;
8025 pBstrName = &_M68;
8026 MIDL_memset(
8027 pBstrName,
8029 sizeof( BSTR ));
8030 pBstrDocString = &_M69;
8031 MIDL_memset(
8032 pBstrDocString,
8034 sizeof( BSTR ));
8035 pdwHelpContext = &_M70;
8036 pBstrHelpFile = &_M71;
8037 MIDL_memset(
8038 pBstrHelpFile,
8040 sizeof( BSTR ));
8042 *_pdwStubPhase = STUB_CALL_SERVER;
8045 _RetVal = ITypeLib_GetDocumentation_Stub(
8046 (ITypeLib *) ((CStdStubBuffer *)This)->pvServerObject,
8047 index,
8048 refPtrFlags,
8049 pBstrName,
8050 pBstrDocString,
8051 pdwHelpContext,
8052 pBstrHelpFile);
8054 *_pdwStubPhase = STUB_MARSHAL;
8056 _StubMsg.BufferLength = 8U + 15U + 11U + 11U + 11U;
8057 NdrUserMarshalBufferSize( (PMIDL_STUB_MESSAGE) &_StubMsg,
8058 (unsigned char __RPC_FAR *)pBstrName,
8059 (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[1128] );
8061 NdrUserMarshalBufferSize( (PMIDL_STUB_MESSAGE) &_StubMsg,
8062 (unsigned char __RPC_FAR *)pBstrDocString,
8063 (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[1128] );
8065 NdrUserMarshalBufferSize( (PMIDL_STUB_MESSAGE) &_StubMsg,
8066 (unsigned char __RPC_FAR *)pBstrHelpFile,
8067 (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[1128] );
8069 _StubMsg.BufferLength += 16;
8071 NdrStubGetBuffer(This, _pRpcChannelBuffer, &_StubMsg);
8072 NdrUserMarshalMarshall( (PMIDL_STUB_MESSAGE)& _StubMsg,
8073 (unsigned char __RPC_FAR *)pBstrName,
8074 (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[1128] );
8076 NdrUserMarshalMarshall( (PMIDL_STUB_MESSAGE)& _StubMsg,
8077 (unsigned char __RPC_FAR *)pBstrDocString,
8078 (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[1128] );
8080 _StubMsg.Buffer = (unsigned char __RPC_FAR *)(((long)_StubMsg.Buffer + 3) & ~ 0x3);
8081 *(( DWORD __RPC_FAR * )_StubMsg.Buffer)++ = *pdwHelpContext;
8083 NdrUserMarshalMarshall( (PMIDL_STUB_MESSAGE)& _StubMsg,
8084 (unsigned char __RPC_FAR *)pBstrHelpFile,
8085 (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[1128] );
8087 _StubMsg.Buffer = (unsigned char __RPC_FAR *)(((long)_StubMsg.Buffer + 3) & ~ 0x3);
8088 *(( HRESULT __RPC_FAR * )_StubMsg.Buffer)++ = _RetVal;
8091 RpcFinally
8093 NdrPointerFree( &_StubMsg,
8094 (unsigned char __RPC_FAR *)pBstrName,
8095 &__MIDL_TypeFormatString.Format[1708] );
8097 NdrPointerFree( &_StubMsg,
8098 (unsigned char __RPC_FAR *)pBstrDocString,
8099 &__MIDL_TypeFormatString.Format[1708] );
8101 NdrPointerFree( &_StubMsg,
8102 (unsigned char __RPC_FAR *)pBstrHelpFile,
8103 &__MIDL_TypeFormatString.Format[1708] );
8106 RpcEndFinally
8107 _pRpcMessage->BufferLength =
8108 (unsigned int)((long)_StubMsg.Buffer - (long)_pRpcMessage->Buffer);
8113 /* [call_as] */ HRESULT STDMETHODCALLTYPE ITypeLib_RemoteIsName_Proxy(
8114 ITypeLib __RPC_FAR * This,
8115 /* [in] */ LPOLESTR szNameBuf,
8116 /* [in] */ ULONG lHashVal,
8117 /* [out] */ BOOL __RPC_FAR *pfName,
8118 /* [out] */ BSTR __RPC_FAR *pBstrLibName)
8121 HRESULT _RetVal;
8123 RPC_MESSAGE _RpcMessage;
8125 MIDL_STUB_MESSAGE _StubMsg;
8127 if(pBstrLibName)
8129 MIDL_memset(
8130 pBstrLibName,
8132 sizeof( BSTR ));
8134 RpcTryExcept
8136 NdrProxyInitialize(
8137 ( void __RPC_FAR * )This,
8138 ( PRPC_MESSAGE )&_RpcMessage,
8139 ( PMIDL_STUB_MESSAGE )&_StubMsg,
8140 ( PMIDL_STUB_DESC )&Object_StubDesc,
8141 10);
8145 if(!szNameBuf)
8147 RpcRaiseException(RPC_X_NULL_REF_POINTER);
8149 if(!pfName)
8151 RpcRaiseException(RPC_X_NULL_REF_POINTER);
8153 if(!pBstrLibName)
8155 RpcRaiseException(RPC_X_NULL_REF_POINTER);
8157 RpcTryFinally
8160 _StubMsg.BufferLength = 12U + 10U;
8161 NdrConformantStringBufferSize( (PMIDL_STUB_MESSAGE) &_StubMsg,
8162 (unsigned char __RPC_FAR *)szNameBuf,
8163 (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[1248] );
8165 NdrProxyGetBuffer(This, &_StubMsg);
8166 NdrConformantStringMarshall( (PMIDL_STUB_MESSAGE)& _StubMsg,
8167 (unsigned char __RPC_FAR *)szNameBuf,
8168 (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[1248] );
8170 _StubMsg.Buffer = (unsigned char __RPC_FAR *)(((long)_StubMsg.Buffer + 3) & ~ 0x3);
8171 *(( ULONG __RPC_FAR * )_StubMsg.Buffer)++ = lHashVal;
8173 NdrProxySendReceive(This, &_StubMsg);
8175 if ( (_RpcMessage.DataRepresentation & 0X0000FFFFUL) != NDR_LOCAL_DATA_REPRESENTATION )
8176 NdrConvert( (PMIDL_STUB_MESSAGE) &_StubMsg, (PFORMAT_STRING) &__MIDL_ProcFormatString.Format[406] );
8178 *pfName = *(( BOOL __RPC_FAR * )_StubMsg.Buffer)++;
8180 NdrUserMarshalUnmarshall( (PMIDL_STUB_MESSAGE) &_StubMsg,
8181 (unsigned char __RPC_FAR * __RPC_FAR *)&pBstrLibName,
8182 (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[1128],
8183 (unsigned char)0 );
8185 _StubMsg.Buffer = (unsigned char __RPC_FAR *)(((long)_StubMsg.Buffer + 3) & ~ 0x3);
8186 _RetVal = *(( HRESULT __RPC_FAR * )_StubMsg.Buffer)++;
8189 RpcFinally
8191 NdrProxyFreeBuffer(This, &_StubMsg);
8194 RpcEndFinally
8197 RpcExcept(_StubMsg.dwStubPhase != PROXY_SENDRECEIVE)
8199 NdrClearOutParameters(
8200 ( PMIDL_STUB_MESSAGE )&_StubMsg,
8201 ( PFORMAT_STRING )&__MIDL_TypeFormatString.Format[2],
8202 ( void __RPC_FAR * )pfName);
8203 NdrClearOutParameters(
8204 ( PMIDL_STUB_MESSAGE )&_StubMsg,
8205 ( PFORMAT_STRING )&__MIDL_TypeFormatString.Format[1708],
8206 ( void __RPC_FAR * )pBstrLibName);
8207 _RetVal = NdrProxyErrorHandler(RpcExceptionCode());
8209 RpcEndExcept
8210 return _RetVal;
8213 void __RPC_STUB ITypeLib_RemoteIsName_Stub(
8214 IRpcStubBuffer *This,
8215 IRpcChannelBuffer *_pRpcChannelBuffer,
8216 PRPC_MESSAGE _pRpcMessage,
8217 DWORD *_pdwStubPhase)
8219 BOOL _M74;
8220 BSTR _M75;
8221 HRESULT _RetVal;
8222 MIDL_STUB_MESSAGE _StubMsg;
8223 ULONG lHashVal;
8224 BSTR __RPC_FAR *pBstrLibName;
8225 BOOL __RPC_FAR *pfName;
8226 LPOLESTR szNameBuf;
8228 NdrStubInitialize(
8229 _pRpcMessage,
8230 &_StubMsg,
8231 &Object_StubDesc,
8232 _pRpcChannelBuffer);
8233 ( LPOLESTR )szNameBuf = 0;
8234 ( BOOL __RPC_FAR * )pfName = 0;
8235 ( BSTR __RPC_FAR * )pBstrLibName = 0;
8236 RpcTryFinally
8238 if ( (_pRpcMessage->DataRepresentation & 0X0000FFFFUL) != NDR_LOCAL_DATA_REPRESENTATION )
8239 NdrConvert( (PMIDL_STUB_MESSAGE) &_StubMsg, (PFORMAT_STRING) &__MIDL_ProcFormatString.Format[406] );
8241 NdrConformantStringUnmarshall( (PMIDL_STUB_MESSAGE) &_StubMsg,
8242 (unsigned char __RPC_FAR * __RPC_FAR *)&szNameBuf,
8243 (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[1248],
8244 (unsigned char)0 );
8246 _StubMsg.Buffer = (unsigned char __RPC_FAR *)(((long)_StubMsg.Buffer + 3) & ~ 0x3);
8247 lHashVal = *(( ULONG __RPC_FAR * )_StubMsg.Buffer)++;
8249 pfName = &_M74;
8250 pBstrLibName = &_M75;
8251 MIDL_memset(
8252 pBstrLibName,
8254 sizeof( BSTR ));
8256 *_pdwStubPhase = STUB_CALL_SERVER;
8259 _RetVal = ITypeLib_IsName_Stub(
8260 (ITypeLib *) ((CStdStubBuffer *)This)->pvServerObject,
8261 szNameBuf,
8262 lHashVal,
8263 pfName,
8264 pBstrLibName);
8266 *_pdwStubPhase = STUB_MARSHAL;
8268 _StubMsg.BufferLength = 4U + 4U + 11U;
8269 NdrUserMarshalBufferSize( (PMIDL_STUB_MESSAGE) &_StubMsg,
8270 (unsigned char __RPC_FAR *)pBstrLibName,
8271 (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[1128] );
8273 _StubMsg.BufferLength += 16;
8275 NdrStubGetBuffer(This, _pRpcChannelBuffer, &_StubMsg);
8276 *(( BOOL __RPC_FAR * )_StubMsg.Buffer)++ = *pfName;
8278 NdrUserMarshalMarshall( (PMIDL_STUB_MESSAGE)& _StubMsg,
8279 (unsigned char __RPC_FAR *)pBstrLibName,
8280 (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[1128] );
8282 _StubMsg.Buffer = (unsigned char __RPC_FAR *)(((long)_StubMsg.Buffer + 3) & ~ 0x3);
8283 *(( HRESULT __RPC_FAR * )_StubMsg.Buffer)++ = _RetVal;
8286 RpcFinally
8288 NdrPointerFree( &_StubMsg,
8289 (unsigned char __RPC_FAR *)pBstrLibName,
8290 &__MIDL_TypeFormatString.Format[1708] );
8293 RpcEndFinally
8294 _pRpcMessage->BufferLength =
8295 (unsigned int)((long)_StubMsg.Buffer - (long)_pRpcMessage->Buffer);
8300 /* [call_as] */ HRESULT STDMETHODCALLTYPE ITypeLib_RemoteFindName_Proxy(
8301 ITypeLib __RPC_FAR * This,
8302 /* [in] */ LPOLESTR szNameBuf,
8303 /* [in] */ ULONG lHashVal,
8304 /* [length_is][size_is][out] */ ITypeInfo __RPC_FAR *__RPC_FAR *ppTInfo,
8305 /* [length_is][size_is][out] */ MEMBERID __RPC_FAR *rgMemId,
8306 /* [out][in] */ USHORT __RPC_FAR *pcFound,
8307 /* [out] */ BSTR __RPC_FAR *pBstrLibName)
8310 HRESULT _RetVal;
8312 RPC_MESSAGE _RpcMessage;
8314 MIDL_STUB_MESSAGE _StubMsg;
8316 if(ppTInfo)
8318 MIDL_memset(
8319 ppTInfo,
8321 *pcFound * sizeof( ITypeInfo __RPC_FAR *__RPC_FAR * ));
8323 if(pBstrLibName)
8325 MIDL_memset(
8326 pBstrLibName,
8328 sizeof( BSTR ));
8330 RpcTryExcept
8332 NdrProxyInitialize(
8333 ( void __RPC_FAR * )This,
8334 ( PRPC_MESSAGE )&_RpcMessage,
8335 ( PMIDL_STUB_MESSAGE )&_StubMsg,
8336 ( PMIDL_STUB_DESC )&Object_StubDesc,
8337 11);
8341 if(!szNameBuf)
8343 RpcRaiseException(RPC_X_NULL_REF_POINTER);
8345 if(!ppTInfo)
8347 RpcRaiseException(RPC_X_NULL_REF_POINTER);
8349 if(!rgMemId)
8351 RpcRaiseException(RPC_X_NULL_REF_POINTER);
8353 if(!pcFound)
8355 RpcRaiseException(RPC_X_NULL_REF_POINTER);
8357 if(!pBstrLibName)
8359 RpcRaiseException(RPC_X_NULL_REF_POINTER);
8361 RpcTryFinally
8364 _StubMsg.BufferLength = 12U + 10U + 4U;
8365 NdrConformantStringBufferSize( (PMIDL_STUB_MESSAGE) &_StubMsg,
8366 (unsigned char __RPC_FAR *)szNameBuf,
8367 (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[1248] );
8369 NdrProxyGetBuffer(This, &_StubMsg);
8370 NdrConformantStringMarshall( (PMIDL_STUB_MESSAGE)& _StubMsg,
8371 (unsigned char __RPC_FAR *)szNameBuf,
8372 (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[1248] );
8374 _StubMsg.Buffer = (unsigned char __RPC_FAR *)(((long)_StubMsg.Buffer + 3) & ~ 0x3);
8375 *(( ULONG __RPC_FAR * )_StubMsg.Buffer)++ = lHashVal;
8377 *(( USHORT __RPC_FAR * )_StubMsg.Buffer)++ = *pcFound;
8379 NdrProxySendReceive(This, &_StubMsg);
8381 if ( (_RpcMessage.DataRepresentation & 0X0000FFFFUL) != NDR_LOCAL_DATA_REPRESENTATION )
8382 NdrConvert( (PMIDL_STUB_MESSAGE) &_StubMsg, (PFORMAT_STRING) &__MIDL_ProcFormatString.Format[422] );
8384 NdrComplexArrayUnmarshall( (PMIDL_STUB_MESSAGE) &_StubMsg,
8385 (unsigned char __RPC_FAR * __RPC_FAR *)&ppTInfo,
8386 (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[1852],
8387 (unsigned char)0 );
8389 NdrConformantVaryingArrayUnmarshall( (PMIDL_STUB_MESSAGE) &_StubMsg,
8390 (unsigned char __RPC_FAR * __RPC_FAR *)&rgMemId,
8391 (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[1874],
8392 (unsigned char)0 );
8394 *pcFound = *(( USHORT __RPC_FAR * )_StubMsg.Buffer)++;
8396 NdrUserMarshalUnmarshall( (PMIDL_STUB_MESSAGE) &_StubMsg,
8397 (unsigned char __RPC_FAR * __RPC_FAR *)&pBstrLibName,
8398 (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[1128],
8399 (unsigned char)0 );
8401 _StubMsg.Buffer = (unsigned char __RPC_FAR *)(((long)_StubMsg.Buffer + 3) & ~ 0x3);
8402 _RetVal = *(( HRESULT __RPC_FAR * )_StubMsg.Buffer)++;
8405 RpcFinally
8407 NdrProxyFreeBuffer(This, &_StubMsg);
8410 RpcEndFinally
8413 RpcExcept(_StubMsg.dwStubPhase != PROXY_SENDRECEIVE)
8415 _StubMsg.MaxCount = pcFound ? *pcFound : 0;
8416 _StubMsg.Offset = 0;
8417 _StubMsg.ActualCount = _StubMsg.MaxCount;
8419 NdrClearOutParameters(
8420 ( PMIDL_STUB_MESSAGE )&_StubMsg,
8421 ( PFORMAT_STRING )&__MIDL_TypeFormatString.Format[1848],
8422 ( void __RPC_FAR * )ppTInfo);
8423 _StubMsg.MaxCount = pcFound ? *pcFound : 0;
8424 _StubMsg.Offset = 0;
8425 _StubMsg.ActualCount = _StubMsg.MaxCount;
8427 NdrClearOutParameters(
8428 ( PMIDL_STUB_MESSAGE )&_StubMsg,
8429 ( PFORMAT_STRING )&__MIDL_TypeFormatString.Format[1870],
8430 ( void __RPC_FAR * )rgMemId);
8431 NdrClearOutParameters(
8432 ( PMIDL_STUB_MESSAGE )&_StubMsg,
8433 ( PFORMAT_STRING )&__MIDL_TypeFormatString.Format[1888],
8434 ( void __RPC_FAR * )pcFound);
8435 NdrClearOutParameters(
8436 ( PMIDL_STUB_MESSAGE )&_StubMsg,
8437 ( PFORMAT_STRING )&__MIDL_TypeFormatString.Format[1708],
8438 ( void __RPC_FAR * )pBstrLibName);
8439 _RetVal = NdrProxyErrorHandler(RpcExceptionCode());
8441 RpcEndExcept
8442 return _RetVal;
8445 void __RPC_STUB ITypeLib_RemoteFindName_Stub(
8446 IRpcStubBuffer *This,
8447 IRpcChannelBuffer *_pRpcChannelBuffer,
8448 PRPC_MESSAGE _pRpcMessage,
8449 DWORD *_pdwStubPhase)
8451 BSTR _M84;
8452 HRESULT _RetVal;
8453 MIDL_STUB_MESSAGE _StubMsg;
8454 ULONG lHashVal;
8455 BSTR __RPC_FAR *pBstrLibName;
8456 USHORT __RPC_FAR *pcFound;
8457 ITypeInfo __RPC_FAR *__RPC_FAR *ppTInfo;
8458 MEMBERID __RPC_FAR *rgMemId;
8459 LPOLESTR szNameBuf;
8461 NdrStubInitialize(
8462 _pRpcMessage,
8463 &_StubMsg,
8464 &Object_StubDesc,
8465 _pRpcChannelBuffer);
8466 ( LPOLESTR )szNameBuf = 0;
8467 ( ITypeInfo __RPC_FAR *__RPC_FAR * )ppTInfo = 0;
8468 ( MEMBERID __RPC_FAR * )rgMemId = 0;
8469 ( USHORT __RPC_FAR * )pcFound = 0;
8470 ( BSTR __RPC_FAR * )pBstrLibName = 0;
8471 RpcTryFinally
8473 if ( (_pRpcMessage->DataRepresentation & 0X0000FFFFUL) != NDR_LOCAL_DATA_REPRESENTATION )
8474 NdrConvert( (PMIDL_STUB_MESSAGE) &_StubMsg, (PFORMAT_STRING) &__MIDL_ProcFormatString.Format[422] );
8476 NdrConformantStringUnmarshall( (PMIDL_STUB_MESSAGE) &_StubMsg,
8477 (unsigned char __RPC_FAR * __RPC_FAR *)&szNameBuf,
8478 (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[1248],
8479 (unsigned char)0 );
8481 _StubMsg.Buffer = (unsigned char __RPC_FAR *)(((long)_StubMsg.Buffer + 3) & ~ 0x3);
8482 lHashVal = *(( ULONG __RPC_FAR * )_StubMsg.Buffer)++;
8484 pcFound = ( USHORT __RPC_FAR * )_StubMsg.Buffer;
8485 _StubMsg.Buffer += sizeof( USHORT );
8487 ppTInfo = NdrAllocate(&_StubMsg,*pcFound * 4);
8488 rgMemId = NdrAllocate(&_StubMsg,*pcFound * 4);
8489 pBstrLibName = &_M84;
8490 MIDL_memset(
8491 pBstrLibName,
8493 sizeof( BSTR ));
8495 *_pdwStubPhase = STUB_CALL_SERVER;
8498 _RetVal = ITypeLib_FindName_Stub(
8499 (ITypeLib *) ((CStdStubBuffer *)This)->pvServerObject,
8500 szNameBuf,
8501 lHashVal,
8502 ppTInfo,
8503 rgMemId,
8504 pcFound,
8505 pBstrLibName);
8507 *_pdwStubPhase = STUB_MARSHAL;
8509 _StubMsg.BufferLength = 12U + 15U + 4U + 14U + 11U;
8510 _StubMsg.MaxCount = pcFound ? *pcFound : 0;
8511 _StubMsg.Offset = 0;
8512 _StubMsg.ActualCount = pcFound ? *pcFound : 0;
8514 NdrComplexArrayBufferSize( (PMIDL_STUB_MESSAGE) &_StubMsg,
8515 (unsigned char __RPC_FAR *)ppTInfo,
8516 (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[1852] );
8518 _StubMsg.MaxCount = pcFound ? *pcFound : 0;
8519 _StubMsg.Offset = 0;
8520 _StubMsg.ActualCount = pcFound ? *pcFound : 0;
8522 NdrConformantVaryingArrayBufferSize( (PMIDL_STUB_MESSAGE) &_StubMsg,
8523 (unsigned char __RPC_FAR *)rgMemId,
8524 (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[1874] );
8526 NdrUserMarshalBufferSize( (PMIDL_STUB_MESSAGE) &_StubMsg,
8527 (unsigned char __RPC_FAR *)pBstrLibName,
8528 (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[1128] );
8530 _StubMsg.BufferLength += 16;
8532 NdrStubGetBuffer(This, _pRpcChannelBuffer, &_StubMsg);
8533 _StubMsg.MaxCount = pcFound ? *pcFound : 0;
8534 _StubMsg.Offset = 0;
8535 _StubMsg.ActualCount = pcFound ? *pcFound : 0;
8537 NdrComplexArrayMarshall( (PMIDL_STUB_MESSAGE)& _StubMsg,
8538 (unsigned char __RPC_FAR *)ppTInfo,
8539 (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[1852] );
8541 _StubMsg.MaxCount = pcFound ? *pcFound : 0;
8542 _StubMsg.Offset = 0;
8543 _StubMsg.ActualCount = pcFound ? *pcFound : 0;
8545 NdrConformantVaryingArrayMarshall( (PMIDL_STUB_MESSAGE)& _StubMsg,
8546 (unsigned char __RPC_FAR *)rgMemId,
8547 (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[1874] );
8549 *(( USHORT __RPC_FAR * )_StubMsg.Buffer)++ = *pcFound;
8551 NdrUserMarshalMarshall( (PMIDL_STUB_MESSAGE)& _StubMsg,
8552 (unsigned char __RPC_FAR *)pBstrLibName,
8553 (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[1128] );
8555 _StubMsg.Buffer = (unsigned char __RPC_FAR *)(((long)_StubMsg.Buffer + 3) & ~ 0x3);
8556 *(( HRESULT __RPC_FAR * )_StubMsg.Buffer)++ = _RetVal;
8559 RpcFinally
8561 _StubMsg.MaxCount = pcFound ? *pcFound : 0;
8562 _StubMsg.Offset = 0;
8563 _StubMsg.ActualCount = pcFound ? *pcFound : 0;
8565 NdrPointerFree( &_StubMsg,
8566 (unsigned char __RPC_FAR *)ppTInfo,
8567 &__MIDL_TypeFormatString.Format[1848] );
8569 _StubMsg.MaxCount = pcFound ? *pcFound : 0;
8570 _StubMsg.Offset = 0;
8571 _StubMsg.ActualCount = pcFound ? *pcFound : 0;
8573 NdrPointerFree( &_StubMsg,
8574 (unsigned char __RPC_FAR *)rgMemId,
8575 &__MIDL_TypeFormatString.Format[1870] );
8577 NdrPointerFree( &_StubMsg,
8578 (unsigned char __RPC_FAR *)pBstrLibName,
8579 &__MIDL_TypeFormatString.Format[1708] );
8582 RpcEndFinally
8583 _pRpcMessage->BufferLength =
8584 (unsigned int)((long)_StubMsg.Buffer - (long)_pRpcMessage->Buffer);
8589 /* [call_as] */ HRESULT STDMETHODCALLTYPE ITypeLib_LocalReleaseTLibAttr_Proxy(
8590 ITypeLib __RPC_FAR * This)
8593 HRESULT _RetVal;
8595 RPC_MESSAGE _RpcMessage;
8597 MIDL_STUB_MESSAGE _StubMsg;
8599 RpcTryExcept
8601 NdrProxyInitialize(
8602 ( void __RPC_FAR * )This,
8603 ( PRPC_MESSAGE )&_RpcMessage,
8604 ( PMIDL_STUB_MESSAGE )&_StubMsg,
8605 ( PMIDL_STUB_DESC )&Object_StubDesc,
8606 12);
8610 RpcTryFinally
8613 _StubMsg.BufferLength = 0U;
8614 NdrProxyGetBuffer(This, &_StubMsg);
8615 NdrProxySendReceive(This, &_StubMsg);
8617 if ( (_RpcMessage.DataRepresentation & 0X0000FFFFUL) != NDR_LOCAL_DATA_REPRESENTATION )
8618 NdrConvert( (PMIDL_STUB_MESSAGE) &_StubMsg, (PFORMAT_STRING) &__MIDL_ProcFormatString.Format[88] );
8620 _RetVal = *(( HRESULT __RPC_FAR * )_StubMsg.Buffer)++;
8623 RpcFinally
8625 NdrProxyFreeBuffer(This, &_StubMsg);
8628 RpcEndFinally
8631 RpcExcept(_StubMsg.dwStubPhase != PROXY_SENDRECEIVE)
8633 _RetVal = NdrProxyErrorHandler(RpcExceptionCode());
8635 RpcEndExcept
8636 return _RetVal;
8639 void __RPC_STUB ITypeLib_LocalReleaseTLibAttr_Stub(
8640 IRpcStubBuffer *This,
8641 IRpcChannelBuffer *_pRpcChannelBuffer,
8642 PRPC_MESSAGE _pRpcMessage,
8643 DWORD *_pdwStubPhase)
8645 HRESULT _RetVal;
8646 MIDL_STUB_MESSAGE _StubMsg;
8648 NdrStubInitialize(
8649 _pRpcMessage,
8650 &_StubMsg,
8651 &Object_StubDesc,
8652 _pRpcChannelBuffer);
8653 RpcTryFinally
8656 *_pdwStubPhase = STUB_CALL_SERVER;
8659 _RetVal = ITypeLib_ReleaseTLibAttr_Stub((ITypeLib *) ((CStdStubBuffer *)This)->pvServerObject);
8661 *_pdwStubPhase = STUB_MARSHAL;
8663 _StubMsg.BufferLength = 4U;
8664 NdrStubGetBuffer(This, _pRpcChannelBuffer, &_StubMsg);
8665 *(( HRESULT __RPC_FAR * )_StubMsg.Buffer)++ = _RetVal;
8668 RpcFinally
8671 RpcEndFinally
8672 _pRpcMessage->BufferLength =
8673 (unsigned int)((long)_StubMsg.Buffer - (long)_pRpcMessage->Buffer);
8677 const CINTERFACE_PROXY_VTABLE(13) _ITypeLibProxyVtbl =
8679 { &IID_ITypeLib },
8681 IUnknown_QueryInterface_Proxy,
8682 IUnknown_AddRef_Proxy,
8683 IUnknown_Release_Proxy ,
8684 ITypeLib_GetTypeInfoCount_Proxy ,
8685 ITypeLib_GetTypeInfo_Proxy ,
8686 ITypeLib_GetTypeInfoType_Proxy ,
8687 ITypeLib_GetTypeInfoOfGuid_Proxy ,
8688 ITypeLib_GetLibAttr_Proxy ,
8689 ITypeLib_GetTypeComp_Proxy ,
8690 ITypeLib_GetDocumentation_Proxy ,
8691 ITypeLib_IsName_Proxy ,
8692 ITypeLib_FindName_Proxy ,
8693 ITypeLib_ReleaseTLibAttr_Proxy
8698 static const PRPC_STUB_FUNCTION ITypeLib_table[] =
8700 ITypeLib_RemoteGetTypeInfoCount_Stub,
8701 ITypeLib_GetTypeInfo_Stub,
8702 ITypeLib_GetTypeInfoType_Stub,
8703 ITypeLib_GetTypeInfoOfGuid_Stub,
8704 ITypeLib_RemoteGetLibAttr_Stub,
8705 ITypeLib_GetTypeComp_Stub,
8706 ITypeLib_RemoteGetDocumentation_Stub,
8707 ITypeLib_RemoteIsName_Stub,
8708 ITypeLib_RemoteFindName_Stub,
8709 ITypeLib_LocalReleaseTLibAttr_Stub
8712 const CInterfaceStubVtbl _ITypeLibStubVtbl =
8715 &IID_ITypeLib,
8718 &ITypeLib_table[-3]
8720 { CStdStubBuffer_METHODS }
8724 /* Object interface: ITypeLib2, ver. 0.0,
8725 GUID={0x00020411,0x0000,0x0000,{0xC0,0x00,0x00,0x00,0x00,0x00,0x00,0x46}} */
8728 extern const MIDL_STUB_DESC Object_StubDesc;
8731 HRESULT STDMETHODCALLTYPE ITypeLib2_GetCustData_Proxy(
8732 ITypeLib2 __RPC_FAR * This,
8733 /* [in] */ REFGUID guid,
8734 /* [out] */ VARIANT __RPC_FAR *pVarVal)
8737 HRESULT _RetVal;
8739 RPC_MESSAGE _RpcMessage;
8741 MIDL_STUB_MESSAGE _StubMsg;
8743 if(pVarVal)
8745 MIDL_memset(
8746 pVarVal,
8748 sizeof( VARIANT ));
8750 RpcTryExcept
8752 NdrProxyInitialize(
8753 ( void __RPC_FAR * )This,
8754 ( PRPC_MESSAGE )&_RpcMessage,
8755 ( PMIDL_STUB_MESSAGE )&_StubMsg,
8756 ( PMIDL_STUB_DESC )&Object_StubDesc,
8757 13);
8761 if(!guid)
8763 RpcRaiseException(RPC_X_NULL_REF_POINTER);
8765 if(!pVarVal)
8767 RpcRaiseException(RPC_X_NULL_REF_POINTER);
8769 RpcTryFinally
8772 _StubMsg.BufferLength = 0U;
8773 NdrSimpleStructBufferSize( (PMIDL_STUB_MESSAGE) &_StubMsg,
8774 (unsigned char __RPC_FAR *)guid,
8775 (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[38] );
8777 NdrProxyGetBuffer(This, &_StubMsg);
8778 NdrSimpleStructMarshall( (PMIDL_STUB_MESSAGE)& _StubMsg,
8779 (unsigned char __RPC_FAR *)guid,
8780 (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[38] );
8782 NdrProxySendReceive(This, &_StubMsg);
8784 if ( (_RpcMessage.DataRepresentation & 0X0000FFFFUL) != NDR_LOCAL_DATA_REPRESENTATION )
8785 NdrConvert( (PMIDL_STUB_MESSAGE) &_StubMsg, (PFORMAT_STRING) &__MIDL_ProcFormatString.Format[298] );
8787 NdrUserMarshalUnmarshall( (PMIDL_STUB_MESSAGE) &_StubMsg,
8788 (unsigned char __RPC_FAR * __RPC_FAR *)&pVarVal,
8789 (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[1110],
8790 (unsigned char)0 );
8792 _StubMsg.Buffer = (unsigned char __RPC_FAR *)(((long)_StubMsg.Buffer + 3) & ~ 0x3);
8793 _RetVal = *(( HRESULT __RPC_FAR * )_StubMsg.Buffer)++;
8796 RpcFinally
8798 NdrProxyFreeBuffer(This, &_StubMsg);
8801 RpcEndFinally
8804 RpcExcept(_StubMsg.dwStubPhase != PROXY_SENDRECEIVE)
8806 NdrClearOutParameters(
8807 ( PMIDL_STUB_MESSAGE )&_StubMsg,
8808 ( PFORMAT_STRING )&__MIDL_TypeFormatString.Format[1102],
8809 ( void __RPC_FAR * )pVarVal);
8810 _RetVal = NdrProxyErrorHandler(RpcExceptionCode());
8812 RpcEndExcept
8813 return _RetVal;
8816 void __RPC_STUB ITypeLib2_GetCustData_Stub(
8817 IRpcStubBuffer *This,
8818 IRpcChannelBuffer *_pRpcChannelBuffer,
8819 PRPC_MESSAGE _pRpcMessage,
8820 DWORD *_pdwStubPhase)
8822 VARIANT _M85;
8823 HRESULT _RetVal;
8824 MIDL_STUB_MESSAGE _StubMsg;
8825 REFGUID guid = 0;
8826 VARIANT __RPC_FAR *pVarVal;
8828 NdrStubInitialize(
8829 _pRpcMessage,
8830 &_StubMsg,
8831 &Object_StubDesc,
8832 _pRpcChannelBuffer);
8833 ( VARIANT __RPC_FAR * )pVarVal = 0;
8834 RpcTryFinally
8836 if ( (_pRpcMessage->DataRepresentation & 0X0000FFFFUL) != NDR_LOCAL_DATA_REPRESENTATION )
8837 NdrConvert( (PMIDL_STUB_MESSAGE) &_StubMsg, (PFORMAT_STRING) &__MIDL_ProcFormatString.Format[298] );
8839 NdrSimpleStructUnmarshall( (PMIDL_STUB_MESSAGE) &_StubMsg,
8840 (unsigned char __RPC_FAR * __RPC_FAR *)&guid,
8841 (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[38],
8842 (unsigned char)0 );
8844 pVarVal = &_M85;
8845 MIDL_memset(
8846 pVarVal,
8848 sizeof( VARIANT ));
8850 *_pdwStubPhase = STUB_CALL_SERVER;
8851 _RetVal = (((ITypeLib2*) ((CStdStubBuffer *)This)->pvServerObject)->lpVtbl) -> GetCustData(
8852 (ITypeLib2 *) ((CStdStubBuffer *)This)->pvServerObject,
8853 guid,
8854 pVarVal);
8856 *_pdwStubPhase = STUB_MARSHAL;
8858 _StubMsg.BufferLength = 8U + 11U;
8859 NdrUserMarshalBufferSize( (PMIDL_STUB_MESSAGE) &_StubMsg,
8860 (unsigned char __RPC_FAR *)pVarVal,
8861 (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[1110] );
8863 _StubMsg.BufferLength += 16;
8865 NdrStubGetBuffer(This, _pRpcChannelBuffer, &_StubMsg);
8866 NdrUserMarshalMarshall( (PMIDL_STUB_MESSAGE)& _StubMsg,
8867 (unsigned char __RPC_FAR *)pVarVal,
8868 (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[1110] );
8870 _StubMsg.Buffer = (unsigned char __RPC_FAR *)(((long)_StubMsg.Buffer + 3) & ~ 0x3);
8871 *(( HRESULT __RPC_FAR * )_StubMsg.Buffer)++ = _RetVal;
8874 RpcFinally
8876 NdrPointerFree( &_StubMsg,
8877 (unsigned char __RPC_FAR *)pVarVal,
8878 &__MIDL_TypeFormatString.Format[1102] );
8881 RpcEndFinally
8882 _pRpcMessage->BufferLength =
8883 (unsigned int)((long)_StubMsg.Buffer - (long)_pRpcMessage->Buffer);
8888 /* [call_as] */ HRESULT STDMETHODCALLTYPE ITypeLib2_RemoteGetLibStatistics_Proxy(
8889 ITypeLib2 __RPC_FAR * This,
8890 /* [out] */ ULONG __RPC_FAR *pcUniqueNames,
8891 /* [out] */ ULONG __RPC_FAR *pcchUniqueNames)
8894 HRESULT _RetVal;
8896 RPC_MESSAGE _RpcMessage;
8898 MIDL_STUB_MESSAGE _StubMsg;
8900 RpcTryExcept
8902 NdrProxyInitialize(
8903 ( void __RPC_FAR * )This,
8904 ( PRPC_MESSAGE )&_RpcMessage,
8905 ( PMIDL_STUB_MESSAGE )&_StubMsg,
8906 ( PMIDL_STUB_DESC )&Object_StubDesc,
8907 14);
8911 if(!pcUniqueNames)
8913 RpcRaiseException(RPC_X_NULL_REF_POINTER);
8915 if(!pcchUniqueNames)
8917 RpcRaiseException(RPC_X_NULL_REF_POINTER);
8919 RpcTryFinally
8922 _StubMsg.BufferLength = 0U;
8923 NdrProxyGetBuffer(This, &_StubMsg);
8924 NdrProxySendReceive(This, &_StubMsg);
8926 if ( (_RpcMessage.DataRepresentation & 0X0000FFFFUL) != NDR_LOCAL_DATA_REPRESENTATION )
8927 NdrConvert( (PMIDL_STUB_MESSAGE) &_StubMsg, (PFORMAT_STRING) &__MIDL_ProcFormatString.Format[446] );
8929 *pcUniqueNames = *(( ULONG __RPC_FAR * )_StubMsg.Buffer)++;
8931 *pcchUniqueNames = *(( ULONG __RPC_FAR * )_StubMsg.Buffer)++;
8933 _RetVal = *(( HRESULT __RPC_FAR * )_StubMsg.Buffer)++;
8936 RpcFinally
8938 NdrProxyFreeBuffer(This, &_StubMsg);
8941 RpcEndFinally
8944 RpcExcept(_StubMsg.dwStubPhase != PROXY_SENDRECEIVE)
8946 NdrClearOutParameters(
8947 ( PMIDL_STUB_MESSAGE )&_StubMsg,
8948 ( PFORMAT_STRING )&__MIDL_TypeFormatString.Format[2],
8949 ( void __RPC_FAR * )pcUniqueNames);
8950 NdrClearOutParameters(
8951 ( PMIDL_STUB_MESSAGE )&_StubMsg,
8952 ( PFORMAT_STRING )&__MIDL_TypeFormatString.Format[2],
8953 ( void __RPC_FAR * )pcchUniqueNames);
8954 _RetVal = NdrProxyErrorHandler(RpcExceptionCode());
8956 RpcEndExcept
8957 return _RetVal;
8960 void __RPC_STUB ITypeLib2_RemoteGetLibStatistics_Stub(
8961 IRpcStubBuffer *This,
8962 IRpcChannelBuffer *_pRpcChannelBuffer,
8963 PRPC_MESSAGE _pRpcMessage,
8964 DWORD *_pdwStubPhase)
8966 ULONG _M86;
8967 ULONG _M87;
8968 HRESULT _RetVal;
8969 MIDL_STUB_MESSAGE _StubMsg;
8970 ULONG __RPC_FAR *pcUniqueNames;
8971 ULONG __RPC_FAR *pcchUniqueNames;
8973 NdrStubInitialize(
8974 _pRpcMessage,
8975 &_StubMsg,
8976 &Object_StubDesc,
8977 _pRpcChannelBuffer);
8978 ( ULONG __RPC_FAR * )pcUniqueNames = 0;
8979 ( ULONG __RPC_FAR * )pcchUniqueNames = 0;
8980 RpcTryFinally
8982 pcUniqueNames = &_M86;
8983 pcchUniqueNames = &_M87;
8985 *_pdwStubPhase = STUB_CALL_SERVER;
8988 _RetVal = ITypeLib2_GetLibStatistics_Stub(
8989 (ITypeLib2 *) ((CStdStubBuffer *)This)->pvServerObject,
8990 pcUniqueNames,
8991 pcchUniqueNames);
8993 *_pdwStubPhase = STUB_MARSHAL;
8995 _StubMsg.BufferLength = 4U + 4U + 4U;
8996 NdrStubGetBuffer(This, _pRpcChannelBuffer, &_StubMsg);
8997 *(( ULONG __RPC_FAR * )_StubMsg.Buffer)++ = *pcUniqueNames;
8999 *(( ULONG __RPC_FAR * )_StubMsg.Buffer)++ = *pcchUniqueNames;
9001 *(( HRESULT __RPC_FAR * )_StubMsg.Buffer)++ = _RetVal;
9004 RpcFinally
9007 RpcEndFinally
9008 _pRpcMessage->BufferLength =
9009 (unsigned int)((long)_StubMsg.Buffer - (long)_pRpcMessage->Buffer);
9014 /* [call_as] */ HRESULT STDMETHODCALLTYPE ITypeLib2_RemoteGetDocumentation2_Proxy(
9015 ITypeLib2 __RPC_FAR * This,
9016 /* [in] */ INT index,
9017 /* [in] */ LCID lcid,
9018 /* [in] */ DWORD refPtrFlags,
9019 /* [out] */ BSTR __RPC_FAR *pbstrHelpString,
9020 /* [out] */ DWORD __RPC_FAR *pdwHelpStringContext,
9021 /* [out] */ BSTR __RPC_FAR *pbstrHelpStringDll)
9024 HRESULT _RetVal;
9026 RPC_MESSAGE _RpcMessage;
9028 MIDL_STUB_MESSAGE _StubMsg;
9030 if(pbstrHelpString)
9032 MIDL_memset(
9033 pbstrHelpString,
9035 sizeof( BSTR ));
9037 if(pbstrHelpStringDll)
9039 MIDL_memset(
9040 pbstrHelpStringDll,
9042 sizeof( BSTR ));
9044 RpcTryExcept
9046 NdrProxyInitialize(
9047 ( void __RPC_FAR * )This,
9048 ( PRPC_MESSAGE )&_RpcMessage,
9049 ( PMIDL_STUB_MESSAGE )&_StubMsg,
9050 ( PMIDL_STUB_DESC )&Object_StubDesc,
9051 15);
9055 if(!pbstrHelpString)
9057 RpcRaiseException(RPC_X_NULL_REF_POINTER);
9059 if(!pdwHelpStringContext)
9061 RpcRaiseException(RPC_X_NULL_REF_POINTER);
9063 if(!pbstrHelpStringDll)
9065 RpcRaiseException(RPC_X_NULL_REF_POINTER);
9067 RpcTryFinally
9070 _StubMsg.BufferLength = 4U + 4U + 4U;
9071 NdrProxyGetBuffer(This, &_StubMsg);
9072 *(( INT __RPC_FAR * )_StubMsg.Buffer)++ = index;
9074 *(( LCID __RPC_FAR * )_StubMsg.Buffer)++ = lcid;
9076 *(( DWORD __RPC_FAR * )_StubMsg.Buffer)++ = refPtrFlags;
9078 NdrProxySendReceive(This, &_StubMsg);
9080 if ( (_RpcMessage.DataRepresentation & 0X0000FFFFUL) != NDR_LOCAL_DATA_REPRESENTATION )
9081 NdrConvert( (PMIDL_STUB_MESSAGE) &_StubMsg, (PFORMAT_STRING) &__MIDL_ProcFormatString.Format[334] );
9083 NdrUserMarshalUnmarshall( (PMIDL_STUB_MESSAGE) &_StubMsg,
9084 (unsigned char __RPC_FAR * __RPC_FAR *)&pbstrHelpString,
9085 (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[1128],
9086 (unsigned char)0 );
9088 _StubMsg.Buffer = (unsigned char __RPC_FAR *)(((long)_StubMsg.Buffer + 3) & ~ 0x3);
9089 *pdwHelpStringContext = *(( DWORD __RPC_FAR * )_StubMsg.Buffer)++;
9091 NdrUserMarshalUnmarshall( (PMIDL_STUB_MESSAGE) &_StubMsg,
9092 (unsigned char __RPC_FAR * __RPC_FAR *)&pbstrHelpStringDll,
9093 (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[1128],
9094 (unsigned char)0 );
9096 _StubMsg.Buffer = (unsigned char __RPC_FAR *)(((long)_StubMsg.Buffer + 3) & ~ 0x3);
9097 _RetVal = *(( HRESULT __RPC_FAR * )_StubMsg.Buffer)++;
9100 RpcFinally
9102 NdrProxyFreeBuffer(This, &_StubMsg);
9105 RpcEndFinally
9108 RpcExcept(_StubMsg.dwStubPhase != PROXY_SENDRECEIVE)
9110 NdrClearOutParameters(
9111 ( PMIDL_STUB_MESSAGE )&_StubMsg,
9112 ( PFORMAT_STRING )&__MIDL_TypeFormatString.Format[1708],
9113 ( void __RPC_FAR * )pbstrHelpString);
9114 NdrClearOutParameters(
9115 ( PMIDL_STUB_MESSAGE )&_StubMsg,
9116 ( PFORMAT_STRING )&__MIDL_TypeFormatString.Format[2],
9117 ( void __RPC_FAR * )pdwHelpStringContext);
9118 NdrClearOutParameters(
9119 ( PMIDL_STUB_MESSAGE )&_StubMsg,
9120 ( PFORMAT_STRING )&__MIDL_TypeFormatString.Format[1708],
9121 ( void __RPC_FAR * )pbstrHelpStringDll);
9122 _RetVal = NdrProxyErrorHandler(RpcExceptionCode());
9124 RpcEndExcept
9125 return _RetVal;
9128 void __RPC_STUB ITypeLib2_RemoteGetDocumentation2_Stub(
9129 IRpcStubBuffer *This,
9130 IRpcChannelBuffer *_pRpcChannelBuffer,
9131 PRPC_MESSAGE _pRpcMessage,
9132 DWORD *_pdwStubPhase)
9134 BSTR _M88;
9135 DWORD _M89;
9136 BSTR _M90;
9137 HRESULT _RetVal;
9138 MIDL_STUB_MESSAGE _StubMsg;
9139 INT index;
9140 LCID lcid;
9141 BSTR __RPC_FAR *pbstrHelpString;
9142 BSTR __RPC_FAR *pbstrHelpStringDll;
9143 DWORD __RPC_FAR *pdwHelpStringContext;
9144 DWORD refPtrFlags;
9146 NdrStubInitialize(
9147 _pRpcMessage,
9148 &_StubMsg,
9149 &Object_StubDesc,
9150 _pRpcChannelBuffer);
9151 ( BSTR __RPC_FAR * )pbstrHelpString = 0;
9152 ( DWORD __RPC_FAR * )pdwHelpStringContext = 0;
9153 ( BSTR __RPC_FAR * )pbstrHelpStringDll = 0;
9154 RpcTryFinally
9156 if ( (_pRpcMessage->DataRepresentation & 0X0000FFFFUL) != NDR_LOCAL_DATA_REPRESENTATION )
9157 NdrConvert( (PMIDL_STUB_MESSAGE) &_StubMsg, (PFORMAT_STRING) &__MIDL_ProcFormatString.Format[334] );
9159 index = *(( INT __RPC_FAR * )_StubMsg.Buffer)++;
9161 lcid = *(( LCID __RPC_FAR * )_StubMsg.Buffer)++;
9163 refPtrFlags = *(( DWORD __RPC_FAR * )_StubMsg.Buffer)++;
9165 pbstrHelpString = &_M88;
9166 MIDL_memset(
9167 pbstrHelpString,
9169 sizeof( BSTR ));
9170 pdwHelpStringContext = &_M89;
9171 pbstrHelpStringDll = &_M90;
9172 MIDL_memset(
9173 pbstrHelpStringDll,
9175 sizeof( BSTR ));
9177 *_pdwStubPhase = STUB_CALL_SERVER;
9180 _RetVal = ITypeLib2_GetDocumentation2_Stub(
9181 (ITypeLib2 *) ((CStdStubBuffer *)This)->pvServerObject,
9182 index,
9183 lcid,
9184 refPtrFlags,
9185 pbstrHelpString,
9186 pdwHelpStringContext,
9187 pbstrHelpStringDll);
9189 *_pdwStubPhase = STUB_MARSHAL;
9191 _StubMsg.BufferLength = 8U + 11U + 11U + 11U;
9192 NdrUserMarshalBufferSize( (PMIDL_STUB_MESSAGE) &_StubMsg,
9193 (unsigned char __RPC_FAR *)pbstrHelpString,
9194 (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[1128] );
9196 NdrUserMarshalBufferSize( (PMIDL_STUB_MESSAGE) &_StubMsg,
9197 (unsigned char __RPC_FAR *)pbstrHelpStringDll,
9198 (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[1128] );
9200 _StubMsg.BufferLength += 16;
9202 NdrStubGetBuffer(This, _pRpcChannelBuffer, &_StubMsg);
9203 NdrUserMarshalMarshall( (PMIDL_STUB_MESSAGE)& _StubMsg,
9204 (unsigned char __RPC_FAR *)pbstrHelpString,
9205 (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[1128] );
9207 _StubMsg.Buffer = (unsigned char __RPC_FAR *)(((long)_StubMsg.Buffer + 3) & ~ 0x3);
9208 *(( DWORD __RPC_FAR * )_StubMsg.Buffer)++ = *pdwHelpStringContext;
9210 NdrUserMarshalMarshall( (PMIDL_STUB_MESSAGE)& _StubMsg,
9211 (unsigned char __RPC_FAR *)pbstrHelpStringDll,
9212 (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[1128] );
9214 _StubMsg.Buffer = (unsigned char __RPC_FAR *)(((long)_StubMsg.Buffer + 3) & ~ 0x3);
9215 *(( HRESULT __RPC_FAR * )_StubMsg.Buffer)++ = _RetVal;
9218 RpcFinally
9220 NdrPointerFree( &_StubMsg,
9221 (unsigned char __RPC_FAR *)pbstrHelpString,
9222 &__MIDL_TypeFormatString.Format[1708] );
9224 NdrPointerFree( &_StubMsg,
9225 (unsigned char __RPC_FAR *)pbstrHelpStringDll,
9226 &__MIDL_TypeFormatString.Format[1708] );
9229 RpcEndFinally
9230 _pRpcMessage->BufferLength =
9231 (unsigned int)((long)_StubMsg.Buffer - (long)_pRpcMessage->Buffer);
9236 HRESULT STDMETHODCALLTYPE ITypeLib2_GetAllCustData_Proxy(
9237 ITypeLib2 __RPC_FAR * This,
9238 /* [out] */ CUSTDATA __RPC_FAR *pCustData)
9241 HRESULT _RetVal;
9243 RPC_MESSAGE _RpcMessage;
9245 MIDL_STUB_MESSAGE _StubMsg;
9247 if(pCustData)
9249 MIDL_memset(
9250 pCustData,
9252 sizeof( CUSTDATA ));
9254 RpcTryExcept
9256 NdrProxyInitialize(
9257 ( void __RPC_FAR * )This,
9258 ( PRPC_MESSAGE )&_RpcMessage,
9259 ( PMIDL_STUB_MESSAGE )&_StubMsg,
9260 ( PMIDL_STUB_DESC )&Object_StubDesc,
9261 16);
9265 if(!pCustData)
9267 RpcRaiseException(RPC_X_NULL_REF_POINTER);
9269 RpcTryFinally
9272 _StubMsg.BufferLength = 0U;
9273 NdrProxyGetBuffer(This, &_StubMsg);
9274 NdrProxySendReceive(This, &_StubMsg);
9276 if ( (_RpcMessage.DataRepresentation & 0X0000FFFFUL) != NDR_LOCAL_DATA_REPRESENTATION )
9277 NdrConvert( (PMIDL_STUB_MESSAGE) &_StubMsg, (PFORMAT_STRING) &__MIDL_ProcFormatString.Format[354] );
9279 NdrComplexStructUnmarshall( (PMIDL_STUB_MESSAGE) &_StubMsg,
9280 (unsigned char __RPC_FAR * __RPC_FAR *)&pCustData,
9281 (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[1788],
9282 (unsigned char)0 );
9284 _StubMsg.Buffer = (unsigned char __RPC_FAR *)(((long)_StubMsg.Buffer + 3) & ~ 0x3);
9285 _RetVal = *(( HRESULT __RPC_FAR * )_StubMsg.Buffer)++;
9288 RpcFinally
9290 NdrProxyFreeBuffer(This, &_StubMsg);
9293 RpcEndFinally
9296 RpcExcept(_StubMsg.dwStubPhase != PROXY_SENDRECEIVE)
9298 NdrClearOutParameters(
9299 ( PMIDL_STUB_MESSAGE )&_StubMsg,
9300 ( PFORMAT_STRING )&__MIDL_TypeFormatString.Format[1748],
9301 ( void __RPC_FAR * )pCustData);
9302 _RetVal = NdrProxyErrorHandler(RpcExceptionCode());
9304 RpcEndExcept
9305 return _RetVal;
9308 void __RPC_STUB ITypeLib2_GetAllCustData_Stub(
9309 IRpcStubBuffer *This,
9310 IRpcChannelBuffer *_pRpcChannelBuffer,
9311 PRPC_MESSAGE _pRpcMessage,
9312 DWORD *_pdwStubPhase)
9314 HRESULT _RetVal;
9315 MIDL_STUB_MESSAGE _StubMsg;
9316 CUSTDATA _pCustDataM;
9317 CUSTDATA __RPC_FAR *pCustData;
9319 NdrStubInitialize(
9320 _pRpcMessage,
9321 &_StubMsg,
9322 &Object_StubDesc,
9323 _pRpcChannelBuffer);
9324 ( CUSTDATA __RPC_FAR * )pCustData = 0;
9325 RpcTryFinally
9327 pCustData = &_pCustDataM;
9328 pCustData -> prgCustData = 0;
9330 *_pdwStubPhase = STUB_CALL_SERVER;
9331 _RetVal = (((ITypeLib2*) ((CStdStubBuffer *)This)->pvServerObject)->lpVtbl) -> GetAllCustData((ITypeLib2 *) ((CStdStubBuffer *)This)->pvServerObject,pCustData);
9333 *_pdwStubPhase = STUB_MARSHAL;
9335 _StubMsg.BufferLength = 0U + 11U;
9336 NdrComplexStructBufferSize( (PMIDL_STUB_MESSAGE) &_StubMsg,
9337 (unsigned char __RPC_FAR *)pCustData,
9338 (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[1788] );
9340 _StubMsg.BufferLength += 16;
9342 NdrStubGetBuffer(This, _pRpcChannelBuffer, &_StubMsg);
9343 NdrComplexStructMarshall( (PMIDL_STUB_MESSAGE)& _StubMsg,
9344 (unsigned char __RPC_FAR *)pCustData,
9345 (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[1788] );
9347 _StubMsg.Buffer = (unsigned char __RPC_FAR *)(((long)_StubMsg.Buffer + 3) & ~ 0x3);
9348 *(( HRESULT __RPC_FAR * )_StubMsg.Buffer)++ = _RetVal;
9351 RpcFinally
9353 NdrPointerFree( &_StubMsg,
9354 (unsigned char __RPC_FAR *)pCustData,
9355 &__MIDL_TypeFormatString.Format[1748] );
9358 RpcEndFinally
9359 _pRpcMessage->BufferLength =
9360 (unsigned int)((long)_StubMsg.Buffer - (long)_pRpcMessage->Buffer);
9364 const CINTERFACE_PROXY_VTABLE(17) _ITypeLib2ProxyVtbl =
9366 { &IID_ITypeLib2 },
9368 IUnknown_QueryInterface_Proxy,
9369 IUnknown_AddRef_Proxy,
9370 IUnknown_Release_Proxy ,
9371 ITypeLib_GetTypeInfoCount_Proxy ,
9372 ITypeLib_GetTypeInfo_Proxy ,
9373 ITypeLib_GetTypeInfoType_Proxy ,
9374 ITypeLib_GetTypeInfoOfGuid_Proxy ,
9375 ITypeLib_GetLibAttr_Proxy ,
9376 ITypeLib_GetTypeComp_Proxy ,
9377 ITypeLib_GetDocumentation_Proxy ,
9378 ITypeLib_IsName_Proxy ,
9379 ITypeLib_FindName_Proxy ,
9380 ITypeLib_ReleaseTLibAttr_Proxy ,
9381 ITypeLib2_GetCustData_Proxy ,
9382 ITypeLib2_GetLibStatistics_Proxy ,
9383 ITypeLib2_GetDocumentation2_Proxy ,
9384 ITypeLib2_GetAllCustData_Proxy
9389 static const PRPC_STUB_FUNCTION ITypeLib2_table[] =
9391 ITypeLib_RemoteGetTypeInfoCount_Stub,
9392 ITypeLib_GetTypeInfo_Stub,
9393 ITypeLib_GetTypeInfoType_Stub,
9394 ITypeLib_GetTypeInfoOfGuid_Stub,
9395 ITypeLib_RemoteGetLibAttr_Stub,
9396 ITypeLib_GetTypeComp_Stub,
9397 ITypeLib_RemoteGetDocumentation_Stub,
9398 ITypeLib_RemoteIsName_Stub,
9399 ITypeLib_RemoteFindName_Stub,
9400 ITypeLib_LocalReleaseTLibAttr_Stub,
9401 ITypeLib2_GetCustData_Stub,
9402 ITypeLib2_RemoteGetLibStatistics_Stub,
9403 ITypeLib2_RemoteGetDocumentation2_Stub,
9404 ITypeLib2_GetAllCustData_Stub
9407 const CInterfaceStubVtbl _ITypeLib2StubVtbl =
9410 &IID_ITypeLib2,
9413 &ITypeLib2_table[-3]
9415 { CStdStubBuffer_METHODS }
9419 /* Object interface: ITypeChangeEvents, ver. 0.0,
9420 GUID={0x00020410,0x0000,0x0000,{0xC0,0x00,0x00,0x00,0x00,0x00,0x00,0x46}} */
9423 /* Object interface: IErrorInfo, ver. 0.0,
9424 GUID={0x1CF2B120,0x547D,0x101B,{0x8E,0x65,0x08,0x00,0x2B,0x2B,0xD1,0x19}} */
9427 extern const MIDL_STUB_DESC Object_StubDesc;
9430 HRESULT STDMETHODCALLTYPE IErrorInfo_GetGUID_Proxy(
9431 IErrorInfo __RPC_FAR * This,
9432 /* [out] */ GUID __RPC_FAR *pGUID)
9435 HRESULT _RetVal;
9437 RPC_MESSAGE _RpcMessage;
9439 MIDL_STUB_MESSAGE _StubMsg;
9441 if(pGUID)
9443 MIDL_memset(
9444 pGUID,
9446 sizeof( IID ));
9448 RpcTryExcept
9450 NdrProxyInitialize(
9451 ( void __RPC_FAR * )This,
9452 ( PRPC_MESSAGE )&_RpcMessage,
9453 ( PMIDL_STUB_MESSAGE )&_StubMsg,
9454 ( PMIDL_STUB_DESC )&Object_StubDesc,
9459 if(!pGUID)
9461 RpcRaiseException(RPC_X_NULL_REF_POINTER);
9463 RpcTryFinally
9466 _StubMsg.BufferLength = 0U;
9467 NdrProxyGetBuffer(This, &_StubMsg);
9468 NdrProxySendReceive(This, &_StubMsg);
9470 if ( (_RpcMessage.DataRepresentation & 0X0000FFFFUL) != NDR_LOCAL_DATA_REPRESENTATION )
9471 NdrConvert( (PMIDL_STUB_MESSAGE) &_StubMsg, (PFORMAT_STRING) &__MIDL_ProcFormatString.Format[456] );
9473 NdrSimpleStructUnmarshall( (PMIDL_STUB_MESSAGE) &_StubMsg,
9474 (unsigned char __RPC_FAR * __RPC_FAR *)&pGUID,
9475 (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[38],
9476 (unsigned char)0 );
9478 _RetVal = *(( HRESULT __RPC_FAR * )_StubMsg.Buffer)++;
9481 RpcFinally
9483 NdrProxyFreeBuffer(This, &_StubMsg);
9486 RpcEndFinally
9489 RpcExcept(_StubMsg.dwStubPhase != PROXY_SENDRECEIVE)
9491 NdrClearOutParameters(
9492 ( PMIDL_STUB_MESSAGE )&_StubMsg,
9493 ( PFORMAT_STRING )&__MIDL_TypeFormatString.Format[1892],
9494 ( void __RPC_FAR * )pGUID);
9495 _RetVal = NdrProxyErrorHandler(RpcExceptionCode());
9497 RpcEndExcept
9498 return _RetVal;
9501 void __RPC_STUB IErrorInfo_GetGUID_Stub(
9502 IRpcStubBuffer *This,
9503 IRpcChannelBuffer *_pRpcChannelBuffer,
9504 PRPC_MESSAGE _pRpcMessage,
9505 DWORD *_pdwStubPhase)
9507 HRESULT _RetVal;
9508 MIDL_STUB_MESSAGE _StubMsg;
9509 IID _pGUIDM;
9510 GUID __RPC_FAR *pGUID;
9512 NdrStubInitialize(
9513 _pRpcMessage,
9514 &_StubMsg,
9515 &Object_StubDesc,
9516 _pRpcChannelBuffer);
9517 ( GUID __RPC_FAR * )pGUID = 0;
9518 RpcTryFinally
9520 pGUID = &_pGUIDM;
9522 *_pdwStubPhase = STUB_CALL_SERVER;
9523 _RetVal = (((IErrorInfo*) ((CStdStubBuffer *)This)->pvServerObject)->lpVtbl) -> GetGUID((IErrorInfo *) ((CStdStubBuffer *)This)->pvServerObject,pGUID);
9525 *_pdwStubPhase = STUB_MARSHAL;
9527 _StubMsg.BufferLength = 0U + 11U;
9528 NdrSimpleStructBufferSize( (PMIDL_STUB_MESSAGE) &_StubMsg,
9529 (unsigned char __RPC_FAR *)pGUID,
9530 (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[38] );
9532 _StubMsg.BufferLength += 16;
9534 NdrStubGetBuffer(This, _pRpcChannelBuffer, &_StubMsg);
9535 NdrSimpleStructMarshall( (PMIDL_STUB_MESSAGE)& _StubMsg,
9536 (unsigned char __RPC_FAR *)pGUID,
9537 (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[38] );
9539 *(( HRESULT __RPC_FAR * )_StubMsg.Buffer)++ = _RetVal;
9542 RpcFinally
9545 RpcEndFinally
9546 _pRpcMessage->BufferLength =
9547 (unsigned int)((long)_StubMsg.Buffer - (long)_pRpcMessage->Buffer);
9552 HRESULT STDMETHODCALLTYPE IErrorInfo_GetSource_Proxy(
9553 IErrorInfo __RPC_FAR * This,
9554 /* [out] */ BSTR __RPC_FAR *pBstrSource)
9557 HRESULT _RetVal;
9559 RPC_MESSAGE _RpcMessage;
9561 MIDL_STUB_MESSAGE _StubMsg;
9563 if(pBstrSource)
9565 MIDL_memset(
9566 pBstrSource,
9568 sizeof( BSTR ));
9570 RpcTryExcept
9572 NdrProxyInitialize(
9573 ( void __RPC_FAR * )This,
9574 ( PRPC_MESSAGE )&_RpcMessage,
9575 ( PMIDL_STUB_MESSAGE )&_StubMsg,
9576 ( PMIDL_STUB_DESC )&Object_StubDesc,
9581 if(!pBstrSource)
9583 RpcRaiseException(RPC_X_NULL_REF_POINTER);
9585 RpcTryFinally
9588 _StubMsg.BufferLength = 0U;
9589 NdrProxyGetBuffer(This, &_StubMsg);
9590 NdrProxySendReceive(This, &_StubMsg);
9592 if ( (_RpcMessage.DataRepresentation & 0X0000FFFFUL) != NDR_LOCAL_DATA_REPRESENTATION )
9593 NdrConvert( (PMIDL_STUB_MESSAGE) &_StubMsg, (PFORMAT_STRING) &__MIDL_ProcFormatString.Format[462] );
9595 NdrUserMarshalUnmarshall( (PMIDL_STUB_MESSAGE) &_StubMsg,
9596 (unsigned char __RPC_FAR * __RPC_FAR *)&pBstrSource,
9597 (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[1128],
9598 (unsigned char)0 );
9600 _StubMsg.Buffer = (unsigned char __RPC_FAR *)(((long)_StubMsg.Buffer + 3) & ~ 0x3);
9601 _RetVal = *(( HRESULT __RPC_FAR * )_StubMsg.Buffer)++;
9604 RpcFinally
9606 NdrProxyFreeBuffer(This, &_StubMsg);
9609 RpcEndFinally
9612 RpcExcept(_StubMsg.dwStubPhase != PROXY_SENDRECEIVE)
9614 NdrClearOutParameters(
9615 ( PMIDL_STUB_MESSAGE )&_StubMsg,
9616 ( PFORMAT_STRING )&__MIDL_TypeFormatString.Format[1708],
9617 ( void __RPC_FAR * )pBstrSource);
9618 _RetVal = NdrProxyErrorHandler(RpcExceptionCode());
9620 RpcEndExcept
9621 return _RetVal;
9624 void __RPC_STUB IErrorInfo_GetSource_Stub(
9625 IRpcStubBuffer *This,
9626 IRpcChannelBuffer *_pRpcChannelBuffer,
9627 PRPC_MESSAGE _pRpcMessage,
9628 DWORD *_pdwStubPhase)
9630 BSTR _M91;
9631 HRESULT _RetVal;
9632 MIDL_STUB_MESSAGE _StubMsg;
9633 BSTR __RPC_FAR *pBstrSource;
9635 NdrStubInitialize(
9636 _pRpcMessage,
9637 &_StubMsg,
9638 &Object_StubDesc,
9639 _pRpcChannelBuffer);
9640 ( BSTR __RPC_FAR * )pBstrSource = 0;
9641 RpcTryFinally
9643 pBstrSource = &_M91;
9644 MIDL_memset(
9645 pBstrSource,
9647 sizeof( BSTR ));
9649 *_pdwStubPhase = STUB_CALL_SERVER;
9650 _RetVal = (((IErrorInfo*) ((CStdStubBuffer *)This)->pvServerObject)->lpVtbl) -> GetSource((IErrorInfo *) ((CStdStubBuffer *)This)->pvServerObject,pBstrSource);
9652 *_pdwStubPhase = STUB_MARSHAL;
9654 _StubMsg.BufferLength = 8U + 11U;
9655 NdrUserMarshalBufferSize( (PMIDL_STUB_MESSAGE) &_StubMsg,
9656 (unsigned char __RPC_FAR *)pBstrSource,
9657 (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[1128] );
9659 _StubMsg.BufferLength += 16;
9661 NdrStubGetBuffer(This, _pRpcChannelBuffer, &_StubMsg);
9662 NdrUserMarshalMarshall( (PMIDL_STUB_MESSAGE)& _StubMsg,
9663 (unsigned char __RPC_FAR *)pBstrSource,
9664 (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[1128] );
9666 _StubMsg.Buffer = (unsigned char __RPC_FAR *)(((long)_StubMsg.Buffer + 3) & ~ 0x3);
9667 *(( HRESULT __RPC_FAR * )_StubMsg.Buffer)++ = _RetVal;
9670 RpcFinally
9672 NdrPointerFree( &_StubMsg,
9673 (unsigned char __RPC_FAR *)pBstrSource,
9674 &__MIDL_TypeFormatString.Format[1708] );
9677 RpcEndFinally
9678 _pRpcMessage->BufferLength =
9679 (unsigned int)((long)_StubMsg.Buffer - (long)_pRpcMessage->Buffer);
9684 HRESULT STDMETHODCALLTYPE IErrorInfo_GetDescription_Proxy(
9685 IErrorInfo __RPC_FAR * This,
9686 /* [out] */ BSTR __RPC_FAR *pBstrDescription)
9689 HRESULT _RetVal;
9691 RPC_MESSAGE _RpcMessage;
9693 MIDL_STUB_MESSAGE _StubMsg;
9695 if(pBstrDescription)
9697 MIDL_memset(
9698 pBstrDescription,
9700 sizeof( BSTR ));
9702 RpcTryExcept
9704 NdrProxyInitialize(
9705 ( void __RPC_FAR * )This,
9706 ( PRPC_MESSAGE )&_RpcMessage,
9707 ( PMIDL_STUB_MESSAGE )&_StubMsg,
9708 ( PMIDL_STUB_DESC )&Object_StubDesc,
9713 if(!pBstrDescription)
9715 RpcRaiseException(RPC_X_NULL_REF_POINTER);
9717 RpcTryFinally
9720 _StubMsg.BufferLength = 0U;
9721 NdrProxyGetBuffer(This, &_StubMsg);
9722 NdrProxySendReceive(This, &_StubMsg);
9724 if ( (_RpcMessage.DataRepresentation & 0X0000FFFFUL) != NDR_LOCAL_DATA_REPRESENTATION )
9725 NdrConvert( (PMIDL_STUB_MESSAGE) &_StubMsg, (PFORMAT_STRING) &__MIDL_ProcFormatString.Format[462] );
9727 NdrUserMarshalUnmarshall( (PMIDL_STUB_MESSAGE) &_StubMsg,
9728 (unsigned char __RPC_FAR * __RPC_FAR *)&pBstrDescription,
9729 (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[1128],
9730 (unsigned char)0 );
9732 _StubMsg.Buffer = (unsigned char __RPC_FAR *)(((long)_StubMsg.Buffer + 3) & ~ 0x3);
9733 _RetVal = *(( HRESULT __RPC_FAR * )_StubMsg.Buffer)++;
9736 RpcFinally
9738 NdrProxyFreeBuffer(This, &_StubMsg);
9741 RpcEndFinally
9744 RpcExcept(_StubMsg.dwStubPhase != PROXY_SENDRECEIVE)
9746 NdrClearOutParameters(
9747 ( PMIDL_STUB_MESSAGE )&_StubMsg,
9748 ( PFORMAT_STRING )&__MIDL_TypeFormatString.Format[1708],
9749 ( void __RPC_FAR * )pBstrDescription);
9750 _RetVal = NdrProxyErrorHandler(RpcExceptionCode());
9752 RpcEndExcept
9753 return _RetVal;
9756 void __RPC_STUB IErrorInfo_GetDescription_Stub(
9757 IRpcStubBuffer *This,
9758 IRpcChannelBuffer *_pRpcChannelBuffer,
9759 PRPC_MESSAGE _pRpcMessage,
9760 DWORD *_pdwStubPhase)
9762 BSTR _M92;
9763 HRESULT _RetVal;
9764 MIDL_STUB_MESSAGE _StubMsg;
9765 BSTR __RPC_FAR *pBstrDescription;
9767 NdrStubInitialize(
9768 _pRpcMessage,
9769 &_StubMsg,
9770 &Object_StubDesc,
9771 _pRpcChannelBuffer);
9772 ( BSTR __RPC_FAR * )pBstrDescription = 0;
9773 RpcTryFinally
9775 pBstrDescription = &_M92;
9776 MIDL_memset(
9777 pBstrDescription,
9779 sizeof( BSTR ));
9781 *_pdwStubPhase = STUB_CALL_SERVER;
9782 _RetVal = (((IErrorInfo*) ((CStdStubBuffer *)This)->pvServerObject)->lpVtbl) -> GetDescription((IErrorInfo *) ((CStdStubBuffer *)This)->pvServerObject,pBstrDescription);
9784 *_pdwStubPhase = STUB_MARSHAL;
9786 _StubMsg.BufferLength = 8U + 11U;
9787 NdrUserMarshalBufferSize( (PMIDL_STUB_MESSAGE) &_StubMsg,
9788 (unsigned char __RPC_FAR *)pBstrDescription,
9789 (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[1128] );
9791 _StubMsg.BufferLength += 16;
9793 NdrStubGetBuffer(This, _pRpcChannelBuffer, &_StubMsg);
9794 NdrUserMarshalMarshall( (PMIDL_STUB_MESSAGE)& _StubMsg,
9795 (unsigned char __RPC_FAR *)pBstrDescription,
9796 (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[1128] );
9798 _StubMsg.Buffer = (unsigned char __RPC_FAR *)(((long)_StubMsg.Buffer + 3) & ~ 0x3);
9799 *(( HRESULT __RPC_FAR * )_StubMsg.Buffer)++ = _RetVal;
9802 RpcFinally
9804 NdrPointerFree( &_StubMsg,
9805 (unsigned char __RPC_FAR *)pBstrDescription,
9806 &__MIDL_TypeFormatString.Format[1708] );
9809 RpcEndFinally
9810 _pRpcMessage->BufferLength =
9811 (unsigned int)((long)_StubMsg.Buffer - (long)_pRpcMessage->Buffer);
9816 HRESULT STDMETHODCALLTYPE IErrorInfo_GetHelpFile_Proxy(
9817 IErrorInfo __RPC_FAR * This,
9818 /* [out] */ BSTR __RPC_FAR *pBstrHelpFile)
9821 HRESULT _RetVal;
9823 RPC_MESSAGE _RpcMessage;
9825 MIDL_STUB_MESSAGE _StubMsg;
9827 if(pBstrHelpFile)
9829 MIDL_memset(
9830 pBstrHelpFile,
9832 sizeof( BSTR ));
9834 RpcTryExcept
9836 NdrProxyInitialize(
9837 ( void __RPC_FAR * )This,
9838 ( PRPC_MESSAGE )&_RpcMessage,
9839 ( PMIDL_STUB_MESSAGE )&_StubMsg,
9840 ( PMIDL_STUB_DESC )&Object_StubDesc,
9845 if(!pBstrHelpFile)
9847 RpcRaiseException(RPC_X_NULL_REF_POINTER);
9849 RpcTryFinally
9852 _StubMsg.BufferLength = 0U;
9853 NdrProxyGetBuffer(This, &_StubMsg);
9854 NdrProxySendReceive(This, &_StubMsg);
9856 if ( (_RpcMessage.DataRepresentation & 0X0000FFFFUL) != NDR_LOCAL_DATA_REPRESENTATION )
9857 NdrConvert( (PMIDL_STUB_MESSAGE) &_StubMsg, (PFORMAT_STRING) &__MIDL_ProcFormatString.Format[462] );
9859 NdrUserMarshalUnmarshall( (PMIDL_STUB_MESSAGE) &_StubMsg,
9860 (unsigned char __RPC_FAR * __RPC_FAR *)&pBstrHelpFile,
9861 (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[1128],
9862 (unsigned char)0 );
9864 _StubMsg.Buffer = (unsigned char __RPC_FAR *)(((long)_StubMsg.Buffer + 3) & ~ 0x3);
9865 _RetVal = *(( HRESULT __RPC_FAR * )_StubMsg.Buffer)++;
9868 RpcFinally
9870 NdrProxyFreeBuffer(This, &_StubMsg);
9873 RpcEndFinally
9876 RpcExcept(_StubMsg.dwStubPhase != PROXY_SENDRECEIVE)
9878 NdrClearOutParameters(
9879 ( PMIDL_STUB_MESSAGE )&_StubMsg,
9880 ( PFORMAT_STRING )&__MIDL_TypeFormatString.Format[1708],
9881 ( void __RPC_FAR * )pBstrHelpFile);
9882 _RetVal = NdrProxyErrorHandler(RpcExceptionCode());
9884 RpcEndExcept
9885 return _RetVal;
9888 void __RPC_STUB IErrorInfo_GetHelpFile_Stub(
9889 IRpcStubBuffer *This,
9890 IRpcChannelBuffer *_pRpcChannelBuffer,
9891 PRPC_MESSAGE _pRpcMessage,
9892 DWORD *_pdwStubPhase)
9894 BSTR _M93;
9895 HRESULT _RetVal;
9896 MIDL_STUB_MESSAGE _StubMsg;
9897 BSTR __RPC_FAR *pBstrHelpFile;
9899 NdrStubInitialize(
9900 _pRpcMessage,
9901 &_StubMsg,
9902 &Object_StubDesc,
9903 _pRpcChannelBuffer);
9904 ( BSTR __RPC_FAR * )pBstrHelpFile = 0;
9905 RpcTryFinally
9907 pBstrHelpFile = &_M93;
9908 MIDL_memset(
9909 pBstrHelpFile,
9911 sizeof( BSTR ));
9913 *_pdwStubPhase = STUB_CALL_SERVER;
9914 _RetVal = (((IErrorInfo*) ((CStdStubBuffer *)This)->pvServerObject)->lpVtbl) -> GetHelpFile((IErrorInfo *) ((CStdStubBuffer *)This)->pvServerObject,pBstrHelpFile);
9916 *_pdwStubPhase = STUB_MARSHAL;
9918 _StubMsg.BufferLength = 8U + 11U;
9919 NdrUserMarshalBufferSize( (PMIDL_STUB_MESSAGE) &_StubMsg,
9920 (unsigned char __RPC_FAR *)pBstrHelpFile,
9921 (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[1128] );
9923 _StubMsg.BufferLength += 16;
9925 NdrStubGetBuffer(This, _pRpcChannelBuffer, &_StubMsg);
9926 NdrUserMarshalMarshall( (PMIDL_STUB_MESSAGE)& _StubMsg,
9927 (unsigned char __RPC_FAR *)pBstrHelpFile,
9928 (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[1128] );
9930 _StubMsg.Buffer = (unsigned char __RPC_FAR *)(((long)_StubMsg.Buffer + 3) & ~ 0x3);
9931 *(( HRESULT __RPC_FAR * )_StubMsg.Buffer)++ = _RetVal;
9934 RpcFinally
9936 NdrPointerFree( &_StubMsg,
9937 (unsigned char __RPC_FAR *)pBstrHelpFile,
9938 &__MIDL_TypeFormatString.Format[1708] );
9941 RpcEndFinally
9942 _pRpcMessage->BufferLength =
9943 (unsigned int)((long)_StubMsg.Buffer - (long)_pRpcMessage->Buffer);
9948 HRESULT STDMETHODCALLTYPE IErrorInfo_GetHelpContext_Proxy(
9949 IErrorInfo __RPC_FAR * This,
9950 /* [out] */ DWORD __RPC_FAR *pdwHelpContext)
9953 HRESULT _RetVal;
9955 RPC_MESSAGE _RpcMessage;
9957 MIDL_STUB_MESSAGE _StubMsg;
9959 RpcTryExcept
9961 NdrProxyInitialize(
9962 ( void __RPC_FAR * )This,
9963 ( PRPC_MESSAGE )&_RpcMessage,
9964 ( PMIDL_STUB_MESSAGE )&_StubMsg,
9965 ( PMIDL_STUB_DESC )&Object_StubDesc,
9970 if(!pdwHelpContext)
9972 RpcRaiseException(RPC_X_NULL_REF_POINTER);
9974 RpcTryFinally
9977 _StubMsg.BufferLength = 0U;
9978 NdrProxyGetBuffer(This, &_StubMsg);
9979 NdrProxySendReceive(This, &_StubMsg);
9981 if ( (_RpcMessage.DataRepresentation & 0X0000FFFFUL) != NDR_LOCAL_DATA_REPRESENTATION )
9982 NdrConvert( (PMIDL_STUB_MESSAGE) &_StubMsg, (PFORMAT_STRING) &__MIDL_ProcFormatString.Format[0] );
9984 *pdwHelpContext = *(( DWORD __RPC_FAR * )_StubMsg.Buffer)++;
9986 _RetVal = *(( HRESULT __RPC_FAR * )_StubMsg.Buffer)++;
9989 RpcFinally
9991 NdrProxyFreeBuffer(This, &_StubMsg);
9994 RpcEndFinally
9997 RpcExcept(_StubMsg.dwStubPhase != PROXY_SENDRECEIVE)
9999 NdrClearOutParameters(
10000 ( PMIDL_STUB_MESSAGE )&_StubMsg,
10001 ( PFORMAT_STRING )&__MIDL_TypeFormatString.Format[2],
10002 ( void __RPC_FAR * )pdwHelpContext);
10003 _RetVal = NdrProxyErrorHandler(RpcExceptionCode());
10005 RpcEndExcept
10006 return _RetVal;
10009 void __RPC_STUB IErrorInfo_GetHelpContext_Stub(
10010 IRpcStubBuffer *This,
10011 IRpcChannelBuffer *_pRpcChannelBuffer,
10012 PRPC_MESSAGE _pRpcMessage,
10013 DWORD *_pdwStubPhase)
10015 DWORD _M94;
10016 HRESULT _RetVal;
10017 MIDL_STUB_MESSAGE _StubMsg;
10018 DWORD __RPC_FAR *pdwHelpContext;
10020 NdrStubInitialize(
10021 _pRpcMessage,
10022 &_StubMsg,
10023 &Object_StubDesc,
10024 _pRpcChannelBuffer);
10025 ( DWORD __RPC_FAR * )pdwHelpContext = 0;
10026 RpcTryFinally
10028 pdwHelpContext = &_M94;
10030 *_pdwStubPhase = STUB_CALL_SERVER;
10031 _RetVal = (((IErrorInfo*) ((CStdStubBuffer *)This)->pvServerObject)->lpVtbl) -> GetHelpContext((IErrorInfo *) ((CStdStubBuffer *)This)->pvServerObject,pdwHelpContext);
10033 *_pdwStubPhase = STUB_MARSHAL;
10035 _StubMsg.BufferLength = 4U + 4U;
10036 NdrStubGetBuffer(This, _pRpcChannelBuffer, &_StubMsg);
10037 *(( DWORD __RPC_FAR * )_StubMsg.Buffer)++ = *pdwHelpContext;
10039 *(( HRESULT __RPC_FAR * )_StubMsg.Buffer)++ = _RetVal;
10042 RpcFinally
10045 RpcEndFinally
10046 _pRpcMessage->BufferLength =
10047 (unsigned int)((long)_StubMsg.Buffer - (long)_pRpcMessage->Buffer);
10051 const CINTERFACE_PROXY_VTABLE(8) _IErrorInfoProxyVtbl =
10053 { &IID_IErrorInfo },
10055 IUnknown_QueryInterface_Proxy,
10056 IUnknown_AddRef_Proxy,
10057 IUnknown_Release_Proxy ,
10058 IErrorInfo_GetGUID_Proxy ,
10059 IErrorInfo_GetSource_Proxy ,
10060 IErrorInfo_GetDescription_Proxy ,
10061 IErrorInfo_GetHelpFile_Proxy ,
10062 IErrorInfo_GetHelpContext_Proxy
10067 static const PRPC_STUB_FUNCTION IErrorInfo_table[] =
10069 IErrorInfo_GetGUID_Stub,
10070 IErrorInfo_GetSource_Stub,
10071 IErrorInfo_GetDescription_Stub,
10072 IErrorInfo_GetHelpFile_Stub,
10073 IErrorInfo_GetHelpContext_Stub
10076 const CInterfaceStubVtbl _IErrorInfoStubVtbl =
10079 &IID_IErrorInfo,
10082 &IErrorInfo_table[-3]
10084 { CStdStubBuffer_METHODS }
10088 /* Object interface: ICreateErrorInfo, ver. 0.0,
10089 GUID={0x22F03340,0x547D,0x101B,{0x8E,0x65,0x08,0x00,0x2B,0x2B,0xD1,0x19}} */
10092 extern const MIDL_STUB_DESC Object_StubDesc;
10095 HRESULT STDMETHODCALLTYPE ICreateErrorInfo_SetGUID_Proxy(
10096 ICreateErrorInfo __RPC_FAR * This,
10097 /* [in] */ REFGUID rguid)
10100 HRESULT _RetVal;
10102 RPC_MESSAGE _RpcMessage;
10104 MIDL_STUB_MESSAGE _StubMsg;
10106 RpcTryExcept
10108 NdrProxyInitialize(
10109 ( void __RPC_FAR * )This,
10110 ( PRPC_MESSAGE )&_RpcMessage,
10111 ( PMIDL_STUB_MESSAGE )&_StubMsg,
10112 ( PMIDL_STUB_DESC )&Object_StubDesc,
10117 if(!rguid)
10119 RpcRaiseException(RPC_X_NULL_REF_POINTER);
10121 RpcTryFinally
10124 _StubMsg.BufferLength = 0U;
10125 NdrSimpleStructBufferSize( (PMIDL_STUB_MESSAGE) &_StubMsg,
10126 (unsigned char __RPC_FAR *)rguid,
10127 (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[38] );
10129 NdrProxyGetBuffer(This, &_StubMsg);
10130 NdrSimpleStructMarshall( (PMIDL_STUB_MESSAGE)& _StubMsg,
10131 (unsigned char __RPC_FAR *)rguid,
10132 (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[38] );
10134 NdrProxySendReceive(This, &_StubMsg);
10136 if ( (_RpcMessage.DataRepresentation & 0X0000FFFFUL) != NDR_LOCAL_DATA_REPRESENTATION )
10137 NdrConvert( (PMIDL_STUB_MESSAGE) &_StubMsg, (PFORMAT_STRING) &__MIDL_ProcFormatString.Format[468] );
10139 _RetVal = *(( HRESULT __RPC_FAR * )_StubMsg.Buffer)++;
10142 RpcFinally
10144 NdrProxyFreeBuffer(This, &_StubMsg);
10147 RpcEndFinally
10150 RpcExcept(_StubMsg.dwStubPhase != PROXY_SENDRECEIVE)
10152 _RetVal = NdrProxyErrorHandler(RpcExceptionCode());
10154 RpcEndExcept
10155 return _RetVal;
10158 void __RPC_STUB ICreateErrorInfo_SetGUID_Stub(
10159 IRpcStubBuffer *This,
10160 IRpcChannelBuffer *_pRpcChannelBuffer,
10161 PRPC_MESSAGE _pRpcMessage,
10162 DWORD *_pdwStubPhase)
10164 HRESULT _RetVal;
10165 MIDL_STUB_MESSAGE _StubMsg;
10166 REFGUID rguid = 0;
10168 NdrStubInitialize(
10169 _pRpcMessage,
10170 &_StubMsg,
10171 &Object_StubDesc,
10172 _pRpcChannelBuffer);
10173 RpcTryFinally
10175 if ( (_pRpcMessage->DataRepresentation & 0X0000FFFFUL) != NDR_LOCAL_DATA_REPRESENTATION )
10176 NdrConvert( (PMIDL_STUB_MESSAGE) &_StubMsg, (PFORMAT_STRING) &__MIDL_ProcFormatString.Format[468] );
10178 NdrSimpleStructUnmarshall( (PMIDL_STUB_MESSAGE) &_StubMsg,
10179 (unsigned char __RPC_FAR * __RPC_FAR *)&rguid,
10180 (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[38],
10181 (unsigned char)0 );
10184 *_pdwStubPhase = STUB_CALL_SERVER;
10185 _RetVal = (((ICreateErrorInfo*) ((CStdStubBuffer *)This)->pvServerObject)->lpVtbl) -> SetGUID((ICreateErrorInfo *) ((CStdStubBuffer *)This)->pvServerObject,rguid);
10187 *_pdwStubPhase = STUB_MARSHAL;
10189 _StubMsg.BufferLength = 4U;
10190 NdrStubGetBuffer(This, _pRpcChannelBuffer, &_StubMsg);
10191 *(( HRESULT __RPC_FAR * )_StubMsg.Buffer)++ = _RetVal;
10194 RpcFinally
10197 RpcEndFinally
10198 _pRpcMessage->BufferLength =
10199 (unsigned int)((long)_StubMsg.Buffer - (long)_pRpcMessage->Buffer);
10204 HRESULT STDMETHODCALLTYPE ICreateErrorInfo_SetSource_Proxy(
10205 ICreateErrorInfo __RPC_FAR * This,
10206 /* [in] */ LPOLESTR szSource)
10209 HRESULT _RetVal;
10211 RPC_MESSAGE _RpcMessage;
10213 MIDL_STUB_MESSAGE _StubMsg;
10215 RpcTryExcept
10217 NdrProxyInitialize(
10218 ( void __RPC_FAR * )This,
10219 ( PRPC_MESSAGE )&_RpcMessage,
10220 ( PMIDL_STUB_MESSAGE )&_StubMsg,
10221 ( PMIDL_STUB_DESC )&Object_StubDesc,
10226 if(!szSource)
10228 RpcRaiseException(RPC_X_NULL_REF_POINTER);
10230 RpcTryFinally
10233 _StubMsg.BufferLength = 12U;
10234 NdrConformantStringBufferSize( (PMIDL_STUB_MESSAGE) &_StubMsg,
10235 (unsigned char __RPC_FAR *)szSource,
10236 (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[1248] );
10238 NdrProxyGetBuffer(This, &_StubMsg);
10239 NdrConformantStringMarshall( (PMIDL_STUB_MESSAGE)& _StubMsg,
10240 (unsigned char __RPC_FAR *)szSource,
10241 (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[1248] );
10243 NdrProxySendReceive(This, &_StubMsg);
10245 if ( (_RpcMessage.DataRepresentation & 0X0000FFFFUL) != NDR_LOCAL_DATA_REPRESENTATION )
10246 NdrConvert( (PMIDL_STUB_MESSAGE) &_StubMsg, (PFORMAT_STRING) &__MIDL_ProcFormatString.Format[474] );
10248 _RetVal = *(( HRESULT __RPC_FAR * )_StubMsg.Buffer)++;
10251 RpcFinally
10253 NdrProxyFreeBuffer(This, &_StubMsg);
10256 RpcEndFinally
10259 RpcExcept(_StubMsg.dwStubPhase != PROXY_SENDRECEIVE)
10261 _RetVal = NdrProxyErrorHandler(RpcExceptionCode());
10263 RpcEndExcept
10264 return _RetVal;
10267 void __RPC_STUB ICreateErrorInfo_SetSource_Stub(
10268 IRpcStubBuffer *This,
10269 IRpcChannelBuffer *_pRpcChannelBuffer,
10270 PRPC_MESSAGE _pRpcMessage,
10271 DWORD *_pdwStubPhase)
10273 HRESULT _RetVal;
10274 MIDL_STUB_MESSAGE _StubMsg;
10275 LPOLESTR szSource;
10277 NdrStubInitialize(
10278 _pRpcMessage,
10279 &_StubMsg,
10280 &Object_StubDesc,
10281 _pRpcChannelBuffer);
10282 ( LPOLESTR )szSource = 0;
10283 RpcTryFinally
10285 if ( (_pRpcMessage->DataRepresentation & 0X0000FFFFUL) != NDR_LOCAL_DATA_REPRESENTATION )
10286 NdrConvert( (PMIDL_STUB_MESSAGE) &_StubMsg, (PFORMAT_STRING) &__MIDL_ProcFormatString.Format[474] );
10288 NdrConformantStringUnmarshall( (PMIDL_STUB_MESSAGE) &_StubMsg,
10289 (unsigned char __RPC_FAR * __RPC_FAR *)&szSource,
10290 (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[1248],
10291 (unsigned char)0 );
10294 *_pdwStubPhase = STUB_CALL_SERVER;
10295 _RetVal = (((ICreateErrorInfo*) ((CStdStubBuffer *)This)->pvServerObject)->lpVtbl) -> SetSource((ICreateErrorInfo *) ((CStdStubBuffer *)This)->pvServerObject,szSource);
10297 *_pdwStubPhase = STUB_MARSHAL;
10299 _StubMsg.BufferLength = 4U;
10300 _StubMsg.BufferLength += 16;
10302 NdrStubGetBuffer(This, _pRpcChannelBuffer, &_StubMsg);
10303 *(( HRESULT __RPC_FAR * )_StubMsg.Buffer)++ = _RetVal;
10306 RpcFinally
10309 RpcEndFinally
10310 _pRpcMessage->BufferLength =
10311 (unsigned int)((long)_StubMsg.Buffer - (long)_pRpcMessage->Buffer);
10316 HRESULT STDMETHODCALLTYPE ICreateErrorInfo_SetDescription_Proxy(
10317 ICreateErrorInfo __RPC_FAR * This,
10318 /* [in] */ LPOLESTR szDescription)
10321 HRESULT _RetVal;
10323 RPC_MESSAGE _RpcMessage;
10325 MIDL_STUB_MESSAGE _StubMsg;
10327 RpcTryExcept
10329 NdrProxyInitialize(
10330 ( void __RPC_FAR * )This,
10331 ( PRPC_MESSAGE )&_RpcMessage,
10332 ( PMIDL_STUB_MESSAGE )&_StubMsg,
10333 ( PMIDL_STUB_DESC )&Object_StubDesc,
10338 if(!szDescription)
10340 RpcRaiseException(RPC_X_NULL_REF_POINTER);
10342 RpcTryFinally
10345 _StubMsg.BufferLength = 12U;
10346 NdrConformantStringBufferSize( (PMIDL_STUB_MESSAGE) &_StubMsg,
10347 (unsigned char __RPC_FAR *)szDescription,
10348 (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[1248] );
10350 NdrProxyGetBuffer(This, &_StubMsg);
10351 NdrConformantStringMarshall( (PMIDL_STUB_MESSAGE)& _StubMsg,
10352 (unsigned char __RPC_FAR *)szDescription,
10353 (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[1248] );
10355 NdrProxySendReceive(This, &_StubMsg);
10357 if ( (_RpcMessage.DataRepresentation & 0X0000FFFFUL) != NDR_LOCAL_DATA_REPRESENTATION )
10358 NdrConvert( (PMIDL_STUB_MESSAGE) &_StubMsg, (PFORMAT_STRING) &__MIDL_ProcFormatString.Format[474] );
10360 _RetVal = *(( HRESULT __RPC_FAR * )_StubMsg.Buffer)++;
10363 RpcFinally
10365 NdrProxyFreeBuffer(This, &_StubMsg);
10368 RpcEndFinally
10371 RpcExcept(_StubMsg.dwStubPhase != PROXY_SENDRECEIVE)
10373 _RetVal = NdrProxyErrorHandler(RpcExceptionCode());
10375 RpcEndExcept
10376 return _RetVal;
10379 void __RPC_STUB ICreateErrorInfo_SetDescription_Stub(
10380 IRpcStubBuffer *This,
10381 IRpcChannelBuffer *_pRpcChannelBuffer,
10382 PRPC_MESSAGE _pRpcMessage,
10383 DWORD *_pdwStubPhase)
10385 HRESULT _RetVal;
10386 MIDL_STUB_MESSAGE _StubMsg;
10387 LPOLESTR szDescription;
10389 NdrStubInitialize(
10390 _pRpcMessage,
10391 &_StubMsg,
10392 &Object_StubDesc,
10393 _pRpcChannelBuffer);
10394 ( LPOLESTR )szDescription = 0;
10395 RpcTryFinally
10397 if ( (_pRpcMessage->DataRepresentation & 0X0000FFFFUL) != NDR_LOCAL_DATA_REPRESENTATION )
10398 NdrConvert( (PMIDL_STUB_MESSAGE) &_StubMsg, (PFORMAT_STRING) &__MIDL_ProcFormatString.Format[474] );
10400 NdrConformantStringUnmarshall( (PMIDL_STUB_MESSAGE) &_StubMsg,
10401 (unsigned char __RPC_FAR * __RPC_FAR *)&szDescription,
10402 (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[1248],
10403 (unsigned char)0 );
10406 *_pdwStubPhase = STUB_CALL_SERVER;
10407 _RetVal = (((ICreateErrorInfo*) ((CStdStubBuffer *)This)->pvServerObject)->lpVtbl) -> SetDescription((ICreateErrorInfo *) ((CStdStubBuffer *)This)->pvServerObject,szDescription);
10409 *_pdwStubPhase = STUB_MARSHAL;
10411 _StubMsg.BufferLength = 4U;
10412 _StubMsg.BufferLength += 16;
10414 NdrStubGetBuffer(This, _pRpcChannelBuffer, &_StubMsg);
10415 *(( HRESULT __RPC_FAR * )_StubMsg.Buffer)++ = _RetVal;
10418 RpcFinally
10421 RpcEndFinally
10422 _pRpcMessage->BufferLength =
10423 (unsigned int)((long)_StubMsg.Buffer - (long)_pRpcMessage->Buffer);
10428 HRESULT STDMETHODCALLTYPE ICreateErrorInfo_SetHelpFile_Proxy(
10429 ICreateErrorInfo __RPC_FAR * This,
10430 /* [in] */ LPOLESTR szHelpFile)
10433 HRESULT _RetVal;
10435 RPC_MESSAGE _RpcMessage;
10437 MIDL_STUB_MESSAGE _StubMsg;
10439 RpcTryExcept
10441 NdrProxyInitialize(
10442 ( void __RPC_FAR * )This,
10443 ( PRPC_MESSAGE )&_RpcMessage,
10444 ( PMIDL_STUB_MESSAGE )&_StubMsg,
10445 ( PMIDL_STUB_DESC )&Object_StubDesc,
10450 if(!szHelpFile)
10452 RpcRaiseException(RPC_X_NULL_REF_POINTER);
10454 RpcTryFinally
10457 _StubMsg.BufferLength = 12U;
10458 NdrConformantStringBufferSize( (PMIDL_STUB_MESSAGE) &_StubMsg,
10459 (unsigned char __RPC_FAR *)szHelpFile,
10460 (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[1248] );
10462 NdrProxyGetBuffer(This, &_StubMsg);
10463 NdrConformantStringMarshall( (PMIDL_STUB_MESSAGE)& _StubMsg,
10464 (unsigned char __RPC_FAR *)szHelpFile,
10465 (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[1248] );
10467 NdrProxySendReceive(This, &_StubMsg);
10469 if ( (_RpcMessage.DataRepresentation & 0X0000FFFFUL) != NDR_LOCAL_DATA_REPRESENTATION )
10470 NdrConvert( (PMIDL_STUB_MESSAGE) &_StubMsg, (PFORMAT_STRING) &__MIDL_ProcFormatString.Format[474] );
10472 _RetVal = *(( HRESULT __RPC_FAR * )_StubMsg.Buffer)++;
10475 RpcFinally
10477 NdrProxyFreeBuffer(This, &_StubMsg);
10480 RpcEndFinally
10483 RpcExcept(_StubMsg.dwStubPhase != PROXY_SENDRECEIVE)
10485 _RetVal = NdrProxyErrorHandler(RpcExceptionCode());
10487 RpcEndExcept
10488 return _RetVal;
10491 void __RPC_STUB ICreateErrorInfo_SetHelpFile_Stub(
10492 IRpcStubBuffer *This,
10493 IRpcChannelBuffer *_pRpcChannelBuffer,
10494 PRPC_MESSAGE _pRpcMessage,
10495 DWORD *_pdwStubPhase)
10497 HRESULT _RetVal;
10498 MIDL_STUB_MESSAGE _StubMsg;
10499 LPOLESTR szHelpFile;
10501 NdrStubInitialize(
10502 _pRpcMessage,
10503 &_StubMsg,
10504 &Object_StubDesc,
10505 _pRpcChannelBuffer);
10506 ( LPOLESTR )szHelpFile = 0;
10507 RpcTryFinally
10509 if ( (_pRpcMessage->DataRepresentation & 0X0000FFFFUL) != NDR_LOCAL_DATA_REPRESENTATION )
10510 NdrConvert( (PMIDL_STUB_MESSAGE) &_StubMsg, (PFORMAT_STRING) &__MIDL_ProcFormatString.Format[474] );
10512 NdrConformantStringUnmarshall( (PMIDL_STUB_MESSAGE) &_StubMsg,
10513 (unsigned char __RPC_FAR * __RPC_FAR *)&szHelpFile,
10514 (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[1248],
10515 (unsigned char)0 );
10518 *_pdwStubPhase = STUB_CALL_SERVER;
10519 _RetVal = (((ICreateErrorInfo*) ((CStdStubBuffer *)This)->pvServerObject)->lpVtbl) -> SetHelpFile((ICreateErrorInfo *) ((CStdStubBuffer *)This)->pvServerObject,szHelpFile);
10521 *_pdwStubPhase = STUB_MARSHAL;
10523 _StubMsg.BufferLength = 4U;
10524 _StubMsg.BufferLength += 16;
10526 NdrStubGetBuffer(This, _pRpcChannelBuffer, &_StubMsg);
10527 *(( HRESULT __RPC_FAR * )_StubMsg.Buffer)++ = _RetVal;
10530 RpcFinally
10533 RpcEndFinally
10534 _pRpcMessage->BufferLength =
10535 (unsigned int)((long)_StubMsg.Buffer - (long)_pRpcMessage->Buffer);
10540 HRESULT STDMETHODCALLTYPE ICreateErrorInfo_SetHelpContext_Proxy(
10541 ICreateErrorInfo __RPC_FAR * This,
10542 /* [in] */ DWORD dwHelpContext)
10545 HRESULT _RetVal;
10547 RPC_MESSAGE _RpcMessage;
10549 MIDL_STUB_MESSAGE _StubMsg;
10551 RpcTryExcept
10553 NdrProxyInitialize(
10554 ( void __RPC_FAR * )This,
10555 ( PRPC_MESSAGE )&_RpcMessage,
10556 ( PMIDL_STUB_MESSAGE )&_StubMsg,
10557 ( PMIDL_STUB_DESC )&Object_StubDesc,
10562 RpcTryFinally
10565 _StubMsg.BufferLength = 4U;
10566 NdrProxyGetBuffer(This, &_StubMsg);
10567 *(( DWORD __RPC_FAR * )_StubMsg.Buffer)++ = dwHelpContext;
10569 NdrProxySendReceive(This, &_StubMsg);
10571 if ( (_RpcMessage.DataRepresentation & 0X0000FFFFUL) != NDR_LOCAL_DATA_REPRESENTATION )
10572 NdrConvert( (PMIDL_STUB_MESSAGE) &_StubMsg, (PFORMAT_STRING) &__MIDL_ProcFormatString.Format[84] );
10574 _RetVal = *(( HRESULT __RPC_FAR * )_StubMsg.Buffer)++;
10577 RpcFinally
10579 NdrProxyFreeBuffer(This, &_StubMsg);
10582 RpcEndFinally
10585 RpcExcept(_StubMsg.dwStubPhase != PROXY_SENDRECEIVE)
10587 _RetVal = NdrProxyErrorHandler(RpcExceptionCode());
10589 RpcEndExcept
10590 return _RetVal;
10593 void __RPC_STUB ICreateErrorInfo_SetHelpContext_Stub(
10594 IRpcStubBuffer *This,
10595 IRpcChannelBuffer *_pRpcChannelBuffer,
10596 PRPC_MESSAGE _pRpcMessage,
10597 DWORD *_pdwStubPhase)
10599 HRESULT _RetVal;
10600 MIDL_STUB_MESSAGE _StubMsg;
10601 DWORD dwHelpContext;
10603 NdrStubInitialize(
10604 _pRpcMessage,
10605 &_StubMsg,
10606 &Object_StubDesc,
10607 _pRpcChannelBuffer);
10608 RpcTryFinally
10610 if ( (_pRpcMessage->DataRepresentation & 0X0000FFFFUL) != NDR_LOCAL_DATA_REPRESENTATION )
10611 NdrConvert( (PMIDL_STUB_MESSAGE) &_StubMsg, (PFORMAT_STRING) &__MIDL_ProcFormatString.Format[84] );
10613 dwHelpContext = *(( DWORD __RPC_FAR * )_StubMsg.Buffer)++;
10616 *_pdwStubPhase = STUB_CALL_SERVER;
10617 _RetVal = (((ICreateErrorInfo*) ((CStdStubBuffer *)This)->pvServerObject)->lpVtbl) -> SetHelpContext((ICreateErrorInfo *) ((CStdStubBuffer *)This)->pvServerObject,dwHelpContext);
10619 *_pdwStubPhase = STUB_MARSHAL;
10621 _StubMsg.BufferLength = 4U;
10622 NdrStubGetBuffer(This, _pRpcChannelBuffer, &_StubMsg);
10623 *(( HRESULT __RPC_FAR * )_StubMsg.Buffer)++ = _RetVal;
10626 RpcFinally
10629 RpcEndFinally
10630 _pRpcMessage->BufferLength =
10631 (unsigned int)((long)_StubMsg.Buffer - (long)_pRpcMessage->Buffer);
10635 const CINTERFACE_PROXY_VTABLE(8) _ICreateErrorInfoProxyVtbl =
10637 { &IID_ICreateErrorInfo },
10639 IUnknown_QueryInterface_Proxy,
10640 IUnknown_AddRef_Proxy,
10641 IUnknown_Release_Proxy ,
10642 ICreateErrorInfo_SetGUID_Proxy ,
10643 ICreateErrorInfo_SetSource_Proxy ,
10644 ICreateErrorInfo_SetDescription_Proxy ,
10645 ICreateErrorInfo_SetHelpFile_Proxy ,
10646 ICreateErrorInfo_SetHelpContext_Proxy
10651 static const PRPC_STUB_FUNCTION ICreateErrorInfo_table[] =
10653 ICreateErrorInfo_SetGUID_Stub,
10654 ICreateErrorInfo_SetSource_Stub,
10655 ICreateErrorInfo_SetDescription_Stub,
10656 ICreateErrorInfo_SetHelpFile_Stub,
10657 ICreateErrorInfo_SetHelpContext_Stub
10660 const CInterfaceStubVtbl _ICreateErrorInfoStubVtbl =
10663 &IID_ICreateErrorInfo,
10666 &ICreateErrorInfo_table[-3]
10668 { CStdStubBuffer_METHODS }
10672 /* Object interface: ISupportErrorInfo, ver. 0.0,
10673 GUID={0xDF0B3D60,0x548F,0x101B,{0x8E,0x65,0x08,0x00,0x2B,0x2B,0xD1,0x19}} */
10676 extern const MIDL_STUB_DESC Object_StubDesc;
10679 HRESULT STDMETHODCALLTYPE ISupportErrorInfo_InterfaceSupportsErrorInfo_Proxy(
10680 ISupportErrorInfo __RPC_FAR * This,
10681 /* [in] */ REFIID riid)
10684 HRESULT _RetVal;
10686 RPC_MESSAGE _RpcMessage;
10688 MIDL_STUB_MESSAGE _StubMsg;
10690 RpcTryExcept
10692 NdrProxyInitialize(
10693 ( void __RPC_FAR * )This,
10694 ( PRPC_MESSAGE )&_RpcMessage,
10695 ( PMIDL_STUB_MESSAGE )&_StubMsg,
10696 ( PMIDL_STUB_DESC )&Object_StubDesc,
10701 if(!riid)
10703 RpcRaiseException(RPC_X_NULL_REF_POINTER);
10705 RpcTryFinally
10708 _StubMsg.BufferLength = 0U;
10709 NdrSimpleStructBufferSize( (PMIDL_STUB_MESSAGE) &_StubMsg,
10710 (unsigned char __RPC_FAR *)riid,
10711 (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[38] );
10713 NdrProxyGetBuffer(This, &_StubMsg);
10714 NdrSimpleStructMarshall( (PMIDL_STUB_MESSAGE)& _StubMsg,
10715 (unsigned char __RPC_FAR *)riid,
10716 (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[38] );
10718 NdrProxySendReceive(This, &_StubMsg);
10720 if ( (_RpcMessage.DataRepresentation & 0X0000FFFFUL) != NDR_LOCAL_DATA_REPRESENTATION )
10721 NdrConvert( (PMIDL_STUB_MESSAGE) &_StubMsg, (PFORMAT_STRING) &__MIDL_ProcFormatString.Format[468] );
10723 _RetVal = *(( HRESULT __RPC_FAR * )_StubMsg.Buffer)++;
10726 RpcFinally
10728 NdrProxyFreeBuffer(This, &_StubMsg);
10731 RpcEndFinally
10734 RpcExcept(_StubMsg.dwStubPhase != PROXY_SENDRECEIVE)
10736 _RetVal = NdrProxyErrorHandler(RpcExceptionCode());
10738 RpcEndExcept
10739 return _RetVal;
10742 void __RPC_STUB ISupportErrorInfo_InterfaceSupportsErrorInfo_Stub(
10743 IRpcStubBuffer *This,
10744 IRpcChannelBuffer *_pRpcChannelBuffer,
10745 PRPC_MESSAGE _pRpcMessage,
10746 DWORD *_pdwStubPhase)
10748 HRESULT _RetVal;
10749 MIDL_STUB_MESSAGE _StubMsg;
10750 REFIID riid = 0;
10752 NdrStubInitialize(
10753 _pRpcMessage,
10754 &_StubMsg,
10755 &Object_StubDesc,
10756 _pRpcChannelBuffer);
10757 RpcTryFinally
10759 if ( (_pRpcMessage->DataRepresentation & 0X0000FFFFUL) != NDR_LOCAL_DATA_REPRESENTATION )
10760 NdrConvert( (PMIDL_STUB_MESSAGE) &_StubMsg, (PFORMAT_STRING) &__MIDL_ProcFormatString.Format[468] );
10762 NdrSimpleStructUnmarshall( (PMIDL_STUB_MESSAGE) &_StubMsg,
10763 (unsigned char __RPC_FAR * __RPC_FAR *)&riid,
10764 (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[38],
10765 (unsigned char)0 );
10768 *_pdwStubPhase = STUB_CALL_SERVER;
10769 _RetVal = (((ISupportErrorInfo*) ((CStdStubBuffer *)This)->pvServerObject)->lpVtbl) -> InterfaceSupportsErrorInfo((ISupportErrorInfo *) ((CStdStubBuffer *)This)->pvServerObject,riid);
10771 *_pdwStubPhase = STUB_MARSHAL;
10773 _StubMsg.BufferLength = 4U;
10774 NdrStubGetBuffer(This, _pRpcChannelBuffer, &_StubMsg);
10775 *(( HRESULT __RPC_FAR * )_StubMsg.Buffer)++ = _RetVal;
10778 RpcFinally
10781 RpcEndFinally
10782 _pRpcMessage->BufferLength =
10783 (unsigned int)((long)_StubMsg.Buffer - (long)_pRpcMessage->Buffer);
10787 const CINTERFACE_PROXY_VTABLE(4) _ISupportErrorInfoProxyVtbl =
10789 { &IID_ISupportErrorInfo },
10791 IUnknown_QueryInterface_Proxy,
10792 IUnknown_AddRef_Proxy,
10793 IUnknown_Release_Proxy ,
10794 ISupportErrorInfo_InterfaceSupportsErrorInfo_Proxy
10799 static const PRPC_STUB_FUNCTION ISupportErrorInfo_table[] =
10801 ISupportErrorInfo_InterfaceSupportsErrorInfo_Stub
10804 const CInterfaceStubVtbl _ISupportErrorInfoStubVtbl =
10807 &IID_ISupportErrorInfo,
10810 &ISupportErrorInfo_table[-3]
10812 { CStdStubBuffer_METHODS }
10816 /* Object interface: ITypeFactory, ver. 0.0,
10817 GUID={0x0000002E,0x0000,0x0000,{0xC0,0x00,0x00,0x00,0x00,0x00,0x00,0x46}} */
10820 extern const MIDL_STUB_DESC Object_StubDesc;
10823 HRESULT STDMETHODCALLTYPE ITypeFactory_CreateFromTypeInfo_Proxy(
10824 ITypeFactory __RPC_FAR * This,
10825 /* [in] */ ITypeInfo __RPC_FAR *pTypeInfo,
10826 /* [in] */ REFIID riid,
10827 /* [iid_is][out] */ IUnknown __RPC_FAR *__RPC_FAR *ppv)
10830 HRESULT _RetVal;
10832 RPC_MESSAGE _RpcMessage;
10834 MIDL_STUB_MESSAGE _StubMsg;
10836 if(ppv)
10838 MIDL_memset(
10839 ppv,
10841 sizeof( IUnknown __RPC_FAR *__RPC_FAR * ));
10843 RpcTryExcept
10845 NdrProxyInitialize(
10846 ( void __RPC_FAR * )This,
10847 ( PRPC_MESSAGE )&_RpcMessage,
10848 ( PMIDL_STUB_MESSAGE )&_StubMsg,
10849 ( PMIDL_STUB_DESC )&Object_StubDesc,
10854 if(!riid)
10856 RpcRaiseException(RPC_X_NULL_REF_POINTER);
10858 if(!ppv)
10860 RpcRaiseException(RPC_X_NULL_REF_POINTER);
10862 RpcTryFinally
10865 _StubMsg.BufferLength = 0U + 0U;
10866 NdrInterfacePointerBufferSize( (PMIDL_STUB_MESSAGE) &_StubMsg,
10867 (unsigned char __RPC_FAR *)pTypeInfo,
10868 (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[10] );
10870 NdrSimpleStructBufferSize( (PMIDL_STUB_MESSAGE) &_StubMsg,
10871 (unsigned char __RPC_FAR *)riid,
10872 (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[38] );
10874 NdrProxyGetBuffer(This, &_StubMsg);
10875 NdrInterfacePointerMarshall( (PMIDL_STUB_MESSAGE)& _StubMsg,
10876 (unsigned char __RPC_FAR *)pTypeInfo,
10877 (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[10] );
10879 NdrSimpleStructMarshall( (PMIDL_STUB_MESSAGE)& _StubMsg,
10880 (unsigned char __RPC_FAR *)riid,
10881 (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[38] );
10883 NdrProxySendReceive(This, &_StubMsg);
10885 if ( (_RpcMessage.DataRepresentation & 0X0000FFFFUL) != NDR_LOCAL_DATA_REPRESENTATION )
10886 NdrConvert( (PMIDL_STUB_MESSAGE) &_StubMsg, (PFORMAT_STRING) &__MIDL_ProcFormatString.Format[480] );
10888 NdrPointerUnmarshall( (PMIDL_STUB_MESSAGE) &_StubMsg,
10889 (unsigned char __RPC_FAR * __RPC_FAR *)&ppv,
10890 (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[1896],
10891 (unsigned char)0 );
10893 _StubMsg.Buffer = (unsigned char __RPC_FAR *)(((long)_StubMsg.Buffer + 3) & ~ 0x3);
10894 _RetVal = *(( HRESULT __RPC_FAR * )_StubMsg.Buffer)++;
10897 RpcFinally
10899 NdrProxyFreeBuffer(This, &_StubMsg);
10902 RpcEndFinally
10905 RpcExcept(_StubMsg.dwStubPhase != PROXY_SENDRECEIVE)
10907 _StubMsg.MaxCount = (unsigned long) ( riid );
10909 NdrClearOutParameters(
10910 ( PMIDL_STUB_MESSAGE )&_StubMsg,
10911 ( PFORMAT_STRING )&__MIDL_TypeFormatString.Format[1896],
10912 ( void __RPC_FAR * )ppv);
10913 _RetVal = NdrProxyErrorHandler(RpcExceptionCode());
10915 RpcEndExcept
10916 return _RetVal;
10919 void __RPC_STUB ITypeFactory_CreateFromTypeInfo_Stub(
10920 IRpcStubBuffer *This,
10921 IRpcChannelBuffer *_pRpcChannelBuffer,
10922 PRPC_MESSAGE _pRpcMessage,
10923 DWORD *_pdwStubPhase)
10925 IUnknown __RPC_FAR *__RPC_FAR *_M101;
10926 HRESULT _RetVal;
10927 MIDL_STUB_MESSAGE _StubMsg;
10928 ITypeInfo __RPC_FAR *pTypeInfo;
10929 IUnknown __RPC_FAR *__RPC_FAR *ppv;
10930 REFIID riid = 0;
10932 NdrStubInitialize(
10933 _pRpcMessage,
10934 &_StubMsg,
10935 &Object_StubDesc,
10936 _pRpcChannelBuffer);
10937 pTypeInfo = 0;
10938 ( IUnknown __RPC_FAR *__RPC_FAR * )ppv = 0;
10939 RpcTryFinally
10941 if ( (_pRpcMessage->DataRepresentation & 0X0000FFFFUL) != NDR_LOCAL_DATA_REPRESENTATION )
10942 NdrConvert( (PMIDL_STUB_MESSAGE) &_StubMsg, (PFORMAT_STRING) &__MIDL_ProcFormatString.Format[480] );
10944 NdrInterfacePointerUnmarshall( (PMIDL_STUB_MESSAGE) &_StubMsg,
10945 (unsigned char __RPC_FAR * __RPC_FAR *)&pTypeInfo,
10946 (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[10],
10947 (unsigned char)0 );
10949 NdrSimpleStructUnmarshall( (PMIDL_STUB_MESSAGE) &_StubMsg,
10950 (unsigned char __RPC_FAR * __RPC_FAR *)&riid,
10951 (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[38],
10952 (unsigned char)0 );
10954 ppv = (void *)&_M101;
10955 _M101 = 0;
10957 *_pdwStubPhase = STUB_CALL_SERVER;
10958 _RetVal = (((ITypeFactory*) ((CStdStubBuffer *)This)->pvServerObject)->lpVtbl) -> CreateFromTypeInfo(
10959 (ITypeFactory *) ((CStdStubBuffer *)This)->pvServerObject,
10960 pTypeInfo,
10961 riid,
10962 ppv);
10964 *_pdwStubPhase = STUB_MARSHAL;
10966 _StubMsg.BufferLength = 0U + 4U;
10967 _StubMsg.MaxCount = (unsigned long) ( riid );
10969 NdrPointerBufferSize( (PMIDL_STUB_MESSAGE) &_StubMsg,
10970 (unsigned char __RPC_FAR *)ppv,
10971 (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[1896] );
10973 _StubMsg.BufferLength += 16;
10975 NdrStubGetBuffer(This, _pRpcChannelBuffer, &_StubMsg);
10976 _StubMsg.MaxCount = (unsigned long) ( riid );
10978 NdrPointerMarshall( (PMIDL_STUB_MESSAGE)& _StubMsg,
10979 (unsigned char __RPC_FAR *)ppv,
10980 (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[1896] );
10982 _StubMsg.Buffer = (unsigned char __RPC_FAR *)(((long)_StubMsg.Buffer + 3) & ~ 0x3);
10983 *(( HRESULT __RPC_FAR * )_StubMsg.Buffer)++ = _RetVal;
10986 RpcFinally
10988 NdrInterfacePointerFree( &_StubMsg,
10989 (unsigned char __RPC_FAR *)pTypeInfo,
10990 &__MIDL_TypeFormatString.Format[10] );
10992 _StubMsg.MaxCount = (unsigned long) ( riid );
10994 NdrPointerFree( &_StubMsg,
10995 (unsigned char __RPC_FAR *)ppv,
10996 &__MIDL_TypeFormatString.Format[1896] );
10999 RpcEndFinally
11000 _pRpcMessage->BufferLength =
11001 (unsigned int)((long)_StubMsg.Buffer - (long)_pRpcMessage->Buffer);
11005 extern const USER_MARSHAL_ROUTINE_QUADRUPLE UserMarshalRoutines[3];
11007 static const MIDL_STUB_DESC Object_StubDesc =
11010 NdrOleAllocate,
11011 NdrOleFree,
11012 { 0 },
11017 __MIDL_TypeFormatString.Format,
11018 1, /* -error bounds_check flag */
11019 0x20000, /* Ndr library version */
11021 0x50100a4, /* MIDL Version 5.1.164 */
11023 UserMarshalRoutines,
11024 0, /* notify & notify_flag routine table */
11025 1, /* Flags */
11026 0, /* Reserved3 */
11027 0, /* Reserved4 */
11028 0 /* Reserved5 */
11031 const CINTERFACE_PROXY_VTABLE(4) _ITypeFactoryProxyVtbl =
11033 { &IID_ITypeFactory },
11035 IUnknown_QueryInterface_Proxy,
11036 IUnknown_AddRef_Proxy,
11037 IUnknown_Release_Proxy ,
11038 ITypeFactory_CreateFromTypeInfo_Proxy
11043 static const PRPC_STUB_FUNCTION ITypeFactory_table[] =
11045 ITypeFactory_CreateFromTypeInfo_Stub
11048 const CInterfaceStubVtbl _ITypeFactoryStubVtbl =
11051 &IID_ITypeFactory,
11054 &ITypeFactory_table[-3]
11056 { CStdStubBuffer_METHODS }
11060 /* Object interface: ITypeMarshal, ver. 0.0,
11061 GUID={0x0000002D,0x0000,0x0000,{0xC0,0x00,0x00,0x00,0x00,0x00,0x00,0x46}} */
11064 /* Object interface: IRecordInfo, ver. 0.0,
11065 GUID={0x0000002F,0x0000,0x0000,{0xC0,0x00,0x00,0x00,0x00,0x00,0x00,0x46}} */
11068 /* Object interface: ICreateTypeInfo, ver. 0.0,
11069 GUID={0x00020405,0x0000,0x0000,{0xC0,0x00,0x00,0x00,0x00,0x00,0x00,0x46}} */
11072 /* Object interface: ICreateTypeInfo2, ver. 0.0,
11073 GUID={0x0002040E,0x0000,0x0000,{0xC0,0x00,0x00,0x00,0x00,0x00,0x00,0x46}} */
11076 /* Object interface: ICreateTypeLib, ver. 0.0,
11077 GUID={0x00020406,0x0000,0x0000,{0xC0,0x00,0x00,0x00,0x00,0x00,0x00,0x46}} */
11080 /* Object interface: ICreateTypeLib2, ver. 0.0,
11081 GUID={0x0002040F,0x0000,0x0000,{0xC0,0x00,0x00,0x00,0x00,0x00,0x00,0x46}} */
11083 static const USER_MARSHAL_ROUTINE_QUADRUPLE UserMarshalRoutines[3] =
11086 (USER_MARSHAL_SIZING_ROUTINE)VARIANT_UserSize,
11087 (USER_MARSHAL_MARSHALLING_ROUTINE)VARIANT_UserMarshal,
11088 (USER_MARSHAL_UNMARSHALLING_ROUTINE)VARIANT_UserUnmarshal,
11089 (USER_MARSHAL_FREEING_ROUTINE)VARIANT_UserFree
11092 (USER_MARSHAL_SIZING_ROUTINE)BSTR_UserSize,
11093 (USER_MARSHAL_MARSHALLING_ROUTINE)BSTR_UserMarshal,
11094 (USER_MARSHAL_UNMARSHALLING_ROUTINE)BSTR_UserUnmarshal,
11095 (USER_MARSHAL_FREEING_ROUTINE)BSTR_UserFree
11098 (USER_MARSHAL_SIZING_ROUTINE)CLEANLOCALSTORAGE_UserSize,
11099 (USER_MARSHAL_MARSHALLING_ROUTINE)CLEANLOCALSTORAGE_UserMarshal,
11100 (USER_MARSHAL_UNMARSHALLING_ROUTINE)CLEANLOCALSTORAGE_UserUnmarshal,
11101 (USER_MARSHAL_FREEING_ROUTINE)CLEANLOCALSTORAGE_UserFree
11107 #if !defined(__RPC_WIN32__)
11108 #error Invalid build platform for this stub.
11109 #endif
11111 #if !(TARGET_IS_NT40_OR_LATER)
11112 #error You need a Windows NT 4.0 or later to run this stub because it uses these features:
11113 #error [wire_marshal] or [user_marshal] attribute.
11114 #error However, your C/C++ compilation flags indicate you intend to run this app on earlier systems.
11115 #error This app will die there with the RPC_X_WRONG_STUB_VERSION error.
11116 #endif
11119 static const MIDL_PROC_FORMAT_STRING __MIDL_ProcFormatString =
11124 0x51, /* FC_OUT_PARAM */
11125 #ifndef _ALPHA_
11126 0x1, /* x86, MIPS & PPC Stack size = 1 */
11127 #else
11128 0x2, /* Alpha Stack size = 2 */
11129 #endif
11130 /* 2 */ NdrFcShort( 0x2 ), /* Type Offset=2 */
11131 /* 4 */ 0x53, /* FC_RETURN_PARAM_BASETYPE */
11132 0x8, /* FC_LONG */
11133 /* 6 */ 0x4e, /* FC_IN_PARAM_BASETYPE */
11134 0x8, /* FC_LONG */
11135 /* 8 */ 0x4e, /* FC_IN_PARAM_BASETYPE */
11136 0x8, /* FC_LONG */
11137 /* 10 */
11138 0x51, /* FC_OUT_PARAM */
11139 #ifndef _ALPHA_
11140 0x1, /* x86, MIPS & PPC Stack size = 1 */
11141 #else
11142 0x2, /* Alpha Stack size = 2 */
11143 #endif
11144 /* 12 */ NdrFcShort( 0x6 ), /* Type Offset=6 */
11145 /* 14 */ 0x53, /* FC_RETURN_PARAM_BASETYPE */
11146 0x8, /* FC_LONG */
11147 /* 16 */
11148 0x4d, /* FC_IN_PARAM */
11149 #ifndef _ALPHA_
11150 0x1, /* x86, MIPS & PPC Stack size = 1 */
11151 #else
11152 0x2, /* Alpha Stack size = 2 */
11153 #endif
11154 /* 18 */ NdrFcShort( 0x1c ), /* Type Offset=28 */
11155 /* 20 */
11156 0x4d, /* FC_IN_PARAM */
11157 #ifndef _ALPHA_
11158 0x1, /* x86, MIPS & PPC Stack size = 1 */
11159 #else
11160 0x2, /* Alpha Stack size = 2 */
11161 #endif
11162 /* 22 */ NdrFcShort( 0x32 ), /* Type Offset=50 */
11163 /* 24 */ 0x4e, /* FC_IN_PARAM_BASETYPE */
11164 0x8, /* FC_LONG */
11165 /* 26 */ 0x4e, /* FC_IN_PARAM_BASETYPE */
11166 0x8, /* FC_LONG */
11167 /* 28 */
11168 0x51, /* FC_OUT_PARAM */
11169 #ifndef _ALPHA_
11170 0x1, /* x86, MIPS & PPC Stack size = 1 */
11171 #else
11172 0x2, /* Alpha Stack size = 2 */
11173 #endif
11174 /* 30 */ NdrFcShort( 0x54 ), /* Type Offset=84 */
11175 /* 32 */ 0x53, /* FC_RETURN_PARAM_BASETYPE */
11176 0x8, /* FC_LONG */
11177 /* 34 */ 0x4e, /* FC_IN_PARAM_BASETYPE */
11178 0x8, /* FC_LONG */
11179 /* 36 */
11180 0x4d, /* FC_IN_PARAM */
11181 #ifndef _ALPHA_
11182 0x1, /* x86, MIPS & PPC Stack size = 1 */
11183 #else
11184 0x2, /* Alpha Stack size = 2 */
11185 #endif
11186 /* 38 */ NdrFcShort( 0x1c ), /* Type Offset=28 */
11187 /* 40 */ 0x4e, /* FC_IN_PARAM_BASETYPE */
11188 0x8, /* FC_LONG */
11189 /* 42 */ 0x4e, /* FC_IN_PARAM_BASETYPE */
11190 0x8, /* FC_LONG */
11191 /* 44 */
11192 0x4d, /* FC_IN_PARAM */
11193 #ifndef _ALPHA_
11194 0x1, /* x86, MIPS & PPC Stack size = 1 */
11195 #else
11196 0x2, /* Alpha Stack size = 2 */
11197 #endif
11198 /* 46 */ NdrFcShort( 0x62 ), /* Type Offset=98 */
11199 /* 48 */
11200 0x51, /* FC_OUT_PARAM */
11201 #ifndef _ALPHA_
11202 0x1, /* x86, MIPS & PPC Stack size = 1 */
11203 #else
11204 0x2, /* Alpha Stack size = 2 */
11205 #endif
11206 /* 50 */ NdrFcShort( 0x44e ), /* Type Offset=1102 */
11207 /* 52 */
11208 0x51, /* FC_OUT_PARAM */
11209 #ifndef _ALPHA_
11210 0x1, /* x86, MIPS & PPC Stack size = 1 */
11211 #else
11212 0x2, /* Alpha Stack size = 2 */
11213 #endif
11214 /* 54 */ NdrFcShort( 0x460 ), /* Type Offset=1120 */
11215 /* 56 */
11216 0x51, /* FC_OUT_PARAM */
11217 #ifndef _ALPHA_
11218 0x1, /* x86, MIPS & PPC Stack size = 1 */
11219 #else
11220 0x2, /* Alpha Stack size = 2 */
11221 #endif
11222 /* 58 */ NdrFcShort( 0x2 ), /* Type Offset=2 */
11223 /* 60 */ 0x4e, /* FC_IN_PARAM_BASETYPE */
11224 0x8, /* FC_LONG */
11225 /* 62 */
11226 0x4d, /* FC_IN_PARAM */
11227 #ifndef _ALPHA_
11228 0x1, /* x86, MIPS & PPC Stack size = 1 */
11229 #else
11230 0x2, /* Alpha Stack size = 2 */
11231 #endif
11232 /* 64 */ NdrFcShort( 0x48e ), /* Type Offset=1166 */
11233 /* 66 */
11234 0x50, /* FC_IN_OUT_PARAM */
11235 #ifndef _ALPHA_
11236 0x1, /* x86, MIPS & PPC Stack size = 1 */
11237 #else
11238 0x2, /* Alpha Stack size = 2 */
11239 #endif
11240 /* 68 */ NdrFcShort( 0x49c ), /* Type Offset=1180 */
11241 /* 70 */ 0x53, /* FC_RETURN_PARAM_BASETYPE */
11242 0x8, /* FC_LONG */
11243 /* 72 */ 0x4e, /* FC_IN_PARAM_BASETYPE */
11244 0x8, /* FC_LONG */
11245 /* 74 */
11246 0x51, /* FC_OUT_PARAM */
11247 #ifndef _ALPHA_
11248 0x1, /* x86, MIPS & PPC Stack size = 1 */
11249 #else
11250 0x2, /* Alpha Stack size = 2 */
11251 #endif
11252 /* 76 */ NdrFcShort( 0x4b2 ), /* Type Offset=1202 */
11253 /* 78 */
11254 0x51, /* FC_OUT_PARAM */
11255 #ifndef _ALPHA_
11256 0x1, /* x86, MIPS & PPC Stack size = 1 */
11257 #else
11258 0x2, /* Alpha Stack size = 2 */
11259 #endif
11260 /* 80 */ NdrFcShort( 0x2 ), /* Type Offset=2 */
11261 /* 82 */ 0x53, /* FC_RETURN_PARAM_BASETYPE */
11262 0x8, /* FC_LONG */
11263 /* 84 */ 0x4e, /* FC_IN_PARAM_BASETYPE */
11264 0x8, /* FC_LONG */
11265 /* 86 */ 0x53, /* FC_RETURN_PARAM_BASETYPE */
11266 0x8, /* FC_LONG */
11267 /* 88 */ 0x53, /* FC_RETURN_PARAM_BASETYPE */
11268 0x8, /* FC_LONG */
11269 /* 90 */
11270 0x51, /* FC_OUT_PARAM */
11271 #ifndef _ALPHA_
11272 0x1, /* x86, MIPS & PPC Stack size = 1 */
11273 #else
11274 0x2, /* Alpha Stack size = 2 */
11275 #endif
11276 /* 92 */ NdrFcShort( 0x4c8 ), /* Type Offset=1224 */
11277 /* 94 */ 0x53, /* FC_RETURN_PARAM_BASETYPE */
11278 0x8, /* FC_LONG */
11279 /* 96 */
11280 0x4d, /* FC_IN_PARAM */
11281 #ifndef _ALPHA_
11282 0x1, /* x86, MIPS & PPC Stack size = 1 */
11283 #else
11284 0x2, /* Alpha Stack size = 2 */
11285 #endif
11286 /* 98 */ NdrFcShort( 0x4de ), /* Type Offset=1246 */
11287 /* 100 */ 0x4e, /* FC_IN_PARAM_BASETYPE */
11288 0x8, /* FC_LONG */
11289 /* 102 */ 0x4e, /* FC_IN_PARAM_BASETYPE */
11290 0x6, /* FC_SHORT */
11291 /* 104 */
11292 0x51, /* FC_OUT_PARAM */
11293 #ifndef _ALPHA_
11294 0x1, /* x86, MIPS & PPC Stack size = 1 */
11295 #else
11296 0x2, /* Alpha Stack size = 2 */
11297 #endif
11298 /* 106 */ NdrFcShort( 0x6 ), /* Type Offset=6 */
11299 /* 108 */
11300 0x51, /* FC_OUT_PARAM */
11301 #ifndef _ALPHA_
11302 0x1, /* x86, MIPS & PPC Stack size = 1 */
11303 #else
11304 0x2, /* Alpha Stack size = 2 */
11305 #endif
11306 /* 110 */ NdrFcShort( 0x4e2 ), /* Type Offset=1250 */
11307 /* 112 */
11308 0x51, /* FC_OUT_PARAM */
11309 #ifndef _ALPHA_
11310 0x1, /* x86, MIPS & PPC Stack size = 1 */
11311 #else
11312 0x2, /* Alpha Stack size = 2 */
11313 #endif
11314 /* 114 */ NdrFcShort( 0x4e6 ), /* Type Offset=1254 */
11315 /* 116 */
11316 0x51, /* FC_OUT_PARAM */
11317 #ifndef _ALPHA_
11318 0x1, /* x86, MIPS & PPC Stack size = 1 */
11319 #else
11320 0x2, /* Alpha Stack size = 2 */
11321 #endif
11322 /* 118 */ NdrFcShort( 0x5b8 ), /* Type Offset=1464 */
11323 /* 120 */
11324 0x51, /* FC_OUT_PARAM */
11325 #ifndef _ALPHA_
11326 0x1, /* x86, MIPS & PPC Stack size = 1 */
11327 #else
11328 0x2, /* Alpha Stack size = 2 */
11329 #endif
11330 /* 122 */ NdrFcShort( 0x604 ), /* Type Offset=1540 */
11331 /* 124 */
11332 0x51, /* FC_OUT_PARAM */
11333 #ifndef _ALPHA_
11334 0x1, /* x86, MIPS & PPC Stack size = 1 */
11335 #else
11336 0x2, /* Alpha Stack size = 2 */
11337 #endif
11338 /* 126 */ NdrFcShort( 0x61a ), /* Type Offset=1562 */
11339 /* 128 */ 0x53, /* FC_RETURN_PARAM_BASETYPE */
11340 0x8, /* FC_LONG */
11341 /* 130 */
11342 0x4d, /* FC_IN_PARAM */
11343 #ifndef _ALPHA_
11344 0x1, /* x86, MIPS & PPC Stack size = 1 */
11345 #else
11346 0x2, /* Alpha Stack size = 2 */
11347 #endif
11348 /* 132 */ NdrFcShort( 0x4de ), /* Type Offset=1246 */
11349 /* 134 */ 0x4e, /* FC_IN_PARAM_BASETYPE */
11350 0x8, /* FC_LONG */
11351 /* 136 */
11352 0x51, /* FC_OUT_PARAM */
11353 #ifndef _ALPHA_
11354 0x1, /* x86, MIPS & PPC Stack size = 1 */
11355 #else
11356 0x2, /* Alpha Stack size = 2 */
11357 #endif
11358 /* 138 */ NdrFcShort( 0x6 ), /* Type Offset=6 */
11359 /* 140 */ 0x53, /* FC_RETURN_PARAM_BASETYPE */
11360 0x8, /* FC_LONG */
11361 /* 142 */
11362 0x51, /* FC_OUT_PARAM */
11363 #ifndef _ALPHA_
11364 0x1, /* x86, MIPS & PPC Stack size = 1 */
11365 #else
11366 0x2, /* Alpha Stack size = 2 */
11367 #endif
11368 /* 144 */ NdrFcShort( 0x62a ), /* Type Offset=1578 */
11369 /* 146 */
11370 0x51, /* FC_OUT_PARAM */
11371 #ifndef _ALPHA_
11372 0x1, /* x86, MIPS & PPC Stack size = 1 */
11373 #else
11374 0x2, /* Alpha Stack size = 2 */
11375 #endif
11376 /* 148 */ NdrFcShort( 0x666 ), /* Type Offset=1638 */
11377 /* 150 */ 0x53, /* FC_RETURN_PARAM_BASETYPE */
11378 0x8, /* FC_LONG */
11379 /* 152 */
11380 0x51, /* FC_OUT_PARAM */
11381 #ifndef _ALPHA_
11382 0x1, /* x86, MIPS & PPC Stack size = 1 */
11383 #else
11384 0x2, /* Alpha Stack size = 2 */
11385 #endif
11386 /* 154 */ NdrFcShort( 0x604 ), /* Type Offset=1540 */
11387 /* 156 */ 0x53, /* FC_RETURN_PARAM_BASETYPE */
11388 0x8, /* FC_LONG */
11389 /* 158 */ 0x4e, /* FC_IN_PARAM_BASETYPE */
11390 0x8, /* FC_LONG */
11391 /* 160 */
11392 0x51, /* FC_OUT_PARAM */
11393 #ifndef _ALPHA_
11394 0x1, /* x86, MIPS & PPC Stack size = 1 */
11395 #else
11396 0x2, /* Alpha Stack size = 2 */
11397 #endif
11398 /* 162 */ NdrFcShort( 0x4e6 ), /* Type Offset=1254 */
11399 /* 164 */
11400 0x51, /* FC_OUT_PARAM */
11401 #ifndef _ALPHA_
11402 0x1, /* x86, MIPS & PPC Stack size = 1 */
11403 #else
11404 0x2, /* Alpha Stack size = 2 */
11405 #endif
11406 /* 166 */ NdrFcShort( 0x676 ), /* Type Offset=1654 */
11407 /* 168 */ 0x53, /* FC_RETURN_PARAM_BASETYPE */
11408 0x8, /* FC_LONG */
11409 /* 170 */ 0x4e, /* FC_IN_PARAM_BASETYPE */
11410 0x8, /* FC_LONG */
11411 /* 172 */
11412 0x51, /* FC_OUT_PARAM */
11413 #ifndef _ALPHA_
11414 0x1, /* x86, MIPS & PPC Stack size = 1 */
11415 #else
11416 0x2, /* Alpha Stack size = 2 */
11417 #endif
11418 /* 174 */ NdrFcShort( 0x5b8 ), /* Type Offset=1464 */
11419 /* 176 */
11420 0x51, /* FC_OUT_PARAM */
11421 #ifndef _ALPHA_
11422 0x1, /* x86, MIPS & PPC Stack size = 1 */
11423 #else
11424 0x2, /* Alpha Stack size = 2 */
11425 #endif
11426 /* 178 */ NdrFcShort( 0x686 ), /* Type Offset=1670 */
11427 /* 180 */ 0x53, /* FC_RETURN_PARAM_BASETYPE */
11428 0x8, /* FC_LONG */
11429 /* 182 */ 0x4e, /* FC_IN_PARAM_BASETYPE */
11430 0x8, /* FC_LONG */
11431 /* 184 */
11432 0x51, /* FC_OUT_PARAM */
11433 #ifndef _ALPHA_
11434 0x1, /* x86, MIPS & PPC Stack size = 1 */
11435 #else
11436 0x2, /* Alpha Stack size = 2 */
11437 #endif
11438 /* 186 */ NdrFcShort( 0x696 ), /* Type Offset=1686 */
11439 /* 188 */ 0x4e, /* FC_IN_PARAM_BASETYPE */
11440 0x8, /* FC_LONG */
11441 /* 190 */
11442 0x51, /* FC_OUT_PARAM */
11443 #ifndef _ALPHA_
11444 0x1, /* x86, MIPS & PPC Stack size = 1 */
11445 #else
11446 0x2, /* Alpha Stack size = 2 */
11447 #endif
11448 /* 192 */ NdrFcShort( 0x2 ), /* Type Offset=2 */
11449 /* 194 */ 0x53, /* FC_RETURN_PARAM_BASETYPE */
11450 0x8, /* FC_LONG */
11451 /* 196 */ 0x4e, /* FC_IN_PARAM_BASETYPE */
11452 0x8, /* FC_LONG */
11453 /* 198 */
11454 0x51, /* FC_OUT_PARAM */
11455 #ifndef _ALPHA_
11456 0x1, /* x86, MIPS & PPC Stack size = 1 */
11457 #else
11458 0x2, /* Alpha Stack size = 2 */
11459 #endif
11460 /* 200 */ NdrFcShort( 0x2 ), /* Type Offset=2 */
11461 /* 202 */ 0x53, /* FC_RETURN_PARAM_BASETYPE */
11462 0x8, /* FC_LONG */
11463 /* 204 */ 0x4e, /* FC_IN_PARAM_BASETYPE */
11464 0x8, /* FC_LONG */
11465 /* 206 */ 0x4e, /* FC_IN_PARAM_BASETYPE */
11466 0x8, /* FC_LONG */
11467 /* 208 */
11468 0x51, /* FC_OUT_PARAM */
11469 #ifndef _ALPHA_
11470 0x1, /* x86, MIPS & PPC Stack size = 1 */
11471 #else
11472 0x2, /* Alpha Stack size = 2 */
11473 #endif
11474 /* 210 */ NdrFcShort( 0x6ac ), /* Type Offset=1708 */
11475 /* 212 */
11476 0x51, /* FC_OUT_PARAM */
11477 #ifndef _ALPHA_
11478 0x1, /* x86, MIPS & PPC Stack size = 1 */
11479 #else
11480 0x2, /* Alpha Stack size = 2 */
11481 #endif
11482 /* 214 */ NdrFcShort( 0x6ac ), /* Type Offset=1708 */
11483 /* 216 */
11484 0x51, /* FC_OUT_PARAM */
11485 #ifndef _ALPHA_
11486 0x1, /* x86, MIPS & PPC Stack size = 1 */
11487 #else
11488 0x2, /* Alpha Stack size = 2 */
11489 #endif
11490 /* 218 */ NdrFcShort( 0x2 ), /* Type Offset=2 */
11491 /* 220 */
11492 0x51, /* FC_OUT_PARAM */
11493 #ifndef _ALPHA_
11494 0x1, /* x86, MIPS & PPC Stack size = 1 */
11495 #else
11496 0x2, /* Alpha Stack size = 2 */
11497 #endif
11498 /* 222 */ NdrFcShort( 0x6ac ), /* Type Offset=1708 */
11499 /* 224 */ 0x53, /* FC_RETURN_PARAM_BASETYPE */
11500 0x8, /* FC_LONG */
11501 /* 226 */ 0x4e, /* FC_IN_PARAM_BASETYPE */
11502 0x8, /* FC_LONG */
11503 /* 228 */ 0x4e, /* FC_IN_PARAM_BASETYPE */
11504 0xe, /* FC_ENUM32 */
11505 /* 230 */ 0x4e, /* FC_IN_PARAM_BASETYPE */
11506 0x8, /* FC_LONG */
11507 /* 232 */
11508 0x51, /* FC_OUT_PARAM */
11509 #ifndef _ALPHA_
11510 0x1, /* x86, MIPS & PPC Stack size = 1 */
11511 #else
11512 0x2, /* Alpha Stack size = 2 */
11513 #endif
11514 /* 234 */ NdrFcShort( 0x6ac ), /* Type Offset=1708 */
11515 /* 236 */
11516 0x51, /* FC_OUT_PARAM */
11517 #ifndef _ALPHA_
11518 0x1, /* x86, MIPS & PPC Stack size = 1 */
11519 #else
11520 0x2, /* Alpha Stack size = 2 */
11521 #endif
11522 /* 238 */ NdrFcShort( 0x6ac ), /* Type Offset=1708 */
11523 /* 240 */
11524 0x51, /* FC_OUT_PARAM */
11525 #ifndef _ALPHA_
11526 0x1, /* x86, MIPS & PPC Stack size = 1 */
11527 #else
11528 0x2, /* Alpha Stack size = 2 */
11529 #endif
11530 /* 242 */ NdrFcShort( 0x6b0 ), /* Type Offset=1712 */
11531 /* 244 */ 0x53, /* FC_RETURN_PARAM_BASETYPE */
11532 0x8, /* FC_LONG */
11533 /* 246 */ 0x4e, /* FC_IN_PARAM_BASETYPE */
11534 0x8, /* FC_LONG */
11535 /* 248 */
11536 0x51, /* FC_OUT_PARAM */
11537 #ifndef _ALPHA_
11538 0x1, /* x86, MIPS & PPC Stack size = 1 */
11539 #else
11540 0x2, /* Alpha Stack size = 2 */
11541 #endif
11542 /* 250 */ NdrFcShort( 0x6 ), /* Type Offset=6 */
11543 /* 252 */ 0x53, /* FC_RETURN_PARAM_BASETYPE */
11544 0x8, /* FC_LONG */
11545 /* 254 */
11546 0x4d, /* FC_IN_PARAM */
11547 #ifndef _ALPHA_
11548 0x1, /* x86, MIPS & PPC Stack size = 1 */
11549 #else
11550 0x2, /* Alpha Stack size = 2 */
11551 #endif
11552 /* 256 */ NdrFcShort( 0x1c ), /* Type Offset=28 */
11553 /* 258 */
11554 0x51, /* FC_OUT_PARAM */
11555 #ifndef _ALPHA_
11556 0x1, /* x86, MIPS & PPC Stack size = 1 */
11557 #else
11558 0x2, /* Alpha Stack size = 2 */
11559 #endif
11560 /* 260 */ NdrFcShort( 0x6b4 ), /* Type Offset=1716 */
11561 /* 262 */ 0x53, /* FC_RETURN_PARAM_BASETYPE */
11562 0x8, /* FC_LONG */
11563 /* 264 */ 0x4e, /* FC_IN_PARAM_BASETYPE */
11564 0x8, /* FC_LONG */
11565 /* 266 */
11566 0x51, /* FC_OUT_PARAM */
11567 #ifndef _ALPHA_
11568 0x1, /* x86, MIPS & PPC Stack size = 1 */
11569 #else
11570 0x2, /* Alpha Stack size = 2 */
11571 #endif
11572 /* 268 */ NdrFcShort( 0x6ac ), /* Type Offset=1708 */
11573 /* 270 */ 0x53, /* FC_RETURN_PARAM_BASETYPE */
11574 0x8, /* FC_LONG */
11575 /* 272 */
11576 0x51, /* FC_OUT_PARAM */
11577 #ifndef _ALPHA_
11578 0x1, /* x86, MIPS & PPC Stack size = 1 */
11579 #else
11580 0x2, /* Alpha Stack size = 2 */
11581 #endif
11582 /* 274 */ NdrFcShort( 0x6be ), /* Type Offset=1726 */
11583 /* 276 */
11584 0x51, /* FC_OUT_PARAM */
11585 #ifndef _ALPHA_
11586 0x1, /* x86, MIPS & PPC Stack size = 1 */
11587 #else
11588 0x2, /* Alpha Stack size = 2 */
11589 #endif
11590 /* 278 */ NdrFcShort( 0x2 ), /* Type Offset=2 */
11591 /* 280 */ 0x53, /* FC_RETURN_PARAM_BASETYPE */
11592 0x8, /* FC_LONG */
11593 /* 282 */
11594 0x51, /* FC_OUT_PARAM */
11595 #ifndef _ALPHA_
11596 0x1, /* x86, MIPS & PPC Stack size = 1 */
11597 #else
11598 0x2, /* Alpha Stack size = 2 */
11599 #endif
11600 /* 284 */ NdrFcShort( 0x4e2 ), /* Type Offset=1250 */
11601 /* 286 */ 0x53, /* FC_RETURN_PARAM_BASETYPE */
11602 0x8, /* FC_LONG */
11603 /* 288 */ 0x4e, /* FC_IN_PARAM_BASETYPE */
11604 0x8, /* FC_LONG */
11605 /* 290 */ 0x4e, /* FC_IN_PARAM_BASETYPE */
11606 0xe, /* FC_ENUM32 */
11607 /* 292 */
11608 0x51, /* FC_OUT_PARAM */
11609 #ifndef _ALPHA_
11610 0x1, /* x86, MIPS & PPC Stack size = 1 */
11611 #else
11612 0x2, /* Alpha Stack size = 2 */
11613 #endif
11614 /* 294 */ NdrFcShort( 0x2 ), /* Type Offset=2 */
11615 /* 296 */ 0x53, /* FC_RETURN_PARAM_BASETYPE */
11616 0x8, /* FC_LONG */
11617 /* 298 */
11618 0x4d, /* FC_IN_PARAM */
11619 #ifndef _ALPHA_
11620 0x1, /* x86, MIPS & PPC Stack size = 1 */
11621 #else
11622 0x2, /* Alpha Stack size = 2 */
11623 #endif
11624 /* 300 */ NdrFcShort( 0x1c ), /* Type Offset=28 */
11625 /* 302 */
11626 0x51, /* FC_OUT_PARAM */
11627 #ifndef _ALPHA_
11628 0x1, /* x86, MIPS & PPC Stack size = 1 */
11629 #else
11630 0x2, /* Alpha Stack size = 2 */
11631 #endif
11632 /* 304 */ NdrFcShort( 0x44e ), /* Type Offset=1102 */
11633 /* 306 */ 0x53, /* FC_RETURN_PARAM_BASETYPE */
11634 0x8, /* FC_LONG */
11635 /* 308 */ 0x4e, /* FC_IN_PARAM_BASETYPE */
11636 0x8, /* FC_LONG */
11637 /* 310 */
11638 0x4d, /* FC_IN_PARAM */
11639 #ifndef _ALPHA_
11640 0x1, /* x86, MIPS & PPC Stack size = 1 */
11641 #else
11642 0x2, /* Alpha Stack size = 2 */
11643 #endif
11644 /* 312 */ NdrFcShort( 0x1c ), /* Type Offset=28 */
11645 /* 314 */
11646 0x51, /* FC_OUT_PARAM */
11647 #ifndef _ALPHA_
11648 0x1, /* x86, MIPS & PPC Stack size = 1 */
11649 #else
11650 0x2, /* Alpha Stack size = 2 */
11651 #endif
11652 /* 316 */ NdrFcShort( 0x44e ), /* Type Offset=1102 */
11653 /* 318 */ 0x53, /* FC_RETURN_PARAM_BASETYPE */
11654 0x8, /* FC_LONG */
11655 /* 320 */ 0x4e, /* FC_IN_PARAM_BASETYPE */
11656 0x8, /* FC_LONG */
11657 /* 322 */ 0x4e, /* FC_IN_PARAM_BASETYPE */
11658 0x8, /* FC_LONG */
11659 /* 324 */
11660 0x4d, /* FC_IN_PARAM */
11661 #ifndef _ALPHA_
11662 0x1, /* x86, MIPS & PPC Stack size = 1 */
11663 #else
11664 0x2, /* Alpha Stack size = 2 */
11665 #endif
11666 /* 326 */ NdrFcShort( 0x1c ), /* Type Offset=28 */
11667 /* 328 */
11668 0x51, /* FC_OUT_PARAM */
11669 #ifndef _ALPHA_
11670 0x1, /* x86, MIPS & PPC Stack size = 1 */
11671 #else
11672 0x2, /* Alpha Stack size = 2 */
11673 #endif
11674 /* 330 */ NdrFcShort( 0x44e ), /* Type Offset=1102 */
11675 /* 332 */ 0x53, /* FC_RETURN_PARAM_BASETYPE */
11676 0x8, /* FC_LONG */
11677 /* 334 */ 0x4e, /* FC_IN_PARAM_BASETYPE */
11678 0x8, /* FC_LONG */
11679 /* 336 */ 0x4e, /* FC_IN_PARAM_BASETYPE */
11680 0x8, /* FC_LONG */
11681 /* 338 */ 0x4e, /* FC_IN_PARAM_BASETYPE */
11682 0x8, /* FC_LONG */
11683 /* 340 */
11684 0x51, /* FC_OUT_PARAM */
11685 #ifndef _ALPHA_
11686 0x1, /* x86, MIPS & PPC Stack size = 1 */
11687 #else
11688 0x2, /* Alpha Stack size = 2 */
11689 #endif
11690 /* 342 */ NdrFcShort( 0x6ac ), /* Type Offset=1708 */
11691 /* 344 */
11692 0x51, /* FC_OUT_PARAM */
11693 #ifndef _ALPHA_
11694 0x1, /* x86, MIPS & PPC Stack size = 1 */
11695 #else
11696 0x2, /* Alpha Stack size = 2 */
11697 #endif
11698 /* 346 */ NdrFcShort( 0x2 ), /* Type Offset=2 */
11699 /* 348 */
11700 0x51, /* FC_OUT_PARAM */
11701 #ifndef _ALPHA_
11702 0x1, /* x86, MIPS & PPC Stack size = 1 */
11703 #else
11704 0x2, /* Alpha Stack size = 2 */
11705 #endif
11706 /* 350 */ NdrFcShort( 0x6ac ), /* Type Offset=1708 */
11707 /* 352 */ 0x53, /* FC_RETURN_PARAM_BASETYPE */
11708 0x8, /* FC_LONG */
11709 /* 354 */
11710 0x51, /* FC_OUT_PARAM */
11711 #ifndef _ALPHA_
11712 0x1, /* x86, MIPS & PPC Stack size = 1 */
11713 #else
11714 0x2, /* Alpha Stack size = 2 */
11715 #endif
11716 /* 356 */ NdrFcShort( 0x6d4 ), /* Type Offset=1748 */
11717 /* 358 */ 0x53, /* FC_RETURN_PARAM_BASETYPE */
11718 0x8, /* FC_LONG */
11719 /* 360 */ 0x4e, /* FC_IN_PARAM_BASETYPE */
11720 0x8, /* FC_LONG */
11721 /* 362 */
11722 0x51, /* FC_OUT_PARAM */
11723 #ifndef _ALPHA_
11724 0x1, /* x86, MIPS & PPC Stack size = 1 */
11725 #else
11726 0x2, /* Alpha Stack size = 2 */
11727 #endif
11728 /* 364 */ NdrFcShort( 0x6d4 ), /* Type Offset=1748 */
11729 /* 366 */ 0x53, /* FC_RETURN_PARAM_BASETYPE */
11730 0x8, /* FC_LONG */
11731 /* 368 */ 0x4e, /* FC_IN_PARAM_BASETYPE */
11732 0x8, /* FC_LONG */
11733 /* 370 */ 0x4e, /* FC_IN_PARAM_BASETYPE */
11734 0x8, /* FC_LONG */
11735 /* 372 */
11736 0x51, /* FC_OUT_PARAM */
11737 #ifndef _ALPHA_
11738 0x1, /* x86, MIPS & PPC Stack size = 1 */
11739 #else
11740 0x2, /* Alpha Stack size = 2 */
11741 #endif
11742 /* 374 */ NdrFcShort( 0x6d4 ), /* Type Offset=1748 */
11743 /* 376 */ 0x53, /* FC_RETURN_PARAM_BASETYPE */
11744 0x8, /* FC_LONG */
11745 /* 378 */ 0x4e, /* FC_IN_PARAM_BASETYPE */
11746 0x8, /* FC_LONG */
11747 /* 380 */
11748 0x51, /* FC_OUT_PARAM */
11749 #ifndef _ALPHA_
11750 0x1, /* x86, MIPS & PPC Stack size = 1 */
11751 #else
11752 0x2, /* Alpha Stack size = 2 */
11753 #endif
11754 /* 382 */ NdrFcShort( 0x4e2 ), /* Type Offset=1250 */
11755 /* 384 */ 0x53, /* FC_RETURN_PARAM_BASETYPE */
11756 0x8, /* FC_LONG */
11757 /* 386 */
11758 0x4d, /* FC_IN_PARAM */
11759 #ifndef _ALPHA_
11760 0x1, /* x86, MIPS & PPC Stack size = 1 */
11761 #else
11762 0x2, /* Alpha Stack size = 2 */
11763 #endif
11764 /* 388 */ NdrFcShort( 0x1c ), /* Type Offset=28 */
11765 /* 390 */
11766 0x51, /* FC_OUT_PARAM */
11767 #ifndef _ALPHA_
11768 0x1, /* x86, MIPS & PPC Stack size = 1 */
11769 #else
11770 0x2, /* Alpha Stack size = 2 */
11771 #endif
11772 /* 392 */ NdrFcShort( 0x6 ), /* Type Offset=6 */
11773 /* 394 */ 0x53, /* FC_RETURN_PARAM_BASETYPE */
11774 0x8, /* FC_LONG */
11775 /* 396 */
11776 0x51, /* FC_OUT_PARAM */
11777 #ifndef _ALPHA_
11778 0x1, /* x86, MIPS & PPC Stack size = 1 */
11779 #else
11780 0x2, /* Alpha Stack size = 2 */
11781 #endif
11782 /* 398 */ NdrFcShort( 0x70c ), /* Type Offset=1804 */
11783 /* 400 */
11784 0x51, /* FC_OUT_PARAM */
11785 #ifndef _ALPHA_
11786 0x1, /* x86, MIPS & PPC Stack size = 1 */
11787 #else
11788 0x2, /* Alpha Stack size = 2 */
11789 #endif
11790 /* 402 */ NdrFcShort( 0x728 ), /* Type Offset=1832 */
11791 /* 404 */ 0x53, /* FC_RETURN_PARAM_BASETYPE */
11792 0x8, /* FC_LONG */
11793 /* 406 */
11794 0x4d, /* FC_IN_PARAM */
11795 #ifndef _ALPHA_
11796 0x1, /* x86, MIPS & PPC Stack size = 1 */
11797 #else
11798 0x2, /* Alpha Stack size = 2 */
11799 #endif
11800 /* 408 */ NdrFcShort( 0x4de ), /* Type Offset=1246 */
11801 /* 410 */ 0x4e, /* FC_IN_PARAM_BASETYPE */
11802 0x8, /* FC_LONG */
11803 /* 412 */
11804 0x51, /* FC_OUT_PARAM */
11805 #ifndef _ALPHA_
11806 0x1, /* x86, MIPS & PPC Stack size = 1 */
11807 #else
11808 0x2, /* Alpha Stack size = 2 */
11809 #endif
11810 /* 414 */ NdrFcShort( 0x2 ), /* Type Offset=2 */
11811 /* 416 */
11812 0x51, /* FC_OUT_PARAM */
11813 #ifndef _ALPHA_
11814 0x1, /* x86, MIPS & PPC Stack size = 1 */
11815 #else
11816 0x2, /* Alpha Stack size = 2 */
11817 #endif
11818 /* 418 */ NdrFcShort( 0x6ac ), /* Type Offset=1708 */
11819 /* 420 */ 0x53, /* FC_RETURN_PARAM_BASETYPE */
11820 0x8, /* FC_LONG */
11821 /* 422 */
11822 0x4d, /* FC_IN_PARAM */
11823 #ifndef _ALPHA_
11824 0x1, /* x86, MIPS & PPC Stack size = 1 */
11825 #else
11826 0x2, /* Alpha Stack size = 2 */
11827 #endif
11828 /* 424 */ NdrFcShort( 0x4de ), /* Type Offset=1246 */
11829 /* 426 */ 0x4e, /* FC_IN_PARAM_BASETYPE */
11830 0x8, /* FC_LONG */
11831 /* 428 */
11832 0x51, /* FC_OUT_PARAM */
11833 #ifndef _ALPHA_
11834 0x1, /* x86, MIPS & PPC Stack size = 1 */
11835 #else
11836 0x2, /* Alpha Stack size = 2 */
11837 #endif
11838 /* 430 */ NdrFcShort( 0x738 ), /* Type Offset=1848 */
11839 /* 432 */
11840 0x51, /* FC_OUT_PARAM */
11841 #ifndef _ALPHA_
11842 0x1, /* x86, MIPS & PPC Stack size = 1 */
11843 #else
11844 0x2, /* Alpha Stack size = 2 */
11845 #endif
11846 /* 434 */ NdrFcShort( 0x74e ), /* Type Offset=1870 */
11847 /* 436 */
11848 0x50, /* FC_IN_OUT_PARAM */
11849 #ifndef _ALPHA_
11850 0x1, /* x86, MIPS & PPC Stack size = 1 */
11851 #else
11852 0x2, /* Alpha Stack size = 2 */
11853 #endif
11854 /* 438 */ NdrFcShort( 0x760 ), /* Type Offset=1888 */
11855 /* 440 */
11856 0x51, /* FC_OUT_PARAM */
11857 #ifndef _ALPHA_
11858 0x1, /* x86, MIPS & PPC Stack size = 1 */
11859 #else
11860 0x2, /* Alpha Stack size = 2 */
11861 #endif
11862 /* 442 */ NdrFcShort( 0x6ac ), /* Type Offset=1708 */
11863 /* 444 */ 0x53, /* FC_RETURN_PARAM_BASETYPE */
11864 0x8, /* FC_LONG */
11865 /* 446 */
11866 0x51, /* FC_OUT_PARAM */
11867 #ifndef _ALPHA_
11868 0x1, /* x86, MIPS & PPC Stack size = 1 */
11869 #else
11870 0x2, /* Alpha Stack size = 2 */
11871 #endif
11872 /* 448 */ NdrFcShort( 0x2 ), /* Type Offset=2 */
11873 /* 450 */
11874 0x51, /* FC_OUT_PARAM */
11875 #ifndef _ALPHA_
11876 0x1, /* x86, MIPS & PPC Stack size = 1 */
11877 #else
11878 0x2, /* Alpha Stack size = 2 */
11879 #endif
11880 /* 452 */ NdrFcShort( 0x2 ), /* Type Offset=2 */
11881 /* 454 */ 0x53, /* FC_RETURN_PARAM_BASETYPE */
11882 0x8, /* FC_LONG */
11883 /* 456 */
11884 0x51, /* FC_OUT_PARAM */
11885 #ifndef _ALPHA_
11886 0x1, /* x86, MIPS & PPC Stack size = 1 */
11887 #else
11888 0x2, /* Alpha Stack size = 2 */
11889 #endif
11890 /* 458 */ NdrFcShort( 0x764 ), /* Type Offset=1892 */
11891 /* 460 */ 0x53, /* FC_RETURN_PARAM_BASETYPE */
11892 0x8, /* FC_LONG */
11893 /* 462 */
11894 0x51, /* FC_OUT_PARAM */
11895 #ifndef _ALPHA_
11896 0x1, /* x86, MIPS & PPC Stack size = 1 */
11897 #else
11898 0x2, /* Alpha Stack size = 2 */
11899 #endif
11900 /* 464 */ NdrFcShort( 0x6ac ), /* Type Offset=1708 */
11901 /* 466 */ 0x53, /* FC_RETURN_PARAM_BASETYPE */
11902 0x8, /* FC_LONG */
11903 /* 468 */
11904 0x4d, /* FC_IN_PARAM */
11905 #ifndef _ALPHA_
11906 0x1, /* x86, MIPS & PPC Stack size = 1 */
11907 #else
11908 0x2, /* Alpha Stack size = 2 */
11909 #endif
11910 /* 470 */ NdrFcShort( 0x1c ), /* Type Offset=28 */
11911 /* 472 */ 0x53, /* FC_RETURN_PARAM_BASETYPE */
11912 0x8, /* FC_LONG */
11913 /* 474 */
11914 0x4d, /* FC_IN_PARAM */
11915 #ifndef _ALPHA_
11916 0x1, /* x86, MIPS & PPC Stack size = 1 */
11917 #else
11918 0x2, /* Alpha Stack size = 2 */
11919 #endif
11920 /* 476 */ NdrFcShort( 0x4de ), /* Type Offset=1246 */
11921 /* 478 */ 0x53, /* FC_RETURN_PARAM_BASETYPE */
11922 0x8, /* FC_LONG */
11923 /* 480 */
11924 0x4d, /* FC_IN_PARAM */
11925 #ifndef _ALPHA_
11926 0x1, /* x86, MIPS & PPC Stack size = 1 */
11927 #else
11928 0x2, /* Alpha Stack size = 2 */
11929 #endif
11930 /* 482 */ NdrFcShort( 0xa ), /* Type Offset=10 */
11931 /* 484 */
11932 0x4d, /* FC_IN_PARAM */
11933 #ifndef _ALPHA_
11934 0x1, /* x86, MIPS & PPC Stack size = 1 */
11935 #else
11936 0x2, /* Alpha Stack size = 2 */
11937 #endif
11938 /* 486 */ NdrFcShort( 0x1c ), /* Type Offset=28 */
11939 /* 488 */
11940 0x51, /* FC_OUT_PARAM */
11941 #ifndef _ALPHA_
11942 0x1, /* x86, MIPS & PPC Stack size = 1 */
11943 #else
11944 0x2, /* Alpha Stack size = 2 */
11945 #endif
11946 /* 490 */ NdrFcShort( 0x768 ), /* Type Offset=1896 */
11947 /* 492 */ 0x53, /* FC_RETURN_PARAM_BASETYPE */
11948 0x8, /* FC_LONG */
11954 static const MIDL_TYPE_FORMAT_STRING __MIDL_TypeFormatString =
11958 NdrFcShort( 0x0 ), /* 0 */
11959 /* 2 */
11960 0x11, 0xc, /* FC_RP [alloced_on_stack] [simple_pointer] */
11961 /* 4 */ 0x8, /* FC_LONG */
11962 0x5c, /* FC_PAD */
11963 /* 6 */
11964 0x11, 0x14, /* FC_RP [alloced_on_stack] */
11965 /* 8 */ NdrFcShort( 0x2 ), /* Offset= 2 (10) */
11966 /* 10 */
11967 0x2f, /* FC_IP */
11968 0x5a, /* FC_CONSTANT_IID */
11969 /* 12 */ NdrFcLong( 0x20401 ), /* 132097 */
11970 /* 16 */ NdrFcShort( 0x0 ), /* 0 */
11971 /* 18 */ NdrFcShort( 0x0 ), /* 0 */
11972 /* 20 */ 0xc0, /* 192 */
11973 0x0, /* 0 */
11974 /* 22 */ 0x0, /* 0 */
11975 0x0, /* 0 */
11976 /* 24 */ 0x0, /* 0 */
11977 0x0, /* 0 */
11978 /* 26 */ 0x0, /* 0 */
11979 0x46, /* 70 */
11980 /* 28 */
11981 0x11, 0x0, /* FC_RP */
11982 /* 30 */ NdrFcShort( 0x8 ), /* Offset= 8 (38) */
11983 /* 32 */
11984 0x1d, /* FC_SMFARRAY */
11985 0x0, /* 0 */
11986 /* 34 */ NdrFcShort( 0x8 ), /* 8 */
11987 /* 36 */ 0x2, /* FC_CHAR */
11988 0x5b, /* FC_END */
11989 /* 38 */
11990 0x15, /* FC_STRUCT */
11991 0x3, /* 3 */
11992 /* 40 */ NdrFcShort( 0x10 ), /* 16 */
11993 /* 42 */ 0x8, /* FC_LONG */
11994 0x6, /* FC_SHORT */
11995 /* 44 */ 0x6, /* FC_SHORT */
11996 0x4c, /* FC_EMBEDDED_COMPLEX */
11997 /* 46 */ 0x0, /* 0 */
11998 NdrFcShort( 0xfffffff1 ), /* Offset= -15 (32) */
11999 0x5b, /* FC_END */
12000 /* 50 */
12001 0x11, 0x0, /* FC_RP */
12002 /* 52 */ NdrFcShort( 0x2 ), /* Offset= 2 (54) */
12003 /* 54 */
12004 0x1b, /* FC_CARRAY */
12005 0x3, /* 3 */
12006 /* 56 */ NdrFcShort( 0x4 ), /* 4 */
12007 /* 58 */ 0x29, /* Corr desc: parameter, FC_ULONG */
12008 0x0, /* */
12009 #ifndef _ALPHA_
12010 /* 60 */ NdrFcShort( 0xc ), /* x86, MIPS, PPC Stack size/offset = 12 */
12011 #else
12012 NdrFcShort( 0x18 ), /* Alpha Stack size/offset = 24 */
12013 #endif
12014 /* 62 */
12015 0x4b, /* FC_PP */
12016 0x5c, /* FC_PAD */
12017 /* 64 */
12018 0x48, /* FC_VARIABLE_REPEAT */
12019 0x49, /* FC_FIXED_OFFSET */
12020 /* 66 */ NdrFcShort( 0x4 ), /* 4 */
12021 /* 68 */ NdrFcShort( 0x0 ), /* 0 */
12022 /* 70 */ NdrFcShort( 0x1 ), /* 1 */
12023 /* 72 */ NdrFcShort( 0x0 ), /* 0 */
12024 /* 74 */ NdrFcShort( 0x0 ), /* 0 */
12025 /* 76 */ 0x12, 0x8, /* FC_UP [simple_pointer] */
12026 /* 78 */
12027 0x25, /* FC_C_WSTRING */
12028 0x5c, /* FC_PAD */
12029 /* 80 */
12030 0x5b, /* FC_END */
12032 0x8, /* FC_LONG */
12033 /* 82 */ 0x5c, /* FC_PAD */
12034 0x5b, /* FC_END */
12035 /* 84 */
12036 0x11, 0x0, /* FC_RP */
12037 /* 86 */ NdrFcShort( 0x2 ), /* Offset= 2 (88) */
12038 /* 88 */
12039 0x1b, /* FC_CARRAY */
12040 0x3, /* 3 */
12041 /* 90 */ NdrFcShort( 0x4 ), /* 4 */
12042 /* 92 */ 0x29, /* Corr desc: parameter, FC_ULONG */
12043 0x0, /* */
12044 #ifndef _ALPHA_
12045 /* 94 */ NdrFcShort( 0xc ), /* x86, MIPS, PPC Stack size/offset = 12 */
12046 #else
12047 NdrFcShort( 0x18 ), /* Alpha Stack size/offset = 24 */
12048 #endif
12049 /* 96 */ 0x8, /* FC_LONG */
12050 0x5b, /* FC_END */
12051 /* 98 */
12052 0x11, 0x0, /* FC_RP */
12053 /* 100 */ NdrFcShort( 0x3d4 ), /* Offset= 980 (1080) */
12054 /* 102 */
12055 0x12, 0x0, /* FC_UP */
12056 /* 104 */ NdrFcShort( 0x396 ), /* Offset= 918 (1022) */
12057 /* 106 */
12058 0x2b, /* FC_NON_ENCAPSULATED_UNION */
12059 0x7, /* FC_USHORT */
12060 /* 108 */ 0x7, /* Corr desc: FC_USHORT */
12061 0x0, /* */
12062 /* 110 */ NdrFcShort( 0xfff8 ), /* -8 */
12063 /* 112 */ NdrFcShort( 0x2 ), /* Offset= 2 (114) */
12064 /* 114 */ NdrFcShort( 0x10 ), /* 16 */
12065 /* 116 */ NdrFcShort( 0x2b ), /* 43 */
12066 /* 118 */ NdrFcLong( 0x0 ), /* 0 */
12067 /* 122 */ NdrFcShort( 0x0 ), /* Offset= 0 (122) */
12068 /* 124 */ NdrFcLong( 0x1 ), /* 1 */
12069 /* 128 */ NdrFcShort( 0x0 ), /* Offset= 0 (128) */
12070 /* 130 */ NdrFcLong( 0x10 ), /* 16 */
12071 /* 134 */ NdrFcShort( 0x8002 ), /* Simple arm type: FC_CHAR */
12072 /* 136 */ NdrFcLong( 0x12 ), /* 18 */
12073 /* 140 */ NdrFcShort( 0x8006 ), /* Simple arm type: FC_SHORT */
12074 /* 142 */ NdrFcLong( 0x13 ), /* 19 */
12075 /* 146 */ NdrFcShort( 0x8008 ), /* Simple arm type: FC_LONG */
12076 /* 148 */ NdrFcLong( 0x16 ), /* 22 */
12077 /* 152 */ NdrFcShort( 0x8008 ), /* Simple arm type: FC_LONG */
12078 /* 154 */ NdrFcLong( 0x17 ), /* 23 */
12079 /* 158 */ NdrFcShort( 0x8008 ), /* Simple arm type: FC_LONG */
12080 /* 160 */ NdrFcLong( 0x11 ), /* 17 */
12081 /* 164 */ NdrFcShort( 0x8002 ), /* Simple arm type: FC_CHAR */
12082 /* 166 */ NdrFcLong( 0x2 ), /* 2 */
12083 /* 170 */ NdrFcShort( 0x8006 ), /* Simple arm type: FC_SHORT */
12084 /* 172 */ NdrFcLong( 0x3 ), /* 3 */
12085 /* 176 */ NdrFcShort( 0x8008 ), /* Simple arm type: FC_LONG */
12086 /* 178 */ NdrFcLong( 0x4 ), /* 4 */
12087 /* 182 */ NdrFcShort( 0x800a ), /* Simple arm type: FC_FLOAT */
12088 /* 184 */ NdrFcLong( 0x5 ), /* 5 */
12089 /* 188 */ NdrFcShort( 0x800c ), /* Simple arm type: FC_DOUBLE */
12090 /* 190 */ NdrFcLong( 0xb ), /* 11 */
12091 /* 194 */ NdrFcShort( 0x8006 ), /* Simple arm type: FC_SHORT */
12092 /* 196 */ NdrFcLong( 0xa ), /* 10 */
12093 /* 200 */ NdrFcShort( 0x8008 ), /* Simple arm type: FC_LONG */
12094 /* 202 */ NdrFcLong( 0x7 ), /* 7 */
12095 /* 206 */ NdrFcShort( 0x800c ), /* Simple arm type: FC_DOUBLE */
12096 /* 208 */ NdrFcLong( 0x8 ), /* 8 */
12097 /* 212 */ NdrFcShort( 0xa6 ), /* Offset= 166 (378) */
12098 /* 214 */ NdrFcLong( 0x6 ), /* 6 */
12099 /* 218 */ NdrFcShort( 0xb8 ), /* Offset= 184 (402) */
12100 /* 220 */ NdrFcLong( 0xe ), /* 14 */
12101 /* 224 */ NdrFcShort( 0xb8 ), /* Offset= 184 (408) */
12102 /* 226 */ NdrFcLong( 0xd ), /* 13 */
12103 /* 230 */ NdrFcShort( 0xbe ), /* Offset= 190 (420) */
12104 /* 232 */ NdrFcLong( 0x9 ), /* 9 */
12105 /* 236 */ NdrFcShort( 0xca ), /* Offset= 202 (438) */
12106 /* 238 */ NdrFcLong( 0x2000 ), /* 8192 */
12107 /* 242 */ NdrFcShort( 0xd6 ), /* Offset= 214 (456) */
12108 /* 244 */ NdrFcLong( 0x4010 ), /* 16400 */
12109 /* 248 */ NdrFcShort( 0x2ce ), /* Offset= 718 (966) */
12110 /* 250 */ NdrFcLong( 0x4012 ), /* 16402 */
12111 /* 254 */ NdrFcShort( 0x2cc ), /* Offset= 716 (970) */
12112 /* 256 */ NdrFcLong( 0x4013 ), /* 16403 */
12113 /* 260 */ NdrFcShort( 0x2ca ), /* Offset= 714 (974) */
12114 /* 262 */ NdrFcLong( 0x4016 ), /* 16406 */
12115 /* 266 */ NdrFcShort( 0x2c4 ), /* Offset= 708 (974) */
12116 /* 268 */ NdrFcLong( 0x4017 ), /* 16407 */
12117 /* 272 */ NdrFcShort( 0x2be ), /* Offset= 702 (974) */
12118 /* 274 */ NdrFcLong( 0x4011 ), /* 16401 */
12119 /* 278 */ NdrFcShort( 0x2b0 ), /* Offset= 688 (966) */
12120 /* 280 */ NdrFcLong( 0x4002 ), /* 16386 */
12121 /* 284 */ NdrFcShort( 0x2ae ), /* Offset= 686 (970) */
12122 /* 286 */ NdrFcLong( 0x4003 ), /* 16387 */
12123 /* 290 */ NdrFcShort( 0x2ac ), /* Offset= 684 (974) */
12124 /* 292 */ NdrFcLong( 0x4004 ), /* 16388 */
12125 /* 296 */ NdrFcShort( 0x2aa ), /* Offset= 682 (978) */
12126 /* 298 */ NdrFcLong( 0x4005 ), /* 16389 */
12127 /* 302 */ NdrFcShort( 0x2a8 ), /* Offset= 680 (982) */
12128 /* 304 */ NdrFcLong( 0x400b ), /* 16395 */
12129 /* 308 */ NdrFcShort( 0x296 ), /* Offset= 662 (970) */
12130 /* 310 */ NdrFcLong( 0x400a ), /* 16394 */
12131 /* 314 */ NdrFcShort( 0x294 ), /* Offset= 660 (974) */
12132 /* 316 */ NdrFcLong( 0x4007 ), /* 16391 */
12133 /* 320 */ NdrFcShort( 0x296 ), /* Offset= 662 (982) */
12134 /* 322 */ NdrFcLong( 0x4008 ), /* 16392 */
12135 /* 326 */ NdrFcShort( 0x294 ), /* Offset= 660 (986) */
12136 /* 328 */ NdrFcLong( 0x400c ), /* 16396 */
12137 /* 332 */ NdrFcShort( 0x292 ), /* Offset= 658 (990) */
12138 /* 334 */ NdrFcLong( 0x4006 ), /* 16390 */
12139 /* 338 */ NdrFcShort( 0x294 ), /* Offset= 660 (998) */
12140 /* 340 */ NdrFcLong( 0x400e ), /* 16398 */
12141 /* 344 */ NdrFcShort( 0x292 ), /* Offset= 658 (1002) */
12142 /* 346 */ NdrFcLong( 0x400d ), /* 16397 */
12143 /* 350 */ NdrFcShort( 0x290 ), /* Offset= 656 (1006) */
12144 /* 352 */ NdrFcLong( 0x4009 ), /* 16393 */
12145 /* 356 */ NdrFcShort( 0x28e ), /* Offset= 654 (1010) */
12146 /* 358 */ NdrFcLong( 0x6000 ), /* 24576 */
12147 /* 362 */ NdrFcShort( 0x28c ), /* Offset= 652 (1014) */
12148 /* 364 */ NdrFcLong( 0x24 ), /* 36 */
12149 /* 368 */ NdrFcShort( 0x28a ), /* Offset= 650 (1018) */
12150 /* 370 */ NdrFcLong( 0x4024 ), /* 16420 */
12151 /* 374 */ NdrFcShort( 0x284 ), /* Offset= 644 (1018) */
12152 /* 376 */ NdrFcShort( 0xffffffff ), /* Offset= -1 (375) */
12153 /* 378 */
12154 0x12, 0x0, /* FC_UP */
12155 /* 380 */ NdrFcShort( 0xc ), /* Offset= 12 (392) */
12156 /* 382 */
12157 0x1b, /* FC_CARRAY */
12158 0x1, /* 1 */
12159 /* 384 */ NdrFcShort( 0x2 ), /* 2 */
12160 /* 386 */ 0x9, /* Corr desc: FC_ULONG */
12161 0x0, /* */
12162 /* 388 */ NdrFcShort( 0xfffc ), /* -4 */
12163 /* 390 */ 0x6, /* FC_SHORT */
12164 0x5b, /* FC_END */
12165 /* 392 */
12166 0x17, /* FC_CSTRUCT */
12167 0x3, /* 3 */
12168 /* 394 */ NdrFcShort( 0x8 ), /* 8 */
12169 /* 396 */ NdrFcShort( 0xfffffff2 ), /* Offset= -14 (382) */
12170 /* 398 */ 0x8, /* FC_LONG */
12171 0x8, /* FC_LONG */
12172 /* 400 */ 0x5c, /* FC_PAD */
12173 0x5b, /* FC_END */
12174 /* 402 */
12175 0x15, /* FC_STRUCT */
12176 0x7, /* 7 */
12177 /* 404 */ NdrFcShort( 0x8 ), /* 8 */
12178 /* 406 */ 0xb, /* FC_HYPER */
12179 0x5b, /* FC_END */
12180 /* 408 */
12181 0x15, /* FC_STRUCT */
12182 0x7, /* 7 */
12183 /* 410 */ NdrFcShort( 0x10 ), /* 16 */
12184 /* 412 */ 0x6, /* FC_SHORT */
12185 0x2, /* FC_CHAR */
12186 /* 414 */ 0x2, /* FC_CHAR */
12187 0x38, /* FC_ALIGNM4 */
12188 /* 416 */ 0x8, /* FC_LONG */
12189 0x39, /* FC_ALIGNM8 */
12190 /* 418 */ 0xb, /* FC_HYPER */
12191 0x5b, /* FC_END */
12192 /* 420 */
12193 0x2f, /* FC_IP */
12194 0x5a, /* FC_CONSTANT_IID */
12195 /* 422 */ NdrFcLong( 0x0 ), /* 0 */
12196 /* 426 */ NdrFcShort( 0x0 ), /* 0 */
12197 /* 428 */ NdrFcShort( 0x0 ), /* 0 */
12198 /* 430 */ 0xc0, /* 192 */
12199 0x0, /* 0 */
12200 /* 432 */ 0x0, /* 0 */
12201 0x0, /* 0 */
12202 /* 434 */ 0x0, /* 0 */
12203 0x0, /* 0 */
12204 /* 436 */ 0x0, /* 0 */
12205 0x46, /* 70 */
12206 /* 438 */
12207 0x2f, /* FC_IP */
12208 0x5a, /* FC_CONSTANT_IID */
12209 /* 440 */ NdrFcLong( 0x20400 ), /* 132096 */
12210 /* 444 */ NdrFcShort( 0x0 ), /* 0 */
12211 /* 446 */ NdrFcShort( 0x0 ), /* 0 */
12212 /* 448 */ 0xc0, /* 192 */
12213 0x0, /* 0 */
12214 /* 450 */ 0x0, /* 0 */
12215 0x0, /* 0 */
12216 /* 452 */ 0x0, /* 0 */
12217 0x0, /* 0 */
12218 /* 454 */ 0x0, /* 0 */
12219 0x46, /* 70 */
12220 /* 456 */
12221 0x12, 0x0, /* FC_UP */
12222 /* 458 */ NdrFcShort( 0x1ea ), /* Offset= 490 (948) */
12223 /* 460 */
12224 0x2a, /* FC_ENCAPSULATED_UNION */
12225 0x49, /* 73 */
12226 /* 462 */ NdrFcShort( 0x18 ), /* 24 */
12227 /* 464 */ NdrFcShort( 0xa ), /* 10 */
12228 /* 466 */ NdrFcLong( 0x8 ), /* 8 */
12229 /* 470 */ NdrFcShort( 0x58 ), /* Offset= 88 (558) */
12230 /* 472 */ NdrFcLong( 0xd ), /* 13 */
12231 /* 476 */ NdrFcShort( 0x78 ), /* Offset= 120 (596) */
12232 /* 478 */ NdrFcLong( 0x9 ), /* 9 */
12233 /* 482 */ NdrFcShort( 0x94 ), /* Offset= 148 (630) */
12234 /* 484 */ NdrFcLong( 0xc ), /* 12 */
12235 /* 488 */ NdrFcShort( 0xbc ), /* Offset= 188 (676) */
12236 /* 490 */ NdrFcLong( 0x24 ), /* 36 */
12237 /* 494 */ NdrFcShort( 0x114 ), /* Offset= 276 (770) */
12238 /* 496 */ NdrFcLong( 0x800d ), /* 32781 */
12239 /* 500 */ NdrFcShort( 0x11e ), /* Offset= 286 (786) */
12240 /* 502 */ NdrFcLong( 0x10 ), /* 16 */
12241 /* 506 */ NdrFcShort( 0x136 ), /* Offset= 310 (816) */
12242 /* 508 */ NdrFcLong( 0x2 ), /* 2 */
12243 /* 512 */ NdrFcShort( 0x14e ), /* Offset= 334 (846) */
12244 /* 514 */ NdrFcLong( 0x3 ), /* 3 */
12245 /* 518 */ NdrFcShort( 0x166 ), /* Offset= 358 (876) */
12246 /* 520 */ NdrFcLong( 0x14 ), /* 20 */
12247 /* 524 */ NdrFcShort( 0x17e ), /* Offset= 382 (906) */
12248 /* 526 */ NdrFcShort( 0xffffffff ), /* Offset= -1 (525) */
12249 /* 528 */
12250 0x1b, /* FC_CARRAY */
12251 0x3, /* 3 */
12252 /* 530 */ NdrFcShort( 0x4 ), /* 4 */
12253 /* 532 */ 0x19, /* Corr desc: field pointer, FC_ULONG */
12254 0x0, /* */
12255 /* 534 */ NdrFcShort( 0x0 ), /* 0 */
12256 /* 536 */
12257 0x4b, /* FC_PP */
12258 0x5c, /* FC_PAD */
12259 /* 538 */
12260 0x48, /* FC_VARIABLE_REPEAT */
12261 0x49, /* FC_FIXED_OFFSET */
12262 /* 540 */ NdrFcShort( 0x4 ), /* 4 */
12263 /* 542 */ NdrFcShort( 0x0 ), /* 0 */
12264 /* 544 */ NdrFcShort( 0x1 ), /* 1 */
12265 /* 546 */ NdrFcShort( 0x0 ), /* 0 */
12266 /* 548 */ NdrFcShort( 0x0 ), /* 0 */
12267 /* 550 */ 0x12, 0x0, /* FC_UP */
12268 /* 552 */ NdrFcShort( 0xffffff60 ), /* Offset= -160 (392) */
12269 /* 554 */
12270 0x5b, /* FC_END */
12272 0x8, /* FC_LONG */
12273 /* 556 */ 0x5c, /* FC_PAD */
12274 0x5b, /* FC_END */
12275 /* 558 */
12276 0x16, /* FC_PSTRUCT */
12277 0x3, /* 3 */
12278 /* 560 */ NdrFcShort( 0x8 ), /* 8 */
12279 /* 562 */
12280 0x4b, /* FC_PP */
12281 0x5c, /* FC_PAD */
12282 /* 564 */
12283 0x46, /* FC_NO_REPEAT */
12284 0x5c, /* FC_PAD */
12285 /* 566 */ NdrFcShort( 0x4 ), /* 4 */
12286 /* 568 */ NdrFcShort( 0x4 ), /* 4 */
12287 /* 570 */ 0x11, 0x0, /* FC_RP */
12288 /* 572 */ NdrFcShort( 0xffffffd4 ), /* Offset= -44 (528) */
12289 /* 574 */
12290 0x5b, /* FC_END */
12292 0x8, /* FC_LONG */
12293 /* 576 */ 0x8, /* FC_LONG */
12294 0x5b, /* FC_END */
12295 /* 578 */
12296 0x21, /* FC_BOGUS_ARRAY */
12297 0x3, /* 3 */
12298 /* 580 */ NdrFcShort( 0x0 ), /* 0 */
12299 /* 582 */ 0x19, /* Corr desc: field pointer, FC_ULONG */
12300 0x0, /* */
12301 /* 584 */ NdrFcShort( 0x0 ), /* 0 */
12302 /* 586 */ NdrFcLong( 0xffffffff ), /* -1 */
12303 /* 590 */ 0x4c, /* FC_EMBEDDED_COMPLEX */
12304 0x0, /* 0 */
12305 /* 592 */ NdrFcShort( 0xffffff54 ), /* Offset= -172 (420) */
12306 /* 594 */ 0x5c, /* FC_PAD */
12307 0x5b, /* FC_END */
12308 /* 596 */
12309 0x1a, /* FC_BOGUS_STRUCT */
12310 0x3, /* 3 */
12311 /* 598 */ NdrFcShort( 0x8 ), /* 8 */
12312 /* 600 */ NdrFcShort( 0x0 ), /* 0 */
12313 /* 602 */ NdrFcShort( 0x6 ), /* Offset= 6 (608) */
12314 /* 604 */ 0x8, /* FC_LONG */
12315 0x36, /* FC_POINTER */
12316 /* 606 */ 0x5c, /* FC_PAD */
12317 0x5b, /* FC_END */
12318 /* 608 */
12319 0x11, 0x0, /* FC_RP */
12320 /* 610 */ NdrFcShort( 0xffffffe0 ), /* Offset= -32 (578) */
12321 /* 612 */
12322 0x21, /* FC_BOGUS_ARRAY */
12323 0x3, /* 3 */
12324 /* 614 */ NdrFcShort( 0x0 ), /* 0 */
12325 /* 616 */ 0x19, /* Corr desc: field pointer, FC_ULONG */
12326 0x0, /* */
12327 /* 618 */ NdrFcShort( 0x0 ), /* 0 */
12328 /* 620 */ NdrFcLong( 0xffffffff ), /* -1 */
12329 /* 624 */ 0x4c, /* FC_EMBEDDED_COMPLEX */
12330 0x0, /* 0 */
12331 /* 626 */ NdrFcShort( 0xffffff44 ), /* Offset= -188 (438) */
12332 /* 628 */ 0x5c, /* FC_PAD */
12333 0x5b, /* FC_END */
12334 /* 630 */
12335 0x1a, /* FC_BOGUS_STRUCT */
12336 0x3, /* 3 */
12337 /* 632 */ NdrFcShort( 0x8 ), /* 8 */
12338 /* 634 */ NdrFcShort( 0x0 ), /* 0 */
12339 /* 636 */ NdrFcShort( 0x6 ), /* Offset= 6 (642) */
12340 /* 638 */ 0x8, /* FC_LONG */
12341 0x36, /* FC_POINTER */
12342 /* 640 */ 0x5c, /* FC_PAD */
12343 0x5b, /* FC_END */
12344 /* 642 */
12345 0x11, 0x0, /* FC_RP */
12346 /* 644 */ NdrFcShort( 0xffffffe0 ), /* Offset= -32 (612) */
12347 /* 646 */
12348 0x1b, /* FC_CARRAY */
12349 0x3, /* 3 */
12350 /* 648 */ NdrFcShort( 0x4 ), /* 4 */
12351 /* 650 */ 0x19, /* Corr desc: field pointer, FC_ULONG */
12352 0x0, /* */
12353 /* 652 */ NdrFcShort( 0x0 ), /* 0 */
12354 /* 654 */
12355 0x4b, /* FC_PP */
12356 0x5c, /* FC_PAD */
12357 /* 656 */
12358 0x48, /* FC_VARIABLE_REPEAT */
12359 0x49, /* FC_FIXED_OFFSET */
12360 /* 658 */ NdrFcShort( 0x4 ), /* 4 */
12361 /* 660 */ NdrFcShort( 0x0 ), /* 0 */
12362 /* 662 */ NdrFcShort( 0x1 ), /* 1 */
12363 /* 664 */ NdrFcShort( 0x0 ), /* 0 */
12364 /* 666 */ NdrFcShort( 0x0 ), /* 0 */
12365 /* 668 */ 0x12, 0x0, /* FC_UP */
12366 /* 670 */ NdrFcShort( 0x160 ), /* Offset= 352 (1022) */
12367 /* 672 */
12368 0x5b, /* FC_END */
12370 0x8, /* FC_LONG */
12371 /* 674 */ 0x5c, /* FC_PAD */
12372 0x5b, /* FC_END */
12373 /* 676 */
12374 0x1a, /* FC_BOGUS_STRUCT */
12375 0x3, /* 3 */
12376 /* 678 */ NdrFcShort( 0x8 ), /* 8 */
12377 /* 680 */ NdrFcShort( 0x0 ), /* 0 */
12378 /* 682 */ NdrFcShort( 0x6 ), /* Offset= 6 (688) */
12379 /* 684 */ 0x8, /* FC_LONG */
12380 0x36, /* FC_POINTER */
12381 /* 686 */ 0x5c, /* FC_PAD */
12382 0x5b, /* FC_END */
12383 /* 688 */
12384 0x11, 0x0, /* FC_RP */
12385 /* 690 */ NdrFcShort( 0xffffffd4 ), /* Offset= -44 (646) */
12386 /* 692 */
12387 0x2f, /* FC_IP */
12388 0x5a, /* FC_CONSTANT_IID */
12389 /* 694 */ NdrFcLong( 0x2f ), /* 47 */
12390 /* 698 */ NdrFcShort( 0x0 ), /* 0 */
12391 /* 700 */ NdrFcShort( 0x0 ), /* 0 */
12392 /* 702 */ 0xc0, /* 192 */
12393 0x0, /* 0 */
12394 /* 704 */ 0x0, /* 0 */
12395 0x0, /* 0 */
12396 /* 706 */ 0x0, /* 0 */
12397 0x0, /* 0 */
12398 /* 708 */ 0x0, /* 0 */
12399 0x46, /* 70 */
12400 /* 710 */
12401 0x1b, /* FC_CARRAY */
12402 0x0, /* 0 */
12403 /* 712 */ NdrFcShort( 0x1 ), /* 1 */
12404 /* 714 */ 0x19, /* Corr desc: field pointer, FC_ULONG */
12405 0x0, /* */
12406 /* 716 */ NdrFcShort( 0x4 ), /* 4 */
12407 /* 718 */ 0x1, /* FC_BYTE */
12408 0x5b, /* FC_END */
12409 /* 720 */
12410 0x1a, /* FC_BOGUS_STRUCT */
12411 0x3, /* 3 */
12412 /* 722 */ NdrFcShort( 0x10 ), /* 16 */
12413 /* 724 */ NdrFcShort( 0x0 ), /* 0 */
12414 /* 726 */ NdrFcShort( 0xa ), /* Offset= 10 (736) */
12415 /* 728 */ 0x8, /* FC_LONG */
12416 0x8, /* FC_LONG */
12417 /* 730 */ 0x4c, /* FC_EMBEDDED_COMPLEX */
12418 0x0, /* 0 */
12419 /* 732 */ NdrFcShort( 0xffffffd8 ), /* Offset= -40 (692) */
12420 /* 734 */ 0x36, /* FC_POINTER */
12421 0x5b, /* FC_END */
12422 /* 736 */
12423 0x12, 0x0, /* FC_UP */
12424 /* 738 */ NdrFcShort( 0xffffffe4 ), /* Offset= -28 (710) */
12425 /* 740 */
12426 0x1b, /* FC_CARRAY */
12427 0x3, /* 3 */
12428 /* 742 */ NdrFcShort( 0x4 ), /* 4 */
12429 /* 744 */ 0x19, /* Corr desc: field pointer, FC_ULONG */
12430 0x0, /* */
12431 /* 746 */ NdrFcShort( 0x0 ), /* 0 */
12432 /* 748 */
12433 0x4b, /* FC_PP */
12434 0x5c, /* FC_PAD */
12435 /* 750 */
12436 0x48, /* FC_VARIABLE_REPEAT */
12437 0x49, /* FC_FIXED_OFFSET */
12438 /* 752 */ NdrFcShort( 0x4 ), /* 4 */
12439 /* 754 */ NdrFcShort( 0x0 ), /* 0 */
12440 /* 756 */ NdrFcShort( 0x1 ), /* 1 */
12441 /* 758 */ NdrFcShort( 0x0 ), /* 0 */
12442 /* 760 */ NdrFcShort( 0x0 ), /* 0 */
12443 /* 762 */ 0x12, 0x0, /* FC_UP */
12444 /* 764 */ NdrFcShort( 0xffffffd4 ), /* Offset= -44 (720) */
12445 /* 766 */
12446 0x5b, /* FC_END */
12448 0x8, /* FC_LONG */
12449 /* 768 */ 0x5c, /* FC_PAD */
12450 0x5b, /* FC_END */
12451 /* 770 */
12452 0x1a, /* FC_BOGUS_STRUCT */
12453 0x3, /* 3 */
12454 /* 772 */ NdrFcShort( 0x8 ), /* 8 */
12455 /* 774 */ NdrFcShort( 0x0 ), /* 0 */
12456 /* 776 */ NdrFcShort( 0x6 ), /* Offset= 6 (782) */
12457 /* 778 */ 0x8, /* FC_LONG */
12458 0x36, /* FC_POINTER */
12459 /* 780 */ 0x5c, /* FC_PAD */
12460 0x5b, /* FC_END */
12461 /* 782 */
12462 0x11, 0x0, /* FC_RP */
12463 /* 784 */ NdrFcShort( 0xffffffd4 ), /* Offset= -44 (740) */
12464 /* 786 */
12465 0x1a, /* FC_BOGUS_STRUCT */
12466 0x3, /* 3 */
12467 /* 788 */ NdrFcShort( 0x18 ), /* 24 */
12468 /* 790 */ NdrFcShort( 0x0 ), /* 0 */
12469 /* 792 */ NdrFcShort( 0xa ), /* Offset= 10 (802) */
12470 /* 794 */ 0x8, /* FC_LONG */
12471 0x36, /* FC_POINTER */
12472 /* 796 */ 0x4c, /* FC_EMBEDDED_COMPLEX */
12473 0x0, /* 0 */
12474 /* 798 */ NdrFcShort( 0xfffffd08 ), /* Offset= -760 (38) */
12475 /* 800 */ 0x5c, /* FC_PAD */
12476 0x5b, /* FC_END */
12477 /* 802 */
12478 0x11, 0x0, /* FC_RP */
12479 /* 804 */ NdrFcShort( 0xffffff1e ), /* Offset= -226 (578) */
12480 /* 806 */
12481 0x1b, /* FC_CARRAY */
12482 0x0, /* 0 */
12483 /* 808 */ NdrFcShort( 0x1 ), /* 1 */
12484 /* 810 */ 0x19, /* Corr desc: field pointer, FC_ULONG */
12485 0x0, /* */
12486 /* 812 */ NdrFcShort( 0x0 ), /* 0 */
12487 /* 814 */ 0x1, /* FC_BYTE */
12488 0x5b, /* FC_END */
12489 /* 816 */
12490 0x16, /* FC_PSTRUCT */
12491 0x3, /* 3 */
12492 /* 818 */ NdrFcShort( 0x8 ), /* 8 */
12493 /* 820 */
12494 0x4b, /* FC_PP */
12495 0x5c, /* FC_PAD */
12496 /* 822 */
12497 0x46, /* FC_NO_REPEAT */
12498 0x5c, /* FC_PAD */
12499 /* 824 */ NdrFcShort( 0x4 ), /* 4 */
12500 /* 826 */ NdrFcShort( 0x4 ), /* 4 */
12501 /* 828 */ 0x12, 0x0, /* FC_UP */
12502 /* 830 */ NdrFcShort( 0xffffffe8 ), /* Offset= -24 (806) */
12503 /* 832 */
12504 0x5b, /* FC_END */
12506 0x8, /* FC_LONG */
12507 /* 834 */ 0x8, /* FC_LONG */
12508 0x5b, /* FC_END */
12509 /* 836 */
12510 0x1b, /* FC_CARRAY */
12511 0x1, /* 1 */
12512 /* 838 */ NdrFcShort( 0x2 ), /* 2 */
12513 /* 840 */ 0x19, /* Corr desc: field pointer, FC_ULONG */
12514 0x0, /* */
12515 /* 842 */ NdrFcShort( 0x0 ), /* 0 */
12516 /* 844 */ 0x6, /* FC_SHORT */
12517 0x5b, /* FC_END */
12518 /* 846 */
12519 0x16, /* FC_PSTRUCT */
12520 0x3, /* 3 */
12521 /* 848 */ NdrFcShort( 0x8 ), /* 8 */
12522 /* 850 */
12523 0x4b, /* FC_PP */
12524 0x5c, /* FC_PAD */
12525 /* 852 */
12526 0x46, /* FC_NO_REPEAT */
12527 0x5c, /* FC_PAD */
12528 /* 854 */ NdrFcShort( 0x4 ), /* 4 */
12529 /* 856 */ NdrFcShort( 0x4 ), /* 4 */
12530 /* 858 */ 0x12, 0x0, /* FC_UP */
12531 /* 860 */ NdrFcShort( 0xffffffe8 ), /* Offset= -24 (836) */
12532 /* 862 */
12533 0x5b, /* FC_END */
12535 0x8, /* FC_LONG */
12536 /* 864 */ 0x8, /* FC_LONG */
12537 0x5b, /* FC_END */
12538 /* 866 */
12539 0x1b, /* FC_CARRAY */
12540 0x3, /* 3 */
12541 /* 868 */ NdrFcShort( 0x4 ), /* 4 */
12542 /* 870 */ 0x19, /* Corr desc: field pointer, FC_ULONG */
12543 0x0, /* */
12544 /* 872 */ NdrFcShort( 0x0 ), /* 0 */
12545 /* 874 */ 0x8, /* FC_LONG */
12546 0x5b, /* FC_END */
12547 /* 876 */
12548 0x16, /* FC_PSTRUCT */
12549 0x3, /* 3 */
12550 /* 878 */ NdrFcShort( 0x8 ), /* 8 */
12551 /* 880 */
12552 0x4b, /* FC_PP */
12553 0x5c, /* FC_PAD */
12554 /* 882 */
12555 0x46, /* FC_NO_REPEAT */
12556 0x5c, /* FC_PAD */
12557 /* 884 */ NdrFcShort( 0x4 ), /* 4 */
12558 /* 886 */ NdrFcShort( 0x4 ), /* 4 */
12559 /* 888 */ 0x12, 0x0, /* FC_UP */
12560 /* 890 */ NdrFcShort( 0xffffffe8 ), /* Offset= -24 (866) */
12561 /* 892 */
12562 0x5b, /* FC_END */
12564 0x8, /* FC_LONG */
12565 /* 894 */ 0x8, /* FC_LONG */
12566 0x5b, /* FC_END */
12567 /* 896 */
12568 0x1b, /* FC_CARRAY */
12569 0x7, /* 7 */
12570 /* 898 */ NdrFcShort( 0x8 ), /* 8 */
12571 /* 900 */ 0x19, /* Corr desc: field pointer, FC_ULONG */
12572 0x0, /* */
12573 /* 902 */ NdrFcShort( 0x0 ), /* 0 */
12574 /* 904 */ 0xb, /* FC_HYPER */
12575 0x5b, /* FC_END */
12576 /* 906 */
12577 0x16, /* FC_PSTRUCT */
12578 0x3, /* 3 */
12579 /* 908 */ NdrFcShort( 0x8 ), /* 8 */
12580 /* 910 */
12581 0x4b, /* FC_PP */
12582 0x5c, /* FC_PAD */
12583 /* 912 */
12584 0x46, /* FC_NO_REPEAT */
12585 0x5c, /* FC_PAD */
12586 /* 914 */ NdrFcShort( 0x4 ), /* 4 */
12587 /* 916 */ NdrFcShort( 0x4 ), /* 4 */
12588 /* 918 */ 0x12, 0x0, /* FC_UP */
12589 /* 920 */ NdrFcShort( 0xffffffe8 ), /* Offset= -24 (896) */
12590 /* 922 */
12591 0x5b, /* FC_END */
12593 0x8, /* FC_LONG */
12594 /* 924 */ 0x8, /* FC_LONG */
12595 0x5b, /* FC_END */
12596 /* 926 */
12597 0x15, /* FC_STRUCT */
12598 0x3, /* 3 */
12599 /* 928 */ NdrFcShort( 0x8 ), /* 8 */
12600 /* 930 */ 0x8, /* FC_LONG */
12601 0x8, /* FC_LONG */
12602 /* 932 */ 0x5c, /* FC_PAD */
12603 0x5b, /* FC_END */
12604 /* 934 */
12605 0x1b, /* FC_CARRAY */
12606 0x3, /* 3 */
12607 /* 936 */ NdrFcShort( 0x8 ), /* 8 */
12608 /* 938 */ 0x7, /* Corr desc: FC_USHORT */
12609 0x0, /* */
12610 /* 940 */ NdrFcShort( 0xffd8 ), /* -40 */
12611 /* 942 */ 0x4c, /* FC_EMBEDDED_COMPLEX */
12612 0x0, /* 0 */
12613 /* 944 */ NdrFcShort( 0xffffffee ), /* Offset= -18 (926) */
12614 /* 946 */ 0x5c, /* FC_PAD */
12615 0x5b, /* FC_END */
12616 /* 948 */
12617 0x1a, /* FC_BOGUS_STRUCT */
12618 0x3, /* 3 */
12619 /* 950 */ NdrFcShort( 0x28 ), /* 40 */
12620 /* 952 */ NdrFcShort( 0xffffffee ), /* Offset= -18 (934) */
12621 /* 954 */ NdrFcShort( 0x0 ), /* Offset= 0 (954) */
12622 /* 956 */ 0x6, /* FC_SHORT */
12623 0x6, /* FC_SHORT */
12624 /* 958 */ 0x38, /* FC_ALIGNM4 */
12625 0x8, /* FC_LONG */
12626 /* 960 */ 0x8, /* FC_LONG */
12627 0x4c, /* FC_EMBEDDED_COMPLEX */
12628 /* 962 */ 0x0, /* 0 */
12629 NdrFcShort( 0xfffffe09 ), /* Offset= -503 (460) */
12630 0x5b, /* FC_END */
12631 /* 966 */
12632 0x12, 0x8, /* FC_UP [simple_pointer] */
12633 /* 968 */ 0x2, /* FC_CHAR */
12634 0x5c, /* FC_PAD */
12635 /* 970 */
12636 0x12, 0x8, /* FC_UP [simple_pointer] */
12637 /* 972 */ 0x6, /* FC_SHORT */
12638 0x5c, /* FC_PAD */
12639 /* 974 */
12640 0x12, 0x8, /* FC_UP [simple_pointer] */
12641 /* 976 */ 0x8, /* FC_LONG */
12642 0x5c, /* FC_PAD */
12643 /* 978 */
12644 0x12, 0x8, /* FC_UP [simple_pointer] */
12645 /* 980 */ 0xa, /* FC_FLOAT */
12646 0x5c, /* FC_PAD */
12647 /* 982 */
12648 0x12, 0x8, /* FC_UP [simple_pointer] */
12649 /* 984 */ 0xc, /* FC_DOUBLE */
12650 0x5c, /* FC_PAD */
12651 /* 986 */
12652 0x12, 0x10, /* FC_UP */
12653 /* 988 */ NdrFcShort( 0xfffffd9e ), /* Offset= -610 (378) */
12654 /* 990 */
12655 0x12, 0x10, /* FC_UP */
12656 /* 992 */ NdrFcShort( 0x2 ), /* Offset= 2 (994) */
12657 /* 994 */
12658 0x12, 0x0, /* FC_UP */
12659 /* 996 */ NdrFcShort( 0xfffffc1c ), /* Offset= -996 (0) */
12660 /* 998 */
12661 0x12, 0x0, /* FC_UP */
12662 /* 1000 */ NdrFcShort( 0xfffffdaa ), /* Offset= -598 (402) */
12663 /* 1002 */
12664 0x12, 0x0, /* FC_UP */
12665 /* 1004 */ NdrFcShort( 0xfffffdac ), /* Offset= -596 (408) */
12666 /* 1006 */
12667 0x12, 0x10, /* FC_UP */
12668 /* 1008 */ NdrFcShort( 0xfffffdb4 ), /* Offset= -588 (420) */
12669 /* 1010 */
12670 0x12, 0x10, /* FC_UP */
12671 /* 1012 */ NdrFcShort( 0xfffffdc2 ), /* Offset= -574 (438) */
12672 /* 1014 */
12673 0x12, 0x10, /* FC_UP */
12674 /* 1016 */ NdrFcShort( 0xfffffdd0 ), /* Offset= -560 (456) */
12675 /* 1018 */
12676 0x12, 0x0, /* FC_UP */
12677 /* 1020 */ NdrFcShort( 0xfffffed4 ), /* Offset= -300 (720) */
12678 /* 1022 */
12679 0x1a, /* FC_BOGUS_STRUCT */
12680 0x7, /* 7 */
12681 /* 1024 */ NdrFcShort( 0x20 ), /* 32 */
12682 /* 1026 */ NdrFcShort( 0x0 ), /* 0 */
12683 /* 1028 */ NdrFcShort( 0x0 ), /* Offset= 0 (1028) */
12684 /* 1030 */ 0x8, /* FC_LONG */
12685 0x8, /* FC_LONG */
12686 /* 1032 */ 0x6, /* FC_SHORT */
12687 0x6, /* FC_SHORT */
12688 /* 1034 */ 0x6, /* FC_SHORT */
12689 0x6, /* FC_SHORT */
12690 /* 1036 */ 0x4c, /* FC_EMBEDDED_COMPLEX */
12691 0x0, /* 0 */
12692 /* 1038 */ NdrFcShort( 0xfffffc5c ), /* Offset= -932 (106) */
12693 /* 1040 */ 0x5c, /* FC_PAD */
12694 0x5b, /* FC_END */
12695 /* 1042 */ 0xb4, /* FC_USER_MARSHAL */
12696 0x83, /* 131 */
12697 /* 1044 */ NdrFcShort( 0x0 ), /* 0 */
12698 /* 1046 */ NdrFcShort( 0x10 ), /* 16 */
12699 /* 1048 */ NdrFcShort( 0x0 ), /* 0 */
12700 /* 1050 */ NdrFcShort( 0xfffffc4c ), /* Offset= -948 (102) */
12701 /* 1052 */
12702 0x21, /* FC_BOGUS_ARRAY */
12703 0x3, /* 3 */
12704 /* 1054 */ NdrFcShort( 0x0 ), /* 0 */
12705 /* 1056 */ 0x19, /* Corr desc: field pointer, FC_ULONG */
12706 0x0, /* */
12707 /* 1058 */ NdrFcShort( 0x8 ), /* 8 */
12708 /* 1060 */ NdrFcLong( 0xffffffff ), /* -1 */
12709 /* 1064 */ 0x4c, /* FC_EMBEDDED_COMPLEX */
12710 0x0, /* 0 */
12711 /* 1066 */ NdrFcShort( 0xffffffe8 ), /* Offset= -24 (1042) */
12712 /* 1068 */ 0x5c, /* FC_PAD */
12713 0x5b, /* FC_END */
12714 /* 1070 */
12715 0x1b, /* FC_CARRAY */
12716 0x3, /* 3 */
12717 /* 1072 */ NdrFcShort( 0x4 ), /* 4 */
12718 /* 1074 */ 0x19, /* Corr desc: field pointer, FC_ULONG */
12719 0x0, /* */
12720 /* 1076 */ NdrFcShort( 0xc ), /* 12 */
12721 /* 1078 */ 0x8, /* FC_LONG */
12722 0x5b, /* FC_END */
12723 /* 1080 */
12724 0x1a, /* FC_BOGUS_STRUCT */
12725 0x3, /* 3 */
12726 /* 1082 */ NdrFcShort( 0x10 ), /* 16 */
12727 /* 1084 */ NdrFcShort( 0x0 ), /* 0 */
12728 /* 1086 */ NdrFcShort( 0x8 ), /* Offset= 8 (1094) */
12729 /* 1088 */ 0x36, /* FC_POINTER */
12730 0x36, /* FC_POINTER */
12731 /* 1090 */ 0x8, /* FC_LONG */
12732 0x8, /* FC_LONG */
12733 /* 1092 */ 0x5c, /* FC_PAD */
12734 0x5b, /* FC_END */
12735 /* 1094 */
12736 0x12, 0x0, /* FC_UP */
12737 /* 1096 */ NdrFcShort( 0xffffffd4 ), /* Offset= -44 (1052) */
12738 /* 1098 */
12739 0x12, 0x0, /* FC_UP */
12740 /* 1100 */ NdrFcShort( 0xffffffe2 ), /* Offset= -30 (1070) */
12741 /* 1102 */
12742 0x11, 0x4, /* FC_RP [alloced_on_stack] */
12743 /* 1104 */ NdrFcShort( 0x6 ), /* Offset= 6 (1110) */
12744 /* 1106 */
12745 0x13, 0x0, /* FC_OP */
12746 /* 1108 */ NdrFcShort( 0xffffffaa ), /* Offset= -86 (1022) */
12747 /* 1110 */ 0xb4, /* FC_USER_MARSHAL */
12748 0x83, /* 131 */
12749 /* 1112 */ NdrFcShort( 0x0 ), /* 0 */
12750 /* 1114 */ NdrFcShort( 0x10 ), /* 16 */
12751 /* 1116 */ NdrFcShort( 0x0 ), /* 0 */
12752 /* 1118 */ NdrFcShort( 0xfffffff4 ), /* Offset= -12 (1106) */
12753 /* 1120 */
12754 0x11, 0x4, /* FC_RP [alloced_on_stack] */
12755 /* 1122 */ NdrFcShort( 0x10 ), /* Offset= 16 (1138) */
12756 /* 1124 */
12757 0x13, 0x0, /* FC_OP */
12758 /* 1126 */ NdrFcShort( 0xfffffd22 ), /* Offset= -734 (392) */
12759 /* 1128 */ 0xb4, /* FC_USER_MARSHAL */
12760 0x83, /* 131 */
12761 /* 1130 */ NdrFcShort( 0x1 ), /* 1 */
12762 /* 1132 */ NdrFcShort( 0x4 ), /* 4 */
12763 /* 1134 */ NdrFcShort( 0x0 ), /* 0 */
12764 /* 1136 */ NdrFcShort( 0xfffffff4 ), /* Offset= -12 (1124) */
12765 /* 1138 */
12766 0x1a, /* FC_BOGUS_STRUCT */
12767 0x3, /* 3 */
12768 /* 1140 */ NdrFcShort( 0x20 ), /* 32 */
12769 /* 1142 */ NdrFcShort( 0x0 ), /* 0 */
12770 /* 1144 */ NdrFcShort( 0x0 ), /* Offset= 0 (1144) */
12771 /* 1146 */ 0x6, /* FC_SHORT */
12772 0x6, /* FC_SHORT */
12773 /* 1148 */ 0x4c, /* FC_EMBEDDED_COMPLEX */
12774 0x0, /* 0 */
12775 /* 1150 */ NdrFcShort( 0xffffffea ), /* Offset= -22 (1128) */
12776 /* 1152 */ 0x4c, /* FC_EMBEDDED_COMPLEX */
12777 0x0, /* 0 */
12778 /* 1154 */ NdrFcShort( 0xffffffe6 ), /* Offset= -26 (1128) */
12779 /* 1156 */ 0x4c, /* FC_EMBEDDED_COMPLEX */
12780 0x0, /* 0 */
12781 /* 1158 */ NdrFcShort( 0xffffffe2 ), /* Offset= -30 (1128) */
12782 /* 1160 */ 0x38, /* FC_ALIGNM4 */
12783 0x8, /* FC_LONG */
12784 /* 1162 */ 0x8, /* FC_LONG */
12785 0x8, /* FC_LONG */
12786 /* 1164 */ 0x8, /* FC_LONG */
12787 0x5b, /* FC_END */
12788 /* 1166 */
12789 0x11, 0x0, /* FC_RP */
12790 /* 1168 */ NdrFcShort( 0x2 ), /* Offset= 2 (1170) */
12791 /* 1170 */
12792 0x1b, /* FC_CARRAY */
12793 0x3, /* 3 */
12794 /* 1172 */ NdrFcShort( 0x4 ), /* 4 */
12795 /* 1174 */ 0x29, /* Corr desc: parameter, FC_ULONG */
12796 0x0, /* */
12797 #ifndef _ALPHA_
12798 /* 1176 */ NdrFcShort( 0x24 ), /* x86, MIPS, PPC Stack size/offset = 36 */
12799 #else
12800 NdrFcShort( 0x48 ), /* Alpha Stack size/offset = 72 */
12801 #endif
12802 /* 1178 */ 0x8, /* FC_LONG */
12803 0x5b, /* FC_END */
12804 /* 1180 */
12805 0x11, 0x0, /* FC_RP */
12806 /* 1182 */ NdrFcShort( 0x2 ), /* Offset= 2 (1184) */
12807 /* 1184 */
12808 0x21, /* FC_BOGUS_ARRAY */
12809 0x3, /* 3 */
12810 /* 1186 */ NdrFcShort( 0x0 ), /* 0 */
12811 /* 1188 */ 0x29, /* Corr desc: parameter, FC_ULONG */
12812 0x0, /* */
12813 #ifndef _ALPHA_
12814 /* 1190 */ NdrFcShort( 0x24 ), /* x86, MIPS, PPC Stack size/offset = 36 */
12815 #else
12816 NdrFcShort( 0x48 ), /* Alpha Stack size/offset = 72 */
12817 #endif
12818 /* 1192 */ NdrFcLong( 0xffffffff ), /* -1 */
12819 /* 1196 */ 0x4c, /* FC_EMBEDDED_COMPLEX */
12820 0x0, /* 0 */
12821 /* 1198 */ NdrFcShort( 0xffffffa8 ), /* Offset= -88 (1110) */
12822 /* 1200 */ 0x5c, /* FC_PAD */
12823 0x5b, /* FC_END */
12824 /* 1202 */
12825 0x11, 0x0, /* FC_RP */
12826 /* 1204 */ NdrFcShort( 0x2 ), /* Offset= 2 (1206) */
12827 /* 1206 */
12828 0x21, /* FC_BOGUS_ARRAY */
12829 0x3, /* 3 */
12830 /* 1208 */ NdrFcShort( 0x0 ), /* 0 */
12831 /* 1210 */ 0x29, /* Corr desc: parameter, FC_ULONG */
12832 0x0, /* */
12833 #ifndef _ALPHA_
12834 /* 1212 */ NdrFcShort( 0x4 ), /* x86, MIPS, PPC Stack size/offset = 4 */
12835 #else
12836 NdrFcShort( 0x8 ), /* Alpha Stack size/offset = 8 */
12837 #endif
12838 /* 1214 */ 0x29, /* Corr desc: parameter, FC_ULONG */
12839 0x54, /* FC_DEREFERENCE */
12840 #ifndef _ALPHA_
12841 /* 1216 */ NdrFcShort( 0xc ), /* x86, MIPS, PPC Stack size/offset = 12 */
12842 #else
12843 NdrFcShort( 0x18 ), /* Alpha Stack size/offset = 24 */
12844 #endif
12845 /* 1218 */ 0x4c, /* FC_EMBEDDED_COMPLEX */
12846 0x0, /* 0 */
12847 /* 1220 */ NdrFcShort( 0xffffff92 ), /* Offset= -110 (1110) */
12848 /* 1222 */ 0x5c, /* FC_PAD */
12849 0x5b, /* FC_END */
12850 /* 1224 */
12851 0x11, 0x14, /* FC_RP [alloced_on_stack] */
12852 /* 1226 */ NdrFcShort( 0x2 ), /* Offset= 2 (1228) */
12853 /* 1228 */
12854 0x2f, /* FC_IP */
12855 0x5a, /* FC_CONSTANT_IID */
12856 /* 1230 */ NdrFcLong( 0x20404 ), /* 132100 */
12857 /* 1234 */ NdrFcShort( 0x0 ), /* 0 */
12858 /* 1236 */ NdrFcShort( 0x0 ), /* 0 */
12859 /* 1238 */ 0xc0, /* 192 */
12860 0x0, /* 0 */
12861 /* 1240 */ 0x0, /* 0 */
12862 0x0, /* 0 */
12863 /* 1242 */ 0x0, /* 0 */
12864 0x0, /* 0 */
12865 /* 1244 */ 0x0, /* 0 */
12866 0x46, /* 70 */
12867 /* 1246 */
12868 0x11, 0x8, /* FC_RP [simple_pointer] */
12869 /* 1248 */
12870 0x25, /* FC_C_WSTRING */
12871 0x5c, /* FC_PAD */
12872 /* 1250 */
12873 0x11, 0xc, /* FC_RP [alloced_on_stack] [simple_pointer] */
12874 /* 1252 */ 0xe, /* FC_ENUM32 */
12875 0x5c, /* FC_PAD */
12876 /* 1254 */
12877 0x11, 0x14, /* FC_RP [alloced_on_stack] */
12878 /* 1256 */ NdrFcShort( 0x2 ), /* Offset= 2 (1258) */
12879 /* 1258 */
12880 0x13, 0x0, /* FC_OP */
12881 /* 1260 */ NdrFcShort( 0xaa ), /* Offset= 170 (1430) */
12882 /* 1262 */
12883 0x2b, /* FC_NON_ENCAPSULATED_UNION */
12884 0x7, /* FC_USHORT */
12885 /* 1264 */ 0x7, /* Corr desc: FC_USHORT */
12886 0x0, /* */
12887 /* 1266 */ NdrFcShort( 0x4 ), /* 4 */
12888 /* 1268 */ NdrFcShort( 0x2 ), /* Offset= 2 (1270) */
12889 /* 1270 */ NdrFcShort( 0x4 ), /* 4 */
12890 /* 1272 */ NdrFcShort( 0x4 ), /* 4 */
12891 /* 1274 */ NdrFcLong( 0x1a ), /* 26 */
12892 /* 1278 */ NdrFcShort( 0x16 ), /* Offset= 22 (1300) */
12893 /* 1280 */ NdrFcLong( 0x1b ), /* 27 */
12894 /* 1284 */ NdrFcShort( 0x10 ), /* Offset= 16 (1300) */
12895 /* 1286 */ NdrFcLong( 0x1c ), /* 28 */
12896 /* 1290 */ NdrFcShort( 0xe ), /* Offset= 14 (1304) */
12897 /* 1292 */ NdrFcLong( 0x1d ), /* 29 */
12898 /* 1296 */ NdrFcShort( 0x8008 ), /* Simple arm type: FC_LONG */
12899 /* 1298 */ NdrFcShort( 0x0 ), /* Offset= 0 (1298) */
12900 /* 1300 */
12901 0x13, 0x0, /* FC_OP */
12902 /* 1302 */ NdrFcShort( 0x24 ), /* Offset= 36 (1338) */
12903 /* 1304 */
12904 0x13, 0x0, /* FC_OP */
12905 /* 1306 */ NdrFcShort( 0x10 ), /* Offset= 16 (1322) */
12906 /* 1308 */
12907 0x1b, /* FC_CARRAY */
12908 0x3, /* 3 */
12909 /* 1310 */ NdrFcShort( 0x8 ), /* 8 */
12910 /* 1312 */ 0x7, /* Corr desc: FC_USHORT */
12911 0x0, /* */
12912 /* 1314 */ NdrFcShort( 0xfffc ), /* -4 */
12913 /* 1316 */ 0x4c, /* FC_EMBEDDED_COMPLEX */
12914 0x0, /* 0 */
12915 /* 1318 */ NdrFcShort( 0xfffffe78 ), /* Offset= -392 (926) */
12916 /* 1320 */ 0x5c, /* FC_PAD */
12917 0x5b, /* FC_END */
12918 /* 1322 */
12919 0x1a, /* FC_BOGUS_STRUCT */
12920 0x3, /* 3 */
12921 /* 1324 */ NdrFcShort( 0x4 ), /* 4 */
12922 /* 1326 */ NdrFcShort( 0xffffffee ), /* Offset= -18 (1308) */
12923 /* 1328 */ NdrFcShort( 0x0 ), /* Offset= 0 (1328) */
12924 /* 1330 */ 0x4c, /* FC_EMBEDDED_COMPLEX */
12925 0x0, /* 0 */
12926 /* 1332 */ NdrFcShort( 0x6 ), /* Offset= 6 (1338) */
12927 /* 1334 */ 0x6, /* FC_SHORT */
12928 0x3e, /* FC_STRUCTPAD2 */
12929 /* 1336 */ 0x5c, /* FC_PAD */
12930 0x5b, /* FC_END */
12931 /* 1338 */
12932 0x1a, /* FC_BOGUS_STRUCT */
12933 0x3, /* 3 */
12934 /* 1340 */ NdrFcShort( 0x8 ), /* 8 */
12935 /* 1342 */ NdrFcShort( 0x0 ), /* 0 */
12936 /* 1344 */ NdrFcShort( 0x0 ), /* Offset= 0 (1344) */
12937 /* 1346 */ 0x4c, /* FC_EMBEDDED_COMPLEX */
12938 0x0, /* 0 */
12939 /* 1348 */ NdrFcShort( 0xffffffaa ), /* Offset= -86 (1262) */
12940 /* 1350 */ 0x6, /* FC_SHORT */
12941 0x3e, /* FC_STRUCTPAD2 */
12942 /* 1352 */ 0x5c, /* FC_PAD */
12943 0x5b, /* FC_END */
12944 /* 1354 */
12945 0x1a, /* FC_BOGUS_STRUCT */
12946 0x3, /* 3 */
12947 /* 1356 */ NdrFcShort( 0x18 ), /* 24 */
12948 /* 1358 */ NdrFcShort( 0x0 ), /* 0 */
12949 /* 1360 */ NdrFcShort( 0x0 ), /* Offset= 0 (1360) */
12950 /* 1362 */ 0x8, /* FC_LONG */
12951 0x4c, /* FC_EMBEDDED_COMPLEX */
12952 /* 1364 */ 0x4, /* 4 */
12953 NdrFcShort( 0xffffff01 ), /* Offset= -255 (1110) */
12954 0x5b, /* FC_END */
12955 /* 1368 */
12956 0x1a, /* FC_BOGUS_STRUCT */
12957 0x3, /* 3 */
12958 /* 1370 */ NdrFcShort( 0x8 ), /* 8 */
12959 /* 1372 */ NdrFcShort( 0x0 ), /* 0 */
12960 /* 1374 */ NdrFcShort( 0x6 ), /* Offset= 6 (1380) */
12961 /* 1376 */ 0x36, /* FC_POINTER */
12962 0x6, /* FC_SHORT */
12963 /* 1378 */ 0x3e, /* FC_STRUCTPAD2 */
12964 0x5b, /* FC_END */
12965 /* 1380 */
12966 0x13, 0x0, /* FC_OP */
12967 /* 1382 */ NdrFcShort( 0xffffffe4 ), /* Offset= -28 (1354) */
12968 /* 1384 */
12969 0x1a, /* FC_BOGUS_STRUCT */
12970 0x3, /* 3 */
12971 /* 1386 */ NdrFcShort( 0x10 ), /* 16 */
12972 /* 1388 */ NdrFcShort( 0x0 ), /* 0 */
12973 /* 1390 */ NdrFcShort( 0x0 ), /* Offset= 0 (1390) */
12974 /* 1392 */ 0x4c, /* FC_EMBEDDED_COMPLEX */
12975 0x0, /* 0 */
12976 /* 1394 */ NdrFcShort( 0xffffffc8 ), /* Offset= -56 (1338) */
12977 /* 1396 */ 0x4c, /* FC_EMBEDDED_COMPLEX */
12978 0x0, /* 0 */
12979 /* 1398 */ NdrFcShort( 0xffffffe2 ), /* Offset= -30 (1368) */
12980 /* 1400 */ 0x5c, /* FC_PAD */
12981 0x5b, /* FC_END */
12982 /* 1402 */
12983 0x1b, /* FC_CARRAY */
12984 0x3, /* 3 */
12985 /* 1404 */ NdrFcShort( 0x4 ), /* 4 */
12986 /* 1406 */ 0x16, /* Corr desc: field pointer, FC_SHORT */
12987 0x0, /* */
12988 /* 1408 */ NdrFcShort( 0x1e ), /* 30 */
12989 /* 1410 */ 0x8, /* FC_LONG */
12990 0x5b, /* FC_END */
12991 /* 1412 */
12992 0x21, /* FC_BOGUS_ARRAY */
12993 0x3, /* 3 */
12994 /* 1414 */ NdrFcShort( 0x0 ), /* 0 */
12995 /* 1416 */ 0x16, /* Corr desc: field pointer, FC_SHORT */
12996 0x0, /* */
12997 /* 1418 */ NdrFcShort( 0x18 ), /* 24 */
12998 /* 1420 */ NdrFcLong( 0xffffffff ), /* -1 */
12999 /* 1424 */ 0x4c, /* FC_EMBEDDED_COMPLEX */
13000 0x0, /* 0 */
13001 /* 1426 */ NdrFcShort( 0xffffffd6 ), /* Offset= -42 (1384) */
13002 /* 1428 */ 0x5c, /* FC_PAD */
13003 0x5b, /* FC_END */
13004 /* 1430 */
13005 0x1a, /* FC_BOGUS_STRUCT */
13006 0x3, /* 3 */
13007 /* 1432 */ NdrFcShort( 0x34 ), /* 52 */
13008 /* 1434 */ NdrFcShort( 0x0 ), /* 0 */
13009 /* 1436 */ NdrFcShort( 0x14 ), /* Offset= 20 (1456) */
13010 /* 1438 */ 0x8, /* FC_LONG */
13011 0x36, /* FC_POINTER */
13012 /* 1440 */ 0x36, /* FC_POINTER */
13013 0xe, /* FC_ENUM32 */
13014 /* 1442 */ 0xe, /* FC_ENUM32 */
13015 0xe, /* FC_ENUM32 */
13016 /* 1444 */ 0x6, /* FC_SHORT */
13017 0x6, /* FC_SHORT */
13018 /* 1446 */ 0x6, /* FC_SHORT */
13019 0x6, /* FC_SHORT */
13020 /* 1448 */ 0x4c, /* FC_EMBEDDED_COMPLEX */
13021 0x0, /* 0 */
13022 /* 1450 */ NdrFcShort( 0xffffffbe ), /* Offset= -66 (1384) */
13023 /* 1452 */ 0x6, /* FC_SHORT */
13024 0x3e, /* FC_STRUCTPAD2 */
13025 /* 1454 */ 0x5c, /* FC_PAD */
13026 0x5b, /* FC_END */
13027 /* 1456 */
13028 0x13, 0x0, /* FC_OP */
13029 /* 1458 */ NdrFcShort( 0xffffffc8 ), /* Offset= -56 (1402) */
13030 /* 1460 */
13031 0x13, 0x0, /* FC_OP */
13032 /* 1462 */ NdrFcShort( 0xffffffce ), /* Offset= -50 (1412) */
13033 /* 1464 */
13034 0x11, 0x14, /* FC_RP [alloced_on_stack] */
13035 /* 1466 */ NdrFcShort( 0x2 ), /* Offset= 2 (1468) */
13036 /* 1468 */
13037 0x13, 0x0, /* FC_OP */
13038 /* 1470 */ NdrFcShort( 0x2c ), /* Offset= 44 (1514) */
13039 /* 1472 */
13040 0x2b, /* FC_NON_ENCAPSULATED_UNION */
13041 0x8, /* FC_LONG */
13042 /* 1474 */ 0x8, /* Corr desc: FC_LONG */
13043 0x0, /* */
13044 /* 1476 */ NdrFcShort( 0x18 ), /* 24 */
13045 /* 1478 */ NdrFcShort( 0x2 ), /* Offset= 2 (1480) */
13046 /* 1480 */ NdrFcShort( 0x4 ), /* 4 */
13047 /* 1482 */ NdrFcShort( 0x4 ), /* 4 */
13048 /* 1484 */ NdrFcLong( 0x0 ), /* 0 */
13049 /* 1488 */ NdrFcShort( 0x8008 ), /* Simple arm type: FC_LONG */
13050 /* 1490 */ NdrFcLong( 0x3 ), /* 3 */
13051 /* 1494 */ NdrFcShort( 0x8008 ), /* Simple arm type: FC_LONG */
13052 /* 1496 */ NdrFcLong( 0x1 ), /* 1 */
13053 /* 1500 */ NdrFcShort( 0x8008 ), /* Simple arm type: FC_LONG */
13054 /* 1502 */ NdrFcLong( 0x2 ), /* 2 */
13055 /* 1506 */ NdrFcShort( 0x4 ), /* Offset= 4 (1510) */
13056 /* 1508 */ NdrFcShort( 0xffffffff ), /* Offset= -1 (1507) */
13057 /* 1510 */
13058 0x13, 0x0, /* FC_OP */
13059 /* 1512 */ NdrFcShort( 0xfffffe6e ), /* Offset= -402 (1110) */
13060 /* 1514 */
13061 0x1a, /* FC_BOGUS_STRUCT */
13062 0x3, /* 3 */
13063 /* 1516 */ NdrFcShort( 0x24 ), /* 36 */
13064 /* 1518 */ NdrFcShort( 0x0 ), /* 0 */
13065 /* 1520 */ NdrFcShort( 0x10 ), /* Offset= 16 (1536) */
13066 /* 1522 */ 0x8, /* FC_LONG */
13067 0x36, /* FC_POINTER */
13068 /* 1524 */ 0x4c, /* FC_EMBEDDED_COMPLEX */
13069 0x0, /* 0 */
13070 /* 1526 */ NdrFcShort( 0xffffffca ), /* Offset= -54 (1472) */
13071 /* 1528 */ 0x4c, /* FC_EMBEDDED_COMPLEX */
13072 0x0, /* 0 */
13073 /* 1530 */ NdrFcShort( 0xffffff6e ), /* Offset= -146 (1384) */
13074 /* 1532 */ 0x6, /* FC_SHORT */
13075 0x38, /* FC_ALIGNM4 */
13076 /* 1534 */ 0xe, /* FC_ENUM32 */
13077 0x5b, /* FC_END */
13078 /* 1536 */
13079 0x13, 0x8, /* FC_OP [simple_pointer] */
13080 /* 1538 */
13081 0x25, /* FC_C_WSTRING */
13082 0x5c, /* FC_PAD */
13083 /* 1540 */
13084 0x11, 0x14, /* FC_RP [alloced_on_stack] */
13085 /* 1542 */ NdrFcShort( 0x2 ), /* Offset= 2 (1544) */
13086 /* 1544 */
13087 0x2f, /* FC_IP */
13088 0x5a, /* FC_CONSTANT_IID */
13089 /* 1546 */ NdrFcLong( 0x20403 ), /* 132099 */
13090 /* 1550 */ NdrFcShort( 0x0 ), /* 0 */
13091 /* 1552 */ NdrFcShort( 0x0 ), /* 0 */
13092 /* 1554 */ 0xc0, /* 192 */
13093 0x0, /* 0 */
13094 /* 1556 */ 0x0, /* 0 */
13095 0x0, /* 0 */
13096 /* 1558 */ 0x0, /* 0 */
13097 0x0, /* 0 */
13098 /* 1560 */ 0x0, /* 0 */
13099 0x46, /* 70 */
13100 /* 1562 */
13101 0x11, 0x4, /* FC_RP [alloced_on_stack] */
13102 /* 1564 */ NdrFcShort( 0x4 ), /* Offset= 4 (1568) */
13103 /* 1566 */ 0x8, /* FC_LONG */
13104 0x5c, /* FC_PAD */
13105 /* 1568 */ 0xb4, /* FC_USER_MARSHAL */
13106 0x3, /* 3 */
13107 /* 1570 */ NdrFcShort( 0x2 ), /* 2 */
13108 /* 1572 */ NdrFcShort( 0xc ), /* 12 */
13109 /* 1574 */ NdrFcShort( 0x4 ), /* 4 */
13110 /* 1576 */ NdrFcShort( 0xfffffff6 ), /* Offset= -10 (1566) */
13111 /* 1578 */
13112 0x11, 0x14, /* FC_RP [alloced_on_stack] */
13113 /* 1580 */ NdrFcShort( 0x2 ), /* Offset= 2 (1582) */
13114 /* 1582 */
13115 0x13, 0x0, /* FC_OP */
13116 /* 1584 */ NdrFcShort( 0xe ), /* Offset= 14 (1598) */
13117 /* 1586 */
13118 0x1a, /* FC_BOGUS_STRUCT */
13119 0x3, /* 3 */
13120 /* 1588 */ NdrFcShort( 0x8 ), /* 8 */
13121 /* 1590 */ NdrFcShort( 0x0 ), /* 0 */
13122 /* 1592 */ NdrFcShort( 0x0 ), /* Offset= 0 (1592) */
13123 /* 1594 */ 0x8, /* FC_LONG */
13124 0x6, /* FC_SHORT */
13125 /* 1596 */ 0x3e, /* FC_STRUCTPAD2 */
13126 0x5b, /* FC_END */
13127 /* 1598 */
13128 0x1a, /* FC_BOGUS_STRUCT */
13129 0x3, /* 3 */
13130 /* 1600 */ NdrFcShort( 0x4c ), /* 76 */
13131 /* 1602 */ NdrFcShort( 0x0 ), /* 0 */
13132 /* 1604 */ NdrFcShort( 0x1e ), /* Offset= 30 (1634) */
13133 /* 1606 */ 0x4c, /* FC_EMBEDDED_COMPLEX */
13134 0x0, /* 0 */
13135 /* 1608 */ NdrFcShort( 0xfffff9de ), /* Offset= -1570 (38) */
13136 /* 1610 */ 0x8, /* FC_LONG */
13137 0x8, /* FC_LONG */
13138 /* 1612 */ 0x8, /* FC_LONG */
13139 0x8, /* FC_LONG */
13140 /* 1614 */ 0x36, /* FC_POINTER */
13141 0x8, /* FC_LONG */
13142 /* 1616 */ 0xe, /* FC_ENUM32 */
13143 0x6, /* FC_SHORT */
13144 /* 1618 */ 0x6, /* FC_SHORT */
13145 0x6, /* FC_SHORT */
13146 /* 1620 */ 0x6, /* FC_SHORT */
13147 0x6, /* FC_SHORT */
13148 /* 1622 */ 0x6, /* FC_SHORT */
13149 0x6, /* FC_SHORT */
13150 /* 1624 */ 0x6, /* FC_SHORT */
13151 0x4c, /* FC_EMBEDDED_COMPLEX */
13152 /* 1626 */ 0x0, /* 0 */
13153 NdrFcShort( 0xfffffedf ), /* Offset= -289 (1338) */
13154 0x4c, /* FC_EMBEDDED_COMPLEX */
13155 /* 1630 */ 0x0, /* 0 */
13156 NdrFcShort( 0xffffffd3 ), /* Offset= -45 (1586) */
13157 0x5b, /* FC_END */
13158 /* 1634 */
13159 0x13, 0x8, /* FC_OP [simple_pointer] */
13160 /* 1636 */
13161 0x25, /* FC_C_WSTRING */
13162 0x5c, /* FC_PAD */
13163 /* 1638 */
13164 0x11, 0x4, /* FC_RP [alloced_on_stack] */
13165 /* 1640 */ NdrFcShort( 0x4 ), /* Offset= 4 (1644) */
13166 /* 1642 */ 0x8, /* FC_LONG */
13167 0x5c, /* FC_PAD */
13168 /* 1644 */ 0xb4, /* FC_USER_MARSHAL */
13169 0x3, /* 3 */
13170 /* 1646 */ NdrFcShort( 0x2 ), /* 2 */
13171 /* 1648 */ NdrFcShort( 0xc ), /* 12 */
13172 /* 1650 */ NdrFcShort( 0x4 ), /* 4 */
13173 /* 1652 */ NdrFcShort( 0xfffffff6 ), /* Offset= -10 (1642) */
13174 /* 1654 */
13175 0x11, 0x4, /* FC_RP [alloced_on_stack] */
13176 /* 1656 */ NdrFcShort( 0x4 ), /* Offset= 4 (1660) */
13177 /* 1658 */ 0x8, /* FC_LONG */
13178 0x5c, /* FC_PAD */
13179 /* 1660 */ 0xb4, /* FC_USER_MARSHAL */
13180 0x3, /* 3 */
13181 /* 1662 */ NdrFcShort( 0x2 ), /* 2 */
13182 /* 1664 */ NdrFcShort( 0xc ), /* 12 */
13183 /* 1666 */ NdrFcShort( 0x4 ), /* 4 */
13184 /* 1668 */ NdrFcShort( 0xfffffff6 ), /* Offset= -10 (1658) */
13185 /* 1670 */
13186 0x11, 0x4, /* FC_RP [alloced_on_stack] */
13187 /* 1672 */ NdrFcShort( 0x4 ), /* Offset= 4 (1676) */
13188 /* 1674 */ 0x8, /* FC_LONG */
13189 0x5c, /* FC_PAD */
13190 /* 1676 */ 0xb4, /* FC_USER_MARSHAL */
13191 0x3, /* 3 */
13192 /* 1678 */ NdrFcShort( 0x2 ), /* 2 */
13193 /* 1680 */ NdrFcShort( 0xc ), /* 12 */
13194 /* 1682 */ NdrFcShort( 0x4 ), /* 4 */
13195 /* 1684 */ NdrFcShort( 0xfffffff6 ), /* Offset= -10 (1674) */
13196 /* 1686 */
13197 0x11, 0x0, /* FC_RP */
13198 /* 1688 */ NdrFcShort( 0x2 ), /* Offset= 2 (1690) */
13199 /* 1690 */
13200 0x21, /* FC_BOGUS_ARRAY */
13201 0x3, /* 3 */
13202 /* 1692 */ NdrFcShort( 0x0 ), /* 0 */
13203 /* 1694 */ 0x29, /* Corr desc: parameter, FC_ULONG */
13204 0x0, /* */
13205 #ifndef _ALPHA_
13206 /* 1696 */ NdrFcShort( 0xc ), /* x86, MIPS, PPC Stack size/offset = 12 */
13207 #else
13208 NdrFcShort( 0x18 ), /* Alpha Stack size/offset = 24 */
13209 #endif
13210 /* 1698 */ 0x29, /* Corr desc: parameter, FC_ULONG */
13211 0x54, /* FC_DEREFERENCE */
13212 #ifndef _ALPHA_
13213 /* 1700 */ NdrFcShort( 0x10 ), /* x86, MIPS, PPC Stack size/offset = 16 */
13214 #else
13215 NdrFcShort( 0x20 ), /* Alpha Stack size/offset = 32 */
13216 #endif
13217 /* 1702 */ 0x4c, /* FC_EMBEDDED_COMPLEX */
13218 0x0, /* 0 */
13219 /* 1704 */ NdrFcShort( 0xfffffdc0 ), /* Offset= -576 (1128) */
13220 /* 1706 */ 0x5c, /* FC_PAD */
13221 0x5b, /* FC_END */
13222 /* 1708 */
13223 0x11, 0x4, /* FC_RP [alloced_on_stack] */
13224 /* 1710 */ NdrFcShort( 0xfffffdba ), /* Offset= -582 (1128) */
13225 /* 1712 */
13226 0x11, 0xc, /* FC_RP [alloced_on_stack] [simple_pointer] */
13227 /* 1714 */ 0x6, /* FC_SHORT */
13228 0x5c, /* FC_PAD */
13229 /* 1716 */
13230 0x11, 0x14, /* FC_RP [alloced_on_stack] */
13231 /* 1718 */ NdrFcShort( 0x2 ), /* Offset= 2 (1720) */
13232 /* 1720 */
13233 0x2f, /* FC_IP */
13234 0x5c, /* FC_PAD */
13235 /* 1722 */ 0x28, /* Corr desc: parameter, FC_LONG */
13236 0x0, /* */
13237 #ifndef _ALPHA_
13238 /* 1724 */ NdrFcShort( 0x4 ), /* x86, MIPS, PPC Stack size/offset = 4 */
13239 #else
13240 NdrFcShort( 0x8 ), /* Alpha Stack size/offset = 8 */
13241 #endif
13242 /* 1726 */
13243 0x11, 0x14, /* FC_RP [alloced_on_stack] */
13244 /* 1728 */ NdrFcShort( 0x2 ), /* Offset= 2 (1730) */
13245 /* 1730 */
13246 0x2f, /* FC_IP */
13247 0x5a, /* FC_CONSTANT_IID */
13248 /* 1732 */ NdrFcLong( 0x20402 ), /* 132098 */
13249 /* 1736 */ NdrFcShort( 0x0 ), /* 0 */
13250 /* 1738 */ NdrFcShort( 0x0 ), /* 0 */
13251 /* 1740 */ 0xc0, /* 192 */
13252 0x0, /* 0 */
13253 /* 1742 */ 0x0, /* 0 */
13254 0x0, /* 0 */
13255 /* 1744 */ 0x0, /* 0 */
13256 0x0, /* 0 */
13257 /* 1746 */ 0x0, /* 0 */
13258 0x46, /* 70 */
13259 /* 1748 */
13260 0x11, 0x4, /* FC_RP [alloced_on_stack] */
13261 /* 1750 */ NdrFcShort( 0x26 ), /* Offset= 38 (1788) */
13262 /* 1752 */
13263 0x1a, /* FC_BOGUS_STRUCT */
13264 0x3, /* 3 */
13265 /* 1754 */ NdrFcShort( 0x20 ), /* 32 */
13266 /* 1756 */ NdrFcShort( 0x0 ), /* 0 */
13267 /* 1758 */ NdrFcShort( 0x0 ), /* Offset= 0 (1758) */
13268 /* 1760 */ 0x4c, /* FC_EMBEDDED_COMPLEX */
13269 0x0, /* 0 */
13270 /* 1762 */ NdrFcShort( 0xfffff944 ), /* Offset= -1724 (38) */
13271 /* 1764 */ 0x4c, /* FC_EMBEDDED_COMPLEX */
13272 0x0, /* 0 */
13273 /* 1766 */ NdrFcShort( 0xfffffd70 ), /* Offset= -656 (1110) */
13274 /* 1768 */ 0x5c, /* FC_PAD */
13275 0x5b, /* FC_END */
13276 /* 1770 */
13277 0x21, /* FC_BOGUS_ARRAY */
13278 0x3, /* 3 */
13279 /* 1772 */ NdrFcShort( 0x0 ), /* 0 */
13280 /* 1774 */ 0x19, /* Corr desc: field pointer, FC_ULONG */
13281 0x0, /* */
13282 /* 1776 */ NdrFcShort( 0x0 ), /* 0 */
13283 /* 1778 */ NdrFcLong( 0xffffffff ), /* -1 */
13284 /* 1782 */ 0x4c, /* FC_EMBEDDED_COMPLEX */
13285 0x0, /* 0 */
13286 /* 1784 */ NdrFcShort( 0xffffffe0 ), /* Offset= -32 (1752) */
13287 /* 1786 */ 0x5c, /* FC_PAD */
13288 0x5b, /* FC_END */
13289 /* 1788 */
13290 0x1a, /* FC_BOGUS_STRUCT */
13291 0x3, /* 3 */
13292 /* 1790 */ NdrFcShort( 0x8 ), /* 8 */
13293 /* 1792 */ NdrFcShort( 0x0 ), /* 0 */
13294 /* 1794 */ NdrFcShort( 0x6 ), /* Offset= 6 (1800) */
13295 /* 1796 */ 0x8, /* FC_LONG */
13296 0x36, /* FC_POINTER */
13297 /* 1798 */ 0x5c, /* FC_PAD */
13298 0x5b, /* FC_END */
13299 /* 1800 */
13300 0x13, 0x0, /* FC_OP */
13301 /* 1802 */ NdrFcShort( 0xffffffe0 ), /* Offset= -32 (1770) */
13302 /* 1804 */
13303 0x11, 0x14, /* FC_RP [alloced_on_stack] */
13304 /* 1806 */ NdrFcShort( 0x2 ), /* Offset= 2 (1808) */
13305 /* 1808 */
13306 0x13, 0x0, /* FC_OP */
13307 /* 1810 */ NdrFcShort( 0x2 ), /* Offset= 2 (1812) */
13308 /* 1812 */
13309 0x1a, /* FC_BOGUS_STRUCT */
13310 0x3, /* 3 */
13311 /* 1814 */ NdrFcShort( 0x20 ), /* 32 */
13312 /* 1816 */ NdrFcShort( 0x0 ), /* 0 */
13313 /* 1818 */ NdrFcShort( 0x0 ), /* Offset= 0 (1818) */
13314 /* 1820 */ 0x4c, /* FC_EMBEDDED_COMPLEX */
13315 0x0, /* 0 */
13316 /* 1822 */ NdrFcShort( 0xfffff908 ), /* Offset= -1784 (38) */
13317 /* 1824 */ 0x8, /* FC_LONG */
13318 0xe, /* FC_ENUM32 */
13319 /* 1826 */ 0x6, /* FC_SHORT */
13320 0x6, /* FC_SHORT */
13321 /* 1828 */ 0x6, /* FC_SHORT */
13322 0x3e, /* FC_STRUCTPAD2 */
13323 /* 1830 */ 0x5c, /* FC_PAD */
13324 0x5b, /* FC_END */
13325 /* 1832 */
13326 0x11, 0x4, /* FC_RP [alloced_on_stack] */
13327 /* 1834 */ NdrFcShort( 0x4 ), /* Offset= 4 (1838) */
13328 /* 1836 */ 0x8, /* FC_LONG */
13329 0x5c, /* FC_PAD */
13330 /* 1838 */ 0xb4, /* FC_USER_MARSHAL */
13331 0x3, /* 3 */
13332 /* 1840 */ NdrFcShort( 0x2 ), /* 2 */
13333 /* 1842 */ NdrFcShort( 0xc ), /* 12 */
13334 /* 1844 */ NdrFcShort( 0x4 ), /* 4 */
13335 /* 1846 */ NdrFcShort( 0xfffffff6 ), /* Offset= -10 (1836) */
13336 /* 1848 */
13337 0x11, 0x0, /* FC_RP */
13338 /* 1850 */ NdrFcShort( 0x2 ), /* Offset= 2 (1852) */
13339 /* 1852 */
13340 0x21, /* FC_BOGUS_ARRAY */
13341 0x3, /* 3 */
13342 /* 1854 */ NdrFcShort( 0x0 ), /* 0 */
13343 /* 1856 */ 0x27, /* Corr desc: parameter, FC_USHORT */
13344 0x54, /* FC_DEREFERENCE */
13345 #ifndef _ALPHA_
13346 /* 1858 */ NdrFcShort( 0x14 ), /* x86, MIPS, PPC Stack size/offset = 20 */
13347 #else
13348 NdrFcShort( 0x28 ), /* Alpha Stack size/offset = 40 */
13349 #endif
13350 /* 1860 */ 0x27, /* Corr desc: parameter, FC_USHORT */
13351 0x54, /* FC_DEREFERENCE */
13352 #ifndef _ALPHA_
13353 /* 1862 */ NdrFcShort( 0x14 ), /* x86, MIPS, PPC Stack size/offset = 20 */
13354 #else
13355 NdrFcShort( 0x28 ), /* Alpha Stack size/offset = 40 */
13356 #endif
13357 /* 1864 */ 0x4c, /* FC_EMBEDDED_COMPLEX */
13358 0x0, /* 0 */
13359 /* 1866 */ NdrFcShort( 0xfffff8c0 ), /* Offset= -1856 (10) */
13360 /* 1868 */ 0x5c, /* FC_PAD */
13361 0x5b, /* FC_END */
13362 /* 1870 */
13363 0x11, 0x0, /* FC_RP */
13364 /* 1872 */ NdrFcShort( 0x2 ), /* Offset= 2 (1874) */
13365 /* 1874 */
13366 0x1c, /* FC_CVARRAY */
13367 0x3, /* 3 */
13368 /* 1876 */ NdrFcShort( 0x4 ), /* 4 */
13369 /* 1878 */ 0x27, /* Corr desc: parameter, FC_USHORT */
13370 0x54, /* FC_DEREFERENCE */
13371 #ifndef _ALPHA_
13372 /* 1880 */ NdrFcShort( 0x14 ), /* x86, MIPS, PPC Stack size/offset = 20 */
13373 #else
13374 NdrFcShort( 0x28 ), /* Alpha Stack size/offset = 40 */
13375 #endif
13376 /* 1882 */ 0x27, /* Corr desc: parameter, FC_USHORT */
13377 0x54, /* FC_DEREFERENCE */
13378 #ifndef _ALPHA_
13379 /* 1884 */ NdrFcShort( 0x14 ), /* x86, MIPS, PPC Stack size/offset = 20 */
13380 #else
13381 NdrFcShort( 0x28 ), /* Alpha Stack size/offset = 40 */
13382 #endif
13383 /* 1886 */ 0x8, /* FC_LONG */
13384 0x5b, /* FC_END */
13385 /* 1888 */
13386 0x11, 0x8, /* FC_RP [simple_pointer] */
13387 /* 1890 */ 0x6, /* FC_SHORT */
13388 0x5c, /* FC_PAD */
13389 /* 1892 */
13390 0x11, 0x4, /* FC_RP [alloced_on_stack] */
13391 /* 1894 */ NdrFcShort( 0xfffff8c0 ), /* Offset= -1856 (38) */
13392 /* 1896 */
13393 0x11, 0x14, /* FC_RP [alloced_on_stack] */
13394 /* 1898 */ NdrFcShort( 0x2 ), /* Offset= 2 (1900) */
13395 /* 1900 */
13396 0x2f, /* FC_IP */
13397 0x5c, /* FC_PAD */
13398 /* 1902 */ 0x28, /* Corr desc: parameter, FC_LONG */
13399 0x0, /* */
13400 #ifndef _ALPHA_
13401 /* 1904 */ NdrFcShort( 0x8 ), /* x86, MIPS, PPC Stack size/offset = 8 */
13402 #else
13403 NdrFcShort( 0x10 ), /* Alpha Stack size/offset = 16 */
13404 #endif
13410 const CInterfaceProxyVtbl * _oaidl_ProxyVtblList[] =
13412 ( CInterfaceProxyVtbl *) &_IDispatchProxyVtbl,
13413 ( CInterfaceProxyVtbl *) &_ITypeInfoProxyVtbl,
13414 ( CInterfaceProxyVtbl *) &_ITypeLibProxyVtbl,
13415 ( CInterfaceProxyVtbl *) &_ITypeCompProxyVtbl,
13416 ( CInterfaceProxyVtbl *) &_IEnumVARIANTProxyVtbl,
13417 ( CInterfaceProxyVtbl *) &_ITypeLib2ProxyVtbl,
13418 ( CInterfaceProxyVtbl *) &_ITypeInfo2ProxyVtbl,
13419 ( CInterfaceProxyVtbl *) &_IErrorInfoProxyVtbl,
13420 ( CInterfaceProxyVtbl *) &_ITypeFactoryProxyVtbl,
13421 ( CInterfaceProxyVtbl *) &_ICreateErrorInfoProxyVtbl,
13422 ( CInterfaceProxyVtbl *) &_ISupportErrorInfoProxyVtbl,
13426 const CInterfaceStubVtbl * _oaidl_StubVtblList[] =
13428 ( CInterfaceStubVtbl *) &_IDispatchStubVtbl,
13429 ( CInterfaceStubVtbl *) &_ITypeInfoStubVtbl,
13430 ( CInterfaceStubVtbl *) &_ITypeLibStubVtbl,
13431 ( CInterfaceStubVtbl *) &_ITypeCompStubVtbl,
13432 ( CInterfaceStubVtbl *) &_IEnumVARIANTStubVtbl,
13433 ( CInterfaceStubVtbl *) &_ITypeLib2StubVtbl,
13434 ( CInterfaceStubVtbl *) &_ITypeInfo2StubVtbl,
13435 ( CInterfaceStubVtbl *) &_IErrorInfoStubVtbl,
13436 ( CInterfaceStubVtbl *) &_ITypeFactoryStubVtbl,
13437 ( CInterfaceStubVtbl *) &_ICreateErrorInfoStubVtbl,
13438 ( CInterfaceStubVtbl *) &_ISupportErrorInfoStubVtbl,
13442 PCInterfaceName const _oaidl_InterfaceNamesList[] =
13444 "IDispatch",
13445 "ITypeInfo",
13446 "ITypeLib",
13447 "ITypeComp",
13448 "IEnumVARIANT",
13449 "ITypeLib2",
13450 "ITypeInfo2",
13451 "IErrorInfo",
13452 "ITypeFactory",
13453 "ICreateErrorInfo",
13454 "ISupportErrorInfo",
13459 #define _oaidl_CHECK_IID(n) IID_GENERIC_CHECK_IID( _oaidl, pIID, n)
13461 int __stdcall _oaidl_IID_Lookup( const IID * pIID, int * pIndex )
13463 IID_BS_LOOKUP_SETUP
13465 IID_BS_LOOKUP_INITIAL_TEST( _oaidl, 11, 8 )
13466 IID_BS_LOOKUP_NEXT_TEST( _oaidl, 4 )
13467 IID_BS_LOOKUP_NEXT_TEST( _oaidl, 2 )
13468 IID_BS_LOOKUP_NEXT_TEST( _oaidl, 1 )
13469 IID_BS_LOOKUP_RETURN_RESULT( _oaidl, 11, *pIndex )
13473 const ExtendedProxyFileInfo oaidl_ProxyFileInfo =
13475 (PCInterfaceProxyVtblList *) & _oaidl_ProxyVtblList,
13476 (PCInterfaceStubVtblList *) & _oaidl_StubVtblList,
13477 (const PCInterfaceName * ) & _oaidl_InterfaceNamesList,
13478 0, /* no delegation */
13479 & _oaidl_IID_Lookup,
13482 0, /* table of [async_uuid] interfaces */
13483 0, /* Filler1 */
13484 0, /* Filler2 */
13485 0 /* Filler3 */