Spelling fix.
[wine] / dlls / oleaut32 / oaidl_p.c
1 /* this ALWAYS GENERATED file contains the proxy stub code */
2
3
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 
10 */
11 /*@@MIDL_FILE_HEADING(  ) */
12
13
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
18
19
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__ */
25
26
27 #include "oaidl.h"
28
29 #define TYPE_FORMAT_STRING_SIZE   1907                              
30 #define PROC_FORMAT_STRING_SIZE   495                               
31
32 typedef struct _MIDL_TYPE_FORMAT_STRING
33     {
34     short          Pad;
35     unsigned char  Format[ TYPE_FORMAT_STRING_SIZE ];
36     } MIDL_TYPE_FORMAT_STRING;
37
38 typedef struct _MIDL_PROC_FORMAT_STRING
39     {
40     short          Pad;
41     unsigned char  Format[ PROC_FORMAT_STRING_SIZE ];
42     } MIDL_PROC_FORMAT_STRING;
43
44
45 extern const MIDL_TYPE_FORMAT_STRING __MIDL_TypeFormatString;
46 extern const MIDL_PROC_FORMAT_STRING __MIDL_ProcFormatString;
47
48
49 /* Standard interface: __MIDL_itf_oaidl_0000, ver. 0.0,
50    GUID={0x00000000,0x0000,0x0000,{0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00}} */
51
52
53 /* Standard interface: IOleAutomationTypes, ver. 1.0,
54    GUID={0x00000000,0x0000,0x0000,{0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00}} */
55
56
57 /* Object interface: IUnknown, ver. 0.0,
58    GUID={0x00000000,0x0000,0x0000,{0xC0,0x00,0x00,0x00,0x00,0x00,0x00,0x46}} */
59
60
61 /* Object interface: IDispatch, ver. 0.0,
62    GUID={0x00020400,0x0000,0x0000,{0xC0,0x00,0x00,0x00,0x00,0x00,0x00,0x46}} */
63
64
65 extern const MIDL_STUB_DESC Object_StubDesc;
66
67
68 HRESULT STDMETHODCALLTYPE IDispatch_GetTypeInfoCount_Proxy( 
69     IDispatch __RPC_FAR * This,
70     /* [out] */ UINT __RPC_FAR *pctinfo)
71 {
72
73     HRESULT _RetVal;
74     
75     RPC_MESSAGE _RpcMessage;
76     
77     MIDL_STUB_MESSAGE _StubMsg;
78     
79     RpcTryExcept
80         {
81         NdrProxyInitialize(
82                       ( void __RPC_FAR *  )This,
83                       ( PRPC_MESSAGE  )&_RpcMessage,
84                       ( PMIDL_STUB_MESSAGE  )&_StubMsg,
85                       ( PMIDL_STUB_DESC  )&Object_StubDesc,
86                       3);
87         
88         
89         
90         if(!pctinfo)
91             {
92             RpcRaiseException(RPC_X_NULL_REF_POINTER);
93             }
94         RpcTryFinally
95             {
96             
97             _StubMsg.BufferLength = 0U;
98             NdrProxyGetBuffer(This, &_StubMsg);
99             NdrProxySendReceive(This, &_StubMsg);
100             
101             if ( (_RpcMessage.DataRepresentation & 0X0000FFFFUL) != NDR_LOCAL_DATA_REPRESENTATION )
102                 NdrConvert( (PMIDL_STUB_MESSAGE) &_StubMsg, (PFORMAT_STRING) &__MIDL_ProcFormatString.Format[0] );
103             
104             *pctinfo = *(( UINT __RPC_FAR * )_StubMsg.Buffer)++;
105             
106             _RetVal = *(( HRESULT __RPC_FAR * )_StubMsg.Buffer)++;
107             
108             }
109         RpcFinally
110             {
111             NdrProxyFreeBuffer(This, &_StubMsg);
112             
113             }
114         RpcEndFinally
115         
116         }
117     RpcExcept(_StubMsg.dwStubPhase != PROXY_SENDRECEIVE)
118         {
119         NdrClearOutParameters(
120                          ( PMIDL_STUB_MESSAGE  )&_StubMsg,
121                          ( PFORMAT_STRING  )&__MIDL_TypeFormatString.Format[2],
122                          ( void __RPC_FAR * )pctinfo);
123         _RetVal = NdrProxyErrorHandler(RpcExceptionCode());
124         }
125     RpcEndExcept
126     return _RetVal;
127 }
128
129 void __RPC_STUB IDispatch_GetTypeInfoCount_Stub(
130     IRpcStubBuffer *This,
131     IRpcChannelBuffer *_pRpcChannelBuffer,
132     PRPC_MESSAGE _pRpcMessage,
133     DWORD *_pdwStubPhase)
134 {
135     UINT _M0;
136     HRESULT _RetVal;
137     MIDL_STUB_MESSAGE _StubMsg;
138     UINT __RPC_FAR *pctinfo;
139     
140 NdrStubInitialize(
141                      _pRpcMessage,
142                      &_StubMsg,
143                      &Object_StubDesc,
144                      _pRpcChannelBuffer);
145     ( UINT __RPC_FAR * )pctinfo = 0;
146     RpcTryFinally
147         {
148         pctinfo = &_M0;
149         
150         *_pdwStubPhase = STUB_CALL_SERVER;
151         _RetVal = (((IDispatch*) ((CStdStubBuffer *)This)->pvServerObject)->lpVtbl) -> GetTypeInfoCount((IDispatch *) ((CStdStubBuffer *)This)->pvServerObject,pctinfo);
152         
153         *_pdwStubPhase = STUB_MARSHAL;
154         
155         _StubMsg.BufferLength = 4U + 4U;
156         NdrStubGetBuffer(This, _pRpcChannelBuffer, &_StubMsg);
157         *(( UINT __RPC_FAR * )_StubMsg.Buffer)++ = *pctinfo;
158         
159         *(( HRESULT __RPC_FAR * )_StubMsg.Buffer)++ = _RetVal;
160         
161         }
162     RpcFinally
163         {
164         }
165     RpcEndFinally
166     _pRpcMessage->BufferLength = 
167         (unsigned int)((long)_StubMsg.Buffer - (long)_pRpcMessage->Buffer);
168     
169 }
170
171
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)
177 {
178
179     HRESULT _RetVal;
180     
181     RPC_MESSAGE _RpcMessage;
182     
183     MIDL_STUB_MESSAGE _StubMsg;
184     
185     if(ppTInfo)
186         {
187         MIDL_memset(
188                ppTInfo,
189                0,
190                sizeof( ITypeInfo __RPC_FAR *__RPC_FAR * ));
191         }
192     RpcTryExcept
193         {
194         NdrProxyInitialize(
195                       ( void __RPC_FAR *  )This,
196                       ( PRPC_MESSAGE  )&_RpcMessage,
197                       ( PMIDL_STUB_MESSAGE  )&_StubMsg,
198                       ( PMIDL_STUB_DESC  )&Object_StubDesc,
199                       4);
200         
201         
202         
203         if(!ppTInfo)
204             {
205             RpcRaiseException(RPC_X_NULL_REF_POINTER);
206             }
207         RpcTryFinally
208             {
209             
210             _StubMsg.BufferLength = 4U + 4U;
211             NdrProxyGetBuffer(This, &_StubMsg);
212             *(( UINT __RPC_FAR * )_StubMsg.Buffer)++ = iTInfo;
213             
214             *(( LCID __RPC_FAR * )_StubMsg.Buffer)++ = lcid;
215             
216             NdrProxySendReceive(This, &_StubMsg);
217             
218             if ( (_RpcMessage.DataRepresentation & 0X0000FFFFUL) != NDR_LOCAL_DATA_REPRESENTATION )
219                 NdrConvert( (PMIDL_STUB_MESSAGE) &_StubMsg, (PFORMAT_STRING) &__MIDL_ProcFormatString.Format[6] );
220             
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 );
225             
226             _StubMsg.Buffer = (unsigned char __RPC_FAR *)(((long)_StubMsg.Buffer + 3) & ~ 0x3);
227             _RetVal = *(( HRESULT __RPC_FAR * )_StubMsg.Buffer)++;
228             
229             }
230         RpcFinally
231             {
232             NdrProxyFreeBuffer(This, &_StubMsg);
233             
234             }
235         RpcEndFinally
236         
237         }
238     RpcExcept(_StubMsg.dwStubPhase != PROXY_SENDRECEIVE)
239         {
240         NdrClearOutParameters(
241                          ( PMIDL_STUB_MESSAGE  )&_StubMsg,
242                          ( PFORMAT_STRING  )&__MIDL_TypeFormatString.Format[6],
243                          ( void __RPC_FAR * )ppTInfo);
244         _RetVal = NdrProxyErrorHandler(RpcExceptionCode());
245         }
246     RpcEndExcept
247     return _RetVal;
248 }
249
250 void __RPC_STUB IDispatch_GetTypeInfo_Stub(
251     IRpcStubBuffer *This,
252     IRpcChannelBuffer *_pRpcChannelBuffer,
253     PRPC_MESSAGE _pRpcMessage,
254     DWORD *_pdwStubPhase)
255 {
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;
262     
263 NdrStubInitialize(
264                      _pRpcMessage,
265                      &_StubMsg,
266                      &Object_StubDesc,
267                      _pRpcChannelBuffer);
268     ( ITypeInfo __RPC_FAR *__RPC_FAR * )ppTInfo = 0;
269     RpcTryFinally
270         {
271         if ( (_pRpcMessage->DataRepresentation & 0X0000FFFFUL) != NDR_LOCAL_DATA_REPRESENTATION )
272             NdrConvert( (PMIDL_STUB_MESSAGE) &_StubMsg, (PFORMAT_STRING) &__MIDL_ProcFormatString.Format[6] );
273         
274         iTInfo = *(( UINT __RPC_FAR * )_StubMsg.Buffer)++;
275         
276         lcid = *(( LCID __RPC_FAR * )_StubMsg.Buffer)++;
277         
278         ppTInfo = &_M1;
279         _M1 = 0;
280         
281         *_pdwStubPhase = STUB_CALL_SERVER;
282         _RetVal = (((IDispatch*) ((CStdStubBuffer *)This)->pvServerObject)->lpVtbl) -> GetTypeInfo(
283                (IDispatch *) ((CStdStubBuffer *)This)->pvServerObject,
284                iTInfo,
285                lcid,
286                ppTInfo);
287         
288         *_pdwStubPhase = STUB_MARSHAL;
289         
290         _StubMsg.BufferLength = 0U + 4U;
291         NdrPointerBufferSize( (PMIDL_STUB_MESSAGE) &_StubMsg,
292                               (unsigned char __RPC_FAR *)ppTInfo,
293                               (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[6] );
294         
295         _StubMsg.BufferLength += 16;
296         
297         NdrStubGetBuffer(This, _pRpcChannelBuffer, &_StubMsg);
298         NdrPointerMarshall( (PMIDL_STUB_MESSAGE)& _StubMsg,
299                             (unsigned char __RPC_FAR *)ppTInfo,
300                             (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[6] );
301         
302         _StubMsg.Buffer = (unsigned char __RPC_FAR *)(((long)_StubMsg.Buffer + 3) & ~ 0x3);
303         *(( HRESULT __RPC_FAR * )_StubMsg.Buffer)++ = _RetVal;
304         
305         }
306     RpcFinally
307         {
308         NdrPointerFree( &_StubMsg,
309                         (unsigned char __RPC_FAR *)ppTInfo,
310                         &__MIDL_TypeFormatString.Format[6] );
311         
312         }
313     RpcEndFinally
314     _pRpcMessage->BufferLength = 
315         (unsigned int)((long)_StubMsg.Buffer - (long)_pRpcMessage->Buffer);
316     
317 }
318
319
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)
327 {
328
329     HRESULT _RetVal;
330     
331     RPC_MESSAGE _RpcMessage;
332     
333     MIDL_STUB_MESSAGE _StubMsg;
334     
335     RpcTryExcept
336         {
337         NdrProxyInitialize(
338                       ( void __RPC_FAR *  )This,
339                       ( PRPC_MESSAGE  )&_RpcMessage,
340                       ( PMIDL_STUB_MESSAGE  )&_StubMsg,
341                       ( PMIDL_STUB_DESC  )&Object_StubDesc,
342                       5);
343         
344         
345         
346         if(!riid)
347             {
348             RpcRaiseException(RPC_X_NULL_REF_POINTER);
349             }
350         if(!rgszNames)
351             {
352             RpcRaiseException(RPC_X_NULL_REF_POINTER);
353             }
354         if(!rgDispId)
355             {
356             RpcRaiseException(RPC_X_NULL_REF_POINTER);
357             }
358         RpcTryFinally
359             {
360             
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] );
365             
366             _StubMsg.MaxCount = cNames;
367             
368             NdrConformantArrayBufferSize( (PMIDL_STUB_MESSAGE) &_StubMsg,
369                                           (unsigned char __RPC_FAR *)rgszNames,
370                                           (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[54] );
371             
372             NdrProxyGetBuffer(This, &_StubMsg);
373             NdrSimpleStructMarshall( (PMIDL_STUB_MESSAGE)& _StubMsg,
374                                      (unsigned char __RPC_FAR *)riid,
375                                      (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[38] );
376             
377             _StubMsg.MaxCount = cNames;
378             
379             NdrConformantArrayMarshall( (PMIDL_STUB_MESSAGE)& _StubMsg,
380                                         (unsigned char __RPC_FAR *)rgszNames,
381                                         (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[54] );
382             
383             _StubMsg.Buffer = (unsigned char __RPC_FAR *)(((long)_StubMsg.Buffer + 3) & ~ 0x3);
384             *(( UINT __RPC_FAR * )_StubMsg.Buffer)++ = cNames;
385             
386             *(( LCID __RPC_FAR * )_StubMsg.Buffer)++ = lcid;
387             
388             NdrProxySendReceive(This, &_StubMsg);
389             
390             if ( (_RpcMessage.DataRepresentation & 0X0000FFFFUL) != NDR_LOCAL_DATA_REPRESENTATION )
391                 NdrConvert( (PMIDL_STUB_MESSAGE) &_StubMsg, (PFORMAT_STRING) &__MIDL_ProcFormatString.Format[16] );
392             
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 );
397             
398             _RetVal = *(( HRESULT __RPC_FAR * )_StubMsg.Buffer)++;
399             
400             }
401         RpcFinally
402             {
403             NdrProxyFreeBuffer(This, &_StubMsg);
404             
405             }
406         RpcEndFinally
407         
408         }
409     RpcExcept(_StubMsg.dwStubPhase != PROXY_SENDRECEIVE)
410         {
411         _StubMsg.MaxCount = cNames;
412         
413         NdrClearOutParameters(
414                          ( PMIDL_STUB_MESSAGE  )&_StubMsg,
415                          ( PFORMAT_STRING  )&__MIDL_TypeFormatString.Format[84],
416                          ( void __RPC_FAR * )rgDispId);
417         _RetVal = NdrProxyErrorHandler(RpcExceptionCode());
418         }
419     RpcEndExcept
420     return _RetVal;
421 }
422
423 void __RPC_STUB IDispatch_GetIDsOfNames_Stub(
424     IRpcStubBuffer *This,
425     IRpcChannelBuffer *_pRpcChannelBuffer,
426     PRPC_MESSAGE _pRpcMessage,
427     DWORD *_pdwStubPhase)
428 {
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;
436     
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
445         {
446         if ( (_pRpcMessage->DataRepresentation & 0X0000FFFFUL) != NDR_LOCAL_DATA_REPRESENTATION )
447             NdrConvert( (PMIDL_STUB_MESSAGE) &_StubMsg, (PFORMAT_STRING) &__MIDL_ProcFormatString.Format[16] );
448         
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 );
453         
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 );
458         
459         _StubMsg.Buffer = (unsigned char __RPC_FAR *)(((long)_StubMsg.Buffer + 3) & ~ 0x3);
460         cNames = *(( UINT __RPC_FAR * )_StubMsg.Buffer)++;
461         
462         lcid = *(( LCID __RPC_FAR * )_StubMsg.Buffer)++;
463         
464         rgDispId = NdrAllocate(&_StubMsg,cNames * 4);
465         
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);
474         
475         *_pdwStubPhase = STUB_MARSHAL;
476         
477         _StubMsg.BufferLength = 4U + 7U;
478         _StubMsg.MaxCount = cNames;
479         
480         NdrConformantArrayBufferSize( (PMIDL_STUB_MESSAGE) &_StubMsg,
481                                       (unsigned char __RPC_FAR *)rgDispId,
482                                       (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[88] );
483         
484         _StubMsg.BufferLength += 16;
485         
486         NdrStubGetBuffer(This, _pRpcChannelBuffer, &_StubMsg);
487         _StubMsg.MaxCount = cNames;
488         
489         NdrConformantArrayMarshall( (PMIDL_STUB_MESSAGE)& _StubMsg,
490                                     (unsigned char __RPC_FAR *)rgDispId,
491                                     (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[88] );
492         
493         *(( HRESULT __RPC_FAR * )_StubMsg.Buffer)++ = _RetVal;
494         
495         }
496     RpcFinally
497         {
498         _StubMsg.MaxCount = cNames;
499         
500         NdrPointerFree( &_StubMsg,
501                         (unsigned char __RPC_FAR *)rgszNames,
502                         &__MIDL_TypeFormatString.Format[50] );
503         
504         if ( rgDispId )
505             _StubMsg.pfnFree( rgDispId );
506         
507         }
508     RpcEndFinally
509     _pRpcMessage->BufferLength = 
510         (unsigned int)((long)_StubMsg.Buffer - (long)_pRpcMessage->Buffer);
511     
512 }
513
514
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)
528 {
529
530     HRESULT _RetVal;
531     
532     RPC_MESSAGE _RpcMessage;
533     
534     MIDL_STUB_MESSAGE _StubMsg;
535     
536     if(pVarResult)
537         {
538         MIDL_memset(
539                pVarResult,
540                0,
541                sizeof( VARIANT  ));
542         }
543     if(pExcepInfo)
544         {
545         MIDL_memset(
546                pExcepInfo,
547                0,
548                sizeof( EXCEPINFO  ));
549         }
550     RpcTryExcept
551         {
552         NdrProxyInitialize(
553                       ( void __RPC_FAR *  )This,
554                       ( PRPC_MESSAGE  )&_RpcMessage,
555                       ( PMIDL_STUB_MESSAGE  )&_StubMsg,
556                       ( PMIDL_STUB_DESC  )&Object_StubDesc,
557                       6);
558         
559         
560         
561         if(!riid)
562             {
563             RpcRaiseException(RPC_X_NULL_REF_POINTER);
564             }
565         if(!pDispParams)
566             {
567             RpcRaiseException(RPC_X_NULL_REF_POINTER);
568             }
569         if(!pVarResult)
570             {
571             RpcRaiseException(RPC_X_NULL_REF_POINTER);
572             }
573         if(!pExcepInfo)
574             {
575             RpcRaiseException(RPC_X_NULL_REF_POINTER);
576             }
577         if(!pArgErr)
578             {
579             RpcRaiseException(RPC_X_NULL_REF_POINTER);
580             }
581         if(!rgVarRefIdx)
582             {
583             RpcRaiseException(RPC_X_NULL_REF_POINTER);
584             }
585         if(!rgVarRef)
586             {
587             RpcRaiseException(RPC_X_NULL_REF_POINTER);
588             }
589         RpcTryFinally
590             {
591             
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] );
596             
597             NdrComplexStructBufferSize( (PMIDL_STUB_MESSAGE) &_StubMsg,
598                                         (unsigned char __RPC_FAR *)pDispParams,
599                                         (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[1080] );
600             
601             _StubMsg.MaxCount = cVarRef;
602             
603             NdrConformantArrayBufferSize( (PMIDL_STUB_MESSAGE) &_StubMsg,
604                                           (unsigned char __RPC_FAR *)rgVarRefIdx,
605                                           (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[1170] );
606             
607             _StubMsg.MaxCount = cVarRef;
608             
609             NdrComplexArrayBufferSize( (PMIDL_STUB_MESSAGE) &_StubMsg,
610                                        (unsigned char __RPC_FAR *)rgVarRef,
611                                        (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[1184] );
612             
613             NdrProxyGetBuffer(This, &_StubMsg);
614             *(( DISPID __RPC_FAR * )_StubMsg.Buffer)++ = dispIdMember;
615             
616             NdrSimpleStructMarshall( (PMIDL_STUB_MESSAGE)& _StubMsg,
617                                      (unsigned char __RPC_FAR *)riid,
618                                      (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[38] );
619             
620             *(( LCID __RPC_FAR * )_StubMsg.Buffer)++ = lcid;
621             
622             *(( DWORD __RPC_FAR * )_StubMsg.Buffer)++ = dwFlags;
623             
624             NdrComplexStructMarshall( (PMIDL_STUB_MESSAGE)& _StubMsg,
625                                       (unsigned char __RPC_FAR *)pDispParams,
626                                       (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[1080] );
627             
628             _StubMsg.Buffer = (unsigned char __RPC_FAR *)(((long)_StubMsg.Buffer + 3) & ~ 0x3);
629             *(( UINT __RPC_FAR * )_StubMsg.Buffer)++ = cVarRef;
630             
631             _StubMsg.MaxCount = cVarRef;
632             
633             NdrConformantArrayMarshall( (PMIDL_STUB_MESSAGE)& _StubMsg,
634                                         (unsigned char __RPC_FAR *)rgVarRefIdx,
635                                         (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[1170] );
636             
637             _StubMsg.MaxCount = cVarRef;
638             
639             NdrComplexArrayMarshall( (PMIDL_STUB_MESSAGE)& _StubMsg,
640                                      (unsigned char __RPC_FAR *)rgVarRef,
641                                      (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[1184] );
642             
643             NdrProxySendReceive(This, &_StubMsg);
644             
645             if ( (_RpcMessage.DataRepresentation & 0X0000FFFFUL) != NDR_LOCAL_DATA_REPRESENTATION )
646                 NdrConvert( (PMIDL_STUB_MESSAGE) &_StubMsg, (PFORMAT_STRING) &__MIDL_ProcFormatString.Format[34] );
647             
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 );
652             
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 );
657             
658             _StubMsg.Buffer = (unsigned char __RPC_FAR *)(((long)_StubMsg.Buffer + 3) & ~ 0x3);
659             *pArgErr = *(( UINT __RPC_FAR * )_StubMsg.Buffer)++;
660             
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 );
665             
666             _StubMsg.Buffer = (unsigned char __RPC_FAR *)(((long)_StubMsg.Buffer + 3) & ~ 0x3);
667             _RetVal = *(( HRESULT __RPC_FAR * )_StubMsg.Buffer)++;
668             
669             }
670         RpcFinally
671             {
672             NdrProxyFreeBuffer(This, &_StubMsg);
673             
674             }
675         RpcEndFinally
676         
677         }
678     RpcExcept(_StubMsg.dwStubPhase != PROXY_SENDRECEIVE)
679         {
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;
693         
694         NdrClearOutParameters(
695                          ( PMIDL_STUB_MESSAGE  )&_StubMsg,
696                          ( PFORMAT_STRING  )&__MIDL_TypeFormatString.Format[1180],
697                          ( void __RPC_FAR * )rgVarRef);
698         _RetVal = NdrProxyErrorHandler(RpcExceptionCode());
699         }
700     RpcEndExcept
701     return _RetVal;
702 }
703
704 void __RPC_STUB IDispatch_RemoteInvoke_Stub(
705     IRpcStubBuffer *This,
706     IRpcChannelBuffer *_pRpcChannelBuffer,
707     PRPC_MESSAGE _pRpcMessage,
708     DWORD *_pdwStubPhase)
709 {
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;
726     
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
739         {
740         if ( (_pRpcMessage->DataRepresentation & 0X0000FFFFUL) != NDR_LOCAL_DATA_REPRESENTATION )
741             NdrConvert( (PMIDL_STUB_MESSAGE) &_StubMsg, (PFORMAT_STRING) &__MIDL_ProcFormatString.Format[34] );
742         
743         dispIdMember = *(( DISPID __RPC_FAR * )_StubMsg.Buffer)++;
744         
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 );
749         
750         lcid = *(( LCID __RPC_FAR * )_StubMsg.Buffer)++;
751         
752         dwFlags = *(( DWORD __RPC_FAR * )_StubMsg.Buffer)++;
753         
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 );
758         
759         _StubMsg.Buffer = (unsigned char __RPC_FAR *)(((long)_StubMsg.Buffer + 3) & ~ 0x3);
760         cVarRef = *(( UINT __RPC_FAR * )_StubMsg.Buffer)++;
761         
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 );
766         
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 );
771         
772         pVarResult = &_M6;
773         MIDL_memset(
774                pVarResult,
775                0,
776                sizeof( VARIANT  ));
777         pExcepInfo = &_pExcepInfoM;
778         pArgErr = &_M7;
779         
780         *_pdwStubPhase = STUB_CALL_SERVER;
781         
782         
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);
796         
797         *_pdwStubPhase = STUB_MARSHAL;
798         
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] );
803         
804         NdrComplexStructBufferSize( (PMIDL_STUB_MESSAGE) &_StubMsg,
805                                     (unsigned char __RPC_FAR *)pExcepInfo,
806                                     (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[1138] );
807         
808         _StubMsg.MaxCount = cVarRef;
809         
810         NdrComplexArrayBufferSize( (PMIDL_STUB_MESSAGE) &_StubMsg,
811                                    (unsigned char __RPC_FAR *)rgVarRef,
812                                    (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[1184] );
813         
814         _StubMsg.BufferLength += 16;
815         
816         NdrStubGetBuffer(This, _pRpcChannelBuffer, &_StubMsg);
817         NdrUserMarshalMarshall( (PMIDL_STUB_MESSAGE)& _StubMsg,
818                                 (unsigned char __RPC_FAR *)pVarResult,
819                                 (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[1110] );
820         
821         NdrComplexStructMarshall( (PMIDL_STUB_MESSAGE)& _StubMsg,
822                                   (unsigned char __RPC_FAR *)pExcepInfo,
823                                   (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[1138] );
824         
825         _StubMsg.Buffer = (unsigned char __RPC_FAR *)(((long)_StubMsg.Buffer + 3) & ~ 0x3);
826         *(( UINT __RPC_FAR * )_StubMsg.Buffer)++ = *pArgErr;
827         
828         _StubMsg.MaxCount = cVarRef;
829         
830         NdrComplexArrayMarshall( (PMIDL_STUB_MESSAGE)& _StubMsg,
831                                  (unsigned char __RPC_FAR *)rgVarRef,
832                                  (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[1184] );
833         
834         _StubMsg.Buffer = (unsigned char __RPC_FAR *)(((long)_StubMsg.Buffer + 3) & ~ 0x3);
835         *(( HRESULT __RPC_FAR * )_StubMsg.Buffer)++ = _RetVal;
836         
837         }
838     RpcFinally
839         {
840         NdrPointerFree( &_StubMsg,
841                         (unsigned char __RPC_FAR *)pDispParams,
842                         &__MIDL_TypeFormatString.Format[98] );
843         
844         NdrPointerFree( &_StubMsg,
845                         (unsigned char __RPC_FAR *)pVarResult,
846                         &__MIDL_TypeFormatString.Format[1102] );
847         
848         NdrPointerFree( &_StubMsg,
849                         (unsigned char __RPC_FAR *)pExcepInfo,
850                         &__MIDL_TypeFormatString.Format[1120] );
851         
852         _StubMsg.MaxCount = cVarRef;
853         
854         NdrPointerFree( &_StubMsg,
855                         (unsigned char __RPC_FAR *)rgVarRef,
856                         &__MIDL_TypeFormatString.Format[1180] );
857         
858         }
859     RpcEndFinally
860     _pRpcMessage->BufferLength = 
861         (unsigned int)((long)_StubMsg.Buffer - (long)_pRpcMessage->Buffer);
862     
863 }
864
865 const CINTERFACE_PROXY_VTABLE(7) _IDispatchProxyVtbl = 
866 {
867     { &IID_IDispatch },
868     {
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
876     }
877 };
878
879
880 static const PRPC_STUB_FUNCTION IDispatch_table[] =
881 {
882     IDispatch_GetTypeInfoCount_Stub,
883     IDispatch_GetTypeInfo_Stub,
884     IDispatch_GetIDsOfNames_Stub,
885     IDispatch_RemoteInvoke_Stub
886 };
887
888 const CInterfaceStubVtbl _IDispatchStubVtbl =
889 {
890     {
891         &IID_IDispatch,
892         0,
893         7,
894         &IDispatch_table[-3]
895     },
896     { CStdStubBuffer_METHODS }
897 };
898
899
900 /* Object interface: IEnumVARIANT, ver. 0.0,
901    GUID={0x00020404,0x0000,0x0000,{0xC0,0x00,0x00,0x00,0x00,0x00,0x00,0x46}} */
902
903
904 extern const MIDL_STUB_DESC Object_StubDesc;
905
906
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)
912 {
913
914     HRESULT _RetVal;
915     
916     RPC_MESSAGE _RpcMessage;
917     
918     MIDL_STUB_MESSAGE _StubMsg;
919     
920     if(rgVar)
921         {
922         MIDL_memset(
923                rgVar,
924                0,
925                celt * sizeof( VARIANT  ));
926         }
927     RpcTryExcept
928         {
929         NdrProxyInitialize(
930                       ( void __RPC_FAR *  )This,
931                       ( PRPC_MESSAGE  )&_RpcMessage,
932                       ( PMIDL_STUB_MESSAGE  )&_StubMsg,
933                       ( PMIDL_STUB_DESC  )&Object_StubDesc,
934                       3);
935         
936         
937         
938         if(!rgVar)
939             {
940             RpcRaiseException(RPC_X_NULL_REF_POINTER);
941             }
942         if(!pCeltFetched)
943             {
944             RpcRaiseException(RPC_X_NULL_REF_POINTER);
945             }
946         RpcTryFinally
947             {
948             
949             _StubMsg.BufferLength = 4U;
950             NdrProxyGetBuffer(This, &_StubMsg);
951             *(( ULONG __RPC_FAR * )_StubMsg.Buffer)++ = celt;
952             
953             NdrProxySendReceive(This, &_StubMsg);
954             
955             if ( (_RpcMessage.DataRepresentation & 0X0000FFFFUL) != NDR_LOCAL_DATA_REPRESENTATION )
956                 NdrConvert( (PMIDL_STUB_MESSAGE) &_StubMsg, (PFORMAT_STRING) &__MIDL_ProcFormatString.Format[72] );
957             
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 );
962             
963             _StubMsg.Buffer = (unsigned char __RPC_FAR *)(((long)_StubMsg.Buffer + 3) & ~ 0x3);
964             *pCeltFetched = *(( ULONG __RPC_FAR * )_StubMsg.Buffer)++;
965             
966             _RetVal = *(( HRESULT __RPC_FAR * )_StubMsg.Buffer)++;
967             
968             }
969         RpcFinally
970             {
971             NdrProxyFreeBuffer(This, &_StubMsg);
972             
973             }
974         RpcEndFinally
975         
976         }
977     RpcExcept(_StubMsg.dwStubPhase != PROXY_SENDRECEIVE)
978         {
979         _StubMsg.MaxCount = celt;
980         _StubMsg.Offset = 0;
981         _StubMsg.ActualCount = _StubMsg.MaxCount;
982         
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());
992         }
993     RpcEndExcept
994     return _RetVal;
995 }
996
997 void __RPC_STUB IEnumVARIANT_RemoteNext_Stub(
998     IRpcStubBuffer *This,
999     IRpcChannelBuffer *_pRpcChannelBuffer,
1000     PRPC_MESSAGE _pRpcMessage,
1001     DWORD *_pdwStubPhase)
1002 {
1003     ULONG _M11;
1004     HRESULT _RetVal;
1005     MIDL_STUB_MESSAGE _StubMsg;
1006     ULONG celt;
1007     ULONG __RPC_FAR *pCeltFetched;
1008     VARIANT __RPC_FAR *rgVar;
1009     
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
1018         {
1019         if ( (_pRpcMessage->DataRepresentation & 0X0000FFFFUL) != NDR_LOCAL_DATA_REPRESENTATION )
1020             NdrConvert( (PMIDL_STUB_MESSAGE) &_StubMsg, (PFORMAT_STRING) &__MIDL_ProcFormatString.Format[72] );
1021         
1022         celt = *(( ULONG __RPC_FAR * )_StubMsg.Buffer)++;
1023         
1024         rgVar = NdrAllocate(&_StubMsg,celt * 16);
1025         pCeltFetched = &_M11;
1026         
1027         *_pdwStubPhase = STUB_CALL_SERVER;
1028         
1029         
1030         _RetVal = IEnumVARIANT_Next_Stub(
1031                                  (IEnumVARIANT *) ((CStdStubBuffer *)This)->pvServerObject,
1032                                  celt,
1033                                  rgVar,
1034                                  pCeltFetched);
1035         
1036         *_pdwStubPhase = STUB_MARSHAL;
1037         
1038         _StubMsg.BufferLength = 12U + 7U + 7U;
1039         _StubMsg.MaxCount = celt;
1040         _StubMsg.Offset = 0;
1041         _StubMsg.ActualCount = pCeltFetched ? *pCeltFetched : 0;
1042         
1043         NdrComplexArrayBufferSize( (PMIDL_STUB_MESSAGE) &_StubMsg,
1044                                    (unsigned char __RPC_FAR *)rgVar,
1045                                    (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[1206] );
1046         
1047         _StubMsg.BufferLength += 16;
1048         
1049         NdrStubGetBuffer(This, _pRpcChannelBuffer, &_StubMsg);
1050         _StubMsg.MaxCount = celt;
1051         _StubMsg.Offset = 0;
1052         _StubMsg.ActualCount = pCeltFetched ? *pCeltFetched : 0;
1053         
1054         NdrComplexArrayMarshall( (PMIDL_STUB_MESSAGE)& _StubMsg,
1055                                  (unsigned char __RPC_FAR *)rgVar,
1056                                  (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[1206] );
1057         
1058         _StubMsg.Buffer = (unsigned char __RPC_FAR *)(((long)_StubMsg.Buffer + 3) & ~ 0x3);
1059         *(( ULONG __RPC_FAR * )_StubMsg.Buffer)++ = *pCeltFetched;
1060         
1061         *(( HRESULT __RPC_FAR * )_StubMsg.Buffer)++ = _RetVal;
1062         
1063         }
1064     RpcFinally
1065         {
1066         _StubMsg.MaxCount = celt;
1067         _StubMsg.Offset = 0;
1068         _StubMsg.ActualCount = pCeltFetched ? *pCeltFetched : 0;
1069         
1070         NdrPointerFree( &_StubMsg,
1071                         (unsigned char __RPC_FAR *)rgVar,
1072                         &__MIDL_TypeFormatString.Format[1202] );
1073         
1074         }
1075     RpcEndFinally
1076     _pRpcMessage->BufferLength = 
1077         (unsigned int)((long)_StubMsg.Buffer - (long)_pRpcMessage->Buffer);
1078     
1079 }
1080
1081
1082 HRESULT STDMETHODCALLTYPE IEnumVARIANT_Skip_Proxy( 
1083     IEnumVARIANT __RPC_FAR * This,
1084     /* [in] */ ULONG celt)
1085 {
1086
1087     HRESULT _RetVal;
1088     
1089     RPC_MESSAGE _RpcMessage;
1090     
1091     MIDL_STUB_MESSAGE _StubMsg;
1092     
1093     RpcTryExcept
1094         {
1095         NdrProxyInitialize(
1096                       ( void __RPC_FAR *  )This,
1097                       ( PRPC_MESSAGE  )&_RpcMessage,
1098                       ( PMIDL_STUB_MESSAGE  )&_StubMsg,
1099                       ( PMIDL_STUB_DESC  )&Object_StubDesc,
1100                       4);
1101         
1102         
1103         
1104         RpcTryFinally
1105             {
1106             
1107             _StubMsg.BufferLength = 4U;
1108             NdrProxyGetBuffer(This, &_StubMsg);
1109             *(( ULONG __RPC_FAR * )_StubMsg.Buffer)++ = celt;
1110             
1111             NdrProxySendReceive(This, &_StubMsg);
1112             
1113             if ( (_RpcMessage.DataRepresentation & 0X0000FFFFUL) != NDR_LOCAL_DATA_REPRESENTATION )
1114                 NdrConvert( (PMIDL_STUB_MESSAGE) &_StubMsg, (PFORMAT_STRING) &__MIDL_ProcFormatString.Format[84] );
1115             
1116             _RetVal = *(( HRESULT __RPC_FAR * )_StubMsg.Buffer)++;
1117             
1118             }
1119         RpcFinally
1120             {
1121             NdrProxyFreeBuffer(This, &_StubMsg);
1122             
1123             }
1124         RpcEndFinally
1125         
1126         }
1127     RpcExcept(_StubMsg.dwStubPhase != PROXY_SENDRECEIVE)
1128         {
1129         _RetVal = NdrProxyErrorHandler(RpcExceptionCode());
1130         }
1131     RpcEndExcept
1132     return _RetVal;
1133 }
1134
1135 void __RPC_STUB IEnumVARIANT_Skip_Stub(
1136     IRpcStubBuffer *This,
1137     IRpcChannelBuffer *_pRpcChannelBuffer,
1138     PRPC_MESSAGE _pRpcMessage,
1139     DWORD *_pdwStubPhase)
1140 {
1141     HRESULT _RetVal;
1142     MIDL_STUB_MESSAGE _StubMsg;
1143     ULONG celt;
1144     
1145 NdrStubInitialize(
1146                      _pRpcMessage,
1147                      &_StubMsg,
1148                      &Object_StubDesc,
1149                      _pRpcChannelBuffer);
1150     RpcTryFinally
1151         {
1152         if ( (_pRpcMessage->DataRepresentation & 0X0000FFFFUL) != NDR_LOCAL_DATA_REPRESENTATION )
1153             NdrConvert( (PMIDL_STUB_MESSAGE) &_StubMsg, (PFORMAT_STRING) &__MIDL_ProcFormatString.Format[84] );
1154         
1155         celt = *(( ULONG __RPC_FAR * )_StubMsg.Buffer)++;
1156         
1157         
1158         *_pdwStubPhase = STUB_CALL_SERVER;
1159         _RetVal = (((IEnumVARIANT*) ((CStdStubBuffer *)This)->pvServerObject)->lpVtbl) -> Skip((IEnumVARIANT *) ((CStdStubBuffer *)This)->pvServerObject,celt);
1160         
1161         *_pdwStubPhase = STUB_MARSHAL;
1162         
1163         _StubMsg.BufferLength = 4U;
1164         NdrStubGetBuffer(This, _pRpcChannelBuffer, &_StubMsg);
1165         *(( HRESULT __RPC_FAR * )_StubMsg.Buffer)++ = _RetVal;
1166         
1167         }
1168     RpcFinally
1169         {
1170         }
1171     RpcEndFinally
1172     _pRpcMessage->BufferLength = 
1173         (unsigned int)((long)_StubMsg.Buffer - (long)_pRpcMessage->Buffer);
1174     
1175 }
1176
1177
1178 HRESULT STDMETHODCALLTYPE IEnumVARIANT_Reset_Proxy( 
1179     IEnumVARIANT __RPC_FAR * This)
1180 {
1181
1182     HRESULT _RetVal;
1183     
1184     RPC_MESSAGE _RpcMessage;
1185     
1186     MIDL_STUB_MESSAGE _StubMsg;
1187     
1188     RpcTryExcept
1189         {
1190         NdrProxyInitialize(
1191                       ( void __RPC_FAR *  )This,
1192                       ( PRPC_MESSAGE  )&_RpcMessage,
1193                       ( PMIDL_STUB_MESSAGE  )&_StubMsg,
1194                       ( PMIDL_STUB_DESC  )&Object_StubDesc,
1195                       5);
1196         
1197         
1198         
1199         RpcTryFinally
1200             {
1201             
1202             _StubMsg.BufferLength = 0U;
1203             NdrProxyGetBuffer(This, &_StubMsg);
1204             NdrProxySendReceive(This, &_StubMsg);
1205             
1206             if ( (_RpcMessage.DataRepresentation & 0X0000FFFFUL) != NDR_LOCAL_DATA_REPRESENTATION )
1207                 NdrConvert( (PMIDL_STUB_MESSAGE) &_StubMsg, (PFORMAT_STRING) &__MIDL_ProcFormatString.Format[88] );
1208             
1209             _RetVal = *(( HRESULT __RPC_FAR * )_StubMsg.Buffer)++;
1210             
1211             }
1212         RpcFinally
1213             {
1214             NdrProxyFreeBuffer(This, &_StubMsg);
1215             
1216             }
1217         RpcEndFinally
1218         
1219         }
1220     RpcExcept(_StubMsg.dwStubPhase != PROXY_SENDRECEIVE)
1221         {
1222         _RetVal = NdrProxyErrorHandler(RpcExceptionCode());
1223         }
1224     RpcEndExcept
1225     return _RetVal;
1226 }
1227
1228 void __RPC_STUB IEnumVARIANT_Reset_Stub(
1229     IRpcStubBuffer *This,
1230     IRpcChannelBuffer *_pRpcChannelBuffer,
1231     PRPC_MESSAGE _pRpcMessage,
1232     DWORD *_pdwStubPhase)
1233 {
1234     HRESULT _RetVal;
1235     MIDL_STUB_MESSAGE _StubMsg;
1236     
1237 NdrStubInitialize(
1238                      _pRpcMessage,
1239                      &_StubMsg,
1240                      &Object_StubDesc,
1241                      _pRpcChannelBuffer);
1242     RpcTryFinally
1243         {
1244         
1245         *_pdwStubPhase = STUB_CALL_SERVER;
1246         _RetVal = (((IEnumVARIANT*) ((CStdStubBuffer *)This)->pvServerObject)->lpVtbl) -> Reset((IEnumVARIANT *) ((CStdStubBuffer *)This)->pvServerObject);
1247         
1248         *_pdwStubPhase = STUB_MARSHAL;
1249         
1250         _StubMsg.BufferLength = 4U;
1251         NdrStubGetBuffer(This, _pRpcChannelBuffer, &_StubMsg);
1252         *(( HRESULT __RPC_FAR * )_StubMsg.Buffer)++ = _RetVal;
1253         
1254         }
1255     RpcFinally
1256         {
1257         }
1258     RpcEndFinally
1259     _pRpcMessage->BufferLength = 
1260         (unsigned int)((long)_StubMsg.Buffer - (long)_pRpcMessage->Buffer);
1261     
1262 }
1263
1264
1265 HRESULT STDMETHODCALLTYPE IEnumVARIANT_Clone_Proxy( 
1266     IEnumVARIANT __RPC_FAR * This,
1267     /* [out] */ IEnumVARIANT __RPC_FAR *__RPC_FAR *ppEnum)
1268 {
1269
1270     HRESULT _RetVal;
1271     
1272     RPC_MESSAGE _RpcMessage;
1273     
1274     MIDL_STUB_MESSAGE _StubMsg;
1275     
1276     if(ppEnum)
1277         {
1278         MIDL_memset(
1279                ppEnum,
1280                0,
1281                sizeof( IEnumVARIANT __RPC_FAR *__RPC_FAR * ));
1282         }
1283     RpcTryExcept
1284         {
1285         NdrProxyInitialize(
1286                       ( void __RPC_FAR *  )This,
1287                       ( PRPC_MESSAGE  )&_RpcMessage,
1288                       ( PMIDL_STUB_MESSAGE  )&_StubMsg,
1289                       ( PMIDL_STUB_DESC  )&Object_StubDesc,
1290                       6);
1291         
1292         
1293         
1294         if(!ppEnum)
1295             {
1296             RpcRaiseException(RPC_X_NULL_REF_POINTER);
1297             }
1298         RpcTryFinally
1299             {
1300             
1301             _StubMsg.BufferLength = 0U;
1302             NdrProxyGetBuffer(This, &_StubMsg);
1303             NdrProxySendReceive(This, &_StubMsg);
1304             
1305             if ( (_RpcMessage.DataRepresentation & 0X0000FFFFUL) != NDR_LOCAL_DATA_REPRESENTATION )
1306                 NdrConvert( (PMIDL_STUB_MESSAGE) &_StubMsg, (PFORMAT_STRING) &__MIDL_ProcFormatString.Format[90] );
1307             
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 );
1312             
1313             _StubMsg.Buffer = (unsigned char __RPC_FAR *)(((long)_StubMsg.Buffer + 3) & ~ 0x3);
1314             _RetVal = *(( HRESULT __RPC_FAR * )_StubMsg.Buffer)++;
1315             
1316             }
1317         RpcFinally
1318             {
1319             NdrProxyFreeBuffer(This, &_StubMsg);
1320             
1321             }
1322         RpcEndFinally
1323         
1324         }
1325     RpcExcept(_StubMsg.dwStubPhase != PROXY_SENDRECEIVE)
1326         {
1327         NdrClearOutParameters(
1328                          ( PMIDL_STUB_MESSAGE  )&_StubMsg,
1329                          ( PFORMAT_STRING  )&__MIDL_TypeFormatString.Format[1224],
1330                          ( void __RPC_FAR * )ppEnum);
1331         _RetVal = NdrProxyErrorHandler(RpcExceptionCode());
1332         }
1333     RpcEndExcept
1334     return _RetVal;
1335 }
1336
1337 void __RPC_STUB IEnumVARIANT_Clone_Stub(
1338     IRpcStubBuffer *This,
1339     IRpcChannelBuffer *_pRpcChannelBuffer,
1340     PRPC_MESSAGE _pRpcMessage,
1341     DWORD *_pdwStubPhase)
1342 {
1343     IEnumVARIANT __RPC_FAR *_M12;
1344     HRESULT _RetVal;
1345     MIDL_STUB_MESSAGE _StubMsg;
1346     IEnumVARIANT __RPC_FAR *__RPC_FAR *ppEnum;
1347     
1348 NdrStubInitialize(
1349                      _pRpcMessage,
1350                      &_StubMsg,
1351                      &Object_StubDesc,
1352                      _pRpcChannelBuffer);
1353     ( IEnumVARIANT __RPC_FAR *__RPC_FAR * )ppEnum = 0;
1354     RpcTryFinally
1355         {
1356         ppEnum = &_M12;
1357         _M12 = 0;
1358         
1359         *_pdwStubPhase = STUB_CALL_SERVER;
1360         _RetVal = (((IEnumVARIANT*) ((CStdStubBuffer *)This)->pvServerObject)->lpVtbl) -> Clone((IEnumVARIANT *) ((CStdStubBuffer *)This)->pvServerObject,ppEnum);
1361         
1362         *_pdwStubPhase = STUB_MARSHAL;
1363         
1364         _StubMsg.BufferLength = 0U + 4U;
1365         NdrPointerBufferSize( (PMIDL_STUB_MESSAGE) &_StubMsg,
1366                               (unsigned char __RPC_FAR *)ppEnum,
1367                               (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[1224] );
1368         
1369         _StubMsg.BufferLength += 16;
1370         
1371         NdrStubGetBuffer(This, _pRpcChannelBuffer, &_StubMsg);
1372         NdrPointerMarshall( (PMIDL_STUB_MESSAGE)& _StubMsg,
1373                             (unsigned char __RPC_FAR *)ppEnum,
1374                             (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[1224] );
1375         
1376         _StubMsg.Buffer = (unsigned char __RPC_FAR *)(((long)_StubMsg.Buffer + 3) & ~ 0x3);
1377         *(( HRESULT __RPC_FAR * )_StubMsg.Buffer)++ = _RetVal;
1378         
1379         }
1380     RpcFinally
1381         {
1382         NdrPointerFree( &_StubMsg,
1383                         (unsigned char __RPC_FAR *)ppEnum,
1384                         &__MIDL_TypeFormatString.Format[1224] );
1385         
1386         }
1387     RpcEndFinally
1388     _pRpcMessage->BufferLength = 
1389         (unsigned int)((long)_StubMsg.Buffer - (long)_pRpcMessage->Buffer);
1390     
1391 }
1392
1393 const CINTERFACE_PROXY_VTABLE(7) _IEnumVARIANTProxyVtbl = 
1394 {
1395     { &IID_IEnumVARIANT },
1396     {
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
1404     }
1405 };
1406
1407
1408 static const PRPC_STUB_FUNCTION IEnumVARIANT_table[] =
1409 {
1410     IEnumVARIANT_RemoteNext_Stub,
1411     IEnumVARIANT_Skip_Stub,
1412     IEnumVARIANT_Reset_Stub,
1413     IEnumVARIANT_Clone_Stub
1414 };
1415
1416 const CInterfaceStubVtbl _IEnumVARIANTStubVtbl =
1417 {
1418     {
1419         &IID_IEnumVARIANT,
1420         0,
1421         7,
1422         &IEnumVARIANT_table[-3]
1423     },
1424     { CStdStubBuffer_METHODS }
1425 };
1426
1427
1428 /* Object interface: ITypeComp, ver. 0.0,
1429    GUID={0x00020403,0x0000,0x0000,{0xC0,0x00,0x00,0x00,0x00,0x00,0x00,0x46}} */
1430
1431
1432 extern const MIDL_STUB_DESC Object_StubDesc;
1433
1434
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)
1446 {
1447
1448     HRESULT _RetVal;
1449     
1450     RPC_MESSAGE _RpcMessage;
1451     
1452     MIDL_STUB_MESSAGE _StubMsg;
1453     
1454     if(ppTInfo)
1455         {
1456         MIDL_memset(
1457                ppTInfo,
1458                0,
1459                sizeof( ITypeInfo __RPC_FAR *__RPC_FAR * ));
1460         }
1461     if(ppFuncDesc)
1462         {
1463         *ppFuncDesc = 0;
1464         }
1465     if(ppVarDesc)
1466         {
1467         *ppVarDesc = 0;
1468         }
1469     if(ppTypeComp)
1470         {
1471         MIDL_memset(
1472                ppTypeComp,
1473                0,
1474                sizeof( ITypeComp __RPC_FAR *__RPC_FAR * ));
1475         }
1476     if(pDummy)
1477         {
1478         MIDL_memset(
1479                pDummy,
1480                0,
1481                sizeof( CLEANLOCALSTORAGE  ));
1482         }
1483     RpcTryExcept
1484         {
1485         NdrProxyInitialize(
1486                       ( void __RPC_FAR *  )This,
1487                       ( PRPC_MESSAGE  )&_RpcMessage,
1488                       ( PMIDL_STUB_MESSAGE  )&_StubMsg,
1489                       ( PMIDL_STUB_DESC  )&Object_StubDesc,
1490                       3);
1491         
1492         
1493         
1494         if(!szName)
1495             {
1496             RpcRaiseException(RPC_X_NULL_REF_POINTER);
1497             }
1498         if(!ppTInfo)
1499             {
1500             RpcRaiseException(RPC_X_NULL_REF_POINTER);
1501             }
1502         if(!pDescKind)
1503             {
1504             RpcRaiseException(RPC_X_NULL_REF_POINTER);
1505             }
1506         if(!ppFuncDesc)
1507             {
1508             RpcRaiseException(RPC_X_NULL_REF_POINTER);
1509             }
1510         if(!ppVarDesc)
1511             {
1512             RpcRaiseException(RPC_X_NULL_REF_POINTER);
1513             }
1514         if(!ppTypeComp)
1515             {
1516             RpcRaiseException(RPC_X_NULL_REF_POINTER);
1517             }
1518         if(!pDummy)
1519             {
1520             RpcRaiseException(RPC_X_NULL_REF_POINTER);
1521             }
1522         RpcTryFinally
1523             {
1524             
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] );
1529             
1530             NdrProxyGetBuffer(This, &_StubMsg);
1531             NdrConformantStringMarshall( (PMIDL_STUB_MESSAGE)& _StubMsg,
1532                                          (unsigned char __RPC_FAR *)szName,
1533                                          (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[1248] );
1534             
1535             _StubMsg.Buffer = (unsigned char __RPC_FAR *)(((long)_StubMsg.Buffer + 3) & ~ 0x3);
1536             *(( ULONG __RPC_FAR * )_StubMsg.Buffer)++ = lHashVal;
1537             
1538             *(( WORD __RPC_FAR * )_StubMsg.Buffer)++ = wFlags;
1539             
1540             NdrProxySendReceive(This, &_StubMsg);
1541             
1542             if ( (_RpcMessage.DataRepresentation & 0X0000FFFFUL) != NDR_LOCAL_DATA_REPRESENTATION )
1543                 NdrConvert( (PMIDL_STUB_MESSAGE) &_StubMsg, (PFORMAT_STRING) &__MIDL_ProcFormatString.Format[96] );
1544             
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 );
1549             
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 );
1554             
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 );
1559             
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 );
1564             
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 );
1569             
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 );
1574             
1575             _StubMsg.Buffer = (unsigned char __RPC_FAR *)(((long)_StubMsg.Buffer + 3) & ~ 0x3);
1576             _RetVal = *(( HRESULT __RPC_FAR * )_StubMsg.Buffer)++;
1577             
1578             }
1579         RpcFinally
1580             {
1581             NdrProxyFreeBuffer(This, &_StubMsg);
1582             
1583             }
1584         RpcEndFinally
1585         
1586         }
1587     RpcExcept(_StubMsg.dwStubPhase != PROXY_SENDRECEIVE)
1588         {
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());
1614         }
1615     RpcEndExcept
1616     return _RetVal;
1617 }
1618
1619 void __RPC_STUB ITypeComp_RemoteBind_Stub(
1620     IRpcStubBuffer *This,
1621     IRpcChannelBuffer *_pRpcChannelBuffer,
1622     PRPC_MESSAGE _pRpcMessage,
1623     DWORD *_pdwStubPhase)
1624 {
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;
1642     
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
1656         {
1657         if ( (_pRpcMessage->DataRepresentation & 0X0000FFFFUL) != NDR_LOCAL_DATA_REPRESENTATION )
1658             NdrConvert( (PMIDL_STUB_MESSAGE) &_StubMsg, (PFORMAT_STRING) &__MIDL_ProcFormatString.Format[96] );
1659         
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 );
1664         
1665         _StubMsg.Buffer = (unsigned char __RPC_FAR *)(((long)_StubMsg.Buffer + 3) & ~ 0x3);
1666         lHashVal = *(( ULONG __RPC_FAR * )_StubMsg.Buffer)++;
1667         
1668         wFlags = *(( WORD __RPC_FAR * )_StubMsg.Buffer)++;
1669         
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,
1682                0,
1683                sizeof( CLEANLOCALSTORAGE  ));
1684         
1685         *_pdwStubPhase = STUB_CALL_SERVER;
1686         
1687         
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);
1699         
1700         *_pdwStubPhase = STUB_MARSHAL;
1701         
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] );
1706         
1707         NdrPointerBufferSize( (PMIDL_STUB_MESSAGE) &_StubMsg,
1708                               (unsigned char __RPC_FAR *)ppFuncDesc,
1709                               (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[1254] );
1710         
1711         NdrPointerBufferSize( (PMIDL_STUB_MESSAGE) &_StubMsg,
1712                               (unsigned char __RPC_FAR *)ppVarDesc,
1713                               (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[1464] );
1714         
1715         NdrPointerBufferSize( (PMIDL_STUB_MESSAGE) &_StubMsg,
1716                               (unsigned char __RPC_FAR *)ppTypeComp,
1717                               (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[1540] );
1718         
1719         _StubMsg.BufferLength += 16;
1720         
1721         NdrStubGetBuffer(This, _pRpcChannelBuffer, &_StubMsg);
1722         NdrPointerMarshall( (PMIDL_STUB_MESSAGE)& _StubMsg,
1723                             (unsigned char __RPC_FAR *)ppTInfo,
1724                             (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[6] );
1725         
1726         NdrPointerMarshall( (PMIDL_STUB_MESSAGE)& _StubMsg,
1727                             (unsigned char __RPC_FAR *)pDescKind,
1728                             (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[1250] );
1729         
1730         NdrPointerMarshall( (PMIDL_STUB_MESSAGE)& _StubMsg,
1731                             (unsigned char __RPC_FAR *)ppFuncDesc,
1732                             (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[1254] );
1733         
1734         NdrPointerMarshall( (PMIDL_STUB_MESSAGE)& _StubMsg,
1735                             (unsigned char __RPC_FAR *)ppVarDesc,
1736                             (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[1464] );
1737         
1738         NdrPointerMarshall( (PMIDL_STUB_MESSAGE)& _StubMsg,
1739                             (unsigned char __RPC_FAR *)ppTypeComp,
1740                             (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[1540] );
1741         
1742         NdrUserMarshalMarshall( (PMIDL_STUB_MESSAGE)& _StubMsg,
1743                                 (unsigned char __RPC_FAR *)pDummy,
1744                                 (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[1568] );
1745         
1746         _StubMsg.Buffer = (unsigned char __RPC_FAR *)(((long)_StubMsg.Buffer + 3) & ~ 0x3);
1747         *(( HRESULT __RPC_FAR * )_StubMsg.Buffer)++ = _RetVal;
1748         
1749         }
1750     RpcFinally
1751         {
1752         NdrPointerFree( &_StubMsg,
1753                         (unsigned char __RPC_FAR *)ppTInfo,
1754                         &__MIDL_TypeFormatString.Format[6] );
1755         
1756         NdrPointerFree( &_StubMsg,
1757                         (unsigned char __RPC_FAR *)ppFuncDesc,
1758                         &__MIDL_TypeFormatString.Format[1254] );
1759         
1760         NdrPointerFree( &_StubMsg,
1761                         (unsigned char __RPC_FAR *)ppVarDesc,
1762                         &__MIDL_TypeFormatString.Format[1464] );
1763         
1764         NdrPointerFree( &_StubMsg,
1765                         (unsigned char __RPC_FAR *)ppTypeComp,
1766                         &__MIDL_TypeFormatString.Format[1540] );
1767         
1768         NdrPointerFree( &_StubMsg,
1769                         (unsigned char __RPC_FAR *)pDummy,
1770                         &__MIDL_TypeFormatString.Format[1562] );
1771         
1772         }
1773     RpcEndFinally
1774     _pRpcMessage->BufferLength = 
1775         (unsigned int)((long)_StubMsg.Buffer - (long)_pRpcMessage->Buffer);
1776     
1777 }
1778
1779
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)
1785 {
1786
1787     HRESULT _RetVal;
1788     
1789     RPC_MESSAGE _RpcMessage;
1790     
1791     MIDL_STUB_MESSAGE _StubMsg;
1792     
1793     if(ppTInfo)
1794         {
1795         MIDL_memset(
1796                ppTInfo,
1797                0,
1798                sizeof( ITypeInfo __RPC_FAR *__RPC_FAR * ));
1799         }
1800     RpcTryExcept
1801         {
1802         NdrProxyInitialize(
1803                       ( void __RPC_FAR *  )This,
1804                       ( PRPC_MESSAGE  )&_RpcMessage,
1805                       ( PMIDL_STUB_MESSAGE  )&_StubMsg,
1806                       ( PMIDL_STUB_DESC  )&Object_StubDesc,
1807                       4);
1808         
1809         
1810         
1811         if(!szName)
1812             {
1813             RpcRaiseException(RPC_X_NULL_REF_POINTER);
1814             }
1815         if(!ppTInfo)
1816             {
1817             RpcRaiseException(RPC_X_NULL_REF_POINTER);
1818             }
1819         RpcTryFinally
1820             {
1821             
1822             _StubMsg.BufferLength = 12U + 10U;
1823             NdrConformantStringBufferSize( (PMIDL_STUB_MESSAGE) &_StubMsg,
1824                                            (unsigned char __RPC_FAR *)szName,
1825                                            (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[1248] );
1826             
1827             NdrProxyGetBuffer(This, &_StubMsg);
1828             NdrConformantStringMarshall( (PMIDL_STUB_MESSAGE)& _StubMsg,
1829                                          (unsigned char __RPC_FAR *)szName,
1830                                          (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[1248] );
1831             
1832             _StubMsg.Buffer = (unsigned char __RPC_FAR *)(((long)_StubMsg.Buffer + 3) & ~ 0x3);
1833             *(( ULONG __RPC_FAR * )_StubMsg.Buffer)++ = lHashVal;
1834             
1835             NdrProxySendReceive(This, &_StubMsg);
1836             
1837             if ( (_RpcMessage.DataRepresentation & 0X0000FFFFUL) != NDR_LOCAL_DATA_REPRESENTATION )
1838                 NdrConvert( (PMIDL_STUB_MESSAGE) &_StubMsg, (PFORMAT_STRING) &__MIDL_ProcFormatString.Format[130] );
1839             
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 );
1844             
1845             _StubMsg.Buffer = (unsigned char __RPC_FAR *)(((long)_StubMsg.Buffer + 3) & ~ 0x3);
1846             _RetVal = *(( HRESULT __RPC_FAR * )_StubMsg.Buffer)++;
1847             
1848             }
1849         RpcFinally
1850             {
1851             NdrProxyFreeBuffer(This, &_StubMsg);
1852             
1853             }
1854         RpcEndFinally
1855         
1856         }
1857     RpcExcept(_StubMsg.dwStubPhase != PROXY_SENDRECEIVE)
1858         {
1859         NdrClearOutParameters(
1860                          ( PMIDL_STUB_MESSAGE  )&_StubMsg,
1861                          ( PFORMAT_STRING  )&__MIDL_TypeFormatString.Format[6],
1862                          ( void __RPC_FAR * )ppTInfo);
1863         _RetVal = NdrProxyErrorHandler(RpcExceptionCode());
1864         }
1865     RpcEndExcept
1866     return _RetVal;
1867 }
1868
1869 void __RPC_STUB ITypeComp_RemoteBindType_Stub(
1870     IRpcStubBuffer *This,
1871     IRpcChannelBuffer *_pRpcChannelBuffer,
1872     PRPC_MESSAGE _pRpcMessage,
1873     DWORD *_pdwStubPhase)
1874 {
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;
1881     
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
1890         {
1891         if ( (_pRpcMessage->DataRepresentation & 0X0000FFFFUL) != NDR_LOCAL_DATA_REPRESENTATION )
1892             NdrConvert( (PMIDL_STUB_MESSAGE) &_StubMsg, (PFORMAT_STRING) &__MIDL_ProcFormatString.Format[130] );
1893         
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 );
1898         
1899         _StubMsg.Buffer = (unsigned char __RPC_FAR *)(((long)_StubMsg.Buffer + 3) & ~ 0x3);
1900         lHashVal = *(( ULONG __RPC_FAR * )_StubMsg.Buffer)++;
1901         
1902         ppTInfo = &_M23;
1903         _M23 = 0;
1904         
1905         *_pdwStubPhase = STUB_CALL_SERVER;
1906         
1907         
1908         _RetVal = ITypeComp_BindType_Stub(
1909                                   (ITypeComp *) ((CStdStubBuffer *)This)->pvServerObject,
1910                                   szName,
1911                                   lHashVal,
1912                                   ppTInfo);
1913         
1914         *_pdwStubPhase = STUB_MARSHAL;
1915         
1916         _StubMsg.BufferLength = 0U + 4U;
1917         NdrPointerBufferSize( (PMIDL_STUB_MESSAGE) &_StubMsg,
1918                               (unsigned char __RPC_FAR *)ppTInfo,
1919                               (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[6] );
1920         
1921         _StubMsg.BufferLength += 16;
1922         
1923         NdrStubGetBuffer(This, _pRpcChannelBuffer, &_StubMsg);
1924         NdrPointerMarshall( (PMIDL_STUB_MESSAGE)& _StubMsg,
1925                             (unsigned char __RPC_FAR *)ppTInfo,
1926                             (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[6] );
1927         
1928         _StubMsg.Buffer = (unsigned char __RPC_FAR *)(((long)_StubMsg.Buffer + 3) & ~ 0x3);
1929         *(( HRESULT __RPC_FAR * )_StubMsg.Buffer)++ = _RetVal;
1930         
1931         }
1932     RpcFinally
1933         {
1934         NdrPointerFree( &_StubMsg,
1935                         (unsigned char __RPC_FAR *)ppTInfo,
1936                         &__MIDL_TypeFormatString.Format[6] );
1937         
1938         }
1939     RpcEndFinally
1940     _pRpcMessage->BufferLength = 
1941         (unsigned int)((long)_StubMsg.Buffer - (long)_pRpcMessage->Buffer);
1942     
1943 }
1944
1945 const CINTERFACE_PROXY_VTABLE(5) _ITypeCompProxyVtbl = 
1946 {
1947     { &IID_ITypeComp },
1948     {
1949         IUnknown_QueryInterface_Proxy,
1950         IUnknown_AddRef_Proxy,
1951         IUnknown_Release_Proxy ,
1952         ITypeComp_Bind_Proxy ,
1953         ITypeComp_BindType_Proxy
1954     }
1955 };
1956
1957
1958 static const PRPC_STUB_FUNCTION ITypeComp_table[] =
1959 {
1960     ITypeComp_RemoteBind_Stub,
1961     ITypeComp_RemoteBindType_Stub
1962 };
1963
1964 const CInterfaceStubVtbl _ITypeCompStubVtbl =
1965 {
1966     {
1967         &IID_ITypeComp,
1968         0,
1969         5,
1970         &ITypeComp_table[-3]
1971     },
1972     { CStdStubBuffer_METHODS }
1973 };
1974
1975
1976 /* Object interface: ITypeInfo, ver. 0.0,
1977    GUID={0x00020401,0x0000,0x0000,{0xC0,0x00,0x00,0x00,0x00,0x00,0x00,0x46}} */
1978
1979
1980 extern const MIDL_STUB_DESC Object_StubDesc;
1981
1982
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)
1987 {
1988
1989     HRESULT _RetVal;
1990     
1991     RPC_MESSAGE _RpcMessage;
1992     
1993     MIDL_STUB_MESSAGE _StubMsg;
1994     
1995     if(ppTypeAttr)
1996         {
1997         *ppTypeAttr = 0;
1998         }
1999     if(pDummy)
2000         {
2001         MIDL_memset(
2002                pDummy,
2003                0,
2004                sizeof( CLEANLOCALSTORAGE  ));
2005         }
2006     RpcTryExcept
2007         {
2008         NdrProxyInitialize(
2009                       ( void __RPC_FAR *  )This,
2010                       ( PRPC_MESSAGE  )&_RpcMessage,
2011                       ( PMIDL_STUB_MESSAGE  )&_StubMsg,
2012                       ( PMIDL_STUB_DESC  )&Object_StubDesc,
2013                       3);
2014         
2015         
2016         
2017         if(!ppTypeAttr)
2018             {
2019             RpcRaiseException(RPC_X_NULL_REF_POINTER);
2020             }
2021         if(!pDummy)
2022             {
2023             RpcRaiseException(RPC_X_NULL_REF_POINTER);
2024             }
2025         RpcTryFinally
2026             {
2027             
2028             _StubMsg.BufferLength = 0U;
2029             NdrProxyGetBuffer(This, &_StubMsg);
2030             NdrProxySendReceive(This, &_StubMsg);
2031             
2032             if ( (_RpcMessage.DataRepresentation & 0X0000FFFFUL) != NDR_LOCAL_DATA_REPRESENTATION )
2033                 NdrConvert( (PMIDL_STUB_MESSAGE) &_StubMsg, (PFORMAT_STRING) &__MIDL_ProcFormatString.Format[142] );
2034             
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 );
2039             
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 );
2044             
2045             _StubMsg.Buffer = (unsigned char __RPC_FAR *)(((long)_StubMsg.Buffer + 3) & ~ 0x3);
2046             _RetVal = *(( HRESULT __RPC_FAR * )_StubMsg.Buffer)++;
2047             
2048             }
2049         RpcFinally
2050             {
2051             NdrProxyFreeBuffer(This, &_StubMsg);
2052             
2053             }
2054         RpcEndFinally
2055         
2056         }
2057     RpcExcept(_StubMsg.dwStubPhase != PROXY_SENDRECEIVE)
2058         {
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());
2068         }
2069     RpcEndExcept
2070     return _RetVal;
2071 }
2072
2073 void __RPC_STUB ITypeInfo_RemoteGetTypeAttr_Stub(
2074     IRpcStubBuffer *This,
2075     IRpcChannelBuffer *_pRpcChannelBuffer,
2076     PRPC_MESSAGE _pRpcMessage,
2077     DWORD *_pdwStubPhase)
2078 {
2079     LPTYPEATTR _M24;
2080     CLEANLOCALSTORAGE _M25;
2081     HRESULT _RetVal;
2082     MIDL_STUB_MESSAGE _StubMsg;
2083     CLEANLOCALSTORAGE __RPC_FAR *pDummy;
2084     LPTYPEATTR __RPC_FAR *ppTypeAttr;
2085     
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
2094         {
2095         ppTypeAttr = &_M24;
2096         _M24 = 0;
2097         pDummy = &_M25;
2098         MIDL_memset(
2099                pDummy,
2100                0,
2101                sizeof( CLEANLOCALSTORAGE  ));
2102         
2103         *_pdwStubPhase = STUB_CALL_SERVER;
2104         
2105         
2106         _RetVal = ITypeInfo_GetTypeAttr_Stub(
2107                                      (ITypeInfo *) ((CStdStubBuffer *)This)->pvServerObject,
2108                                      ppTypeAttr,
2109                                      pDummy);
2110         
2111         *_pdwStubPhase = STUB_MARSHAL;
2112         
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] );
2117         
2118         _StubMsg.BufferLength += 16;
2119         
2120         NdrStubGetBuffer(This, _pRpcChannelBuffer, &_StubMsg);
2121         NdrPointerMarshall( (PMIDL_STUB_MESSAGE)& _StubMsg,
2122                             (unsigned char __RPC_FAR *)ppTypeAttr,
2123                             (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[1578] );
2124         
2125         NdrUserMarshalMarshall( (PMIDL_STUB_MESSAGE)& _StubMsg,
2126                                 (unsigned char __RPC_FAR *)pDummy,
2127                                 (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[1644] );
2128         
2129         _StubMsg.Buffer = (unsigned char __RPC_FAR *)(((long)_StubMsg.Buffer + 3) & ~ 0x3);
2130         *(( HRESULT __RPC_FAR * )_StubMsg.Buffer)++ = _RetVal;
2131         
2132         }
2133     RpcFinally
2134         {
2135         NdrPointerFree( &_StubMsg,
2136                         (unsigned char __RPC_FAR *)ppTypeAttr,
2137                         &__MIDL_TypeFormatString.Format[1578] );
2138         
2139         NdrPointerFree( &_StubMsg,
2140                         (unsigned char __RPC_FAR *)pDummy,
2141                         &__MIDL_TypeFormatString.Format[1638] );
2142         
2143         }
2144     RpcEndFinally
2145     _pRpcMessage->BufferLength = 
2146         (unsigned int)((long)_StubMsg.Buffer - (long)_pRpcMessage->Buffer);
2147     
2148 }
2149
2150
2151 HRESULT STDMETHODCALLTYPE ITypeInfo_GetTypeComp_Proxy( 
2152     ITypeInfo __RPC_FAR * This,
2153     /* [out] */ ITypeComp __RPC_FAR *__RPC_FAR *ppTComp)
2154 {
2155
2156     HRESULT _RetVal;
2157     
2158     RPC_MESSAGE _RpcMessage;
2159     
2160     MIDL_STUB_MESSAGE _StubMsg;
2161     
2162     if(ppTComp)
2163         {
2164         MIDL_memset(
2165                ppTComp,
2166                0,
2167                sizeof( ITypeComp __RPC_FAR *__RPC_FAR * ));
2168         }
2169     RpcTryExcept
2170         {
2171         NdrProxyInitialize(
2172                       ( void __RPC_FAR *  )This,
2173                       ( PRPC_MESSAGE  )&_RpcMessage,
2174                       ( PMIDL_STUB_MESSAGE  )&_StubMsg,
2175                       ( PMIDL_STUB_DESC  )&Object_StubDesc,
2176                       4);
2177         
2178         
2179         
2180         if(!ppTComp)
2181             {
2182             RpcRaiseException(RPC_X_NULL_REF_POINTER);
2183             }
2184         RpcTryFinally
2185             {
2186             
2187             _StubMsg.BufferLength = 0U;
2188             NdrProxyGetBuffer(This, &_StubMsg);
2189             NdrProxySendReceive(This, &_StubMsg);
2190             
2191             if ( (_RpcMessage.DataRepresentation & 0X0000FFFFUL) != NDR_LOCAL_DATA_REPRESENTATION )
2192                 NdrConvert( (PMIDL_STUB_MESSAGE) &_StubMsg, (PFORMAT_STRING) &__MIDL_ProcFormatString.Format[152] );
2193             
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 );
2198             
2199             _StubMsg.Buffer = (unsigned char __RPC_FAR *)(((long)_StubMsg.Buffer + 3) & ~ 0x3);
2200             _RetVal = *(( HRESULT __RPC_FAR * )_StubMsg.Buffer)++;
2201             
2202             }
2203         RpcFinally
2204             {
2205             NdrProxyFreeBuffer(This, &_StubMsg);
2206             
2207             }
2208         RpcEndFinally
2209         
2210         }
2211     RpcExcept(_StubMsg.dwStubPhase != PROXY_SENDRECEIVE)
2212         {
2213         NdrClearOutParameters(
2214                          ( PMIDL_STUB_MESSAGE  )&_StubMsg,
2215                          ( PFORMAT_STRING  )&__MIDL_TypeFormatString.Format[1540],
2216                          ( void __RPC_FAR * )ppTComp);
2217         _RetVal = NdrProxyErrorHandler(RpcExceptionCode());
2218         }
2219     RpcEndExcept
2220     return _RetVal;
2221 }
2222
2223 void __RPC_STUB ITypeInfo_GetTypeComp_Stub(
2224     IRpcStubBuffer *This,
2225     IRpcChannelBuffer *_pRpcChannelBuffer,
2226     PRPC_MESSAGE _pRpcMessage,
2227     DWORD *_pdwStubPhase)
2228 {
2229     ITypeComp __RPC_FAR *_M26;
2230     HRESULT _RetVal;
2231     MIDL_STUB_MESSAGE _StubMsg;
2232     ITypeComp __RPC_FAR *__RPC_FAR *ppTComp;
2233     
2234 NdrStubInitialize(
2235                      _pRpcMessage,
2236                      &_StubMsg,
2237                      &Object_StubDesc,
2238                      _pRpcChannelBuffer);
2239     ( ITypeComp __RPC_FAR *__RPC_FAR * )ppTComp = 0;
2240     RpcTryFinally
2241         {
2242         ppTComp = &_M26;
2243         _M26 = 0;
2244         
2245         *_pdwStubPhase = STUB_CALL_SERVER;
2246         _RetVal = (((ITypeInfo*) ((CStdStubBuffer *)This)->pvServerObject)->lpVtbl) -> GetTypeComp((ITypeInfo *) ((CStdStubBuffer *)This)->pvServerObject,ppTComp);
2247         
2248         *_pdwStubPhase = STUB_MARSHAL;
2249         
2250         _StubMsg.BufferLength = 0U + 4U;
2251         NdrPointerBufferSize( (PMIDL_STUB_MESSAGE) &_StubMsg,
2252                               (unsigned char __RPC_FAR *)ppTComp,
2253                               (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[1540] );
2254         
2255         _StubMsg.BufferLength += 16;
2256         
2257         NdrStubGetBuffer(This, _pRpcChannelBuffer, &_StubMsg);
2258         NdrPointerMarshall( (PMIDL_STUB_MESSAGE)& _StubMsg,
2259                             (unsigned char __RPC_FAR *)ppTComp,
2260                             (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[1540] );
2261         
2262         _StubMsg.Buffer = (unsigned char __RPC_FAR *)(((long)_StubMsg.Buffer + 3) & ~ 0x3);
2263         *(( HRESULT __RPC_FAR * )_StubMsg.Buffer)++ = _RetVal;
2264         
2265         }
2266     RpcFinally
2267         {
2268         NdrPointerFree( &_StubMsg,
2269                         (unsigned char __RPC_FAR *)ppTComp,
2270                         &__MIDL_TypeFormatString.Format[1540] );
2271         
2272         }
2273     RpcEndFinally
2274     _pRpcMessage->BufferLength = 
2275         (unsigned int)((long)_StubMsg.Buffer - (long)_pRpcMessage->Buffer);
2276     
2277 }
2278
2279
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)
2285 {
2286
2287     HRESULT _RetVal;
2288     
2289     RPC_MESSAGE _RpcMessage;
2290     
2291     MIDL_STUB_MESSAGE _StubMsg;
2292     
2293     if(ppFuncDesc)
2294         {
2295         *ppFuncDesc = 0;
2296         }
2297     if(pDummy)
2298         {
2299         MIDL_memset(
2300                pDummy,
2301                0,
2302                sizeof( CLEANLOCALSTORAGE  ));
2303         }
2304     RpcTryExcept
2305         {
2306         NdrProxyInitialize(
2307                       ( void __RPC_FAR *  )This,
2308                       ( PRPC_MESSAGE  )&_RpcMessage,
2309                       ( PMIDL_STUB_MESSAGE  )&_StubMsg,
2310                       ( PMIDL_STUB_DESC  )&Object_StubDesc,
2311                       5);
2312         
2313         
2314         
2315         if(!ppFuncDesc)
2316             {
2317             RpcRaiseException(RPC_X_NULL_REF_POINTER);
2318             }
2319         if(!pDummy)
2320             {
2321             RpcRaiseException(RPC_X_NULL_REF_POINTER);
2322             }
2323         RpcTryFinally
2324             {
2325             
2326             _StubMsg.BufferLength = 4U;
2327             NdrProxyGetBuffer(This, &_StubMsg);
2328             *(( UINT __RPC_FAR * )_StubMsg.Buffer)++ = index;
2329             
2330             NdrProxySendReceive(This, &_StubMsg);
2331             
2332             if ( (_RpcMessage.DataRepresentation & 0X0000FFFFUL) != NDR_LOCAL_DATA_REPRESENTATION )
2333                 NdrConvert( (PMIDL_STUB_MESSAGE) &_StubMsg, (PFORMAT_STRING) &__MIDL_ProcFormatString.Format[158] );
2334             
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 );
2339             
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 );
2344             
2345             _StubMsg.Buffer = (unsigned char __RPC_FAR *)(((long)_StubMsg.Buffer + 3) & ~ 0x3);
2346             _RetVal = *(( HRESULT __RPC_FAR * )_StubMsg.Buffer)++;
2347             
2348             }
2349         RpcFinally
2350             {
2351             NdrProxyFreeBuffer(This, &_StubMsg);
2352             
2353             }
2354         RpcEndFinally
2355         
2356         }
2357     RpcExcept(_StubMsg.dwStubPhase != PROXY_SENDRECEIVE)
2358         {
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());
2368         }
2369     RpcEndExcept
2370     return _RetVal;
2371 }
2372
2373 void __RPC_STUB ITypeInfo_RemoteGetFuncDesc_Stub(
2374     IRpcStubBuffer *This,
2375     IRpcChannelBuffer *_pRpcChannelBuffer,
2376     PRPC_MESSAGE _pRpcMessage,
2377     DWORD *_pdwStubPhase)
2378 {
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;
2386     
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
2395         {
2396         if ( (_pRpcMessage->DataRepresentation & 0X0000FFFFUL) != NDR_LOCAL_DATA_REPRESENTATION )
2397             NdrConvert( (PMIDL_STUB_MESSAGE) &_StubMsg, (PFORMAT_STRING) &__MIDL_ProcFormatString.Format[158] );
2398         
2399         index = *(( UINT __RPC_FAR * )_StubMsg.Buffer)++;
2400         
2401         ppFuncDesc = &_M27;
2402         _M27 = 0;
2403         pDummy = &_M28;
2404         MIDL_memset(
2405                pDummy,
2406                0,
2407                sizeof( CLEANLOCALSTORAGE  ));
2408         
2409         *_pdwStubPhase = STUB_CALL_SERVER;
2410         
2411         
2412         _RetVal = ITypeInfo_GetFuncDesc_Stub(
2413                                      (ITypeInfo *) ((CStdStubBuffer *)This)->pvServerObject,
2414                                      index,
2415                                      ppFuncDesc,
2416                                      pDummy);
2417         
2418         *_pdwStubPhase = STUB_MARSHAL;
2419         
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] );
2424         
2425         _StubMsg.BufferLength += 16;
2426         
2427         NdrStubGetBuffer(This, _pRpcChannelBuffer, &_StubMsg);
2428         NdrPointerMarshall( (PMIDL_STUB_MESSAGE)& _StubMsg,
2429                             (unsigned char __RPC_FAR *)ppFuncDesc,
2430                             (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[1254] );
2431         
2432         NdrUserMarshalMarshall( (PMIDL_STUB_MESSAGE)& _StubMsg,
2433                                 (unsigned char __RPC_FAR *)pDummy,
2434                                 (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[1660] );
2435         
2436         _StubMsg.Buffer = (unsigned char __RPC_FAR *)(((long)_StubMsg.Buffer + 3) & ~ 0x3);
2437         *(( HRESULT __RPC_FAR * )_StubMsg.Buffer)++ = _RetVal;
2438         
2439         }
2440     RpcFinally
2441         {
2442         NdrPointerFree( &_StubMsg,
2443                         (unsigned char __RPC_FAR *)ppFuncDesc,
2444                         &__MIDL_TypeFormatString.Format[1254] );
2445         
2446         NdrPointerFree( &_StubMsg,
2447                         (unsigned char __RPC_FAR *)pDummy,
2448                         &__MIDL_TypeFormatString.Format[1654] );
2449         
2450         }
2451     RpcEndFinally
2452     _pRpcMessage->BufferLength = 
2453         (unsigned int)((long)_StubMsg.Buffer - (long)_pRpcMessage->Buffer);
2454     
2455 }
2456
2457
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)
2463 {
2464
2465     HRESULT _RetVal;
2466     
2467     RPC_MESSAGE _RpcMessage;
2468     
2469     MIDL_STUB_MESSAGE _StubMsg;
2470     
2471     if(ppVarDesc)
2472         {
2473         *ppVarDesc = 0;
2474         }
2475     if(pDummy)
2476         {
2477         MIDL_memset(
2478                pDummy,
2479                0,
2480                sizeof( CLEANLOCALSTORAGE  ));
2481         }
2482     RpcTryExcept
2483         {
2484         NdrProxyInitialize(
2485                       ( void __RPC_FAR *  )This,
2486                       ( PRPC_MESSAGE  )&_RpcMessage,
2487                       ( PMIDL_STUB_MESSAGE  )&_StubMsg,
2488                       ( PMIDL_STUB_DESC  )&Object_StubDesc,
2489                       6);
2490         
2491         
2492         
2493         if(!ppVarDesc)
2494             {
2495             RpcRaiseException(RPC_X_NULL_REF_POINTER);
2496             }
2497         if(!pDummy)
2498             {
2499             RpcRaiseException(RPC_X_NULL_REF_POINTER);
2500             }
2501         RpcTryFinally
2502             {
2503             
2504             _StubMsg.BufferLength = 4U;
2505             NdrProxyGetBuffer(This, &_StubMsg);
2506             *(( UINT __RPC_FAR * )_StubMsg.Buffer)++ = index;
2507             
2508             NdrProxySendReceive(This, &_StubMsg);
2509             
2510             if ( (_RpcMessage.DataRepresentation & 0X0000FFFFUL) != NDR_LOCAL_DATA_REPRESENTATION )
2511                 NdrConvert( (PMIDL_STUB_MESSAGE) &_StubMsg, (PFORMAT_STRING) &__MIDL_ProcFormatString.Format[170] );
2512             
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 );
2517             
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 );
2522             
2523             _StubMsg.Buffer = (unsigned char __RPC_FAR *)(((long)_StubMsg.Buffer + 3) & ~ 0x3);
2524             _RetVal = *(( HRESULT __RPC_FAR * )_StubMsg.Buffer)++;
2525             
2526             }
2527         RpcFinally
2528             {
2529             NdrProxyFreeBuffer(This, &_StubMsg);
2530             
2531             }
2532         RpcEndFinally
2533         
2534         }
2535     RpcExcept(_StubMsg.dwStubPhase != PROXY_SENDRECEIVE)
2536         {
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());
2546         }
2547     RpcEndExcept
2548     return _RetVal;
2549 }
2550
2551 void __RPC_STUB ITypeInfo_RemoteGetVarDesc_Stub(
2552     IRpcStubBuffer *This,
2553     IRpcChannelBuffer *_pRpcChannelBuffer,
2554     PRPC_MESSAGE _pRpcMessage,
2555     DWORD *_pdwStubPhase)
2556 {
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;
2564     
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
2573         {
2574         if ( (_pRpcMessage->DataRepresentation & 0X0000FFFFUL) != NDR_LOCAL_DATA_REPRESENTATION )
2575             NdrConvert( (PMIDL_STUB_MESSAGE) &_StubMsg, (PFORMAT_STRING) &__MIDL_ProcFormatString.Format[170] );
2576         
2577         index = *(( UINT __RPC_FAR * )_StubMsg.Buffer)++;
2578         
2579         ppVarDesc = &_M29;
2580         _M29 = 0;
2581         pDummy = &_M30;
2582         MIDL_memset(
2583                pDummy,
2584                0,
2585                sizeof( CLEANLOCALSTORAGE  ));
2586         
2587         *_pdwStubPhase = STUB_CALL_SERVER;
2588         
2589         
2590         _RetVal = ITypeInfo_GetVarDesc_Stub(
2591                                     (ITypeInfo *) ((CStdStubBuffer *)This)->pvServerObject,
2592                                     index,
2593                                     ppVarDesc,
2594                                     pDummy);
2595         
2596         *_pdwStubPhase = STUB_MARSHAL;
2597         
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] );
2602         
2603         _StubMsg.BufferLength += 16;
2604         
2605         NdrStubGetBuffer(This, _pRpcChannelBuffer, &_StubMsg);
2606         NdrPointerMarshall( (PMIDL_STUB_MESSAGE)& _StubMsg,
2607                             (unsigned char __RPC_FAR *)ppVarDesc,
2608                             (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[1464] );
2609         
2610         NdrUserMarshalMarshall( (PMIDL_STUB_MESSAGE)& _StubMsg,
2611                                 (unsigned char __RPC_FAR *)pDummy,
2612                                 (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[1676] );
2613         
2614         _StubMsg.Buffer = (unsigned char __RPC_FAR *)(((long)_StubMsg.Buffer + 3) & ~ 0x3);
2615         *(( HRESULT __RPC_FAR * )_StubMsg.Buffer)++ = _RetVal;
2616         
2617         }
2618     RpcFinally
2619         {
2620         NdrPointerFree( &_StubMsg,
2621                         (unsigned char __RPC_FAR *)ppVarDesc,
2622                         &__MIDL_TypeFormatString.Format[1464] );
2623         
2624         NdrPointerFree( &_StubMsg,
2625                         (unsigned char __RPC_FAR *)pDummy,
2626                         &__MIDL_TypeFormatString.Format[1670] );
2627         
2628         }
2629     RpcEndFinally
2630     _pRpcMessage->BufferLength = 
2631         (unsigned int)((long)_StubMsg.Buffer - (long)_pRpcMessage->Buffer);
2632     
2633 }
2634
2635
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)
2642 {
2643
2644     HRESULT _RetVal;
2645     
2646     RPC_MESSAGE _RpcMessage;
2647     
2648     MIDL_STUB_MESSAGE _StubMsg;
2649     
2650     if(rgBstrNames)
2651         {
2652         MIDL_memset(
2653                rgBstrNames,
2654                0,
2655                cMaxNames * sizeof( BSTR  ));
2656         }
2657     RpcTryExcept
2658         {
2659         NdrProxyInitialize(
2660                       ( void __RPC_FAR *  )This,
2661                       ( PRPC_MESSAGE  )&_RpcMessage,
2662                       ( PMIDL_STUB_MESSAGE  )&_StubMsg,
2663                       ( PMIDL_STUB_DESC  )&Object_StubDesc,
2664                       7);
2665         
2666         
2667         
2668         if(!rgBstrNames)
2669             {
2670             RpcRaiseException(RPC_X_NULL_REF_POINTER);
2671             }
2672         if(!pcNames)
2673             {
2674             RpcRaiseException(RPC_X_NULL_REF_POINTER);
2675             }
2676         RpcTryFinally
2677             {
2678             
2679             _StubMsg.BufferLength = 4U + 4U;
2680             NdrProxyGetBuffer(This, &_StubMsg);
2681             *(( MEMBERID __RPC_FAR * )_StubMsg.Buffer)++ = memid;
2682             
2683             *(( UINT __RPC_FAR * )_StubMsg.Buffer)++ = cMaxNames;
2684             
2685             NdrProxySendReceive(This, &_StubMsg);
2686             
2687             if ( (_RpcMessage.DataRepresentation & 0X0000FFFFUL) != NDR_LOCAL_DATA_REPRESENTATION )
2688                 NdrConvert( (PMIDL_STUB_MESSAGE) &_StubMsg, (PFORMAT_STRING) &__MIDL_ProcFormatString.Format[182] );
2689             
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 );
2694             
2695             _StubMsg.Buffer = (unsigned char __RPC_FAR *)(((long)_StubMsg.Buffer + 3) & ~ 0x3);
2696             *pcNames = *(( UINT __RPC_FAR * )_StubMsg.Buffer)++;
2697             
2698             _RetVal = *(( HRESULT __RPC_FAR * )_StubMsg.Buffer)++;
2699             
2700             }
2701         RpcFinally
2702             {
2703             NdrProxyFreeBuffer(This, &_StubMsg);
2704             
2705             }
2706         RpcEndFinally
2707         
2708         }
2709     RpcExcept(_StubMsg.dwStubPhase != PROXY_SENDRECEIVE)
2710         {
2711         _StubMsg.MaxCount = cMaxNames;
2712         _StubMsg.Offset = 0;
2713         _StubMsg.ActualCount = _StubMsg.MaxCount;
2714         
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());
2724         }
2725     RpcEndExcept
2726     return _RetVal;
2727 }
2728
2729 void __RPC_STUB ITypeInfo_RemoteGetNames_Stub(
2730     IRpcStubBuffer *This,
2731     IRpcChannelBuffer *_pRpcChannelBuffer,
2732     PRPC_MESSAGE _pRpcMessage,
2733     DWORD *_pdwStubPhase)
2734 {
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;
2742     
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
2751         {
2752         if ( (_pRpcMessage->DataRepresentation & 0X0000FFFFUL) != NDR_LOCAL_DATA_REPRESENTATION )
2753             NdrConvert( (PMIDL_STUB_MESSAGE) &_StubMsg, (PFORMAT_STRING) &__MIDL_ProcFormatString.Format[182] );
2754         
2755         memid = *(( MEMBERID __RPC_FAR * )_StubMsg.Buffer)++;
2756         
2757         cMaxNames = *(( UINT __RPC_FAR * )_StubMsg.Buffer)++;
2758         
2759         rgBstrNames = NdrAllocate(&_StubMsg,cMaxNames * 4);
2760         pcNames = &_M34;
2761         
2762         *_pdwStubPhase = STUB_CALL_SERVER;
2763         
2764         
2765         _RetVal = ITypeInfo_GetNames_Stub(
2766                                   (ITypeInfo *) ((CStdStubBuffer *)This)->pvServerObject,
2767                                   memid,
2768                                   rgBstrNames,
2769                                   cMaxNames,
2770                                   pcNames);
2771         
2772         *_pdwStubPhase = STUB_MARSHAL;
2773         
2774         _StubMsg.BufferLength = 12U + 7U + 7U;
2775         _StubMsg.MaxCount = cMaxNames;
2776         _StubMsg.Offset = 0;
2777         _StubMsg.ActualCount = pcNames ? *pcNames : 0;
2778         
2779         NdrComplexArrayBufferSize( (PMIDL_STUB_MESSAGE) &_StubMsg,
2780                                    (unsigned char __RPC_FAR *)rgBstrNames,
2781                                    (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[1690] );
2782         
2783         _StubMsg.BufferLength += 16;
2784         
2785         NdrStubGetBuffer(This, _pRpcChannelBuffer, &_StubMsg);
2786         _StubMsg.MaxCount = cMaxNames;
2787         _StubMsg.Offset = 0;
2788         _StubMsg.ActualCount = pcNames ? *pcNames : 0;
2789         
2790         NdrComplexArrayMarshall( (PMIDL_STUB_MESSAGE)& _StubMsg,
2791                                  (unsigned char __RPC_FAR *)rgBstrNames,
2792                                  (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[1690] );
2793         
2794         _StubMsg.Buffer = (unsigned char __RPC_FAR *)(((long)_StubMsg.Buffer + 3) & ~ 0x3);
2795         *(( UINT __RPC_FAR * )_StubMsg.Buffer)++ = *pcNames;
2796         
2797         *(( HRESULT __RPC_FAR * )_StubMsg.Buffer)++ = _RetVal;
2798         
2799         }
2800     RpcFinally
2801         {
2802         _StubMsg.MaxCount = cMaxNames;
2803         _StubMsg.Offset = 0;
2804         _StubMsg.ActualCount = pcNames ? *pcNames : 0;
2805         
2806         NdrPointerFree( &_StubMsg,
2807                         (unsigned char __RPC_FAR *)rgBstrNames,
2808                         &__MIDL_TypeFormatString.Format[1686] );
2809         
2810         }
2811     RpcEndFinally
2812     _pRpcMessage->BufferLength = 
2813         (unsigned int)((long)_StubMsg.Buffer - (long)_pRpcMessage->Buffer);
2814     
2815 }
2816
2817
2818 HRESULT STDMETHODCALLTYPE ITypeInfo_GetRefTypeOfImplType_Proxy( 
2819     ITypeInfo __RPC_FAR * This,
2820     /* [in] */ UINT index,
2821     /* [out] */ HREFTYPE __RPC_FAR *pRefType)
2822 {
2823
2824     HRESULT _RetVal;
2825     
2826     RPC_MESSAGE _RpcMessage;
2827     
2828     MIDL_STUB_MESSAGE _StubMsg;
2829     
2830     RpcTryExcept
2831         {
2832         NdrProxyInitialize(
2833                       ( void __RPC_FAR *  )This,
2834                       ( PRPC_MESSAGE  )&_RpcMessage,
2835                       ( PMIDL_STUB_MESSAGE  )&_StubMsg,
2836                       ( PMIDL_STUB_DESC  )&Object_StubDesc,
2837                       8);
2838         
2839         
2840         
2841         if(!pRefType)
2842             {
2843             RpcRaiseException(RPC_X_NULL_REF_POINTER);
2844             }
2845         RpcTryFinally
2846             {
2847             
2848             _StubMsg.BufferLength = 4U;
2849             NdrProxyGetBuffer(This, &_StubMsg);
2850             *(( UINT __RPC_FAR * )_StubMsg.Buffer)++ = index;
2851             
2852             NdrProxySendReceive(This, &_StubMsg);
2853             
2854             if ( (_RpcMessage.DataRepresentation & 0X0000FFFFUL) != NDR_LOCAL_DATA_REPRESENTATION )
2855                 NdrConvert( (PMIDL_STUB_MESSAGE) &_StubMsg, (PFORMAT_STRING) &__MIDL_ProcFormatString.Format[196] );
2856             
2857             *pRefType = *(( HREFTYPE __RPC_FAR * )_StubMsg.Buffer)++;
2858             
2859             _RetVal = *(( HRESULT __RPC_FAR * )_StubMsg.Buffer)++;
2860             
2861             }
2862         RpcFinally
2863             {
2864             NdrProxyFreeBuffer(This, &_StubMsg);
2865             
2866             }
2867         RpcEndFinally
2868         
2869         }
2870     RpcExcept(_StubMsg.dwStubPhase != PROXY_SENDRECEIVE)
2871         {
2872         NdrClearOutParameters(
2873                          ( PMIDL_STUB_MESSAGE  )&_StubMsg,
2874                          ( PFORMAT_STRING  )&__MIDL_TypeFormatString.Format[2],
2875                          ( void __RPC_FAR * )pRefType);
2876         _RetVal = NdrProxyErrorHandler(RpcExceptionCode());
2877         }
2878     RpcEndExcept
2879     return _RetVal;
2880 }
2881
2882 void __RPC_STUB ITypeInfo_GetRefTypeOfImplType_Stub(
2883     IRpcStubBuffer *This,
2884     IRpcChannelBuffer *_pRpcChannelBuffer,
2885     PRPC_MESSAGE _pRpcMessage,
2886     DWORD *_pdwStubPhase)
2887 {
2888     HREFTYPE _M35;
2889     HRESULT _RetVal;
2890     MIDL_STUB_MESSAGE _StubMsg;
2891     UINT index;
2892     HREFTYPE __RPC_FAR *pRefType;
2893     
2894 NdrStubInitialize(
2895                      _pRpcMessage,
2896                      &_StubMsg,
2897                      &Object_StubDesc,
2898                      _pRpcChannelBuffer);
2899     ( HREFTYPE __RPC_FAR * )pRefType = 0;
2900     RpcTryFinally
2901         {
2902         if ( (_pRpcMessage->DataRepresentation & 0X0000FFFFUL) != NDR_LOCAL_DATA_REPRESENTATION )
2903             NdrConvert( (PMIDL_STUB_MESSAGE) &_StubMsg, (PFORMAT_STRING) &__MIDL_ProcFormatString.Format[196] );
2904         
2905         index = *(( UINT __RPC_FAR * )_StubMsg.Buffer)++;
2906         
2907         pRefType = &_M35;
2908         
2909         *_pdwStubPhase = STUB_CALL_SERVER;
2910         _RetVal = (((ITypeInfo*) ((CStdStubBuffer *)This)->pvServerObject)->lpVtbl) -> GetRefTypeOfImplType(
2911                         (ITypeInfo *) ((CStdStubBuffer *)This)->pvServerObject,
2912                         index,
2913                         pRefType);
2914         
2915         *_pdwStubPhase = STUB_MARSHAL;
2916         
2917         _StubMsg.BufferLength = 4U + 4U;
2918         NdrStubGetBuffer(This, _pRpcChannelBuffer, &_StubMsg);
2919         *(( HREFTYPE __RPC_FAR * )_StubMsg.Buffer)++ = *pRefType;
2920         
2921         *(( HRESULT __RPC_FAR * )_StubMsg.Buffer)++ = _RetVal;
2922         
2923         }
2924     RpcFinally
2925         {
2926         }
2927     RpcEndFinally
2928     _pRpcMessage->BufferLength = 
2929         (unsigned int)((long)_StubMsg.Buffer - (long)_pRpcMessage->Buffer);
2930     
2931 }
2932
2933
2934 HRESULT STDMETHODCALLTYPE ITypeInfo_GetImplTypeFlags_Proxy( 
2935     ITypeInfo __RPC_FAR * This,
2936     /* [in] */ UINT index,
2937     /* [out] */ INT __RPC_FAR *pImplTypeFlags)
2938 {
2939
2940     HRESULT _RetVal;
2941     
2942     RPC_MESSAGE _RpcMessage;
2943     
2944     MIDL_STUB_MESSAGE _StubMsg;
2945     
2946     RpcTryExcept
2947         {
2948         NdrProxyInitialize(
2949                       ( void __RPC_FAR *  )This,
2950                       ( PRPC_MESSAGE  )&_RpcMessage,
2951                       ( PMIDL_STUB_MESSAGE  )&_StubMsg,
2952                       ( PMIDL_STUB_DESC  )&Object_StubDesc,
2953                       9);
2954         
2955         
2956         
2957         if(!pImplTypeFlags)
2958             {
2959             RpcRaiseException(RPC_X_NULL_REF_POINTER);
2960             }
2961         RpcTryFinally
2962             {
2963             
2964             _StubMsg.BufferLength = 4U;
2965             NdrProxyGetBuffer(This, &_StubMsg);
2966             *(( UINT __RPC_FAR * )_StubMsg.Buffer)++ = index;
2967             
2968             NdrProxySendReceive(This, &_StubMsg);
2969             
2970             if ( (_RpcMessage.DataRepresentation & 0X0000FFFFUL) != NDR_LOCAL_DATA_REPRESENTATION )
2971                 NdrConvert( (PMIDL_STUB_MESSAGE) &_StubMsg, (PFORMAT_STRING) &__MIDL_ProcFormatString.Format[196] );
2972             
2973             *pImplTypeFlags = *(( INT __RPC_FAR * )_StubMsg.Buffer)++;
2974             
2975             _RetVal = *(( HRESULT __RPC_FAR * )_StubMsg.Buffer)++;
2976             
2977             }
2978         RpcFinally
2979             {
2980             NdrProxyFreeBuffer(This, &_StubMsg);
2981             
2982             }
2983         RpcEndFinally
2984         
2985         }
2986     RpcExcept(_StubMsg.dwStubPhase != PROXY_SENDRECEIVE)
2987         {
2988         NdrClearOutParameters(
2989                          ( PMIDL_STUB_MESSAGE  )&_StubMsg,
2990                          ( PFORMAT_STRING  )&__MIDL_TypeFormatString.Format[2],
2991                          ( void __RPC_FAR * )pImplTypeFlags);
2992         _RetVal = NdrProxyErrorHandler(RpcExceptionCode());
2993         }
2994     RpcEndExcept
2995     return _RetVal;
2996 }
2997
2998 void __RPC_STUB ITypeInfo_GetImplTypeFlags_Stub(
2999     IRpcStubBuffer *This,
3000     IRpcChannelBuffer *_pRpcChannelBuffer,
3001     PRPC_MESSAGE _pRpcMessage,
3002     DWORD *_pdwStubPhase)
3003 {
3004     INT _M36;
3005     HRESULT _RetVal;
3006     MIDL_STUB_MESSAGE _StubMsg;
3007     UINT index;
3008     INT __RPC_FAR *pImplTypeFlags;
3009     
3010 NdrStubInitialize(
3011                      _pRpcMessage,
3012                      &_StubMsg,
3013                      &Object_StubDesc,
3014                      _pRpcChannelBuffer);
3015     ( INT __RPC_FAR * )pImplTypeFlags = 0;
3016     RpcTryFinally
3017         {
3018         if ( (_pRpcMessage->DataRepresentation & 0X0000FFFFUL) != NDR_LOCAL_DATA_REPRESENTATION )
3019             NdrConvert( (PMIDL_STUB_MESSAGE) &_StubMsg, (PFORMAT_STRING) &__MIDL_ProcFormatString.Format[196] );
3020         
3021         index = *(( UINT __RPC_FAR * )_StubMsg.Buffer)++;
3022         
3023         pImplTypeFlags = &_M36;
3024         
3025         *_pdwStubPhase = STUB_CALL_SERVER;
3026         _RetVal = (((ITypeInfo*) ((CStdStubBuffer *)This)->pvServerObject)->lpVtbl) -> GetImplTypeFlags(
3027                     (ITypeInfo *) ((CStdStubBuffer *)This)->pvServerObject,
3028                     index,
3029                     pImplTypeFlags);
3030         
3031         *_pdwStubPhase = STUB_MARSHAL;
3032         
3033         _StubMsg.BufferLength = 4U + 4U;
3034         NdrStubGetBuffer(This, _pRpcChannelBuffer, &_StubMsg);
3035         *(( INT __RPC_FAR * )_StubMsg.Buffer)++ = *pImplTypeFlags;
3036         
3037         *(( HRESULT __RPC_FAR * )_StubMsg.Buffer)++ = _RetVal;
3038         
3039         }
3040     RpcFinally
3041         {
3042         }
3043     RpcEndFinally
3044     _pRpcMessage->BufferLength = 
3045         (unsigned int)((long)_StubMsg.Buffer - (long)_pRpcMessage->Buffer);
3046     
3047 }
3048
3049
3050 /* [call_as] */ HRESULT STDMETHODCALLTYPE ITypeInfo_LocalGetIDsOfNames_Proxy( 
3051     ITypeInfo __RPC_FAR * This)
3052 {
3053
3054     HRESULT _RetVal;
3055     
3056     RPC_MESSAGE _RpcMessage;
3057     
3058     MIDL_STUB_MESSAGE _StubMsg;
3059     
3060     RpcTryExcept
3061         {
3062         NdrProxyInitialize(
3063                       ( void __RPC_FAR *  )This,
3064                       ( PRPC_MESSAGE  )&_RpcMessage,
3065                       ( PMIDL_STUB_MESSAGE  )&_StubMsg,
3066                       ( PMIDL_STUB_DESC  )&Object_StubDesc,
3067                       10);
3068         
3069         
3070         
3071         RpcTryFinally
3072             {
3073             
3074             _StubMsg.BufferLength = 0U;
3075             NdrProxyGetBuffer(This, &_StubMsg);
3076             NdrProxySendReceive(This, &_StubMsg);
3077             
3078             if ( (_RpcMessage.DataRepresentation & 0X0000FFFFUL) != NDR_LOCAL_DATA_REPRESENTATION )
3079                 NdrConvert( (PMIDL_STUB_MESSAGE) &_StubMsg, (PFORMAT_STRING) &__MIDL_ProcFormatString.Format[88] );
3080             
3081             _RetVal = *(( HRESULT __RPC_FAR * )_StubMsg.Buffer)++;
3082             
3083             }
3084         RpcFinally
3085             {
3086             NdrProxyFreeBuffer(This, &_StubMsg);
3087             
3088             }
3089         RpcEndFinally
3090         
3091         }
3092     RpcExcept(_StubMsg.dwStubPhase != PROXY_SENDRECEIVE)
3093         {
3094         _RetVal = NdrProxyErrorHandler(RpcExceptionCode());
3095         }
3096     RpcEndExcept
3097     return _RetVal;
3098 }
3099
3100 void __RPC_STUB ITypeInfo_LocalGetIDsOfNames_Stub(
3101     IRpcStubBuffer *This,
3102     IRpcChannelBuffer *_pRpcChannelBuffer,
3103     PRPC_MESSAGE _pRpcMessage,
3104     DWORD *_pdwStubPhase)
3105 {
3106     HRESULT _RetVal;
3107     MIDL_STUB_MESSAGE _StubMsg;
3108     
3109 NdrStubInitialize(
3110                      _pRpcMessage,
3111                      &_StubMsg,
3112                      &Object_StubDesc,
3113                      _pRpcChannelBuffer);
3114     RpcTryFinally
3115         {
3116         
3117         *_pdwStubPhase = STUB_CALL_SERVER;
3118         
3119         
3120         _RetVal = ITypeInfo_GetIDsOfNames_Stub((ITypeInfo *) ((CStdStubBuffer *)This)->pvServerObject);
3121         
3122         *_pdwStubPhase = STUB_MARSHAL;
3123         
3124         _StubMsg.BufferLength = 4U;
3125         NdrStubGetBuffer(This, _pRpcChannelBuffer, &_StubMsg);
3126         *(( HRESULT __RPC_FAR * )_StubMsg.Buffer)++ = _RetVal;
3127         
3128         }
3129     RpcFinally
3130         {
3131         }
3132     RpcEndFinally
3133     _pRpcMessage->BufferLength = 
3134         (unsigned int)((long)_StubMsg.Buffer - (long)_pRpcMessage->Buffer);
3135     
3136 }
3137
3138
3139 /* [call_as] */ HRESULT STDMETHODCALLTYPE ITypeInfo_LocalInvoke_Proxy( 
3140     ITypeInfo __RPC_FAR * This)
3141 {
3142
3143     HRESULT _RetVal;
3144     
3145     RPC_MESSAGE _RpcMessage;
3146     
3147     MIDL_STUB_MESSAGE _StubMsg;
3148     
3149     RpcTryExcept
3150         {
3151         NdrProxyInitialize(
3152                       ( void __RPC_FAR *  )This,
3153                       ( PRPC_MESSAGE  )&_RpcMessage,
3154                       ( PMIDL_STUB_MESSAGE  )&_StubMsg,
3155                       ( PMIDL_STUB_DESC  )&Object_StubDesc,
3156                       11);
3157         
3158         
3159         
3160         RpcTryFinally
3161             {
3162             
3163             _StubMsg.BufferLength = 0U;
3164             NdrProxyGetBuffer(This, &_StubMsg);
3165             NdrProxySendReceive(This, &_StubMsg);
3166             
3167             if ( (_RpcMessage.DataRepresentation & 0X0000FFFFUL) != NDR_LOCAL_DATA_REPRESENTATION )
3168                 NdrConvert( (PMIDL_STUB_MESSAGE) &_StubMsg, (PFORMAT_STRING) &__MIDL_ProcFormatString.Format[88] );
3169             
3170             _RetVal = *(( HRESULT __RPC_FAR * )_StubMsg.Buffer)++;
3171             
3172             }
3173         RpcFinally
3174             {
3175             NdrProxyFreeBuffer(This, &_StubMsg);
3176             
3177             }
3178         RpcEndFinally
3179         
3180         }
3181     RpcExcept(_StubMsg.dwStubPhase != PROXY_SENDRECEIVE)
3182         {
3183         _RetVal = NdrProxyErrorHandler(RpcExceptionCode());
3184         }
3185     RpcEndExcept
3186     return _RetVal;
3187 }
3188
3189 void __RPC_STUB ITypeInfo_LocalInvoke_Stub(
3190     IRpcStubBuffer *This,
3191     IRpcChannelBuffer *_pRpcChannelBuffer,
3192     PRPC_MESSAGE _pRpcMessage,
3193     DWORD *_pdwStubPhase)
3194 {
3195     HRESULT _RetVal;
3196     MIDL_STUB_MESSAGE _StubMsg;
3197     
3198 NdrStubInitialize(
3199                      _pRpcMessage,
3200                      &_StubMsg,
3201                      &Object_StubDesc,
3202                      _pRpcChannelBuffer);
3203     RpcTryFinally
3204         {
3205         
3206         *_pdwStubPhase = STUB_CALL_SERVER;
3207         
3208         
3209         _RetVal = ITypeInfo_Invoke_Stub((ITypeInfo *) ((CStdStubBuffer *)This)->pvServerObject);
3210         
3211         *_pdwStubPhase = STUB_MARSHAL;
3212         
3213         _StubMsg.BufferLength = 4U;
3214         NdrStubGetBuffer(This, _pRpcChannelBuffer, &_StubMsg);
3215         *(( HRESULT __RPC_FAR * )_StubMsg.Buffer)++ = _RetVal;
3216         
3217         }
3218     RpcFinally
3219         {
3220         }
3221     RpcEndFinally
3222     _pRpcMessage->BufferLength = 
3223         (unsigned int)((long)_StubMsg.Buffer - (long)_pRpcMessage->Buffer);
3224     
3225 }
3226
3227
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)
3236 {
3237
3238     HRESULT _RetVal;
3239     
3240     RPC_MESSAGE _RpcMessage;
3241     
3242     MIDL_STUB_MESSAGE _StubMsg;
3243     
3244     if(pBstrName)
3245         {
3246         MIDL_memset(
3247                pBstrName,
3248                0,
3249                sizeof( BSTR  ));
3250         }
3251     if(pBstrDocString)
3252         {
3253         MIDL_memset(
3254                pBstrDocString,
3255                0,
3256                sizeof( BSTR  ));
3257         }
3258     if(pBstrHelpFile)
3259         {
3260         MIDL_memset(
3261                pBstrHelpFile,
3262                0,
3263                sizeof( BSTR  ));
3264         }
3265     RpcTryExcept
3266         {
3267         NdrProxyInitialize(
3268                       ( void __RPC_FAR *  )This,
3269                       ( PRPC_MESSAGE  )&_RpcMessage,
3270                       ( PMIDL_STUB_MESSAGE  )&_StubMsg,
3271                       ( PMIDL_STUB_DESC  )&Object_StubDesc,
3272                       12);
3273         
3274         
3275         
3276         if(!pBstrName)
3277             {
3278             RpcRaiseException(RPC_X_NULL_REF_POINTER);
3279             }
3280         if(!pBstrDocString)
3281             {
3282             RpcRaiseException(RPC_X_NULL_REF_POINTER);
3283             }
3284         if(!pdwHelpContext)
3285             {
3286             RpcRaiseException(RPC_X_NULL_REF_POINTER);
3287             }
3288         if(!pBstrHelpFile)
3289             {
3290             RpcRaiseException(RPC_X_NULL_REF_POINTER);
3291             }
3292         RpcTryFinally
3293             {
3294             
3295             _StubMsg.BufferLength = 4U + 4U;
3296             NdrProxyGetBuffer(This, &_StubMsg);
3297             *(( MEMBERID __RPC_FAR * )_StubMsg.Buffer)++ = memid;
3298             
3299             *(( DWORD __RPC_FAR * )_StubMsg.Buffer)++ = refPtrFlags;
3300             
3301             NdrProxySendReceive(This, &_StubMsg);
3302             
3303             if ( (_RpcMessage.DataRepresentation & 0X0000FFFFUL) != NDR_LOCAL_DATA_REPRESENTATION )
3304                 NdrConvert( (PMIDL_STUB_MESSAGE) &_StubMsg, (PFORMAT_STRING) &__MIDL_ProcFormatString.Format[204] );
3305             
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 );
3310             
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 );
3315             
3316             _StubMsg.Buffer = (unsigned char __RPC_FAR *)(((long)_StubMsg.Buffer + 3) & ~ 0x3);
3317             *pdwHelpContext = *(( DWORD __RPC_FAR * )_StubMsg.Buffer)++;
3318             
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 );
3323             
3324             _StubMsg.Buffer = (unsigned char __RPC_FAR *)(((long)_StubMsg.Buffer + 3) & ~ 0x3);
3325             _RetVal = *(( HRESULT __RPC_FAR * )_StubMsg.Buffer)++;
3326             
3327             }
3328         RpcFinally
3329             {
3330             NdrProxyFreeBuffer(This, &_StubMsg);
3331             
3332             }
3333         RpcEndFinally
3334         
3335         }
3336     RpcExcept(_StubMsg.dwStubPhase != PROXY_SENDRECEIVE)
3337         {
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());
3355         }
3356     RpcEndExcept
3357     return _RetVal;
3358 }
3359
3360 void __RPC_STUB ITypeInfo_RemoteGetDocumentation_Stub(
3361     IRpcStubBuffer *This,
3362     IRpcChannelBuffer *_pRpcChannelBuffer,
3363     PRPC_MESSAGE _pRpcMessage,
3364     DWORD *_pdwStubPhase)
3365 {
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;
3378     
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
3389         {
3390         if ( (_pRpcMessage->DataRepresentation & 0X0000FFFFUL) != NDR_LOCAL_DATA_REPRESENTATION )
3391             NdrConvert( (PMIDL_STUB_MESSAGE) &_StubMsg, (PFORMAT_STRING) &__MIDL_ProcFormatString.Format[204] );
3392         
3393         memid = *(( MEMBERID __RPC_FAR * )_StubMsg.Buffer)++;
3394         
3395         refPtrFlags = *(( DWORD __RPC_FAR * )_StubMsg.Buffer)++;
3396         
3397         pBstrName = &_M37;
3398         MIDL_memset(
3399                pBstrName,
3400                0,
3401                sizeof( BSTR  ));
3402         pBstrDocString = &_M38;
3403         MIDL_memset(
3404                pBstrDocString,
3405                0,
3406                sizeof( BSTR  ));
3407         pdwHelpContext = &_M39;
3408         pBstrHelpFile = &_M40;
3409         MIDL_memset(
3410                pBstrHelpFile,
3411                0,
3412                sizeof( BSTR  ));
3413         
3414         *_pdwStubPhase = STUB_CALL_SERVER;
3415         
3416         
3417         _RetVal = ITypeInfo_GetDocumentation_Stub(
3418                                           (ITypeInfo *) ((CStdStubBuffer *)This)->pvServerObject,
3419                                           memid,
3420                                           refPtrFlags,
3421                                           pBstrName,
3422                                           pBstrDocString,
3423                                           pdwHelpContext,
3424                                           pBstrHelpFile);
3425         
3426         *_pdwStubPhase = STUB_MARSHAL;
3427         
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] );
3432         
3433         NdrUserMarshalBufferSize( (PMIDL_STUB_MESSAGE) &_StubMsg,
3434                                   (unsigned char __RPC_FAR *)pBstrDocString,
3435                                   (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[1128] );
3436         
3437         NdrUserMarshalBufferSize( (PMIDL_STUB_MESSAGE) &_StubMsg,
3438                                   (unsigned char __RPC_FAR *)pBstrHelpFile,
3439                                   (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[1128] );
3440         
3441         _StubMsg.BufferLength += 16;
3442         
3443         NdrStubGetBuffer(This, _pRpcChannelBuffer, &_StubMsg);
3444         NdrUserMarshalMarshall( (PMIDL_STUB_MESSAGE)& _StubMsg,
3445                                 (unsigned char __RPC_FAR *)pBstrName,
3446                                 (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[1128] );
3447         
3448         NdrUserMarshalMarshall( (PMIDL_STUB_MESSAGE)& _StubMsg,
3449                                 (unsigned char __RPC_FAR *)pBstrDocString,
3450                                 (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[1128] );
3451         
3452         _StubMsg.Buffer = (unsigned char __RPC_FAR *)(((long)_StubMsg.Buffer + 3) & ~ 0x3);
3453         *(( DWORD __RPC_FAR * )_StubMsg.Buffer)++ = *pdwHelpContext;
3454         
3455         NdrUserMarshalMarshall( (PMIDL_STUB_MESSAGE)& _StubMsg,
3456                                 (unsigned char __RPC_FAR *)pBstrHelpFile,
3457                                 (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[1128] );
3458         
3459         _StubMsg.Buffer = (unsigned char __RPC_FAR *)(((long)_StubMsg.Buffer + 3) & ~ 0x3);
3460         *(( HRESULT __RPC_FAR * )_StubMsg.Buffer)++ = _RetVal;
3461         
3462         }
3463     RpcFinally
3464         {
3465         NdrPointerFree( &_StubMsg,
3466                         (unsigned char __RPC_FAR *)pBstrName,
3467                         &__MIDL_TypeFormatString.Format[1708] );
3468         
3469         NdrPointerFree( &_StubMsg,
3470                         (unsigned char __RPC_FAR *)pBstrDocString,
3471                         &__MIDL_TypeFormatString.Format[1708] );
3472         
3473         NdrPointerFree( &_StubMsg,
3474                         (unsigned char __RPC_FAR *)pBstrHelpFile,
3475                         &__MIDL_TypeFormatString.Format[1708] );
3476         
3477         }
3478     RpcEndFinally
3479     _pRpcMessage->BufferLength = 
3480         (unsigned int)((long)_StubMsg.Buffer - (long)_pRpcMessage->Buffer);
3481     
3482 }
3483
3484
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)
3493 {
3494
3495     HRESULT _RetVal;
3496     
3497     RPC_MESSAGE _RpcMessage;
3498     
3499     MIDL_STUB_MESSAGE _StubMsg;
3500     
3501     if(pBstrDllName)
3502         {
3503         MIDL_memset(
3504                pBstrDllName,
3505                0,
3506                sizeof( BSTR  ));
3507         }
3508     if(pBstrName)
3509         {
3510         MIDL_memset(
3511                pBstrName,
3512                0,
3513                sizeof( BSTR  ));
3514         }
3515     RpcTryExcept
3516         {
3517         NdrProxyInitialize(
3518                       ( void __RPC_FAR *  )This,
3519                       ( PRPC_MESSAGE  )&_RpcMessage,
3520                       ( PMIDL_STUB_MESSAGE  )&_StubMsg,
3521                       ( PMIDL_STUB_DESC  )&Object_StubDesc,
3522                       13);
3523         
3524         
3525         
3526         if(!pBstrDllName)
3527             {
3528             RpcRaiseException(RPC_X_NULL_REF_POINTER);
3529             }
3530         if(!pBstrName)
3531             {
3532             RpcRaiseException(RPC_X_NULL_REF_POINTER);
3533             }
3534         if(!pwOrdinal)
3535             {
3536             RpcRaiseException(RPC_X_NULL_REF_POINTER);
3537             }
3538         RpcTryFinally
3539             {
3540             
3541             _StubMsg.BufferLength = 4U + 4U + 4U;
3542             NdrProxyGetBuffer(This, &_StubMsg);
3543             *(( MEMBERID __RPC_FAR * )_StubMsg.Buffer)++ = memid;
3544             
3545             NdrSimpleTypeMarshall(
3546                          ( PMIDL_STUB_MESSAGE  )&_StubMsg,
3547                          ( unsigned char __RPC_FAR * )&invKind,
3548                          14);
3549             *(( DWORD __RPC_FAR * )_StubMsg.Buffer)++ = refPtrFlags;
3550             
3551             NdrProxySendReceive(This, &_StubMsg);
3552             
3553             if ( (_RpcMessage.DataRepresentation & 0X0000FFFFUL) != NDR_LOCAL_DATA_REPRESENTATION )
3554                 NdrConvert( (PMIDL_STUB_MESSAGE) &_StubMsg, (PFORMAT_STRING) &__MIDL_ProcFormatString.Format[226] );
3555             
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 );
3560             
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 );
3565             
3566             _StubMsg.Buffer = (unsigned char __RPC_FAR *)(((long)_StubMsg.Buffer + 1) & ~ 0x1);
3567             *pwOrdinal = *(( WORD __RPC_FAR * )_StubMsg.Buffer)++;
3568             
3569             _StubMsg.Buffer = (unsigned char __RPC_FAR *)(((long)_StubMsg.Buffer + 3) & ~ 0x3);
3570             _RetVal = *(( HRESULT __RPC_FAR * )_StubMsg.Buffer)++;
3571             
3572             }
3573         RpcFinally
3574             {
3575             NdrProxyFreeBuffer(This, &_StubMsg);
3576             
3577             }
3578         RpcEndFinally
3579         
3580         }
3581     RpcExcept(_StubMsg.dwStubPhase != PROXY_SENDRECEIVE)
3582         {
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());
3596         }
3597     RpcEndExcept
3598     return _RetVal;
3599 }
3600
3601 void __RPC_STUB ITypeInfo_RemoteGetDllEntry_Stub(
3602     IRpcStubBuffer *This,
3603     IRpcChannelBuffer *_pRpcChannelBuffer,
3604     PRPC_MESSAGE _pRpcMessage,
3605     DWORD *_pdwStubPhase)
3606 {
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;
3618     
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
3628         {
3629         if ( (_pRpcMessage->DataRepresentation & 0X0000FFFFUL) != NDR_LOCAL_DATA_REPRESENTATION )
3630             NdrConvert( (PMIDL_STUB_MESSAGE) &_StubMsg, (PFORMAT_STRING) &__MIDL_ProcFormatString.Format[226] );
3631         
3632         memid = *(( MEMBERID __RPC_FAR * )_StubMsg.Buffer)++;
3633         
3634         NdrSimpleTypeUnmarshall(
3635                            ( PMIDL_STUB_MESSAGE  )&_StubMsg,
3636                            ( unsigned char __RPC_FAR * )&invKind,
3637                            14);
3638         refPtrFlags = *(( DWORD __RPC_FAR * )_StubMsg.Buffer)++;
3639         
3640         pBstrDllName = &_M41;
3641         MIDL_memset(
3642                pBstrDllName,
3643                0,
3644                sizeof( BSTR  ));
3645         pBstrName = &_M42;
3646         MIDL_memset(
3647                pBstrName,
3648                0,
3649                sizeof( BSTR  ));
3650         pwOrdinal = &_M43;
3651         
3652         *_pdwStubPhase = STUB_CALL_SERVER;
3653         
3654         
3655         _RetVal = ITypeInfo_GetDllEntry_Stub(
3656                                      (ITypeInfo *) ((CStdStubBuffer *)This)->pvServerObject,
3657                                      memid,
3658                                      invKind,
3659                                      refPtrFlags,
3660                                      pBstrDllName,
3661                                      pBstrName,
3662                                      pwOrdinal);
3663         
3664         *_pdwStubPhase = STUB_MARSHAL;
3665         
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] );
3670         
3671         NdrUserMarshalBufferSize( (PMIDL_STUB_MESSAGE) &_StubMsg,
3672                                   (unsigned char __RPC_FAR *)pBstrName,
3673                                   (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[1128] );
3674         
3675         _StubMsg.BufferLength += 16;
3676         
3677         NdrStubGetBuffer(This, _pRpcChannelBuffer, &_StubMsg);
3678         NdrUserMarshalMarshall( (PMIDL_STUB_MESSAGE)& _StubMsg,
3679                                 (unsigned char __RPC_FAR *)pBstrDllName,
3680                                 (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[1128] );
3681         
3682         NdrUserMarshalMarshall( (PMIDL_STUB_MESSAGE)& _StubMsg,
3683                                 (unsigned char __RPC_FAR *)pBstrName,
3684                                 (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[1128] );
3685         
3686         _StubMsg.Buffer = (unsigned char __RPC_FAR *)(((long)_StubMsg.Buffer + 1) & ~ 0x1);
3687         *(( WORD __RPC_FAR * )_StubMsg.Buffer)++ = *pwOrdinal;
3688         
3689         _StubMsg.Buffer = (unsigned char __RPC_FAR *)(((long)_StubMsg.Buffer + 3) & ~ 0x3);
3690         *(( HRESULT __RPC_FAR * )_StubMsg.Buffer)++ = _RetVal;
3691         
3692         }
3693     RpcFinally
3694         {
3695         NdrPointerFree( &_StubMsg,
3696                         (unsigned char __RPC_FAR *)pBstrDllName,
3697                         &__MIDL_TypeFormatString.Format[1708] );
3698         
3699         NdrPointerFree( &_StubMsg,
3700                         (unsigned char __RPC_FAR *)pBstrName,
3701                         &__MIDL_TypeFormatString.Format[1708] );
3702         
3703         }
3704     RpcEndFinally
3705     _pRpcMessage->BufferLength = 
3706         (unsigned int)((long)_StubMsg.Buffer - (long)_pRpcMessage->Buffer);
3707     
3708 }
3709
3710
3711 HRESULT STDMETHODCALLTYPE ITypeInfo_GetRefTypeInfo_Proxy( 
3712     ITypeInfo __RPC_FAR * This,
3713     /* [in] */ HREFTYPE hRefType,
3714     /* [out] */ ITypeInfo __RPC_FAR *__RPC_FAR *ppTInfo)
3715 {
3716
3717     HRESULT _RetVal;
3718     
3719     RPC_MESSAGE _RpcMessage;
3720     
3721     MIDL_STUB_MESSAGE _StubMsg;
3722     
3723     if(ppTInfo)
3724         {
3725         MIDL_memset(
3726                ppTInfo,
3727                0,
3728                sizeof( ITypeInfo __RPC_FAR *__RPC_FAR * ));
3729         }
3730     RpcTryExcept
3731         {
3732         NdrProxyInitialize(
3733                       ( void __RPC_FAR *  )This,
3734                       ( PRPC_MESSAGE  )&_RpcMessage,
3735                       ( PMIDL_STUB_MESSAGE  )&_StubMsg,
3736                       ( PMIDL_STUB_DESC  )&Object_StubDesc,
3737                       14);
3738         
3739         
3740         
3741         if(!ppTInfo)
3742             {
3743             RpcRaiseException(RPC_X_NULL_REF_POINTER);
3744             }
3745         RpcTryFinally
3746             {
3747             
3748             _StubMsg.BufferLength = 4U;
3749             NdrProxyGetBuffer(This, &_StubMsg);
3750             *(( HREFTYPE __RPC_FAR * )_StubMsg.Buffer)++ = hRefType;
3751             
3752             NdrProxySendReceive(This, &_StubMsg);
3753             
3754             if ( (_RpcMessage.DataRepresentation & 0X0000FFFFUL) != NDR_LOCAL_DATA_REPRESENTATION )
3755                 NdrConvert( (PMIDL_STUB_MESSAGE) &_StubMsg, (PFORMAT_STRING) &__MIDL_ProcFormatString.Format[246] );
3756             
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 );
3761             
3762             _StubMsg.Buffer = (unsigned char __RPC_FAR *)(((long)_StubMsg.Buffer + 3) & ~ 0x3);
3763             _RetVal = *(( HRESULT __RPC_FAR * )_StubMsg.Buffer)++;
3764             
3765             }
3766         RpcFinally
3767             {
3768             NdrProxyFreeBuffer(This, &_StubMsg);
3769             
3770             }
3771         RpcEndFinally
3772         
3773         }
3774     RpcExcept(_StubMsg.dwStubPhase != PROXY_SENDRECEIVE)
3775         {
3776         NdrClearOutParameters(
3777                          ( PMIDL_STUB_MESSAGE  )&_StubMsg,
3778                          ( PFORMAT_STRING  )&__MIDL_TypeFormatString.Format[6],
3779                          ( void __RPC_FAR * )ppTInfo);
3780         _RetVal = NdrProxyErrorHandler(RpcExceptionCode());
3781         }
3782     RpcEndExcept
3783     return _RetVal;
3784 }
3785
3786 void __RPC_STUB ITypeInfo_GetRefTypeInfo_Stub(
3787     IRpcStubBuffer *This,
3788     IRpcChannelBuffer *_pRpcChannelBuffer,
3789     PRPC_MESSAGE _pRpcMessage,
3790     DWORD *_pdwStubPhase)
3791 {
3792     ITypeInfo __RPC_FAR *_M44;
3793     HRESULT _RetVal;
3794     MIDL_STUB_MESSAGE _StubMsg;
3795     HREFTYPE hRefType;
3796     ITypeInfo __RPC_FAR *__RPC_FAR *ppTInfo;
3797     
3798 NdrStubInitialize(
3799                      _pRpcMessage,
3800                      &_StubMsg,
3801                      &Object_StubDesc,
3802                      _pRpcChannelBuffer);
3803     ( ITypeInfo __RPC_FAR *__RPC_FAR * )ppTInfo = 0;
3804     RpcTryFinally
3805         {
3806         if ( (_pRpcMessage->DataRepresentation & 0X0000FFFFUL) != NDR_LOCAL_DATA_REPRESENTATION )
3807             NdrConvert( (PMIDL_STUB_MESSAGE) &_StubMsg, (PFORMAT_STRING) &__MIDL_ProcFormatString.Format[246] );
3808         
3809         hRefType = *(( HREFTYPE __RPC_FAR * )_StubMsg.Buffer)++;
3810         
3811         ppTInfo = &_M44;
3812         _M44 = 0;
3813         
3814         *_pdwStubPhase = STUB_CALL_SERVER;
3815         _RetVal = (((ITypeInfo*) ((CStdStubBuffer *)This)->pvServerObject)->lpVtbl) -> GetRefTypeInfo(
3816                   (ITypeInfo *) ((CStdStubBuffer *)This)->pvServerObject,
3817                   hRefType,
3818                   ppTInfo);
3819         
3820         *_pdwStubPhase = STUB_MARSHAL;
3821         
3822         _StubMsg.BufferLength = 0U + 4U;
3823         NdrPointerBufferSize( (PMIDL_STUB_MESSAGE) &_StubMsg,
3824                               (unsigned char __RPC_FAR *)ppTInfo,
3825                               (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[6] );
3826         
3827         _StubMsg.BufferLength += 16;
3828         
3829         NdrStubGetBuffer(This, _pRpcChannelBuffer, &_StubMsg);
3830         NdrPointerMarshall( (PMIDL_STUB_MESSAGE)& _StubMsg,
3831                             (unsigned char __RPC_FAR *)ppTInfo,
3832                             (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[6] );
3833         
3834         _StubMsg.Buffer = (unsigned char __RPC_FAR *)(((long)_StubMsg.Buffer + 3) & ~ 0x3);
3835         *(( HRESULT __RPC_FAR * )_StubMsg.Buffer)++ = _RetVal;
3836         
3837         }
3838     RpcFinally
3839         {
3840         NdrPointerFree( &_StubMsg,
3841                         (unsigned char __RPC_FAR *)ppTInfo,
3842                         &__MIDL_TypeFormatString.Format[6] );
3843         
3844         }
3845     RpcEndFinally
3846     _pRpcMessage->BufferLength = 
3847         (unsigned int)((long)_StubMsg.Buffer - (long)_pRpcMessage->Buffer);
3848     
3849 }
3850
3851
3852 /* [call_as] */ HRESULT STDMETHODCALLTYPE ITypeInfo_LocalAddressOfMember_Proxy( 
3853     ITypeInfo __RPC_FAR * This)
3854 {
3855
3856     HRESULT _RetVal;
3857     
3858     RPC_MESSAGE _RpcMessage;
3859     
3860     MIDL_STUB_MESSAGE _StubMsg;
3861     
3862     RpcTryExcept
3863         {
3864         NdrProxyInitialize(
3865                       ( void __RPC_FAR *  )This,
3866                       ( PRPC_MESSAGE  )&_RpcMessage,
3867                       ( PMIDL_STUB_MESSAGE  )&_StubMsg,
3868                       ( PMIDL_STUB_DESC  )&Object_StubDesc,
3869                       15);
3870         
3871         
3872         
3873         RpcTryFinally
3874             {
3875             
3876             _StubMsg.BufferLength = 0U;
3877             NdrProxyGetBuffer(This, &_StubMsg);
3878             NdrProxySendReceive(This, &_StubMsg);
3879             
3880             if ( (_RpcMessage.DataRepresentation & 0X0000FFFFUL) != NDR_LOCAL_DATA_REPRESENTATION )
3881                 NdrConvert( (PMIDL_STUB_MESSAGE) &_StubMsg, (PFORMAT_STRING) &__MIDL_ProcFormatString.Format[88] );
3882             
3883             _RetVal = *(( HRESULT __RPC_FAR * )_StubMsg.Buffer)++;
3884             
3885             }
3886         RpcFinally
3887             {
3888             NdrProxyFreeBuffer(This, &_StubMsg);
3889             
3890             }
3891         RpcEndFinally
3892         
3893         }
3894     RpcExcept(_StubMsg.dwStubPhase != PROXY_SENDRECEIVE)
3895         {
3896         _RetVal = NdrProxyErrorHandler(RpcExceptionCode());
3897         }
3898     RpcEndExcept
3899     return _RetVal;
3900 }
3901
3902 void __RPC_STUB ITypeInfo_LocalAddressOfMember_Stub(
3903     IRpcStubBuffer *This,
3904     IRpcChannelBuffer *_pRpcChannelBuffer,
3905     PRPC_MESSAGE _pRpcMessage,
3906     DWORD *_pdwStubPhase)
3907 {
3908     HRESULT _RetVal;
3909     MIDL_STUB_MESSAGE _StubMsg;
3910     
3911 NdrStubInitialize(
3912                      _pRpcMessage,
3913                      &_StubMsg,
3914                      &Object_StubDesc,
3915                      _pRpcChannelBuffer);
3916     RpcTryFinally
3917         {
3918         
3919         *_pdwStubPhase = STUB_CALL_SERVER;
3920         
3921         
3922         _RetVal = ITypeInfo_AddressOfMember_Stub((ITypeInfo *) ((CStdStubBuffer *)This)->pvServerObject);
3923         
3924         *_pdwStubPhase = STUB_MARSHAL;
3925         
3926         _StubMsg.BufferLength = 4U;
3927         NdrStubGetBuffer(This, _pRpcChannelBuffer, &_StubMsg);
3928         *(( HRESULT __RPC_FAR * )_StubMsg.Buffer)++ = _RetVal;
3929         
3930         }
3931     RpcFinally
3932         {
3933         }
3934     RpcEndFinally
3935     _pRpcMessage->BufferLength = 
3936         (unsigned int)((long)_StubMsg.Buffer - (long)_pRpcMessage->Buffer);
3937     
3938 }
3939
3940
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)
3945 {
3946
3947     HRESULT _RetVal;
3948     
3949     RPC_MESSAGE _RpcMessage;
3950     
3951     MIDL_STUB_MESSAGE _StubMsg;
3952     
3953     if(ppvObj)
3954         {
3955         MIDL_memset(
3956                ppvObj,
3957                0,
3958                sizeof( IUnknown __RPC_FAR *__RPC_FAR * ));
3959         }
3960     RpcTryExcept
3961         {
3962         NdrProxyInitialize(
3963                       ( void __RPC_FAR *  )This,
3964                       ( PRPC_MESSAGE  )&_RpcMessage,
3965                       ( PMIDL_STUB_MESSAGE  )&_StubMsg,
3966                       ( PMIDL_STUB_DESC  )&Object_StubDesc,
3967                       16);
3968         
3969         
3970         
3971         if(!riid)
3972             {
3973             RpcRaiseException(RPC_X_NULL_REF_POINTER);
3974             }
3975         if(!ppvObj)
3976             {
3977             RpcRaiseException(RPC_X_NULL_REF_POINTER);
3978             }
3979         RpcTryFinally
3980             {
3981             
3982             _StubMsg.BufferLength = 0U;
3983             NdrSimpleStructBufferSize( (PMIDL_STUB_MESSAGE) &_StubMsg,
3984                                        (unsigned char __RPC_FAR *)riid,
3985                                        (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[38] );
3986             
3987             NdrProxyGetBuffer(This, &_StubMsg);
3988             NdrSimpleStructMarshall( (PMIDL_STUB_MESSAGE)& _StubMsg,
3989                                      (unsigned char __RPC_FAR *)riid,
3990                                      (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[38] );
3991             
3992             NdrProxySendReceive(This, &_StubMsg);
3993             
3994             if ( (_RpcMessage.DataRepresentation & 0X0000FFFFUL) != NDR_LOCAL_DATA_REPRESENTATION )
3995                 NdrConvert( (PMIDL_STUB_MESSAGE) &_StubMsg, (PFORMAT_STRING) &__MIDL_ProcFormatString.Format[254] );
3996             
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 );
4001             
4002             _StubMsg.Buffer = (unsigned char __RPC_FAR *)(((long)_StubMsg.Buffer + 3) & ~ 0x3);
4003             _RetVal = *(( HRESULT __RPC_FAR * )_StubMsg.Buffer)++;
4004             
4005             }
4006         RpcFinally
4007             {
4008             NdrProxyFreeBuffer(This, &_StubMsg);
4009             
4010             }
4011         RpcEndFinally
4012         
4013         }
4014     RpcExcept(_StubMsg.dwStubPhase != PROXY_SENDRECEIVE)
4015         {
4016         _StubMsg.MaxCount = (unsigned long) ( riid );
4017         
4018         NdrClearOutParameters(
4019                          ( PMIDL_STUB_MESSAGE  )&_StubMsg,
4020                          ( PFORMAT_STRING  )&__MIDL_TypeFormatString.Format[1716],
4021                          ( void __RPC_FAR * )ppvObj);
4022         _RetVal = NdrProxyErrorHandler(RpcExceptionCode());
4023         }
4024     RpcEndExcept
4025     return _RetVal;
4026 }
4027
4028 void __RPC_STUB ITypeInfo_RemoteCreateInstance_Stub(
4029     IRpcStubBuffer *This,
4030     IRpcChannelBuffer *_pRpcChannelBuffer,
4031     PRPC_MESSAGE _pRpcMessage,
4032     DWORD *_pdwStubPhase)
4033 {
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;
4039     
4040 NdrStubInitialize(
4041                      _pRpcMessage,
4042                      &_StubMsg,
4043                      &Object_StubDesc,
4044                      _pRpcChannelBuffer);
4045     ( IUnknown __RPC_FAR *__RPC_FAR * )ppvObj = 0;
4046     RpcTryFinally
4047         {
4048         if ( (_pRpcMessage->DataRepresentation & 0X0000FFFFUL) != NDR_LOCAL_DATA_REPRESENTATION )
4049             NdrConvert( (PMIDL_STUB_MESSAGE) &_StubMsg, (PFORMAT_STRING) &__MIDL_ProcFormatString.Format[254] );
4050         
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 );
4055         
4056         ppvObj = (void *)&_M45;
4057         _M45 = 0;
4058         
4059         *_pdwStubPhase = STUB_CALL_SERVER;
4060         
4061         
4062         _RetVal = ITypeInfo_CreateInstance_Stub(
4063                                         (ITypeInfo *) ((CStdStubBuffer *)This)->pvServerObject,
4064                                         riid,
4065                                         ppvObj);
4066         
4067         *_pdwStubPhase = STUB_MARSHAL;
4068         
4069         _StubMsg.BufferLength = 0U + 4U;
4070         _StubMsg.MaxCount = (unsigned long) ( riid );
4071         
4072         NdrPointerBufferSize( (PMIDL_STUB_MESSAGE) &_StubMsg,
4073                               (unsigned char __RPC_FAR *)ppvObj,
4074                               (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[1716] );
4075         
4076         _StubMsg.BufferLength += 16;
4077         
4078         NdrStubGetBuffer(This, _pRpcChannelBuffer, &_StubMsg);
4079         _StubMsg.MaxCount = (unsigned long) ( riid );
4080         
4081         NdrPointerMarshall( (PMIDL_STUB_MESSAGE)& _StubMsg,
4082                             (unsigned char __RPC_FAR *)ppvObj,
4083                             (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[1716] );
4084         
4085         _StubMsg.Buffer = (unsigned char __RPC_FAR *)(((long)_StubMsg.Buffer + 3) & ~ 0x3);
4086         *(( HRESULT __RPC_FAR * )_StubMsg.Buffer)++ = _RetVal;
4087         
4088         }
4089     RpcFinally
4090         {
4091         _StubMsg.MaxCount = (unsigned long) ( riid );
4092         
4093         NdrPointerFree( &_StubMsg,
4094                         (unsigned char __RPC_FAR *)ppvObj,
4095                         &__MIDL_TypeFormatString.Format[1716] );
4096         
4097         }
4098     RpcEndFinally
4099     _pRpcMessage->BufferLength = 
4100         (unsigned int)((long)_StubMsg.Buffer - (long)_pRpcMessage->Buffer);
4101     
4102 }
4103
4104
4105 HRESULT STDMETHODCALLTYPE ITypeInfo_GetMops_Proxy( 
4106     ITypeInfo __RPC_FAR * This,
4107     /* [in] */ MEMBERID memid,
4108     /* [out] */ BSTR __RPC_FAR *pBstrMops)
4109 {
4110
4111     HRESULT _RetVal;
4112     
4113     RPC_MESSAGE _RpcMessage;
4114     
4115     MIDL_STUB_MESSAGE _StubMsg;
4116     
4117     if(pBstrMops)
4118         {
4119         MIDL_memset(
4120                pBstrMops,
4121                0,
4122                sizeof( BSTR  ));
4123         }
4124     RpcTryExcept
4125         {
4126         NdrProxyInitialize(
4127                       ( void __RPC_FAR *  )This,
4128                       ( PRPC_MESSAGE  )&_RpcMessage,
4129                       ( PMIDL_STUB_MESSAGE  )&_StubMsg,
4130                       ( PMIDL_STUB_DESC  )&Object_StubDesc,
4131                       17);
4132         
4133         
4134         
4135         if(!pBstrMops)
4136             {
4137             RpcRaiseException(RPC_X_NULL_REF_POINTER);
4138             }
4139         RpcTryFinally
4140             {
4141             
4142             _StubMsg.BufferLength = 4U;
4143             NdrProxyGetBuffer(This, &_StubMsg);
4144             *(( MEMBERID __RPC_FAR * )_StubMsg.Buffer)++ = memid;
4145             
4146             NdrProxySendReceive(This, &_StubMsg);
4147             
4148             if ( (_RpcMessage.DataRepresentation & 0X0000FFFFUL) != NDR_LOCAL_DATA_REPRESENTATION )
4149                 NdrConvert( (PMIDL_STUB_MESSAGE) &_StubMsg, (PFORMAT_STRING) &__MIDL_ProcFormatString.Format[264] );
4150             
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 );
4155             
4156             _StubMsg.Buffer = (unsigned char __RPC_FAR *)(((long)_StubMsg.Buffer + 3) & ~ 0x3);
4157             _RetVal = *(( HRESULT __RPC_FAR * )_StubMsg.Buffer)++;
4158             
4159             }
4160         RpcFinally
4161             {
4162             NdrProxyFreeBuffer(This, &_StubMsg);
4163             
4164             }
4165         RpcEndFinally
4166         
4167         }
4168     RpcExcept(_StubMsg.dwStubPhase != PROXY_SENDRECEIVE)
4169         {
4170         NdrClearOutParameters(
4171                          ( PMIDL_STUB_MESSAGE  )&_StubMsg,
4172                          ( PFORMAT_STRING  )&__MIDL_TypeFormatString.Format[1708],
4173                          ( void __RPC_FAR * )pBstrMops);
4174         _RetVal = NdrProxyErrorHandler(RpcExceptionCode());
4175         }
4176     RpcEndExcept
4177     return _RetVal;
4178 }
4179
4180 void __RPC_STUB ITypeInfo_GetMops_Stub(
4181     IRpcStubBuffer *This,
4182     IRpcChannelBuffer *_pRpcChannelBuffer,
4183     PRPC_MESSAGE _pRpcMessage,
4184     DWORD *_pdwStubPhase)
4185 {
4186     BSTR _M46;
4187     HRESULT _RetVal;
4188     MIDL_STUB_MESSAGE _StubMsg;
4189     MEMBERID memid;
4190     BSTR __RPC_FAR *pBstrMops;
4191     
4192 NdrStubInitialize(
4193                      _pRpcMessage,
4194                      &_StubMsg,
4195                      &Object_StubDesc,
4196                      _pRpcChannelBuffer);
4197     ( BSTR __RPC_FAR * )pBstrMops = 0;
4198     RpcTryFinally
4199         {
4200         if ( (_pRpcMessage->DataRepresentation & 0X0000FFFFUL) != NDR_LOCAL_DATA_REPRESENTATION )
4201             NdrConvert( (PMIDL_STUB_MESSAGE) &_StubMsg, (PFORMAT_STRING) &__MIDL_ProcFormatString.Format[264] );
4202         
4203         memid = *(( MEMBERID __RPC_FAR * )_StubMsg.Buffer)++;
4204         
4205         pBstrMops = &_M46;
4206         MIDL_memset(
4207                pBstrMops,
4208                0,
4209                sizeof( BSTR  ));
4210         
4211         *_pdwStubPhase = STUB_CALL_SERVER;
4212         _RetVal = (((ITypeInfo*) ((CStdStubBuffer *)This)->pvServerObject)->lpVtbl) -> GetMops(
4213            (ITypeInfo *) ((CStdStubBuffer *)This)->pvServerObject,
4214            memid,
4215            pBstrMops);
4216         
4217         *_pdwStubPhase = STUB_MARSHAL;
4218         
4219         _StubMsg.BufferLength = 8U + 11U;
4220         NdrUserMarshalBufferSize( (PMIDL_STUB_MESSAGE) &_StubMsg,
4221                                   (unsigned char __RPC_FAR *)pBstrMops,
4222                                   (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[1128] );
4223         
4224         _StubMsg.BufferLength += 16;
4225         
4226         NdrStubGetBuffer(This, _pRpcChannelBuffer, &_StubMsg);
4227         NdrUserMarshalMarshall( (PMIDL_STUB_MESSAGE)& _StubMsg,
4228                                 (unsigned char __RPC_FAR *)pBstrMops,
4229                                 (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[1128] );
4230         
4231         _StubMsg.Buffer = (unsigned char __RPC_FAR *)(((long)_StubMsg.Buffer + 3) & ~ 0x3);
4232         *(( HRESULT __RPC_FAR * )_StubMsg.Buffer)++ = _RetVal;
4233         
4234         }
4235     RpcFinally
4236         {
4237         NdrPointerFree( &_StubMsg,
4238                         (unsigned char __RPC_FAR *)pBstrMops,
4239                         &__MIDL_TypeFormatString.Format[1708] );
4240         
4241         }
4242     RpcEndFinally
4243     _pRpcMessage->BufferLength = 
4244         (unsigned int)((long)_StubMsg.Buffer - (long)_pRpcMessage->Buffer);
4245     
4246 }
4247
4248
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)
4253 {
4254
4255     HRESULT _RetVal;
4256     
4257     RPC_MESSAGE _RpcMessage;
4258     
4259     MIDL_STUB_MESSAGE _StubMsg;
4260     
4261     if(ppTLib)
4262         {
4263         MIDL_memset(
4264                ppTLib,
4265                0,
4266                sizeof( ITypeLib __RPC_FAR *__RPC_FAR * ));
4267         }
4268     RpcTryExcept
4269         {
4270         NdrProxyInitialize(
4271                       ( void __RPC_FAR *  )This,
4272                       ( PRPC_MESSAGE  )&_RpcMessage,
4273                       ( PMIDL_STUB_MESSAGE  )&_StubMsg,
4274                       ( PMIDL_STUB_DESC  )&Object_StubDesc,
4275                       18);
4276         
4277         
4278         
4279         if(!ppTLib)
4280             {
4281             RpcRaiseException(RPC_X_NULL_REF_POINTER);
4282             }
4283         if(!pIndex)
4284             {
4285             RpcRaiseException(RPC_X_NULL_REF_POINTER);
4286             }
4287         RpcTryFinally
4288             {
4289             
4290             _StubMsg.BufferLength = 0U;
4291             NdrProxyGetBuffer(This, &_StubMsg);
4292             NdrProxySendReceive(This, &_StubMsg);
4293             
4294             if ( (_RpcMessage.DataRepresentation & 0X0000FFFFUL) != NDR_LOCAL_DATA_REPRESENTATION )
4295                 NdrConvert( (PMIDL_STUB_MESSAGE) &_StubMsg, (PFORMAT_STRING) &__MIDL_ProcFormatString.Format[272] );
4296             
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 );
4301             
4302             _StubMsg.Buffer = (unsigned char __RPC_FAR *)(((long)_StubMsg.Buffer + 3) & ~ 0x3);
4303             *pIndex = *(( UINT __RPC_FAR * )_StubMsg.Buffer)++;
4304             
4305             _RetVal = *(( HRESULT __RPC_FAR * )_StubMsg.Buffer)++;
4306             
4307             }
4308         RpcFinally
4309             {
4310             NdrProxyFreeBuffer(This, &_StubMsg);
4311             
4312             }
4313         RpcEndFinally
4314         
4315         }
4316     RpcExcept(_StubMsg.dwStubPhase != PROXY_SENDRECEIVE)
4317         {
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());
4327         }
4328     RpcEndExcept
4329     return _RetVal;
4330 }
4331
4332 void __RPC_STUB ITypeInfo_RemoteGetContainingTypeLib_Stub(
4333     IRpcStubBuffer *This,
4334     IRpcChannelBuffer *_pRpcChannelBuffer,
4335     PRPC_MESSAGE _pRpcMessage,
4336     DWORD *_pdwStubPhase)
4337 {
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;
4344     
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
4353         {
4354         ppTLib = &_M47;
4355         _M47 = 0;
4356         pIndex = &_M48;
4357         
4358         *_pdwStubPhase = STUB_CALL_SERVER;
4359         
4360         
4361         _RetVal = ITypeInfo_GetContainingTypeLib_Stub(
4362                                               (ITypeInfo *) ((CStdStubBuffer *)This)->pvServerObject,
4363                                               ppTLib,
4364                                               pIndex);
4365         
4366         *_pdwStubPhase = STUB_MARSHAL;
4367         
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] );
4372         
4373         _StubMsg.BufferLength += 16;
4374         
4375         NdrStubGetBuffer(This, _pRpcChannelBuffer, &_StubMsg);
4376         NdrPointerMarshall( (PMIDL_STUB_MESSAGE)& _StubMsg,
4377                             (unsigned char __RPC_FAR *)ppTLib,
4378                             (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[1726] );
4379         
4380         _StubMsg.Buffer = (unsigned char __RPC_FAR *)(((long)_StubMsg.Buffer + 3) & ~ 0x3);
4381         *(( UINT __RPC_FAR * )_StubMsg.Buffer)++ = *pIndex;
4382         
4383         *(( HRESULT __RPC_FAR * )_StubMsg.Buffer)++ = _RetVal;
4384         
4385         }
4386     RpcFinally
4387         {
4388         NdrPointerFree( &_StubMsg,
4389                         (unsigned char __RPC_FAR *)ppTLib,
4390                         &__MIDL_TypeFormatString.Format[1726] );
4391         
4392         }
4393     RpcEndFinally
4394     _pRpcMessage->BufferLength = 
4395         (unsigned int)((long)_StubMsg.Buffer - (long)_pRpcMessage->Buffer);
4396     
4397 }
4398
4399
4400 /* [call_as] */ HRESULT STDMETHODCALLTYPE ITypeInfo_LocalReleaseTypeAttr_Proxy( 
4401     ITypeInfo __RPC_FAR * This)
4402 {
4403
4404     HRESULT _RetVal;
4405     
4406     RPC_MESSAGE _RpcMessage;
4407     
4408     MIDL_STUB_MESSAGE _StubMsg;
4409     
4410     RpcTryExcept
4411         {
4412         NdrProxyInitialize(
4413                       ( void __RPC_FAR *  )This,
4414                       ( PRPC_MESSAGE  )&_RpcMessage,
4415                       ( PMIDL_STUB_MESSAGE  )&_StubMsg,
4416                       ( PMIDL_STUB_DESC  )&Object_StubDesc,
4417                       19);
4418         
4419         
4420         
4421         RpcTryFinally
4422             {
4423             
4424             _StubMsg.BufferLength = 0U;
4425             NdrProxyGetBuffer(This, &_StubMsg);
4426             NdrProxySendReceive(This, &_StubMsg);
4427             
4428             if ( (_RpcMessage.DataRepresentation & 0X0000FFFFUL) != NDR_LOCAL_DATA_REPRESENTATION )
4429                 NdrConvert( (PMIDL_STUB_MESSAGE) &_StubMsg, (PFORMAT_STRING) &__MIDL_ProcFormatString.Format[88] );
4430             
4431             _RetVal = *(( HRESULT __RPC_FAR * )_StubMsg.Buffer)++;
4432             
4433             }
4434         RpcFinally
4435             {
4436             NdrProxyFreeBuffer(This, &_StubMsg);
4437             
4438             }
4439         RpcEndFinally
4440         
4441         }
4442     RpcExcept(_StubMsg.dwStubPhase != PROXY_SENDRECEIVE)
4443         {
4444         _RetVal = NdrProxyErrorHandler(RpcExceptionCode());
4445         }
4446     RpcEndExcept
4447     return _RetVal;
4448 }
4449
4450 void __RPC_STUB ITypeInfo_LocalReleaseTypeAttr_Stub(
4451     IRpcStubBuffer *This,
4452     IRpcChannelBuffer *_pRpcChannelBuffer,
4453     PRPC_MESSAGE _pRpcMessage,
4454     DWORD *_pdwStubPhase)
4455 {
4456     HRESULT _RetVal;
4457     MIDL_STUB_MESSAGE _StubMsg;
4458     
4459 NdrStubInitialize(
4460                      _pRpcMessage,
4461                      &_StubMsg,
4462                      &Object_StubDesc,
4463                      _pRpcChannelBuffer);
4464     RpcTryFinally
4465         {
4466         
4467         *_pdwStubPhase = STUB_CALL_SERVER;
4468         
4469         
4470         _RetVal = ITypeInfo_ReleaseTypeAttr_Stub((ITypeInfo *) ((CStdStubBuffer *)This)->pvServerObject);
4471         
4472         *_pdwStubPhase = STUB_MARSHAL;
4473         
4474         _StubMsg.BufferLength = 4U;
4475         NdrStubGetBuffer(This, _pRpcChannelBuffer, &_StubMsg);
4476         *(( HRESULT __RPC_FAR * )_StubMsg.Buffer)++ = _RetVal;
4477         
4478         }
4479     RpcFinally
4480         {
4481         }
4482     RpcEndFinally
4483     _pRpcMessage->BufferLength = 
4484         (unsigned int)((long)_StubMsg.Buffer - (long)_pRpcMessage->Buffer);
4485     
4486 }
4487
4488
4489 /* [call_as] */ HRESULT STDMETHODCALLTYPE ITypeInfo_LocalReleaseFuncDesc_Proxy( 
4490     ITypeInfo __RPC_FAR * This)
4491 {
4492
4493     HRESULT _RetVal;
4494     
4495     RPC_MESSAGE _RpcMessage;
4496     
4497     MIDL_STUB_MESSAGE _StubMsg;
4498     
4499     RpcTryExcept
4500         {
4501         NdrProxyInitialize(
4502                       ( void __RPC_FAR *  )This,
4503                       ( PRPC_MESSAGE  )&_RpcMessage,
4504                       ( PMIDL_STUB_MESSAGE  )&_StubMsg,
4505                       ( PMIDL_STUB_DESC  )&Object_StubDesc,
4506                       20);
4507         
4508         
4509         
4510         RpcTryFinally
4511             {
4512             
4513             _StubMsg.BufferLength = 0U;
4514             NdrProxyGetBuffer(This, &_StubMsg);
4515             NdrProxySendReceive(This, &_StubMsg);
4516             
4517             if ( (_RpcMessage.DataRepresentation & 0X0000FFFFUL) != NDR_LOCAL_DATA_REPRESENTATION )
4518                 NdrConvert( (PMIDL_STUB_MESSAGE) &_StubMsg, (PFORMAT_STRING) &__MIDL_ProcFormatString.Format[88] );
4519             
4520             _RetVal = *(( HRESULT __RPC_FAR * )_StubMsg.Buffer)++;
4521             
4522             }
4523         RpcFinally
4524             {
4525             NdrProxyFreeBuffer(This, &_StubMsg);
4526             
4527             }
4528         RpcEndFinally
4529         
4530         }
4531     RpcExcept(_StubMsg.dwStubPhase != PROXY_SENDRECEIVE)
4532         {
4533         _RetVal = NdrProxyErrorHandler(RpcExceptionCode());
4534         }
4535     RpcEndExcept
4536     return _RetVal;
4537 }
4538
4539 void __RPC_STUB ITypeInfo_LocalReleaseFuncDesc_Stub(
4540     IRpcStubBuffer *This,
4541     IRpcChannelBuffer *_pRpcChannelBuffer,
4542     PRPC_MESSAGE _pRpcMessage,
4543     DWORD *_pdwStubPhase)
4544 {
4545     HRESULT _RetVal;
4546     MIDL_STUB_MESSAGE _StubMsg;
4547     
4548 NdrStubInitialize(
4549                      _pRpcMessage,
4550                      &_StubMsg,
4551                      &Object_StubDesc,
4552                      _pRpcChannelBuffer);
4553     RpcTryFinally
4554         {
4555         
4556         *_pdwStubPhase = STUB_CALL_SERVER;
4557         
4558         
4559         _RetVal = ITypeInfo_ReleaseFuncDesc_Stub((ITypeInfo *) ((CStdStubBuffer *)This)->pvServerObject);
4560         
4561         *_pdwStubPhase = STUB_MARSHAL;
4562         
4563         _StubMsg.BufferLength = 4U;
4564         NdrStubGetBuffer(This, _pRpcChannelBuffer, &_StubMsg);
4565         *(( HRESULT __RPC_FAR * )_StubMsg.Buffer)++ = _RetVal;
4566         
4567         }
4568     RpcFinally
4569         {
4570         }
4571     RpcEndFinally
4572     _pRpcMessage->BufferLength = 
4573         (unsigned int)((long)_StubMsg.Buffer - (long)_pRpcMessage->Buffer);
4574     
4575 }
4576
4577
4578 /* [call_as] */ HRESULT STDMETHODCALLTYPE ITypeInfo_LocalReleaseVarDesc_Proxy( 
4579     ITypeInfo __RPC_FAR * This)
4580 {
4581
4582     HRESULT _RetVal;
4583     
4584     RPC_MESSAGE _RpcMessage;
4585     
4586     MIDL_STUB_MESSAGE _StubMsg;
4587     
4588     RpcTryExcept
4589         {
4590         NdrProxyInitialize(
4591                       ( void __RPC_FAR *  )This,
4592                       ( PRPC_MESSAGE  )&_RpcMessage,
4593                       ( PMIDL_STUB_MESSAGE  )&_StubMsg,
4594                       ( PMIDL_STUB_DESC  )&Object_StubDesc,
4595                       21);
4596         
4597         
4598         
4599         RpcTryFinally
4600             {
4601             
4602             _StubMsg.BufferLength = 0U;
4603             NdrProxyGetBuffer(This, &_StubMsg);
4604             NdrProxySendReceive(This, &_StubMsg);
4605             
4606             if ( (_RpcMessage.DataRepresentation & 0X0000FFFFUL) != NDR_LOCAL_DATA_REPRESENTATION )
4607                 NdrConvert( (PMIDL_STUB_MESSAGE) &_StubMsg, (PFORMAT_STRING) &__MIDL_ProcFormatString.Format[88] );
4608             
4609             _RetVal = *(( HRESULT __RPC_FAR * )_StubMsg.Buffer)++;
4610             
4611             }
4612         RpcFinally
4613             {
4614             NdrProxyFreeBuffer(This, &_StubMsg);
4615             
4616             }
4617         RpcEndFinally
4618         
4619         }
4620     RpcExcept(_StubMsg.dwStubPhase != PROXY_SENDRECEIVE)
4621         {
4622         _RetVal = NdrProxyErrorHandler(RpcExceptionCode());
4623         }
4624     RpcEndExcept
4625     return _RetVal;
4626 }
4627
4628 void __RPC_STUB ITypeInfo_LocalReleaseVarDesc_Stub(
4629     IRpcStubBuffer *This,
4630     IRpcChannelBuffer *_pRpcChannelBuffer,
4631     PRPC_MESSAGE _pRpcMessage,
4632     DWORD *_pdwStubPhase)
4633 {
4634     HRESULT _RetVal;
4635     MIDL_STUB_MESSAGE _StubMsg;
4636     
4637 NdrStubInitialize(
4638                      _pRpcMessage,
4639                      &_StubMsg,
4640                      &Object_StubDesc,
4641                      _pRpcChannelBuffer);
4642     RpcTryFinally
4643         {
4644         
4645         *_pdwStubPhase = STUB_CALL_SERVER;
4646         
4647         
4648         _RetVal = ITypeInfo_ReleaseVarDesc_Stub((ITypeInfo *) ((CStdStubBuffer *)This)->pvServerObject);
4649         
4650         *_pdwStubPhase = STUB_MARSHAL;
4651         
4652         _StubMsg.BufferLength = 4U;
4653         NdrStubGetBuffer(This, _pRpcChannelBuffer, &_StubMsg);
4654         *(( HRESULT __RPC_FAR * )_StubMsg.Buffer)++ = _RetVal;
4655         
4656         }
4657     RpcFinally
4658         {
4659         }
4660     RpcEndFinally
4661     _pRpcMessage->BufferLength = 
4662         (unsigned int)((long)_StubMsg.Buffer - (long)_pRpcMessage->Buffer);
4663     
4664 }
4665
4666 const CINTERFACE_PROXY_VTABLE(22) _ITypeInfoProxyVtbl = 
4667 {
4668     { &IID_ITypeInfo },
4669     {
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
4692     }
4693 };
4694
4695
4696 static const PRPC_STUB_FUNCTION ITypeInfo_table[] =
4697 {
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
4717 };
4718
4719 const CInterfaceStubVtbl _ITypeInfoStubVtbl =
4720 {
4721     {
4722         &IID_ITypeInfo,
4723         0,
4724         22,
4725         &ITypeInfo_table[-3]
4726     },
4727     { CStdStubBuffer_METHODS }
4728 };
4729
4730
4731 /* Object interface: ITypeInfo2, ver. 0.0,
4732    GUID={0x00020412,0x0000,0x0000,{0xC0,0x00,0x00,0x00,0x00,0x00,0x00,0x46}} */
4733
4734
4735 extern const MIDL_STUB_DESC Object_StubDesc;
4736
4737
4738 HRESULT STDMETHODCALLTYPE ITypeInfo2_GetTypeKind_Proxy( 
4739     ITypeInfo2 __RPC_FAR * This,
4740     /* [out] */ TYPEKIND __RPC_FAR *pTypeKind)
4741 {
4742
4743     HRESULT _RetVal;
4744     
4745     RPC_MESSAGE _RpcMessage;
4746     
4747     MIDL_STUB_MESSAGE _StubMsg;
4748     
4749     RpcTryExcept
4750         {
4751         NdrProxyInitialize(
4752                       ( void __RPC_FAR *  )This,
4753                       ( PRPC_MESSAGE  )&_RpcMessage,
4754                       ( PMIDL_STUB_MESSAGE  )&_StubMsg,
4755                       ( PMIDL_STUB_DESC  )&Object_StubDesc,
4756                       22);
4757         
4758         
4759         
4760         if(!pTypeKind)
4761             {
4762             RpcRaiseException(RPC_X_NULL_REF_POINTER);
4763             }
4764         RpcTryFinally
4765             {
4766             
4767             _StubMsg.BufferLength = 0U;
4768             NdrProxyGetBuffer(This, &_StubMsg);
4769             NdrProxySendReceive(This, &_StubMsg);
4770             
4771             if ( (_RpcMessage.DataRepresentation & 0X0000FFFFUL) != NDR_LOCAL_DATA_REPRESENTATION )
4772                 NdrConvert( (PMIDL_STUB_MESSAGE) &_StubMsg, (PFORMAT_STRING) &__MIDL_ProcFormatString.Format[282] );
4773             
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 );
4778             
4779             _RetVal = *(( HRESULT __RPC_FAR * )_StubMsg.Buffer)++;
4780             
4781             }
4782         RpcFinally
4783             {
4784             NdrProxyFreeBuffer(This, &_StubMsg);
4785             
4786             }
4787         RpcEndFinally
4788         
4789         }
4790     RpcExcept(_StubMsg.dwStubPhase != PROXY_SENDRECEIVE)
4791         {
4792         NdrClearOutParameters(
4793                          ( PMIDL_STUB_MESSAGE  )&_StubMsg,
4794                          ( PFORMAT_STRING  )&__MIDL_TypeFormatString.Format[1250],
4795                          ( void __RPC_FAR * )pTypeKind);
4796         _RetVal = NdrProxyErrorHandler(RpcExceptionCode());
4797         }
4798     RpcEndExcept
4799     return _RetVal;
4800 }
4801
4802 void __RPC_STUB ITypeInfo2_GetTypeKind_Stub(
4803     IRpcStubBuffer *This,
4804     IRpcChannelBuffer *_pRpcChannelBuffer,
4805     PRPC_MESSAGE _pRpcMessage,
4806     DWORD *_pdwStubPhase)
4807 {
4808     TYPEKIND _M49;
4809     HRESULT _RetVal;
4810     MIDL_STUB_MESSAGE _StubMsg;
4811     TYPEKIND __RPC_FAR *pTypeKind;
4812     
4813 NdrStubInitialize(
4814                      _pRpcMessage,
4815                      &_StubMsg,
4816                      &Object_StubDesc,
4817                      _pRpcChannelBuffer);
4818     ( TYPEKIND __RPC_FAR * )pTypeKind = 0;
4819     RpcTryFinally
4820         {
4821         pTypeKind = &_M49;
4822         
4823         *_pdwStubPhase = STUB_CALL_SERVER;
4824         _RetVal = (((ITypeInfo2*) ((CStdStubBuffer *)This)->pvServerObject)->lpVtbl) -> GetTypeKind((ITypeInfo2 *) ((CStdStubBuffer *)This)->pvServerObject,pTypeKind);
4825         
4826         *_pdwStubPhase = STUB_MARSHAL;
4827         
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] );
4833         
4834         *(( HRESULT __RPC_FAR * )_StubMsg.Buffer)++ = _RetVal;
4835         
4836         }
4837     RpcFinally
4838         {
4839         }
4840     RpcEndFinally
4841     _pRpcMessage->BufferLength = 
4842         (unsigned int)((long)_StubMsg.Buffer - (long)_pRpcMessage->Buffer);
4843     
4844 }
4845
4846
4847 HRESULT STDMETHODCALLTYPE ITypeInfo2_GetTypeFlags_Proxy( 
4848     ITypeInfo2 __RPC_FAR * This,
4849     /* [out] */ ULONG __RPC_FAR *pTypeFlags)
4850 {
4851
4852     HRESULT _RetVal;
4853     
4854     RPC_MESSAGE _RpcMessage;
4855     
4856     MIDL_STUB_MESSAGE _StubMsg;
4857     
4858     RpcTryExcept
4859         {
4860         NdrProxyInitialize(
4861                       ( void __RPC_FAR *  )This,
4862                       ( PRPC_MESSAGE  )&_RpcMessage,
4863                       ( PMIDL_STUB_MESSAGE  )&_StubMsg,
4864                       ( PMIDL_STUB_DESC  )&Object_StubDesc,
4865                       23);
4866         
4867         
4868         
4869         if(!pTypeFlags)
4870             {
4871             RpcRaiseException(RPC_X_NULL_REF_POINTER);
4872             }
4873         RpcTryFinally
4874             {
4875             
4876             _StubMsg.BufferLength = 0U;
4877             NdrProxyGetBuffer(This, &_StubMsg);
4878             NdrProxySendReceive(This, &_StubMsg);
4879             
4880             if ( (_RpcMessage.DataRepresentation & 0X0000FFFFUL) != NDR_LOCAL_DATA_REPRESENTATION )
4881                 NdrConvert( (PMIDL_STUB_MESSAGE) &_StubMsg, (PFORMAT_STRING) &__MIDL_ProcFormatString.Format[0] );
4882             
4883             *pTypeFlags = *(( ULONG __RPC_FAR * )_StubMsg.Buffer)++;
4884             
4885             _RetVal = *(( HRESULT __RPC_FAR * )_StubMsg.Buffer)++;
4886             
4887             }
4888         RpcFinally
4889             {
4890             NdrProxyFreeBuffer(This, &_StubMsg);
4891             
4892             }
4893         RpcEndFinally
4894         
4895         }
4896     RpcExcept(_StubMsg.dwStubPhase != PROXY_SENDRECEIVE)
4897         {
4898         NdrClearOutParameters(
4899                          ( PMIDL_STUB_MESSAGE  )&_StubMsg,
4900                          ( PFORMAT_STRING  )&__MIDL_TypeFormatString.Format[2],
4901                          ( void __RPC_FAR * )pTypeFlags);
4902         _RetVal = NdrProxyErrorHandler(RpcExceptionCode());
4903         }
4904     RpcEndExcept
4905     return _RetVal;
4906 }
4907
4908 void __RPC_STUB ITypeInfo2_GetTypeFlags_Stub(
4909     IRpcStubBuffer *This,
4910     IRpcChannelBuffer *_pRpcChannelBuffer,
4911     PRPC_MESSAGE _pRpcMessage,
4912     DWORD *_pdwStubPhase)
4913 {
4914     ULONG _M50;
4915     HRESULT _RetVal;
4916     MIDL_STUB_MESSAGE _StubMsg;
4917     ULONG __RPC_FAR *pTypeFlags;
4918     
4919 NdrStubInitialize(
4920                      _pRpcMessage,
4921                      &_StubMsg,
4922                      &Object_StubDesc,
4923                      _pRpcChannelBuffer);
4924     ( ULONG __RPC_FAR * )pTypeFlags = 0;
4925     RpcTryFinally
4926         {
4927         pTypeFlags = &_M50;
4928         
4929         *_pdwStubPhase = STUB_CALL_SERVER;
4930         _RetVal = (((ITypeInfo2*) ((CStdStubBuffer *)This)->pvServerObject)->lpVtbl) -> GetTypeFlags((ITypeInfo2 *) ((CStdStubBuffer *)This)->pvServerObject,pTypeFlags);
4931         
4932         *_pdwStubPhase = STUB_MARSHAL;
4933         
4934         _StubMsg.BufferLength = 4U + 4U;
4935         NdrStubGetBuffer(This, _pRpcChannelBuffer, &_StubMsg);
4936         *(( ULONG __RPC_FAR * )_StubMsg.Buffer)++ = *pTypeFlags;
4937         
4938         *(( HRESULT __RPC_FAR * )_StubMsg.Buffer)++ = _RetVal;
4939         
4940         }
4941     RpcFinally
4942         {
4943         }
4944     RpcEndFinally
4945     _pRpcMessage->BufferLength = 
4946         (unsigned int)((long)_StubMsg.Buffer - (long)_pRpcMessage->Buffer);
4947     
4948 }
4949
4950
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)
4956 {
4957
4958     HRESULT _RetVal;
4959     
4960     RPC_MESSAGE _RpcMessage;
4961     
4962     MIDL_STUB_MESSAGE _StubMsg;
4963     
4964     RpcTryExcept
4965         {
4966         NdrProxyInitialize(
4967                       ( void __RPC_FAR *  )This,
4968                       ( PRPC_MESSAGE  )&_RpcMessage,
4969                       ( PMIDL_STUB_MESSAGE  )&_StubMsg,
4970                       ( PMIDL_STUB_DESC  )&Object_StubDesc,
4971                       24);
4972         
4973         
4974         
4975         if(!pFuncIndex)
4976             {
4977             RpcRaiseException(RPC_X_NULL_REF_POINTER);
4978             }
4979         RpcTryFinally
4980             {
4981             
4982             _StubMsg.BufferLength = 4U + 4U;
4983             NdrProxyGetBuffer(This, &_StubMsg);
4984             *(( MEMBERID __RPC_FAR * )_StubMsg.Buffer)++ = memid;
4985             
4986             NdrSimpleTypeMarshall(
4987                          ( PMIDL_STUB_MESSAGE  )&_StubMsg,
4988                          ( unsigned char __RPC_FAR * )&invKind,
4989                          14);
4990             NdrProxySendReceive(This, &_StubMsg);
4991             
4992             if ( (_RpcMessage.DataRepresentation & 0X0000FFFFUL) != NDR_LOCAL_DATA_REPRESENTATION )
4993                 NdrConvert( (PMIDL_STUB_MESSAGE) &_StubMsg, (PFORMAT_STRING) &__MIDL_ProcFormatString.Format[288] );
4994             
4995             *pFuncIndex = *(( UINT __RPC_FAR * )_StubMsg.Buffer)++;
4996             
4997             _RetVal = *(( HRESULT __RPC_FAR * )_StubMsg.Buffer)++;
4998             
4999             }
5000         RpcFinally
5001             {
5002             NdrProxyFreeBuffer(This, &_StubMsg);
5003             
5004             }
5005         RpcEndFinally
5006         
5007         }
5008     RpcExcept(_StubMsg.dwStubPhase != PROXY_SENDRECEIVE)
5009         {
5010         NdrClearOutParameters(
5011                          ( PMIDL_STUB_MESSAGE  )&_StubMsg,
5012                          ( PFORMAT_STRING  )&__MIDL_TypeFormatString.Format[2],
5013                          ( void __RPC_FAR * )pFuncIndex);
5014         _RetVal = NdrProxyErrorHandler(RpcExceptionCode());
5015         }
5016     RpcEndExcept
5017     return _RetVal;
5018 }
5019
5020 void __RPC_STUB ITypeInfo2_GetFuncIndexOfMemId_Stub(
5021     IRpcStubBuffer *This,
5022     IRpcChannelBuffer *_pRpcChannelBuffer,
5023     PRPC_MESSAGE _pRpcMessage,
5024     DWORD *_pdwStubPhase)
5025 {
5026     UINT _M51;
5027     HRESULT _RetVal;
5028     MIDL_STUB_MESSAGE _StubMsg;
5029     INVOKEKIND invKind;
5030     MEMBERID memid;
5031     UINT __RPC_FAR *pFuncIndex;
5032     
5033 NdrStubInitialize(
5034                      _pRpcMessage,
5035                      &_StubMsg,
5036                      &Object_StubDesc,
5037                      _pRpcChannelBuffer);
5038     ( UINT __RPC_FAR * )pFuncIndex = 0;
5039     RpcTryFinally
5040         {
5041         if ( (_pRpcMessage->DataRepresentation & 0X0000FFFFUL) != NDR_LOCAL_DATA_REPRESENTATION )
5042             NdrConvert( (PMIDL_STUB_MESSAGE) &_StubMsg, (PFORMAT_STRING) &__MIDL_ProcFormatString.Format[288] );
5043         
5044         memid = *(( MEMBERID __RPC_FAR * )_StubMsg.Buffer)++;
5045         
5046         NdrSimpleTypeUnmarshall(
5047                            ( PMIDL_STUB_MESSAGE  )&_StubMsg,
5048                            ( unsigned char __RPC_FAR * )&invKind,
5049                            14);
5050         pFuncIndex = &_M51;
5051         
5052         *_pdwStubPhase = STUB_CALL_SERVER;
5053         _RetVal = (((ITypeInfo2*) ((CStdStubBuffer *)This)->pvServerObject)->lpVtbl) -> GetFuncIndexOfMemId(
5054                        (ITypeInfo2 *) ((CStdStubBuffer *)This)->pvServerObject,
5055                        memid,
5056                        invKind,
5057                        pFuncIndex);
5058         
5059         *_pdwStubPhase = STUB_MARSHAL;
5060         
5061         _StubMsg.BufferLength = 4U + 4U;
5062         NdrStubGetBuffer(This, _pRpcChannelBuffer, &_StubMsg);
5063         *(( UINT __RPC_FAR * )_StubMsg.Buffer)++ = *pFuncIndex;
5064         
5065         *(( HRESULT __RPC_FAR * )_StubMsg.Buffer)++ = _RetVal;
5066         
5067         }
5068     RpcFinally
5069         {
5070         }
5071     RpcEndFinally
5072     _pRpcMessage->BufferLength = 
5073         (unsigned int)((long)_StubMsg.Buffer - (long)_pRpcMessage->Buffer);
5074     
5075 }
5076
5077
5078 HRESULT STDMETHODCALLTYPE ITypeInfo2_GetVarIndexOfMemId_Proxy( 
5079     ITypeInfo2 __RPC_FAR * This,
5080     /* [in] */ MEMBERID memid,
5081     /* [out] */ UINT __RPC_FAR *pVarIndex)
5082 {
5083
5084     HRESULT _RetVal;
5085     
5086     RPC_MESSAGE _RpcMessage;
5087     
5088     MIDL_STUB_MESSAGE _StubMsg;
5089     
5090     RpcTryExcept
5091         {
5092         NdrProxyInitialize(
5093                       ( void __RPC_FAR *  )This,
5094                       ( PRPC_MESSAGE  )&_RpcMessage,
5095                       ( PMIDL_STUB_MESSAGE  )&_StubMsg,
5096                       ( PMIDL_STUB_DESC  )&Object_StubDesc,
5097                       25);
5098         
5099         
5100         
5101         if(!pVarIndex)
5102             {
5103             RpcRaiseException(RPC_X_NULL_REF_POINTER);
5104             }
5105         RpcTryFinally
5106             {
5107             
5108             _StubMsg.BufferLength = 4U;
5109             NdrProxyGetBuffer(This, &_StubMsg);
5110             *(( MEMBERID __RPC_FAR * )_StubMsg.Buffer)++ = memid;
5111             
5112             NdrProxySendReceive(This, &_StubMsg);
5113             
5114             if ( (_RpcMessage.DataRepresentation & 0X0000FFFFUL) != NDR_LOCAL_DATA_REPRESENTATION )
5115                 NdrConvert( (PMIDL_STUB_MESSAGE) &_StubMsg, (PFORMAT_STRING) &__MIDL_ProcFormatString.Format[196] );
5116             
5117             *pVarIndex = *(( UINT __RPC_FAR * )_StubMsg.Buffer)++;
5118             
5119             _RetVal = *(( HRESULT __RPC_FAR * )_StubMsg.Buffer)++;
5120             
5121             }
5122         RpcFinally
5123             {
5124             NdrProxyFreeBuffer(This, &_StubMsg);
5125             
5126             }
5127         RpcEndFinally
5128         
5129         }
5130     RpcExcept(_StubMsg.dwStubPhase != PROXY_SENDRECEIVE)
5131         {
5132         NdrClearOutParameters(
5133                          ( PMIDL_STUB_MESSAGE  )&_StubMsg,
5134                          ( PFORMAT_STRING  )&__MIDL_TypeFormatString.Format[2],
5135                          ( void __RPC_FAR * )pVarIndex);
5136         _RetVal = NdrProxyErrorHandler(RpcExceptionCode());
5137         }
5138     RpcEndExcept
5139     return _RetVal;
5140 }
5141
5142 void __RPC_STUB ITypeInfo2_GetVarIndexOfMemId_Stub(
5143     IRpcStubBuffer *This,
5144     IRpcChannelBuffer *_pRpcChannelBuffer,
5145     PRPC_MESSAGE _pRpcMessage,
5146     DWORD *_pdwStubPhase)
5147 {
5148     UINT _M52;
5149     HRESULT _RetVal;
5150     MIDL_STUB_MESSAGE _StubMsg;
5151     MEMBERID memid;
5152     UINT __RPC_FAR *pVarIndex;
5153     
5154 NdrStubInitialize(
5155                      _pRpcMessage,
5156                      &_StubMsg,
5157                      &Object_StubDesc,
5158                      _pRpcChannelBuffer);
5159     ( UINT __RPC_FAR * )pVarIndex = 0;
5160     RpcTryFinally
5161         {
5162         if ( (_pRpcMessage->DataRepresentation & 0X0000FFFFUL) != NDR_LOCAL_DATA_REPRESENTATION )
5163             NdrConvert( (PMIDL_STUB_MESSAGE) &_StubMsg, (PFORMAT_STRING) &__MIDL_ProcFormatString.Format[196] );
5164         
5165         memid = *(( MEMBERID __RPC_FAR * )_StubMsg.Buffer)++;
5166         
5167         pVarIndex = &_M52;
5168         
5169         *_pdwStubPhase = STUB_CALL_SERVER;
5170         _RetVal = (((ITypeInfo2*) ((CStdStubBuffer *)This)->pvServerObject)->lpVtbl) -> GetVarIndexOfMemId(
5171                       (ITypeInfo2 *) ((CStdStubBuffer *)This)->pvServerObject,
5172                       memid,
5173                       pVarIndex);
5174         
5175         *_pdwStubPhase = STUB_MARSHAL;
5176         
5177         _StubMsg.BufferLength = 4U + 4U;
5178         NdrStubGetBuffer(This, _pRpcChannelBuffer, &_StubMsg);
5179         *(( UINT __RPC_FAR * )_StubMsg.Buffer)++ = *pVarIndex;
5180         
5181         *(( HRESULT __RPC_FAR * )_StubMsg.Buffer)++ = _RetVal;
5182         
5183         }
5184     RpcFinally
5185         {
5186         }
5187     RpcEndFinally
5188     _pRpcMessage->BufferLength = 
5189         (unsigned int)((long)_StubMsg.Buffer - (long)_pRpcMessage->Buffer);
5190     
5191 }
5192
5193
5194 HRESULT STDMETHODCALLTYPE ITypeInfo2_GetCustData_Proxy( 
5195     ITypeInfo2 __RPC_FAR * This,
5196     /* [in] */ REFGUID guid,
5197     /* [out] */ VARIANT __RPC_FAR *pVarVal)
5198 {
5199
5200     HRESULT _RetVal;
5201     
5202     RPC_MESSAGE _RpcMessage;
5203     
5204     MIDL_STUB_MESSAGE _StubMsg;
5205     
5206     if(pVarVal)
5207         {
5208         MIDL_memset(
5209                pVarVal,
5210                0,
5211                sizeof( VARIANT  ));
5212         }
5213     RpcTryExcept
5214         {
5215         NdrProxyInitialize(
5216                       ( void __RPC_FAR *  )This,
5217                       ( PRPC_MESSAGE  )&_RpcMessage,
5218                       ( PMIDL_STUB_MESSAGE  )&_StubMsg,
5219                       ( PMIDL_STUB_DESC  )&Object_StubDesc,
5220                       26);
5221         
5222         
5223         
5224         if(!guid)
5225             {
5226             RpcRaiseException(RPC_X_NULL_REF_POINTER);
5227             }
5228         if(!pVarVal)
5229             {
5230             RpcRaiseException(RPC_X_NULL_REF_POINTER);
5231             }
5232         RpcTryFinally
5233             {
5234             
5235             _StubMsg.BufferLength = 0U;
5236             NdrSimpleStructBufferSize( (PMIDL_STUB_MESSAGE) &_StubMsg,
5237                                        (unsigned char __RPC_FAR *)guid,
5238                                        (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[38] );
5239             
5240             NdrProxyGetBuffer(This, &_StubMsg);
5241             NdrSimpleStructMarshall( (PMIDL_STUB_MESSAGE)& _StubMsg,
5242                                      (unsigned char __RPC_FAR *)guid,
5243                                      (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[38] );
5244             
5245             NdrProxySendReceive(This, &_StubMsg);
5246             
5247             if ( (_RpcMessage.DataRepresentation & 0X0000FFFFUL) != NDR_LOCAL_DATA_REPRESENTATION )
5248                 NdrConvert( (PMIDL_STUB_MESSAGE) &_StubMsg, (PFORMAT_STRING) &__MIDL_ProcFormatString.Format[298] );
5249             
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 );
5254             
5255             _StubMsg.Buffer = (unsigned char __RPC_FAR *)(((long)_StubMsg.Buffer + 3) & ~ 0x3);
5256             _RetVal = *(( HRESULT __RPC_FAR * )_StubMsg.Buffer)++;
5257             
5258             }
5259         RpcFinally
5260             {
5261             NdrProxyFreeBuffer(This, &_StubMsg);
5262             
5263             }
5264         RpcEndFinally
5265         
5266         }
5267     RpcExcept(_StubMsg.dwStubPhase != PROXY_SENDRECEIVE)
5268         {
5269         NdrClearOutParameters(
5270                          ( PMIDL_STUB_MESSAGE  )&_StubMsg,
5271                          ( PFORMAT_STRING  )&__MIDL_TypeFormatString.Format[1102],
5272                          ( void __RPC_FAR * )pVarVal);
5273         _RetVal = NdrProxyErrorHandler(RpcExceptionCode());
5274         }
5275     RpcEndExcept
5276     return _RetVal;
5277 }
5278
5279 void __RPC_STUB ITypeInfo2_GetCustData_Stub(
5280     IRpcStubBuffer *This,
5281     IRpcChannelBuffer *_pRpcChannelBuffer,
5282     PRPC_MESSAGE _pRpcMessage,
5283     DWORD *_pdwStubPhase)
5284 {
5285     VARIANT _M53;
5286     HRESULT _RetVal;
5287     MIDL_STUB_MESSAGE _StubMsg;
5288     REFGUID guid = 0;
5289     VARIANT __RPC_FAR *pVarVal;
5290     
5291 NdrStubInitialize(
5292                      _pRpcMessage,
5293                      &_StubMsg,
5294                      &Object_StubDesc,
5295                      _pRpcChannelBuffer);
5296     ( VARIANT __RPC_FAR * )pVarVal = 0;
5297     RpcTryFinally
5298         {
5299         if ( (_pRpcMessage->DataRepresentation & 0X0000FFFFUL) != NDR_LOCAL_DATA_REPRESENTATION )
5300             NdrConvert( (PMIDL_STUB_MESSAGE) &_StubMsg, (PFORMAT_STRING) &__MIDL_ProcFormatString.Format[298] );
5301         
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 );
5306         
5307         pVarVal = &_M53;
5308         MIDL_memset(
5309                pVarVal,
5310                0,
5311                sizeof( VARIANT  ));
5312         
5313         *_pdwStubPhase = STUB_CALL_SERVER;
5314         _RetVal = (((ITypeInfo2*) ((CStdStubBuffer *)This)->pvServerObject)->lpVtbl) -> GetCustData(
5315                (ITypeInfo2 *) ((CStdStubBuffer *)This)->pvServerObject,
5316                guid,
5317                pVarVal);
5318         
5319         *_pdwStubPhase = STUB_MARSHAL;
5320         
5321         _StubMsg.BufferLength = 8U + 11U;
5322         NdrUserMarshalBufferSize( (PMIDL_STUB_MESSAGE) &_StubMsg,
5323                                   (unsigned char __RPC_FAR *)pVarVal,
5324                                   (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[1110] );
5325         
5326         _StubMsg.BufferLength += 16;
5327         
5328         NdrStubGetBuffer(This, _pRpcChannelBuffer, &_StubMsg);
5329         NdrUserMarshalMarshall( (PMIDL_STUB_MESSAGE)& _StubMsg,
5330                                 (unsigned char __RPC_FAR *)pVarVal,
5331                                 (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[1110] );
5332         
5333         _StubMsg.Buffer = (unsigned char __RPC_FAR *)(((long)_StubMsg.Buffer + 3) & ~ 0x3);
5334         *(( HRESULT __RPC_FAR * )_StubMsg.Buffer)++ = _RetVal;
5335         
5336         }
5337     RpcFinally
5338         {
5339         NdrPointerFree( &_StubMsg,
5340                         (unsigned char __RPC_FAR *)pVarVal,
5341                         &__MIDL_TypeFormatString.Format[1102] );
5342         
5343         }
5344     RpcEndFinally
5345     _pRpcMessage->BufferLength = 
5346         (unsigned int)((long)_StubMsg.Buffer - (long)_pRpcMessage->Buffer);
5347     
5348 }
5349
5350
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)
5356 {
5357
5358     HRESULT _RetVal;
5359     
5360     RPC_MESSAGE _RpcMessage;
5361     
5362     MIDL_STUB_MESSAGE _StubMsg;
5363     
5364     if(pVarVal)
5365         {
5366         MIDL_memset(
5367                pVarVal,
5368                0,
5369                sizeof( VARIANT  ));
5370         }
5371     RpcTryExcept
5372         {
5373         NdrProxyInitialize(
5374                       ( void __RPC_FAR *  )This,
5375                       ( PRPC_MESSAGE  )&_RpcMessage,
5376                       ( PMIDL_STUB_MESSAGE  )&_StubMsg,
5377                       ( PMIDL_STUB_DESC  )&Object_StubDesc,
5378                       27);
5379         
5380         
5381         
5382         if(!guid)
5383             {
5384             RpcRaiseException(RPC_X_NULL_REF_POINTER);
5385             }
5386         if(!pVarVal)
5387             {
5388             RpcRaiseException(RPC_X_NULL_REF_POINTER);
5389             }
5390         RpcTryFinally
5391             {
5392             
5393             _StubMsg.BufferLength = 4U + 4U;
5394             NdrSimpleStructBufferSize( (PMIDL_STUB_MESSAGE) &_StubMsg,
5395                                        (unsigned char __RPC_FAR *)guid,
5396                                        (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[38] );
5397             
5398             NdrProxyGetBuffer(This, &_StubMsg);
5399             *(( UINT __RPC_FAR * )_StubMsg.Buffer)++ = index;
5400             
5401             NdrSimpleStructMarshall( (PMIDL_STUB_MESSAGE)& _StubMsg,
5402                                      (unsigned char __RPC_FAR *)guid,
5403                                      (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[38] );
5404             
5405             NdrProxySendReceive(This, &_StubMsg);
5406             
5407             if ( (_RpcMessage.DataRepresentation & 0X0000FFFFUL) != NDR_LOCAL_DATA_REPRESENTATION )
5408                 NdrConvert( (PMIDL_STUB_MESSAGE) &_StubMsg, (PFORMAT_STRING) &__MIDL_ProcFormatString.Format[308] );
5409             
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 );
5414             
5415             _StubMsg.Buffer = (unsigned char __RPC_FAR *)(((long)_StubMsg.Buffer + 3) & ~ 0x3);
5416             _RetVal = *(( HRESULT __RPC_FAR * )_StubMsg.Buffer)++;
5417             
5418             }
5419         RpcFinally
5420             {
5421             NdrProxyFreeBuffer(This, &_StubMsg);
5422             
5423             }
5424         RpcEndFinally
5425         
5426         }
5427     RpcExcept(_StubMsg.dwStubPhase != PROXY_SENDRECEIVE)
5428         {
5429         NdrClearOutParameters(
5430                          ( PMIDL_STUB_MESSAGE  )&_StubMsg,
5431                          ( PFORMAT_STRING  )&__MIDL_TypeFormatString.Format[1102],
5432                          ( void __RPC_FAR * )pVarVal);
5433         _RetVal = NdrProxyErrorHandler(RpcExceptionCode());
5434         }
5435     RpcEndExcept
5436     return _RetVal;
5437 }
5438
5439 void __RPC_STUB ITypeInfo2_GetFuncCustData_Stub(
5440     IRpcStubBuffer *This,
5441     IRpcChannelBuffer *_pRpcChannelBuffer,
5442     PRPC_MESSAGE _pRpcMessage,
5443     DWORD *_pdwStubPhase)
5444 {
5445     VARIANT _M54;
5446     HRESULT _RetVal;
5447     MIDL_STUB_MESSAGE _StubMsg;
5448     REFGUID guid = 0;
5449     UINT index;
5450     VARIANT __RPC_FAR *pVarVal;
5451     
5452 NdrStubInitialize(
5453                      _pRpcMessage,
5454                      &_StubMsg,
5455                      &Object_StubDesc,
5456                      _pRpcChannelBuffer);
5457     ( VARIANT __RPC_FAR * )pVarVal = 0;
5458     RpcTryFinally
5459         {
5460         if ( (_pRpcMessage->DataRepresentation & 0X0000FFFFUL) != NDR_LOCAL_DATA_REPRESENTATION )
5461             NdrConvert( (PMIDL_STUB_MESSAGE) &_StubMsg, (PFORMAT_STRING) &__MIDL_ProcFormatString.Format[308] );
5462         
5463         index = *(( UINT __RPC_FAR * )_StubMsg.Buffer)++;
5464         
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 );
5469         
5470         pVarVal = &_M54;
5471         MIDL_memset(
5472                pVarVal,
5473                0,
5474                sizeof( VARIANT  ));
5475         
5476         *_pdwStubPhase = STUB_CALL_SERVER;
5477         _RetVal = (((ITypeInfo2*) ((CStdStubBuffer *)This)->pvServerObject)->lpVtbl) -> GetFuncCustData(
5478                    (ITypeInfo2 *) ((CStdStubBuffer *)This)->pvServerObject,
5479                    index,
5480                    guid,
5481                    pVarVal);
5482         
5483         *_pdwStubPhase = STUB_MARSHAL;
5484         
5485         _StubMsg.BufferLength = 8U + 11U;
5486         NdrUserMarshalBufferSize( (PMIDL_STUB_MESSAGE) &_StubMsg,
5487                                   (unsigned char __RPC_FAR *)pVarVal,
5488                                   (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[1110] );
5489         
5490         _StubMsg.BufferLength += 16;
5491         
5492         NdrStubGetBuffer(This, _pRpcChannelBuffer, &_StubMsg);
5493         NdrUserMarshalMarshall( (PMIDL_STUB_MESSAGE)& _StubMsg,
5494                                 (unsigned char __RPC_FAR *)pVarVal,
5495                                 (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[1110] );
5496         
5497         _StubMsg.Buffer = (unsigned char __RPC_FAR *)(((long)_StubMsg.Buffer + 3) & ~ 0x3);
5498         *(( HRESULT __RPC_FAR * )_StubMsg.Buffer)++ = _RetVal;
5499         
5500         }
5501     RpcFinally
5502         {
5503         NdrPointerFree( &_StubMsg,
5504                         (unsigned char __RPC_FAR *)pVarVal,
5505                         &__MIDL_TypeFormatString.Format[1102] );
5506         
5507         }
5508     RpcEndFinally
5509     _pRpcMessage->BufferLength = 
5510         (unsigned int)((long)_StubMsg.Buffer - (long)_pRpcMessage->Buffer);
5511     
5512 }
5513
5514
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)
5521 {
5522
5523     HRESULT _RetVal;
5524     
5525     RPC_MESSAGE _RpcMessage;
5526     
5527     MIDL_STUB_MESSAGE _StubMsg;
5528     
5529     if(pVarVal)
5530         {
5531         MIDL_memset(
5532                pVarVal,
5533                0,
5534                sizeof( VARIANT  ));
5535         }
5536     RpcTryExcept
5537         {
5538         NdrProxyInitialize(
5539                       ( void __RPC_FAR *  )This,
5540                       ( PRPC_MESSAGE  )&_RpcMessage,
5541                       ( PMIDL_STUB_MESSAGE  )&_StubMsg,
5542                       ( PMIDL_STUB_DESC  )&Object_StubDesc,
5543                       28);
5544         
5545         
5546         
5547         if(!guid)
5548             {
5549             RpcRaiseException(RPC_X_NULL_REF_POINTER);
5550             }
5551         if(!pVarVal)
5552             {
5553             RpcRaiseException(RPC_X_NULL_REF_POINTER);
5554             }
5555         RpcTryFinally
5556             {
5557             
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] );
5562             
5563             NdrProxyGetBuffer(This, &_StubMsg);
5564             *(( UINT __RPC_FAR * )_StubMsg.Buffer)++ = indexFunc;
5565             
5566             *(( UINT __RPC_FAR * )_StubMsg.Buffer)++ = indexParam;
5567             
5568             NdrSimpleStructMarshall( (PMIDL_STUB_MESSAGE)& _StubMsg,
5569                                      (unsigned char __RPC_FAR *)guid,
5570                                      (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[38] );
5571             
5572             NdrProxySendReceive(This, &_StubMsg);
5573             
5574             if ( (_RpcMessage.DataRepresentation & 0X0000FFFFUL) != NDR_LOCAL_DATA_REPRESENTATION )
5575                 NdrConvert( (PMIDL_STUB_MESSAGE) &_StubMsg, (PFORMAT_STRING) &__MIDL_ProcFormatString.Format[320] );
5576             
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 );
5581             
5582             _StubMsg.Buffer = (unsigned char __RPC_FAR *)(((long)_StubMsg.Buffer + 3) & ~ 0x3);
5583             _RetVal = *(( HRESULT __RPC_FAR * )_StubMsg.Buffer)++;
5584             
5585             }
5586         RpcFinally
5587             {
5588             NdrProxyFreeBuffer(This, &_StubMsg);
5589             
5590             }
5591         RpcEndFinally
5592         
5593         }
5594     RpcExcept(_StubMsg.dwStubPhase != PROXY_SENDRECEIVE)
5595         {
5596         NdrClearOutParameters(
5597                          ( PMIDL_STUB_MESSAGE  )&_StubMsg,
5598                          ( PFORMAT_STRING  )&__MIDL_TypeFormatString.Format[1102],
5599                          ( void __RPC_FAR * )pVarVal);
5600         _RetVal = NdrProxyErrorHandler(RpcExceptionCode());
5601         }
5602     RpcEndExcept
5603     return _RetVal;
5604 }
5605
5606 void __RPC_STUB ITypeInfo2_GetParamCustData_Stub(
5607     IRpcStubBuffer *This,
5608     IRpcChannelBuffer *_pRpcChannelBuffer,
5609     PRPC_MESSAGE _pRpcMessage,
5610     DWORD *_pdwStubPhase)
5611 {
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;
5619     
5620 NdrStubInitialize(
5621                      _pRpcMessage,
5622                      &_StubMsg,
5623                      &Object_StubDesc,
5624                      _pRpcChannelBuffer);
5625     ( VARIANT __RPC_FAR * )pVarVal = 0;
5626     RpcTryFinally
5627         {
5628         if ( (_pRpcMessage->DataRepresentation & 0X0000FFFFUL) != NDR_LOCAL_DATA_REPRESENTATION )
5629             NdrConvert( (PMIDL_STUB_MESSAGE) &_StubMsg, (PFORMAT_STRING) &__MIDL_ProcFormatString.Format[320] );
5630         
5631         indexFunc = *(( UINT __RPC_FAR * )_StubMsg.Buffer)++;
5632         
5633         indexParam = *(( UINT __RPC_FAR * )_StubMsg.Buffer)++;
5634         
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 );
5639         
5640         pVarVal = &_M55;
5641         MIDL_memset(
5642                pVarVal,
5643                0,
5644                sizeof( VARIANT  ));
5645         
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);
5653         
5654         *_pdwStubPhase = STUB_MARSHAL;
5655         
5656         _StubMsg.BufferLength = 8U + 11U;
5657         NdrUserMarshalBufferSize( (PMIDL_STUB_MESSAGE) &_StubMsg,
5658                                   (unsigned char __RPC_FAR *)pVarVal,
5659                                   (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[1110] );
5660         
5661         _StubMsg.BufferLength += 16;
5662         
5663         NdrStubGetBuffer(This, _pRpcChannelBuffer, &_StubMsg);
5664         NdrUserMarshalMarshall( (PMIDL_STUB_MESSAGE)& _StubMsg,
5665                                 (unsigned char __RPC_FAR *)pVarVal,
5666                                 (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[1110] );
5667         
5668         _StubMsg.Buffer = (unsigned char __RPC_FAR *)(((long)_StubMsg.Buffer + 3) & ~ 0x3);
5669         *(( HRESULT __RPC_FAR * )_StubMsg.Buffer)++ = _RetVal;
5670         
5671         }
5672     RpcFinally
5673         {
5674         NdrPointerFree( &_StubMsg,
5675                         (unsigned char __RPC_FAR *)pVarVal,
5676                         &__MIDL_TypeFormatString.Format[1102] );
5677         
5678         }
5679     RpcEndFinally
5680     _pRpcMessage->BufferLength = 
5681         (unsigned int)((long)_StubMsg.Buffer - (long)_pRpcMessage->Buffer);
5682     
5683 }
5684
5685
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)
5691 {
5692
5693     HRESULT _RetVal;
5694     
5695     RPC_MESSAGE _RpcMessage;
5696     
5697     MIDL_STUB_MESSAGE _StubMsg;
5698     
5699     if(pVarVal)
5700         {
5701         MIDL_memset(
5702                pVarVal,
5703                0,
5704                sizeof( VARIANT  ));
5705         }
5706     RpcTryExcept
5707         {
5708         NdrProxyInitialize(
5709                       ( void __RPC_FAR *  )This,
5710                       ( PRPC_MESSAGE  )&_RpcMessage,
5711                       ( PMIDL_STUB_MESSAGE  )&_StubMsg,
5712                       ( PMIDL_STUB_DESC  )&Object_StubDesc,
5713                       29);
5714         
5715         
5716         
5717         if(!guid)
5718             {
5719             RpcRaiseException(RPC_X_NULL_REF_POINTER);
5720             }
5721         if(!pVarVal)
5722             {
5723             RpcRaiseException(RPC_X_NULL_REF_POINTER);
5724             }
5725         RpcTryFinally
5726             {
5727             
5728             _StubMsg.BufferLength = 4U + 4U;
5729             NdrSimpleStructBufferSize( (PMIDL_STUB_MESSAGE) &_StubMsg,
5730                                        (unsigned char __RPC_FAR *)guid,
5731                                        (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[38] );
5732             
5733             NdrProxyGetBuffer(This, &_StubMsg);
5734             *(( UINT __RPC_FAR * )_StubMsg.Buffer)++ = index;
5735             
5736             NdrSimpleStructMarshall( (PMIDL_STUB_MESSAGE)& _StubMsg,
5737                                      (unsigned char __RPC_FAR *)guid,
5738                                      (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[38] );
5739             
5740             NdrProxySendReceive(This, &_StubMsg);
5741             
5742             if ( (_RpcMessage.DataRepresentation & 0X0000FFFFUL) != NDR_LOCAL_DATA_REPRESENTATION )
5743                 NdrConvert( (PMIDL_STUB_MESSAGE) &_StubMsg, (PFORMAT_STRING) &__MIDL_ProcFormatString.Format[308] );
5744             
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 );
5749             
5750             _StubMsg.Buffer = (unsigned char __RPC_FAR *)(((long)_StubMsg.Buffer + 3) & ~ 0x3);
5751             _RetVal = *(( HRESULT __RPC_FAR * )_StubMsg.Buffer)++;
5752             
5753             }
5754         RpcFinally
5755             {
5756             NdrProxyFreeBuffer(This, &_StubMsg);
5757             
5758             }
5759         RpcEndFinally
5760         
5761         }
5762     RpcExcept(_StubMsg.dwStubPhase != PROXY_SENDRECEIVE)
5763         {
5764         NdrClearOutParameters(
5765                          ( PMIDL_STUB_MESSAGE  )&_StubMsg,
5766                          ( PFORMAT_STRING  )&__MIDL_TypeFormatString.Format[1102],
5767                          ( void __RPC_FAR * )pVarVal);
5768         _RetVal = NdrProxyErrorHandler(RpcExceptionCode());
5769         }
5770     RpcEndExcept
5771     return _RetVal;
5772 }
5773
5774 void __RPC_STUB ITypeInfo2_GetVarCustData_Stub(
5775     IRpcStubBuffer *This,
5776     IRpcChannelBuffer *_pRpcChannelBuffer,
5777     PRPC_MESSAGE _pRpcMessage,
5778     DWORD *_pdwStubPhase)
5779 {
5780     VARIANT _M56;
5781     HRESULT _RetVal;
5782     MIDL_STUB_MESSAGE _StubMsg;
5783     REFGUID guid = 0;
5784     UINT index;
5785     VARIANT __RPC_FAR *pVarVal;
5786     
5787 NdrStubInitialize(
5788                      _pRpcMessage,
5789                      &_StubMsg,
5790                      &Object_StubDesc,
5791                      _pRpcChannelBuffer);
5792     ( VARIANT __RPC_FAR * )pVarVal = 0;
5793     RpcTryFinally
5794         {
5795         if ( (_pRpcMessage->DataRepresentation & 0X0000FFFFUL) != NDR_LOCAL_DATA_REPRESENTATION )
5796             NdrConvert( (PMIDL_STUB_MESSAGE) &_StubMsg, (PFORMAT_STRING) &__MIDL_ProcFormatString.Format[308] );
5797         
5798         index = *(( UINT __RPC_FAR * )_StubMsg.Buffer)++;
5799         
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 );
5804         
5805         pVarVal = &_M56;
5806         MIDL_memset(
5807                pVarVal,
5808                0,
5809                sizeof( VARIANT  ));
5810         
5811         *_pdwStubPhase = STUB_CALL_SERVER;
5812         _RetVal = (((ITypeInfo2*) ((CStdStubBuffer *)This)->pvServerObject)->lpVtbl) -> GetVarCustData(
5813                   (ITypeInfo2 *) ((CStdStubBuffer *)This)->pvServerObject,
5814                   index,
5815                   guid,
5816                   pVarVal);
5817         
5818         *_pdwStubPhase = STUB_MARSHAL;
5819         
5820         _StubMsg.BufferLength = 8U + 11U;
5821         NdrUserMarshalBufferSize( (PMIDL_STUB_MESSAGE) &_StubMsg,
5822                                   (unsigned char __RPC_FAR *)pVarVal,
5823                                   (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[1110] );
5824         
5825         _StubMsg.BufferLength += 16;
5826         
5827         NdrStubGetBuffer(This, _pRpcChannelBuffer, &_StubMsg);
5828         NdrUserMarshalMarshall( (PMIDL_STUB_MESSAGE)& _StubMsg,
5829                                 (unsigned char __RPC_FAR *)pVarVal,
5830                                 (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[1110] );
5831         
5832         _StubMsg.Buffer = (unsigned char __RPC_FAR *)(((long)_StubMsg.Buffer + 3) & ~ 0x3);
5833         *(( HRESULT __RPC_FAR * )_StubMsg.Buffer)++ = _RetVal;
5834         
5835         }
5836     RpcFinally
5837         {
5838         NdrPointerFree( &_StubMsg,
5839                         (unsigned char __RPC_FAR *)pVarVal,
5840                         &__MIDL_TypeFormatString.Format[1102] );
5841         
5842         }
5843     RpcEndFinally
5844     _pRpcMessage->BufferLength = 
5845         (unsigned int)((long)_StubMsg.Buffer - (long)_pRpcMessage->Buffer);
5846     
5847 }
5848
5849
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)
5855 {
5856
5857     HRESULT _RetVal;
5858     
5859     RPC_MESSAGE _RpcMessage;
5860     
5861     MIDL_STUB_MESSAGE _StubMsg;
5862     
5863     if(pVarVal)
5864         {
5865         MIDL_memset(
5866                pVarVal,
5867                0,
5868                sizeof( VARIANT  ));
5869         }
5870     RpcTryExcept
5871         {
5872         NdrProxyInitialize(
5873                       ( void __RPC_FAR *  )This,
5874                       ( PRPC_MESSAGE  )&_RpcMessage,
5875                       ( PMIDL_STUB_MESSAGE  )&_StubMsg,
5876                       ( PMIDL_STUB_DESC  )&Object_StubDesc,
5877                       30);
5878         
5879         
5880         
5881         if(!guid)
5882             {
5883             RpcRaiseException(RPC_X_NULL_REF_POINTER);
5884             }
5885         if(!pVarVal)
5886             {
5887             RpcRaiseException(RPC_X_NULL_REF_POINTER);
5888             }
5889         RpcTryFinally
5890             {
5891             
5892             _StubMsg.BufferLength = 4U + 4U;
5893             NdrSimpleStructBufferSize( (PMIDL_STUB_MESSAGE) &_StubMsg,
5894                                        (unsigned char __RPC_FAR *)guid,
5895                                        (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[38] );
5896             
5897             NdrProxyGetBuffer(This, &_StubMsg);
5898             *(( UINT __RPC_FAR * )_StubMsg.Buffer)++ = index;
5899             
5900             NdrSimpleStructMarshall( (PMIDL_STUB_MESSAGE)& _StubMsg,
5901                                      (unsigned char __RPC_FAR *)guid,
5902                                      (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[38] );
5903             
5904             NdrProxySendReceive(This, &_StubMsg);
5905             
5906             if ( (_RpcMessage.DataRepresentation & 0X0000FFFFUL) != NDR_LOCAL_DATA_REPRESENTATION )
5907                 NdrConvert( (PMIDL_STUB_MESSAGE) &_StubMsg, (PFORMAT_STRING) &__MIDL_ProcFormatString.Format[308] );
5908             
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 );
5913             
5914             _StubMsg.Buffer = (unsigned char __RPC_FAR *)(((long)_StubMsg.Buffer + 3) & ~ 0x3);
5915             _RetVal = *(( HRESULT __RPC_FAR * )_StubMsg.Buffer)++;
5916             
5917             }
5918         RpcFinally
5919             {
5920             NdrProxyFreeBuffer(This, &_StubMsg);
5921             
5922             }
5923         RpcEndFinally
5924         
5925         }
5926     RpcExcept(_StubMsg.dwStubPhase != PROXY_SENDRECEIVE)
5927         {
5928         NdrClearOutParameters(
5929                          ( PMIDL_STUB_MESSAGE  )&_StubMsg,
5930                          ( PFORMAT_STRING  )&__MIDL_TypeFormatString.Format[1102],
5931                          ( void __RPC_FAR * )pVarVal);
5932         _RetVal = NdrProxyErrorHandler(RpcExceptionCode());
5933         }
5934     RpcEndExcept
5935     return _RetVal;
5936 }
5937
5938 void __RPC_STUB ITypeInfo2_GetImplTypeCustData_Stub(
5939     IRpcStubBuffer *This,
5940     IRpcChannelBuffer *_pRpcChannelBuffer,
5941     PRPC_MESSAGE _pRpcMessage,
5942     DWORD *_pdwStubPhase)
5943 {
5944     VARIANT _M57;
5945     HRESULT _RetVal;
5946     MIDL_STUB_MESSAGE _StubMsg;
5947     REFGUID guid = 0;
5948     UINT index;
5949     VARIANT __RPC_FAR *pVarVal;
5950     
5951 NdrStubInitialize(
5952                      _pRpcMessage,
5953                      &_StubMsg,
5954                      &Object_StubDesc,
5955                      _pRpcChannelBuffer);
5956     ( VARIANT __RPC_FAR * )pVarVal = 0;
5957     RpcTryFinally
5958         {
5959         if ( (_pRpcMessage->DataRepresentation & 0X0000FFFFUL) != NDR_LOCAL_DATA_REPRESENTATION )
5960             NdrConvert( (PMIDL_STUB_MESSAGE) &_StubMsg, (PFORMAT_STRING) &__MIDL_ProcFormatString.Format[308] );
5961         
5962         index = *(( UINT __RPC_FAR * )_StubMsg.Buffer)++;
5963         
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 );
5968         
5969         pVarVal = &_M57;
5970         MIDL_memset(
5971                pVarVal,
5972                0,
5973                sizeof( VARIANT  ));
5974         
5975         *_pdwStubPhase = STUB_CALL_SERVER;
5976         _RetVal = (((ITypeInfo2*) ((CStdStubBuffer *)This)->pvServerObject)->lpVtbl) -> GetImplTypeCustData(
5977                        (ITypeInfo2 *) ((CStdStubBuffer *)This)->pvServerObject,
5978                        index,
5979                        guid,
5980                        pVarVal);
5981         
5982         *_pdwStubPhase = STUB_MARSHAL;
5983         
5984         _StubMsg.BufferLength = 8U + 11U;
5985         NdrUserMarshalBufferSize( (PMIDL_STUB_MESSAGE) &_StubMsg,
5986                                   (unsigned char __RPC_FAR *)pVarVal,
5987                                   (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[1110] );
5988         
5989         _StubMsg.BufferLength += 16;
5990         
5991         NdrStubGetBuffer(This, _pRpcChannelBuffer, &_StubMsg);
5992         NdrUserMarshalMarshall( (PMIDL_STUB_MESSAGE)& _StubMsg,
5993                                 (unsigned char __RPC_FAR *)pVarVal,
5994                                 (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[1110] );
5995         
5996         _StubMsg.Buffer = (unsigned char __RPC_FAR *)(((long)_StubMsg.Buffer + 3) & ~ 0x3);
5997         *(( HRESULT __RPC_FAR * )_StubMsg.Buffer)++ = _RetVal;
5998         
5999         }
6000     RpcFinally
6001         {
6002         NdrPointerFree( &_StubMsg,
6003                         (unsigned char __RPC_FAR *)pVarVal,
6004                         &__MIDL_TypeFormatString.Format[1102] );
6005         
6006         }
6007     RpcEndFinally
6008     _pRpcMessage->BufferLength = 
6009         (unsigned int)((long)_StubMsg.Buffer - (long)_pRpcMessage->Buffer);
6010     
6011 }
6012
6013
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)
6022 {
6023
6024     HRESULT _RetVal;
6025     
6026     RPC_MESSAGE _RpcMessage;
6027     
6028     MIDL_STUB_MESSAGE _StubMsg;
6029     
6030     if(pbstrHelpString)
6031         {
6032         MIDL_memset(
6033                pbstrHelpString,
6034                0,
6035                sizeof( BSTR  ));
6036         }
6037     if(pbstrHelpStringDll)
6038         {
6039         MIDL_memset(
6040                pbstrHelpStringDll,
6041                0,
6042                sizeof( BSTR  ));
6043         }
6044     RpcTryExcept
6045         {
6046         NdrProxyInitialize(
6047                       ( void __RPC_FAR *  )This,
6048                       ( PRPC_MESSAGE  )&_RpcMessage,
6049                       ( PMIDL_STUB_MESSAGE  )&_StubMsg,
6050                       ( PMIDL_STUB_DESC  )&Object_StubDesc,
6051                       31);
6052         
6053         
6054         
6055         if(!pbstrHelpString)
6056             {
6057             RpcRaiseException(RPC_X_NULL_REF_POINTER);
6058             }
6059         if(!pdwHelpStringContext)
6060             {
6061             RpcRaiseException(RPC_X_NULL_REF_POINTER);
6062             }
6063         if(!pbstrHelpStringDll)
6064             {
6065             RpcRaiseException(RPC_X_NULL_REF_POINTER);
6066             }
6067         RpcTryFinally
6068             {
6069             
6070             _StubMsg.BufferLength = 4U + 4U + 4U;
6071             NdrProxyGetBuffer(This, &_StubMsg);
6072             *(( MEMBERID __RPC_FAR * )_StubMsg.Buffer)++ = memid;
6073             
6074             *(( LCID __RPC_FAR * )_StubMsg.Buffer)++ = lcid;
6075             
6076             *(( DWORD __RPC_FAR * )_StubMsg.Buffer)++ = refPtrFlags;
6077             
6078             NdrProxySendReceive(This, &_StubMsg);
6079             
6080             if ( (_RpcMessage.DataRepresentation & 0X0000FFFFUL) != NDR_LOCAL_DATA_REPRESENTATION )
6081                 NdrConvert( (PMIDL_STUB_MESSAGE) &_StubMsg, (PFORMAT_STRING) &__MIDL_ProcFormatString.Format[334] );
6082             
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 );
6087             
6088             _StubMsg.Buffer = (unsigned char __RPC_FAR *)(((long)_StubMsg.Buffer + 3) & ~ 0x3);
6089             *pdwHelpStringContext = *(( DWORD __RPC_FAR * )_StubMsg.Buffer)++;
6090             
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 );
6095             
6096             _StubMsg.Buffer = (unsigned char __RPC_FAR *)(((long)_StubMsg.Buffer + 3) & ~ 0x3);
6097             _RetVal = *(( HRESULT __RPC_FAR * )_StubMsg.Buffer)++;
6098             
6099             }
6100         RpcFinally
6101             {
6102             NdrProxyFreeBuffer(This, &_StubMsg);
6103             
6104             }
6105         RpcEndFinally
6106         
6107         }
6108     RpcExcept(_StubMsg.dwStubPhase != PROXY_SENDRECEIVE)
6109         {
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());
6123         }
6124     RpcEndExcept
6125     return _RetVal;
6126 }
6127
6128 void __RPC_STUB ITypeInfo2_RemoteGetDocumentation2_Stub(
6129     IRpcStubBuffer *This,
6130     IRpcChannelBuffer *_pRpcChannelBuffer,
6131     PRPC_MESSAGE _pRpcMessage,
6132     DWORD *_pdwStubPhase)
6133 {
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;
6145     
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
6155         {
6156         if ( (_pRpcMessage->DataRepresentation & 0X0000FFFFUL) != NDR_LOCAL_DATA_REPRESENTATION )
6157             NdrConvert( (PMIDL_STUB_MESSAGE) &_StubMsg, (PFORMAT_STRING) &__MIDL_ProcFormatString.Format[334] );
6158         
6159         memid = *(( MEMBERID __RPC_FAR * )_StubMsg.Buffer)++;
6160         
6161         lcid = *(( LCID __RPC_FAR * )_StubMsg.Buffer)++;
6162         
6163         refPtrFlags = *(( DWORD __RPC_FAR * )_StubMsg.Buffer)++;
6164         
6165         pbstrHelpString = &_M58;
6166         MIDL_memset(
6167                pbstrHelpString,
6168                0,
6169                sizeof( BSTR  ));
6170         pdwHelpStringContext = &_M59;
6171         pbstrHelpStringDll = &_M60;
6172         MIDL_memset(
6173                pbstrHelpStringDll,
6174                0,
6175                sizeof( BSTR  ));
6176         
6177         *_pdwStubPhase = STUB_CALL_SERVER;
6178         
6179         
6180         _RetVal = ITypeInfo2_GetDocumentation2_Stub(
6181                                             (ITypeInfo2 *) ((CStdStubBuffer *)This)->pvServerObject,
6182                                             memid,
6183                                             lcid,
6184                                             refPtrFlags,
6185                                             pbstrHelpString,
6186                                             pdwHelpStringContext,
6187                                             pbstrHelpStringDll);
6188         
6189         *_pdwStubPhase = STUB_MARSHAL;
6190         
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] );
6195         
6196         NdrUserMarshalBufferSize( (PMIDL_STUB_MESSAGE) &_StubMsg,
6197                                   (unsigned char __RPC_FAR *)pbstrHelpStringDll,
6198                                   (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[1128] );
6199         
6200         _StubMsg.BufferLength += 16;
6201         
6202         NdrStubGetBuffer(This, _pRpcChannelBuffer, &_StubMsg);
6203         NdrUserMarshalMarshall( (PMIDL_STUB_MESSAGE)& _StubMsg,
6204                                 (unsigned char __RPC_FAR *)pbstrHelpString,
6205                                 (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[1128] );
6206         
6207         _StubMsg.Buffer = (unsigned char __RPC_FAR *)(((long)_StubMsg.Buffer + 3) & ~ 0x3);
6208         *(( DWORD __RPC_FAR * )_StubMsg.Buffer)++ = *pdwHelpStringContext;
6209         
6210         NdrUserMarshalMarshall( (PMIDL_STUB_MESSAGE)& _StubMsg,
6211                                 (unsigned char __RPC_FAR *)pbstrHelpStringDll,
6212                                 (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[1128] );
6213         
6214         _StubMsg.Buffer = (unsigned char __RPC_FAR *)(((long)_StubMsg.Buffer + 3) & ~ 0x3);
6215         *(( HRESULT __RPC_FAR * )_StubMsg.Buffer)++ = _RetVal;
6216         
6217         }
6218     RpcFinally
6219         {
6220         NdrPointerFree( &_StubMsg,
6221                         (unsigned char __RPC_FAR *)pbstrHelpString,
6222                         &__MIDL_TypeFormatString.Format[1708] );
6223         
6224         NdrPointerFree( &_StubMsg,
6225                         (unsigned char __RPC_FAR *)pbstrHelpStringDll,
6226                         &__MIDL_TypeFormatString.Format[1708] );
6227         
6228         }
6229     RpcEndFinally
6230     _pRpcMessage->BufferLength = 
6231         (unsigned int)((long)_StubMsg.Buffer - (long)_pRpcMessage->Buffer);
6232     
6233 }
6234
6235
6236 HRESULT STDMETHODCALLTYPE ITypeInfo2_GetAllCustData_Proxy( 
6237     ITypeInfo2 __RPC_FAR * This,
6238     /* [out] */ CUSTDATA __RPC_FAR *pCustData)
6239 {
6240
6241     HRESULT _RetVal;
6242     
6243     RPC_MESSAGE _RpcMessage;
6244     
6245     MIDL_STUB_MESSAGE _StubMsg;
6246     
6247     if(pCustData)
6248         {
6249         MIDL_memset(
6250                pCustData,
6251                0,
6252                sizeof( CUSTDATA  ));
6253         }
6254     RpcTryExcept
6255         {
6256         NdrProxyInitialize(
6257                       ( void __RPC_FAR *  )This,
6258                       ( PRPC_MESSAGE  )&_RpcMessage,
6259                       ( PMIDL_STUB_MESSAGE  )&_StubMsg,
6260                       ( PMIDL_STUB_DESC  )&Object_StubDesc,
6261                       32);
6262         
6263         
6264         
6265         if(!pCustData)
6266             {
6267             RpcRaiseException(RPC_X_NULL_REF_POINTER);
6268             }
6269         RpcTryFinally
6270             {
6271             
6272             _StubMsg.BufferLength = 0U;
6273             NdrProxyGetBuffer(This, &_StubMsg);
6274             NdrProxySendReceive(This, &_StubMsg);
6275             
6276             if ( (_RpcMessage.DataRepresentation & 0X0000FFFFUL) != NDR_LOCAL_DATA_REPRESENTATION )
6277                 NdrConvert( (PMIDL_STUB_MESSAGE) &_StubMsg, (PFORMAT_STRING) &__MIDL_ProcFormatString.Format[354] );
6278             
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 );
6283             
6284             _StubMsg.Buffer = (unsigned char __RPC_FAR *)(((long)_StubMsg.Buffer + 3) & ~ 0x3);
6285             _RetVal = *(( HRESULT __RPC_FAR * )_StubMsg.Buffer)++;
6286             
6287             }
6288         RpcFinally
6289             {
6290             NdrProxyFreeBuffer(This, &_StubMsg);
6291             
6292             }
6293         RpcEndFinally
6294         
6295         }
6296     RpcExcept(_StubMsg.dwStubPhase != PROXY_SENDRECEIVE)
6297         {
6298         NdrClearOutParameters(
6299                          ( PMIDL_STUB_MESSAGE  )&_StubMsg,
6300                          ( PFORMAT_STRING  )&__MIDL_TypeFormatString.Format[1748],
6301                          ( void __RPC_FAR * )pCustData);
6302         _RetVal = NdrProxyErrorHandler(RpcExceptionCode());
6303         }
6304     RpcEndExcept
6305     return _RetVal;
6306 }
6307
6308 void __RPC_STUB ITypeInfo2_GetAllCustData_Stub(
6309     IRpcStubBuffer *This,
6310     IRpcChannelBuffer *_pRpcChannelBuffer,
6311     PRPC_MESSAGE _pRpcMessage,
6312     DWORD *_pdwStubPhase)
6313 {
6314     HRESULT _RetVal;
6315     MIDL_STUB_MESSAGE _StubMsg;
6316     CUSTDATA _pCustDataM;
6317     CUSTDATA __RPC_FAR *pCustData;
6318     
6319 NdrStubInitialize(
6320                      _pRpcMessage,
6321                      &_StubMsg,
6322                      &Object_StubDesc,
6323                      _pRpcChannelBuffer);
6324     ( CUSTDATA __RPC_FAR * )pCustData = 0;
6325     RpcTryFinally
6326         {
6327         pCustData = &_pCustDataM;
6328         pCustData -> prgCustData = 0;
6329         
6330         *_pdwStubPhase = STUB_CALL_SERVER;
6331         _RetVal = (((ITypeInfo2*) ((CStdStubBuffer *)This)->pvServerObject)->lpVtbl) -> GetAllCustData((ITypeInfo2 *) ((CStdStubBuffer *)This)->pvServerObject,pCustData);
6332         
6333         *_pdwStubPhase = STUB_MARSHAL;
6334         
6335         _StubMsg.BufferLength = 0U + 11U;
6336         NdrComplexStructBufferSize( (PMIDL_STUB_MESSAGE) &_StubMsg,
6337                                     (unsigned char __RPC_FAR *)pCustData,
6338                                     (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[1788] );
6339         
6340         _StubMsg.BufferLength += 16;
6341         
6342         NdrStubGetBuffer(This, _pRpcChannelBuffer, &_StubMsg);
6343         NdrComplexStructMarshall( (PMIDL_STUB_MESSAGE)& _StubMsg,
6344                                   (unsigned char __RPC_FAR *)pCustData,
6345                                   (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[1788] );
6346         
6347         _StubMsg.Buffer = (unsigned char __RPC_FAR *)(((long)_StubMsg.Buffer + 3) & ~ 0x3);
6348         *(( HRESULT __RPC_FAR * )_StubMsg.Buffer)++ = _RetVal;
6349         
6350         }
6351     RpcFinally
6352         {
6353         NdrPointerFree( &_StubMsg,
6354                         (unsigned char __RPC_FAR *)pCustData,
6355                         &__MIDL_TypeFormatString.Format[1748] );
6356         
6357         }
6358     RpcEndFinally
6359     _pRpcMessage->BufferLength = 
6360         (unsigned int)((long)_StubMsg.Buffer - (long)_pRpcMessage->Buffer);
6361     
6362 }
6363
6364
6365 HRESULT STDMETHODCALLTYPE ITypeInfo2_GetAllFuncCustData_Proxy( 
6366     ITypeInfo2 __RPC_FAR * This,
6367     /* [in] */ UINT index,
6368     /* [out] */ CUSTDATA __RPC_FAR *pCustData)
6369 {
6370
6371     HRESULT _RetVal;
6372     
6373     RPC_MESSAGE _RpcMessage;
6374     
6375     MIDL_STUB_MESSAGE _StubMsg;
6376     
6377     if(pCustData)
6378         {
6379         MIDL_memset(
6380                pCustData,
6381                0,
6382                sizeof( CUSTDATA  ));
6383         }
6384     RpcTryExcept
6385         {
6386         NdrProxyInitialize(
6387                       ( void __RPC_FAR *  )This,
6388                       ( PRPC_MESSAGE  )&_RpcMessage,
6389                       ( PMIDL_STUB_MESSAGE  )&_StubMsg,
6390                       ( PMIDL_STUB_DESC  )&Object_StubDesc,
6391                       33);
6392         
6393         
6394         
6395         if(!pCustData)
6396             {
6397             RpcRaiseException(RPC_X_NULL_REF_POINTER);
6398             }
6399         RpcTryFinally
6400             {
6401             
6402             _StubMsg.BufferLength = 4U;
6403             NdrProxyGetBuffer(This, &_StubMsg);
6404             *(( UINT __RPC_FAR * )_StubMsg.Buffer)++ = index;
6405             
6406             NdrProxySendReceive(This, &_StubMsg);
6407             
6408             if ( (_RpcMessage.DataRepresentation & 0X0000FFFFUL) != NDR_LOCAL_DATA_REPRESENTATION )
6409                 NdrConvert( (PMIDL_STUB_MESSAGE) &_StubMsg, (PFORMAT_STRING) &__MIDL_ProcFormatString.Format[360] );
6410             
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 );
6415             
6416             _StubMsg.Buffer = (unsigned char __RPC_FAR *)(((long)_StubMsg.Buffer + 3) & ~ 0x3);
6417             _RetVal = *(( HRESULT __RPC_FAR * )_StubMsg.Buffer)++;
6418             
6419             }
6420         RpcFinally
6421             {
6422             NdrProxyFreeBuffer(This, &_StubMsg);
6423             
6424             }
6425         RpcEndFinally
6426         
6427         }
6428     RpcExcept(_StubMsg.dwStubPhase != PROXY_SENDRECEIVE)
6429         {
6430         NdrClearOutParameters(
6431                          ( PMIDL_STUB_MESSAGE  )&_StubMsg,
6432                          ( PFORMAT_STRING  )&__MIDL_TypeFormatString.Format[1748],
6433                          ( void __RPC_FAR * )pCustData);
6434         _RetVal = NdrProxyErrorHandler(RpcExceptionCode());
6435         }
6436     RpcEndExcept
6437     return _RetVal;
6438 }
6439
6440 void __RPC_STUB ITypeInfo2_GetAllFuncCustData_Stub(
6441     IRpcStubBuffer *This,
6442     IRpcChannelBuffer *_pRpcChannelBuffer,
6443     PRPC_MESSAGE _pRpcMessage,
6444     DWORD *_pdwStubPhase)
6445 {
6446     HRESULT _RetVal;
6447     MIDL_STUB_MESSAGE _StubMsg;
6448     CUSTDATA _pCustDataM;
6449     UINT index;
6450     CUSTDATA __RPC_FAR *pCustData;
6451     
6452 NdrStubInitialize(
6453                      _pRpcMessage,
6454                      &_StubMsg,
6455                      &Object_StubDesc,
6456                      _pRpcChannelBuffer);
6457     ( CUSTDATA __RPC_FAR * )pCustData = 0;
6458     RpcTryFinally
6459         {
6460         if ( (_pRpcMessage->DataRepresentation & 0X0000FFFFUL) != NDR_LOCAL_DATA_REPRESENTATION )
6461             NdrConvert( (PMIDL_STUB_MESSAGE) &_StubMsg, (PFORMAT_STRING) &__MIDL_ProcFormatString.Format[360] );
6462         
6463         index = *(( UINT __RPC_FAR * )_StubMsg.Buffer)++;
6464         
6465         pCustData = &_pCustDataM;
6466         pCustData -> prgCustData = 0;
6467         
6468         *_pdwStubPhase = STUB_CALL_SERVER;
6469         _RetVal = (((ITypeInfo2*) ((CStdStubBuffer *)This)->pvServerObject)->lpVtbl) -> GetAllFuncCustData(
6470                       (ITypeInfo2 *) ((CStdStubBuffer *)This)->pvServerObject,
6471                       index,
6472                       pCustData);
6473         
6474         *_pdwStubPhase = STUB_MARSHAL;
6475         
6476         _StubMsg.BufferLength = 0U + 11U;
6477         NdrComplexStructBufferSize( (PMIDL_STUB_MESSAGE) &_StubMsg,
6478                                     (unsigned char __RPC_FAR *)pCustData,
6479                                     (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[1788] );
6480         
6481         _StubMsg.BufferLength += 16;
6482         
6483         NdrStubGetBuffer(This, _pRpcChannelBuffer, &_StubMsg);
6484         NdrComplexStructMarshall( (PMIDL_STUB_MESSAGE)& _StubMsg,
6485                                   (unsigned char __RPC_FAR *)pCustData,
6486                                   (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[1788] );
6487         
6488         _StubMsg.Buffer = (unsigned char __RPC_FAR *)(((long)_StubMsg.Buffer + 3) & ~ 0x3);
6489         *(( HRESULT __RPC_FAR * )_StubMsg.Buffer)++ = _RetVal;
6490         
6491         }
6492     RpcFinally
6493         {
6494         NdrPointerFree( &_StubMsg,
6495                         (unsigned char __RPC_FAR *)pCustData,
6496                         &__MIDL_TypeFormatString.Format[1748] );
6497         
6498         }
6499     RpcEndFinally
6500     _pRpcMessage->BufferLength = 
6501         (unsigned int)((long)_StubMsg.Buffer - (long)_pRpcMessage->Buffer);
6502     
6503 }
6504
6505
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)
6511 {
6512
6513     HRESULT _RetVal;
6514     
6515     RPC_MESSAGE _RpcMessage;
6516     
6517     MIDL_STUB_MESSAGE _StubMsg;
6518     
6519     if(pCustData)
6520         {
6521         MIDL_memset(
6522                pCustData,
6523                0,
6524                sizeof( CUSTDATA  ));
6525         }
6526     RpcTryExcept
6527         {
6528         NdrProxyInitialize(
6529                       ( void __RPC_FAR *  )This,
6530                       ( PRPC_MESSAGE  )&_RpcMessage,
6531                       ( PMIDL_STUB_MESSAGE  )&_StubMsg,
6532                       ( PMIDL_STUB_DESC  )&Object_StubDesc,
6533                       34);
6534         
6535         
6536         
6537         if(!pCustData)
6538             {
6539             RpcRaiseException(RPC_X_NULL_REF_POINTER);
6540             }
6541         RpcTryFinally
6542             {
6543             
6544             _StubMsg.BufferLength = 4U + 4U;
6545             NdrProxyGetBuffer(This, &_StubMsg);
6546             *(( UINT __RPC_FAR * )_StubMsg.Buffer)++ = indexFunc;
6547             
6548             *(( UINT __RPC_FAR * )_StubMsg.Buffer)++ = indexParam;
6549             
6550             NdrProxySendReceive(This, &_StubMsg);
6551             
6552             if ( (_RpcMessage.DataRepresentation & 0X0000FFFFUL) != NDR_LOCAL_DATA_REPRESENTATION )
6553                 NdrConvert( (PMIDL_STUB_MESSAGE) &_StubMsg, (PFORMAT_STRING) &__MIDL_ProcFormatString.Format[368] );
6554             
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 );
6559             
6560             _StubMsg.Buffer = (unsigned char __RPC_FAR *)(((long)_StubMsg.Buffer + 3) & ~ 0x3);
6561             _RetVal = *(( HRESULT __RPC_FAR * )_StubMsg.Buffer)++;
6562             
6563             }
6564         RpcFinally
6565             {
6566             NdrProxyFreeBuffer(This, &_StubMsg);
6567             
6568             }
6569         RpcEndFinally
6570         
6571         }
6572     RpcExcept(_StubMsg.dwStubPhase != PROXY_SENDRECEIVE)
6573         {
6574         NdrClearOutParameters(
6575                          ( PMIDL_STUB_MESSAGE  )&_StubMsg,
6576                          ( PFORMAT_STRING  )&__MIDL_TypeFormatString.Format[1748],
6577                          ( void __RPC_FAR * )pCustData);
6578         _RetVal = NdrProxyErrorHandler(RpcExceptionCode());
6579         }
6580     RpcEndExcept
6581     return _RetVal;
6582 }
6583
6584 void __RPC_STUB ITypeInfo2_GetAllParamCustData_Stub(
6585     IRpcStubBuffer *This,
6586     IRpcChannelBuffer *_pRpcChannelBuffer,
6587     PRPC_MESSAGE _pRpcMessage,
6588     DWORD *_pdwStubPhase)
6589 {
6590     HRESULT _RetVal;
6591     MIDL_STUB_MESSAGE _StubMsg;
6592     CUSTDATA _pCustDataM;
6593     UINT indexFunc;
6594     UINT indexParam;
6595     CUSTDATA __RPC_FAR *pCustData;
6596     
6597 NdrStubInitialize(
6598                      _pRpcMessage,
6599                      &_StubMsg,
6600                      &Object_StubDesc,
6601                      _pRpcChannelBuffer);
6602     ( CUSTDATA __RPC_FAR * )pCustData = 0;
6603     RpcTryFinally
6604         {
6605         if ( (_pRpcMessage->DataRepresentation & 0X0000FFFFUL) != NDR_LOCAL_DATA_REPRESENTATION )
6606             NdrConvert( (PMIDL_STUB_MESSAGE) &_StubMsg, (PFORMAT_STRING) &__MIDL_ProcFormatString.Format[368] );
6607         
6608         indexFunc = *(( UINT __RPC_FAR * )_StubMsg.Buffer)++;
6609         
6610         indexParam = *(( UINT __RPC_FAR * )_StubMsg.Buffer)++;
6611         
6612         pCustData = &_pCustDataM;
6613         pCustData -> prgCustData = 0;
6614         
6615         *_pdwStubPhase = STUB_CALL_SERVER;
6616         _RetVal = (((ITypeInfo2*) ((CStdStubBuffer *)This)->pvServerObject)->lpVtbl) -> GetAllParamCustData(
6617                        (ITypeInfo2 *) ((CStdStubBuffer *)This)->pvServerObject,
6618                        indexFunc,
6619                        indexParam,
6620                        pCustData);
6621         
6622         *_pdwStubPhase = STUB_MARSHAL;
6623         
6624         _StubMsg.BufferLength = 0U + 11U;
6625         NdrComplexStructBufferSize( (PMIDL_STUB_MESSAGE) &_StubMsg,
6626                                     (unsigned char __RPC_FAR *)pCustData,
6627                                     (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[1788] );
6628         
6629         _StubMsg.BufferLength += 16;
6630         
6631         NdrStubGetBuffer(This, _pRpcChannelBuffer, &_StubMsg);
6632         NdrComplexStructMarshall( (PMIDL_STUB_MESSAGE)& _StubMsg,
6633                                   (unsigned char __RPC_FAR *)pCustData,
6634                                   (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[1788] );
6635         
6636         _StubMsg.Buffer = (unsigned char __RPC_FAR *)(((long)_StubMsg.Buffer + 3) & ~ 0x3);
6637         *(( HRESULT __RPC_FAR * )_StubMsg.Buffer)++ = _RetVal;
6638         
6639         }
6640     RpcFinally
6641         {
6642         NdrPointerFree( &_StubMsg,
6643                         (unsigned char __RPC_FAR *)pCustData,
6644                         &__MIDL_TypeFormatString.Format[1748] );
6645         
6646         }
6647     RpcEndFinally
6648     _pRpcMessage->BufferLength = 
6649         (unsigned int)((long)_StubMsg.Buffer - (long)_pRpcMessage->Buffer);
6650     
6651 }
6652
6653
6654 HRESULT STDMETHODCALLTYPE ITypeInfo2_GetAllVarCustData_Proxy( 
6655     ITypeInfo2 __RPC_FAR * This,
6656     /* [in] */ UINT index,
6657     /* [out] */ CUSTDATA __RPC_FAR *pCustData)
6658 {
6659
6660     HRESULT _RetVal;
6661     
6662     RPC_MESSAGE _RpcMessage;
6663     
6664     MIDL_STUB_MESSAGE _StubMsg;
6665     
6666     if(pCustData)
6667         {
6668         MIDL_memset(
6669                pCustData,
6670                0,
6671                sizeof( CUSTDATA  ));
6672         }
6673     RpcTryExcept
6674         {
6675         NdrProxyInitialize(
6676                       ( void __RPC_FAR *  )This,
6677                       ( PRPC_MESSAGE  )&_RpcMessage,
6678                       ( PMIDL_STUB_MESSAGE  )&_StubMsg,
6679                       ( PMIDL_STUB_DESC  )&Object_StubDesc,
6680                       35);
6681         
6682         
6683         
6684         if(!pCustData)
6685             {
6686             RpcRaiseException(RPC_X_NULL_REF_POINTER);
6687             }
6688         RpcTryFinally
6689             {
6690             
6691             _StubMsg.BufferLength = 4U;
6692             NdrProxyGetBuffer(This, &_StubMsg);
6693             *(( UINT __RPC_FAR * )_StubMsg.Buffer)++ = index;
6694             
6695             NdrProxySendReceive(This, &_StubMsg);
6696             
6697             if ( (_RpcMessage.DataRepresentation & 0X0000FFFFUL) != NDR_LOCAL_DATA_REPRESENTATION )
6698                 NdrConvert( (PMIDL_STUB_MESSAGE) &_StubMsg, (PFORMAT_STRING) &__MIDL_ProcFormatString.Format[360] );
6699             
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 );
6704             
6705             _StubMsg.Buffer = (unsigned char __RPC_FAR *)(((long)_StubMsg.Buffer + 3) & ~ 0x3);
6706             _RetVal = *(( HRESULT __RPC_FAR * )_StubMsg.Buffer)++;
6707             
6708             }
6709         RpcFinally
6710             {
6711             NdrProxyFreeBuffer(This, &_StubMsg);
6712             
6713             }
6714         RpcEndFinally
6715         
6716         }
6717     RpcExcept(_StubMsg.dwStubPhase != PROXY_SENDRECEIVE)
6718         {
6719         NdrClearOutParameters(
6720                          ( PMIDL_STUB_MESSAGE  )&_StubMsg,
6721                          ( PFORMAT_STRING  )&__MIDL_TypeFormatString.Format[1748],
6722                          ( void __RPC_FAR * )pCustData);
6723         _RetVal = NdrProxyErrorHandler(RpcExceptionCode());
6724         }
6725     RpcEndExcept
6726     return _RetVal;
6727 }
6728
6729 void __RPC_STUB ITypeInfo2_GetAllVarCustData_Stub(
6730     IRpcStubBuffer *This,
6731     IRpcChannelBuffer *_pRpcChannelBuffer,
6732     PRPC_MESSAGE _pRpcMessage,
6733     DWORD *_pdwStubPhase)
6734 {
6735     HRESULT _RetVal;
6736     MIDL_STUB_MESSAGE _StubMsg;
6737     CUSTDATA _pCustDataM;
6738     UINT index;
6739     CUSTDATA __RPC_FAR *pCustData;
6740     
6741 NdrStubInitialize(
6742                      _pRpcMessage,
6743                      &_StubMsg,
6744                      &Object_StubDesc,
6745                      _pRpcChannelBuffer);
6746     ( CUSTDATA __RPC_FAR * )pCustData = 0;
6747     RpcTryFinally
6748         {
6749         if ( (_pRpcMessage->DataRepresentation & 0X0000FFFFUL) != NDR_LOCAL_DATA_REPRESENTATION )
6750             NdrConvert( (PMIDL_STUB_MESSAGE) &_StubMsg, (PFORMAT_STRING) &__MIDL_ProcFormatString.Format[360] );
6751         
6752         index = *(( UINT __RPC_FAR * )_StubMsg.Buffer)++;
6753         
6754         pCustData = &_pCustDataM;
6755         pCustData -> prgCustData = 0;
6756         
6757         *_pdwStubPhase = STUB_CALL_SERVER;
6758         _RetVal = (((ITypeInfo2*) ((CStdStubBuffer *)This)->pvServerObject)->lpVtbl) -> GetAllVarCustData(
6759                      (ITypeInfo2 *) ((CStdStubBuffer *)This)->pvServerObject,
6760                      index,
6761                      pCustData);
6762         
6763         *_pdwStubPhase = STUB_MARSHAL;
6764         
6765         _StubMsg.BufferLength = 0U + 11U;
6766         NdrComplexStructBufferSize( (PMIDL_STUB_MESSAGE) &_StubMsg,
6767                                     (unsigned char __RPC_FAR *)pCustData,
6768                                     (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[1788] );
6769         
6770         _StubMsg.BufferLength += 16;
6771         
6772         NdrStubGetBuffer(This, _pRpcChannelBuffer, &_StubMsg);
6773         NdrComplexStructMarshall( (PMIDL_STUB_MESSAGE)& _StubMsg,
6774                                   (unsigned char __RPC_FAR *)pCustData,
6775                                   (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[1788] );
6776         
6777         _StubMsg.Buffer = (unsigned char __RPC_FAR *)(((long)_StubMsg.Buffer + 3) & ~ 0x3);
6778         *(( HRESULT __RPC_FAR * )_StubMsg.Buffer)++ = _RetVal;
6779         
6780         }
6781     RpcFinally
6782         {
6783         NdrPointerFree( &_StubMsg,
6784                         (unsigned char __RPC_FAR *)pCustData,
6785                         &__MIDL_TypeFormatString.Format[1748] );
6786         
6787         }
6788     RpcEndFinally
6789     _pRpcMessage->BufferLength = 
6790         (unsigned int)((long)_StubMsg.Buffer - (long)_pRpcMessage->Buffer);
6791     
6792 }
6793
6794
6795 HRESULT STDMETHODCALLTYPE ITypeInfo2_GetAllImplTypeCustData_Proxy( 
6796     ITypeInfo2 __RPC_FAR * This,
6797     /* [in] */ UINT index,
6798     /* [out] */ CUSTDATA __RPC_FAR *pCustData)
6799 {
6800
6801     HRESULT _RetVal;
6802     
6803     RPC_MESSAGE _RpcMessage;
6804     
6805     MIDL_STUB_MESSAGE _StubMsg;
6806     
6807     if(pCustData)
6808         {
6809         MIDL_memset(
6810                pCustData,
6811                0,
6812                sizeof( CUSTDATA  ));
6813         }
6814     RpcTryExcept
6815         {
6816         NdrProxyInitialize(
6817                       ( void __RPC_FAR *  )This,
6818                       ( PRPC_MESSAGE  )&_RpcMessage,
6819                       ( PMIDL_STUB_MESSAGE  )&_StubMsg,
6820                       ( PMIDL_STUB_DESC  )&Object_StubDesc,
6821                       36);
6822         
6823         
6824         
6825         if(!pCustData)
6826             {
6827             RpcRaiseException(RPC_X_NULL_REF_POINTER);
6828             }
6829         RpcTryFinally
6830             {
6831             
6832             _StubMsg.BufferLength = 4U;
6833             NdrProxyGetBuffer(This, &_StubMsg);
6834             *(( UINT __RPC_FAR * )_StubMsg.Buffer)++ = index;
6835             
6836             NdrProxySendReceive(This, &_StubMsg);
6837             
6838             if ( (_RpcMessage.DataRepresentation & 0X0000FFFFUL) != NDR_LOCAL_DATA_REPRESENTATION )
6839                 NdrConvert( (PMIDL_STUB_MESSAGE) &_StubMsg, (PFORMAT_STRING) &__MIDL_ProcFormatString.Format[360] );
6840             
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 );
6845             
6846             _StubMsg.Buffer = (unsigned char __RPC_FAR *)(((long)_StubMsg.Buffer + 3) & ~ 0x3);
6847             _RetVal = *(( HRESULT __RPC_FAR * )_StubMsg.Buffer)++;
6848             
6849             }
6850         RpcFinally
6851             {
6852             NdrProxyFreeBuffer(This, &_StubMsg);
6853             
6854             }
6855         RpcEndFinally
6856         
6857         }
6858     RpcExcept(_StubMsg.dwStubPhase != PROXY_SENDRECEIVE)
6859         {
6860         NdrClearOutParameters(
6861                          ( PMIDL_STUB_MESSAGE  )&_StubMsg,
6862                          ( PFORMAT_STRING  )&__MIDL_TypeFormatString.Format[1748],
6863                          ( void __RPC_FAR * )pCustData);
6864         _RetVal = NdrProxyErrorHandler(RpcExceptionCode());
6865         }
6866     RpcEndExcept
6867     return _RetVal;
6868 }
6869
6870 void __RPC_STUB ITypeInfo2_GetAllImplTypeCustData_Stub(
6871     IRpcStubBuffer *This,
6872     IRpcChannelBuffer *_pRpcChannelBuffer,
6873     PRPC_MESSAGE _pRpcMessage,
6874     DWORD *_pdwStubPhase)
6875 {
6876     HRESULT _RetVal;
6877     MIDL_STUB_MESSAGE _StubMsg;
6878     CUSTDATA _pCustDataM;
6879     UINT index;
6880     CUSTDATA __RPC_FAR *pCustData;
6881     
6882 NdrStubInitialize(
6883                      _pRpcMessage,
6884                      &_StubMsg,
6885                      &Object_StubDesc,
6886                      _pRpcChannelBuffer);
6887     ( CUSTDATA __RPC_FAR * )pCustData = 0;
6888     RpcTryFinally
6889         {
6890         if ( (_pRpcMessage->DataRepresentation & 0X0000FFFFUL) != NDR_LOCAL_DATA_REPRESENTATION )
6891             NdrConvert( (PMIDL_STUB_MESSAGE) &_StubMsg, (PFORMAT_STRING) &__MIDL_ProcFormatString.Format[360] );
6892         
6893         index = *(( UINT __RPC_FAR * )_StubMsg.Buffer)++;
6894         
6895         pCustData = &_pCustDataM;
6896         pCustData -> prgCustData = 0;
6897         
6898         *_pdwStubPhase = STUB_CALL_SERVER;
6899         _RetVal = (((ITypeInfo2*) ((CStdStubBuffer *)This)->pvServerObject)->lpVtbl) -> GetAllImplTypeCustData(
6900                           (ITypeInfo2 *) ((CStdStubBuffer *)This)->pvServerObject,
6901                           index,
6902                           pCustData);
6903         
6904         *_pdwStubPhase = STUB_MARSHAL;
6905         
6906         _StubMsg.BufferLength = 0U + 11U;
6907         NdrComplexStructBufferSize( (PMIDL_STUB_MESSAGE) &_StubMsg,
6908                                     (unsigned char __RPC_FAR *)pCustData,
6909                                     (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[1788] );
6910         
6911         _StubMsg.BufferLength += 16;
6912         
6913         NdrStubGetBuffer(This, _pRpcChannelBuffer, &_StubMsg);
6914         NdrComplexStructMarshall( (PMIDL_STUB_MESSAGE)& _StubMsg,
6915                                   (unsigned char __RPC_FAR *)pCustData,
6916                                   (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[1788] );
6917         
6918         _StubMsg.Buffer = (unsigned char __RPC_FAR *)(((long)_StubMsg.Buffer + 3) & ~ 0x3);
6919         *(( HRESULT __RPC_FAR * )_StubMsg.Buffer)++ = _RetVal;
6920         
6921         }
6922     RpcFinally
6923         {
6924         NdrPointerFree( &_StubMsg,
6925                         (unsigned char __RPC_FAR *)pCustData,
6926                         &__MIDL_TypeFormatString.Format[1748] );
6927         
6928         }
6929     RpcEndFinally
6930     _pRpcMessage->BufferLength = 
6931         (unsigned int)((long)_StubMsg.Buffer - (long)_pRpcMessage->Buffer);
6932     
6933 }
6934
6935 const CINTERFACE_PROXY_VTABLE(37) _ITypeInfo2ProxyVtbl = 
6936 {
6937     { &IID_ITypeInfo2 },
6938     {
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
6976     }
6977 };
6978
6979
6980 static const PRPC_STUB_FUNCTION ITypeInfo2_table[] =
6981 {
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
7016 };
7017
7018 const CInterfaceStubVtbl _ITypeInfo2StubVtbl =
7019 {
7020     {
7021         &IID_ITypeInfo2,
7022         0,
7023         37,
7024         &ITypeInfo2_table[-3]
7025     },
7026     { CStdStubBuffer_METHODS }
7027 };
7028
7029
7030 /* Object interface: ITypeLib, ver. 0.0,
7031    GUID={0x00020402,0x0000,0x0000,{0xC0,0x00,0x00,0x00,0x00,0x00,0x00,0x46}} */
7032
7033
7034 extern const MIDL_STUB_DESC Object_StubDesc;
7035
7036
7037 /* [call_as] */ HRESULT STDMETHODCALLTYPE ITypeLib_RemoteGetTypeInfoCount_Proxy( 
7038     ITypeLib __RPC_FAR * This,
7039     /* [out] */ UINT __RPC_FAR *pcTInfo)
7040 {
7041
7042     HRESULT _RetVal;
7043     
7044     RPC_MESSAGE _RpcMessage;
7045     
7046     MIDL_STUB_MESSAGE _StubMsg;
7047     
7048     RpcTryExcept
7049         {
7050         NdrProxyInitialize(
7051                       ( void __RPC_FAR *  )This,
7052                       ( PRPC_MESSAGE  )&_RpcMessage,
7053                       ( PMIDL_STUB_MESSAGE  )&_StubMsg,
7054                       ( PMIDL_STUB_DESC  )&Object_StubDesc,
7055                       3);
7056         
7057         
7058         
7059         if(!pcTInfo)
7060             {
7061             RpcRaiseException(RPC_X_NULL_REF_POINTER);
7062             }
7063         RpcTryFinally
7064             {
7065             
7066             _StubMsg.BufferLength = 0U;
7067             NdrProxyGetBuffer(This, &_StubMsg);
7068             NdrProxySendReceive(This, &_StubMsg);
7069             
7070             if ( (_RpcMessage.DataRepresentation & 0X0000FFFFUL) != NDR_LOCAL_DATA_REPRESENTATION )
7071                 NdrConvert( (PMIDL_STUB_MESSAGE) &_StubMsg, (PFORMAT_STRING) &__MIDL_ProcFormatString.Format[0] );
7072             
7073             *pcTInfo = *(( UINT __RPC_FAR * )_StubMsg.Buffer)++;
7074             
7075             _RetVal = *(( HRESULT __RPC_FAR * )_StubMsg.Buffer)++;
7076             
7077             }
7078         RpcFinally
7079             {
7080             NdrProxyFreeBuffer(This, &_StubMsg);
7081             
7082             }
7083         RpcEndFinally
7084         
7085         }
7086     RpcExcept(_StubMsg.dwStubPhase != PROXY_SENDRECEIVE)
7087         {
7088         NdrClearOutParameters(
7089                          ( PMIDL_STUB_MESSAGE  )&_StubMsg,
7090                          ( PFORMAT_STRING  )&__MIDL_TypeFormatString.Format[2],
7091                          ( void __RPC_FAR * )pcTInfo);
7092         _RetVal = NdrProxyErrorHandler(RpcExceptionCode());
7093         }
7094     RpcEndExcept
7095     return _RetVal;
7096 }
7097
7098 void __RPC_STUB ITypeLib_RemoteGetTypeInfoCount_Stub(
7099     IRpcStubBuffer *This,
7100     IRpcChannelBuffer *_pRpcChannelBuffer,
7101     PRPC_MESSAGE _pRpcMessage,
7102     DWORD *_pdwStubPhase)
7103 {
7104     UINT _M61;
7105     HRESULT _RetVal;
7106     MIDL_STUB_MESSAGE _StubMsg;
7107     UINT __RPC_FAR *pcTInfo;
7108     
7109 NdrStubInitialize(
7110                      _pRpcMessage,
7111                      &_StubMsg,
7112                      &Object_StubDesc,
7113                      _pRpcChannelBuffer);
7114     ( UINT __RPC_FAR * )pcTInfo = 0;
7115     RpcTryFinally
7116         {
7117         pcTInfo = &_M61;
7118         
7119         *_pdwStubPhase = STUB_CALL_SERVER;
7120         
7121         
7122         _RetVal = ITypeLib_GetTypeInfoCount_Stub((ITypeLib *) ((CStdStubBuffer *)This)->pvServerObject,pcTInfo);
7123         
7124         *_pdwStubPhase = STUB_MARSHAL;
7125         
7126         _StubMsg.BufferLength = 4U + 4U;
7127         NdrStubGetBuffer(This, _pRpcChannelBuffer, &_StubMsg);
7128         *(( UINT __RPC_FAR * )_StubMsg.Buffer)++ = *pcTInfo;
7129         
7130         *(( HRESULT __RPC_FAR * )_StubMsg.Buffer)++ = _RetVal;
7131         
7132         }
7133     RpcFinally
7134         {
7135         }
7136     RpcEndFinally
7137     _pRpcMessage->BufferLength = 
7138         (unsigned int)((long)_StubMsg.Buffer - (long)_pRpcMessage->Buffer);
7139     
7140 }
7141
7142
7143 HRESULT STDMETHODCALLTYPE ITypeLib_GetTypeInfo_Proxy( 
7144     ITypeLib __RPC_FAR * This,
7145     /* [in] */ UINT index,
7146     /* [out] */ ITypeInfo __RPC_FAR *__RPC_FAR *ppTInfo)
7147 {
7148
7149     HRESULT _RetVal;
7150     
7151     RPC_MESSAGE _RpcMessage;
7152     
7153     MIDL_STUB_MESSAGE _StubMsg;
7154     
7155     if(ppTInfo)
7156         {
7157         MIDL_memset(
7158                ppTInfo,
7159                0,
7160                sizeof( ITypeInfo __RPC_FAR *__RPC_FAR * ));
7161         }
7162     RpcTryExcept
7163         {
7164         NdrProxyInitialize(
7165                       ( void __RPC_FAR *  )This,
7166                       ( PRPC_MESSAGE  )&_RpcMessage,
7167                       ( PMIDL_STUB_MESSAGE  )&_StubMsg,
7168                       ( PMIDL_STUB_DESC  )&Object_StubDesc,
7169                       4);
7170         
7171         
7172         
7173         if(!ppTInfo)
7174             {
7175             RpcRaiseException(RPC_X_NULL_REF_POINTER);
7176             }
7177         RpcTryFinally
7178             {
7179             
7180             _StubMsg.BufferLength = 4U;
7181             NdrProxyGetBuffer(This, &_StubMsg);
7182             *(( UINT __RPC_FAR * )_StubMsg.Buffer)++ = index;
7183             
7184             NdrProxySendReceive(This, &_StubMsg);
7185             
7186             if ( (_RpcMessage.DataRepresentation & 0X0000FFFFUL) != NDR_LOCAL_DATA_REPRESENTATION )
7187                 NdrConvert( (PMIDL_STUB_MESSAGE) &_StubMsg, (PFORMAT_STRING) &__MIDL_ProcFormatString.Format[246] );
7188             
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 );
7193             
7194             _StubMsg.Buffer = (unsigned char __RPC_FAR *)(((long)_StubMsg.Buffer + 3) & ~ 0x3);
7195             _RetVal = *(( HRESULT __RPC_FAR * )_StubMsg.Buffer)++;
7196             
7197             }
7198         RpcFinally
7199             {
7200             NdrProxyFreeBuffer(This, &_StubMsg);
7201             
7202             }
7203         RpcEndFinally
7204         
7205         }
7206     RpcExcept(_StubMsg.dwStubPhase != PROXY_SENDRECEIVE)
7207         {
7208         NdrClearOutParameters(
7209                          ( PMIDL_STUB_MESSAGE  )&_StubMsg,
7210                          ( PFORMAT_STRING  )&__MIDL_TypeFormatString.Format[6],
7211                          ( void __RPC_FAR * )ppTInfo);
7212         _RetVal = NdrProxyErrorHandler(RpcExceptionCode());
7213         }
7214     RpcEndExcept
7215     return _RetVal;
7216 }
7217
7218 void __RPC_STUB ITypeLib_GetTypeInfo_Stub(
7219     IRpcStubBuffer *This,
7220     IRpcChannelBuffer *_pRpcChannelBuffer,
7221     PRPC_MESSAGE _pRpcMessage,
7222     DWORD *_pdwStubPhase)
7223 {
7224     ITypeInfo __RPC_FAR *_M62;
7225     HRESULT _RetVal;
7226     MIDL_STUB_MESSAGE _StubMsg;
7227     UINT index;
7228     ITypeInfo __RPC_FAR *__RPC_FAR *ppTInfo;
7229     
7230 NdrStubInitialize(
7231                      _pRpcMessage,
7232                      &_StubMsg,
7233                      &Object_StubDesc,
7234                      _pRpcChannelBuffer);
7235     ( ITypeInfo __RPC_FAR *__RPC_FAR * )ppTInfo = 0;
7236     RpcTryFinally
7237         {
7238         if ( (_pRpcMessage->DataRepresentation & 0X0000FFFFUL) != NDR_LOCAL_DATA_REPRESENTATION )
7239             NdrConvert( (PMIDL_STUB_MESSAGE) &_StubMsg, (PFORMAT_STRING) &__MIDL_ProcFormatString.Format[246] );
7240         
7241         index = *(( UINT __RPC_FAR * )_StubMsg.Buffer)++;
7242         
7243         ppTInfo = &_M62;
7244         _M62 = 0;
7245         
7246         *_pdwStubPhase = STUB_CALL_SERVER;
7247         _RetVal = (((ITypeLib*) ((CStdStubBuffer *)This)->pvServerObject)->lpVtbl) -> GetTypeInfo(
7248                (ITypeLib *) ((CStdStubBuffer *)This)->pvServerObject,
7249                index,
7250                ppTInfo);
7251         
7252         *_pdwStubPhase = STUB_MARSHAL;
7253         
7254         _StubMsg.BufferLength = 0U + 4U;
7255         NdrPointerBufferSize( (PMIDL_STUB_MESSAGE) &_StubMsg,
7256                               (unsigned char __RPC_FAR *)ppTInfo,
7257                               (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[6] );
7258         
7259         _StubMsg.BufferLength += 16;
7260         
7261         NdrStubGetBuffer(This, _pRpcChannelBuffer, &_StubMsg);
7262         NdrPointerMarshall( (PMIDL_STUB_MESSAGE)& _StubMsg,
7263                             (unsigned char __RPC_FAR *)ppTInfo,
7264                             (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[6] );
7265         
7266         _StubMsg.Buffer = (unsigned char __RPC_FAR *)(((long)_StubMsg.Buffer + 3) & ~ 0x3);
7267         *(( HRESULT __RPC_FAR * )_StubMsg.Buffer)++ = _RetVal;
7268         
7269         }
7270     RpcFinally
7271         {
7272         NdrPointerFree( &_StubMsg,
7273                         (unsigned char __RPC_FAR *)ppTInfo,
7274                         &__MIDL_TypeFormatString.Format[6] );
7275         
7276         }
7277     RpcEndFinally
7278     _pRpcMessage->BufferLength = 
7279         (unsigned int)((long)_StubMsg.Buffer - (long)_pRpcMessage->Buffer);
7280     
7281 }
7282
7283
7284 HRESULT STDMETHODCALLTYPE ITypeLib_GetTypeInfoType_Proxy( 
7285     ITypeLib __RPC_FAR * This,
7286     /* [in] */ UINT index,
7287     /* [out] */ TYPEKIND __RPC_FAR *pTKind)
7288 {
7289
7290     HRESULT _RetVal;
7291     
7292     RPC_MESSAGE _RpcMessage;
7293     
7294     MIDL_STUB_MESSAGE _StubMsg;
7295     
7296     RpcTryExcept
7297         {
7298         NdrProxyInitialize(
7299                       ( void __RPC_FAR *  )This,
7300                       ( PRPC_MESSAGE  )&_RpcMessage,
7301                       ( PMIDL_STUB_MESSAGE  )&_StubMsg,
7302                       ( PMIDL_STUB_DESC  )&Object_StubDesc,
7303                       5);
7304         
7305         
7306         
7307         if(!pTKind)
7308             {
7309             RpcRaiseException(RPC_X_NULL_REF_POINTER);
7310             }
7311         RpcTryFinally
7312             {
7313             
7314             _StubMsg.BufferLength = 4U;
7315             NdrProxyGetBuffer(This, &_StubMsg);
7316             *(( UINT __RPC_FAR * )_StubMsg.Buffer)++ = index;
7317             
7318             NdrProxySendReceive(This, &_StubMsg);
7319             
7320             if ( (_RpcMessage.DataRepresentation & 0X0000FFFFUL) != NDR_LOCAL_DATA_REPRESENTATION )
7321                 NdrConvert( (PMIDL_STUB_MESSAGE) &_StubMsg, (PFORMAT_STRING) &__MIDL_ProcFormatString.Format[378] );
7322             
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 );
7327             
7328             _RetVal = *(( HRESULT __RPC_FAR * )_StubMsg.Buffer)++;
7329             
7330             }
7331         RpcFinally
7332             {
7333             NdrProxyFreeBuffer(This, &_StubMsg);
7334             
7335             }
7336         RpcEndFinally
7337         
7338         }
7339     RpcExcept(_StubMsg.dwStubPhase != PROXY_SENDRECEIVE)
7340         {
7341         NdrClearOutParameters(
7342                          ( PMIDL_STUB_MESSAGE  )&_StubMsg,
7343                          ( PFORMAT_STRING  )&__MIDL_TypeFormatString.Format[1250],
7344                          ( void __RPC_FAR * )pTKind);
7345         _RetVal = NdrProxyErrorHandler(RpcExceptionCode());
7346         }
7347     RpcEndExcept
7348     return _RetVal;
7349 }
7350
7351 void __RPC_STUB ITypeLib_GetTypeInfoType_Stub(
7352     IRpcStubBuffer *This,
7353     IRpcChannelBuffer *_pRpcChannelBuffer,
7354     PRPC_MESSAGE _pRpcMessage,
7355     DWORD *_pdwStubPhase)
7356 {
7357     TYPEKIND _M63;
7358     HRESULT _RetVal;
7359     MIDL_STUB_MESSAGE _StubMsg;
7360     UINT index;
7361     TYPEKIND __RPC_FAR *pTKind;
7362     
7363 NdrStubInitialize(
7364                      _pRpcMessage,
7365                      &_StubMsg,
7366                      &Object_StubDesc,
7367                      _pRpcChannelBuffer);
7368     ( TYPEKIND __RPC_FAR * )pTKind = 0;
7369     RpcTryFinally
7370         {
7371         if ( (_pRpcMessage->DataRepresentation & 0X0000FFFFUL) != NDR_LOCAL_DATA_REPRESENTATION )
7372             NdrConvert( (PMIDL_STUB_MESSAGE) &_StubMsg, (PFORMAT_STRING) &__MIDL_ProcFormatString.Format[378] );
7373         
7374         index = *(( UINT __RPC_FAR * )_StubMsg.Buffer)++;
7375         
7376         pTKind = &_M63;
7377         
7378         *_pdwStubPhase = STUB_CALL_SERVER;
7379         _RetVal = (((ITypeLib*) ((CStdStubBuffer *)This)->pvServerObject)->lpVtbl) -> GetTypeInfoType(
7380                    (ITypeLib *) ((CStdStubBuffer *)This)->pvServerObject,
7381                    index,
7382                    pTKind);
7383         
7384         *_pdwStubPhase = STUB_MARSHAL;
7385         
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] );
7391         
7392         *(( HRESULT __RPC_FAR * )_StubMsg.Buffer)++ = _RetVal;
7393         
7394         }
7395     RpcFinally
7396         {
7397         }
7398     RpcEndFinally
7399     _pRpcMessage->BufferLength = 
7400         (unsigned int)((long)_StubMsg.Buffer - (long)_pRpcMessage->Buffer);
7401     
7402 }
7403
7404
7405 HRESULT STDMETHODCALLTYPE ITypeLib_GetTypeInfoOfGuid_Proxy( 
7406     ITypeLib __RPC_FAR * This,
7407     /* [in] */ REFGUID guid,
7408     /* [out] */ ITypeInfo __RPC_FAR *__RPC_FAR *ppTinfo)
7409 {
7410
7411     HRESULT _RetVal;
7412     
7413     RPC_MESSAGE _RpcMessage;
7414     
7415     MIDL_STUB_MESSAGE _StubMsg;
7416     
7417     if(ppTinfo)
7418         {
7419         MIDL_memset(
7420                ppTinfo,
7421                0,
7422                sizeof( ITypeInfo __RPC_FAR *__RPC_FAR * ));
7423         }
7424     RpcTryExcept
7425         {
7426         NdrProxyInitialize(
7427                       ( void __RPC_FAR *  )This,
7428                       ( PRPC_MESSAGE  )&_RpcMessage,
7429                       ( PMIDL_STUB_MESSAGE  )&_StubMsg,
7430                       ( PMIDL_STUB_DESC  )&Object_StubDesc,
7431                       6);
7432         
7433         
7434         
7435         if(!guid)
7436             {
7437             RpcRaiseException(RPC_X_NULL_REF_POINTER);
7438             }
7439         if(!ppTinfo)
7440             {
7441             RpcRaiseException(RPC_X_NULL_REF_POINTER);
7442             }
7443         RpcTryFinally
7444             {
7445             
7446             _StubMsg.BufferLength = 0U;
7447             NdrSimpleStructBufferSize( (PMIDL_STUB_MESSAGE) &_StubMsg,
7448                                        (unsigned char __RPC_FAR *)guid,
7449                                        (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[38] );
7450             
7451             NdrProxyGetBuffer(This, &_StubMsg);
7452             NdrSimpleStructMarshall( (PMIDL_STUB_MESSAGE)& _StubMsg,
7453                                      (unsigned char __RPC_FAR *)guid,
7454                                      (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[38] );
7455             
7456             NdrProxySendReceive(This, &_StubMsg);
7457             
7458             if ( (_RpcMessage.DataRepresentation & 0X0000FFFFUL) != NDR_LOCAL_DATA_REPRESENTATION )
7459                 NdrConvert( (PMIDL_STUB_MESSAGE) &_StubMsg, (PFORMAT_STRING) &__MIDL_ProcFormatString.Format[386] );
7460             
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 );
7465             
7466             _StubMsg.Buffer = (unsigned char __RPC_FAR *)(((long)_StubMsg.Buffer + 3) & ~ 0x3);
7467             _RetVal = *(( HRESULT __RPC_FAR * )_StubMsg.Buffer)++;
7468             
7469             }
7470         RpcFinally
7471             {
7472             NdrProxyFreeBuffer(This, &_StubMsg);
7473             
7474             }
7475         RpcEndFinally
7476         
7477         }
7478     RpcExcept(_StubMsg.dwStubPhase != PROXY_SENDRECEIVE)
7479         {
7480         NdrClearOutParameters(
7481                          ( PMIDL_STUB_MESSAGE  )&_StubMsg,
7482                          ( PFORMAT_STRING  )&__MIDL_TypeFormatString.Format[6],
7483                          ( void __RPC_FAR * )ppTinfo);
7484         _RetVal = NdrProxyErrorHandler(RpcExceptionCode());
7485         }
7486     RpcEndExcept
7487     return _RetVal;
7488 }
7489
7490 void __RPC_STUB ITypeLib_GetTypeInfoOfGuid_Stub(
7491     IRpcStubBuffer *This,
7492     IRpcChannelBuffer *_pRpcChannelBuffer,
7493     PRPC_MESSAGE _pRpcMessage,
7494     DWORD *_pdwStubPhase)
7495 {
7496     ITypeInfo __RPC_FAR *_M64;
7497     HRESULT _RetVal;
7498     MIDL_STUB_MESSAGE _StubMsg;
7499     REFGUID guid = 0;
7500     ITypeInfo __RPC_FAR *__RPC_FAR *ppTinfo;
7501     
7502 NdrStubInitialize(
7503                      _pRpcMessage,
7504                      &_StubMsg,
7505                      &Object_StubDesc,
7506                      _pRpcChannelBuffer);
7507     ( ITypeInfo __RPC_FAR *__RPC_FAR * )ppTinfo = 0;
7508     RpcTryFinally
7509         {
7510         if ( (_pRpcMessage->DataRepresentation & 0X0000FFFFUL) != NDR_LOCAL_DATA_REPRESENTATION )
7511             NdrConvert( (PMIDL_STUB_MESSAGE) &_StubMsg, (PFORMAT_STRING) &__MIDL_ProcFormatString.Format[386] );
7512         
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 );
7517         
7518         ppTinfo = &_M64;
7519         _M64 = 0;
7520         
7521         *_pdwStubPhase = STUB_CALL_SERVER;
7522         _RetVal = (((ITypeLib*) ((CStdStubBuffer *)This)->pvServerObject)->lpVtbl) -> GetTypeInfoOfGuid(
7523                      (ITypeLib *) ((CStdStubBuffer *)This)->pvServerObject,
7524                      guid,
7525                      ppTinfo);
7526         
7527         *_pdwStubPhase = STUB_MARSHAL;
7528         
7529         _StubMsg.BufferLength = 0U + 4U;
7530         NdrPointerBufferSize( (PMIDL_STUB_MESSAGE) &_StubMsg,
7531                               (unsigned char __RPC_FAR *)ppTinfo,
7532                               (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[6] );
7533         
7534         _StubMsg.BufferLength += 16;
7535         
7536         NdrStubGetBuffer(This, _pRpcChannelBuffer, &_StubMsg);
7537         NdrPointerMarshall( (PMIDL_STUB_MESSAGE)& _StubMsg,
7538                             (unsigned char __RPC_FAR *)ppTinfo,
7539                             (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[6] );
7540         
7541         _StubMsg.Buffer = (unsigned char __RPC_FAR *)(((long)_StubMsg.Buffer + 3) & ~ 0x3);
7542         *(( HRESULT __RPC_FAR * )_StubMsg.Buffer)++ = _RetVal;
7543         
7544         }
7545     RpcFinally
7546         {
7547         NdrPointerFree( &_StubMsg,
7548                         (unsigned char __RPC_FAR *)ppTinfo,
7549                         &__MIDL_TypeFormatString.Format[6] );
7550         
7551         }
7552     RpcEndFinally
7553     _pRpcMessage->BufferLength = 
7554         (unsigned int)((long)_StubMsg.Buffer - (long)_pRpcMessage->Buffer);
7555     
7556 }
7557
7558
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)
7563 {
7564
7565     HRESULT _RetVal;
7566     
7567     RPC_MESSAGE _RpcMessage;
7568     
7569     MIDL_STUB_MESSAGE _StubMsg;
7570     
7571     if(ppTLibAttr)
7572         {
7573         *ppTLibAttr = 0;
7574         }
7575     if(pDummy)
7576         {
7577         MIDL_memset(
7578                pDummy,
7579                0,
7580                sizeof( CLEANLOCALSTORAGE  ));
7581         }
7582     RpcTryExcept
7583         {
7584         NdrProxyInitialize(
7585                       ( void __RPC_FAR *  )This,
7586                       ( PRPC_MESSAGE  )&_RpcMessage,
7587                       ( PMIDL_STUB_MESSAGE  )&_StubMsg,
7588                       ( PMIDL_STUB_DESC  )&Object_StubDesc,
7589                       7);
7590         
7591         
7592         
7593         if(!ppTLibAttr)
7594             {
7595             RpcRaiseException(RPC_X_NULL_REF_POINTER);
7596             }
7597         if(!pDummy)
7598             {
7599             RpcRaiseException(RPC_X_NULL_REF_POINTER);
7600             }
7601         RpcTryFinally
7602             {
7603             
7604             _StubMsg.BufferLength = 0U;
7605             NdrProxyGetBuffer(This, &_StubMsg);
7606             NdrProxySendReceive(This, &_StubMsg);
7607             
7608             if ( (_RpcMessage.DataRepresentation & 0X0000FFFFUL) != NDR_LOCAL_DATA_REPRESENTATION )
7609                 NdrConvert( (PMIDL_STUB_MESSAGE) &_StubMsg, (PFORMAT_STRING) &__MIDL_ProcFormatString.Format[396] );
7610             
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 );
7615             
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 );
7620             
7621             _StubMsg.Buffer = (unsigned char __RPC_FAR *)(((long)_StubMsg.Buffer + 3) & ~ 0x3);
7622             _RetVal = *(( HRESULT __RPC_FAR * )_StubMsg.Buffer)++;
7623             
7624             }
7625         RpcFinally
7626             {
7627             NdrProxyFreeBuffer(This, &_StubMsg);
7628             
7629             }
7630         RpcEndFinally
7631         
7632         }
7633     RpcExcept(_StubMsg.dwStubPhase != PROXY_SENDRECEIVE)
7634         {
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());
7644         }
7645     RpcEndExcept
7646     return _RetVal;
7647 }
7648
7649 void __RPC_STUB ITypeLib_RemoteGetLibAttr_Stub(
7650     IRpcStubBuffer *This,
7651     IRpcChannelBuffer *_pRpcChannelBuffer,
7652     PRPC_MESSAGE _pRpcMessage,
7653     DWORD *_pdwStubPhase)
7654 {
7655     LPTLIBATTR _M65;
7656     CLEANLOCALSTORAGE _M66;
7657     HRESULT _RetVal;
7658     MIDL_STUB_MESSAGE _StubMsg;
7659     CLEANLOCALSTORAGE __RPC_FAR *pDummy;
7660     LPTLIBATTR __RPC_FAR *ppTLibAttr;
7661     
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
7670         {
7671         ppTLibAttr = &_M65;
7672         _M65 = 0;
7673         pDummy = &_M66;
7674         MIDL_memset(
7675                pDummy,
7676                0,
7677                sizeof( CLEANLOCALSTORAGE  ));
7678         
7679         *_pdwStubPhase = STUB_CALL_SERVER;
7680         
7681         
7682         _RetVal = ITypeLib_GetLibAttr_Stub(
7683                                    (ITypeLib *) ((CStdStubBuffer *)This)->pvServerObject,
7684                                    ppTLibAttr,
7685                                    pDummy);
7686         
7687         *_pdwStubPhase = STUB_MARSHAL;
7688         
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] );
7693         
7694         _StubMsg.BufferLength += 16;
7695         
7696         NdrStubGetBuffer(This, _pRpcChannelBuffer, &_StubMsg);
7697         NdrPointerMarshall( (PMIDL_STUB_MESSAGE)& _StubMsg,
7698                             (unsigned char __RPC_FAR *)ppTLibAttr,
7699                             (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[1804] );
7700         
7701         NdrUserMarshalMarshall( (PMIDL_STUB_MESSAGE)& _StubMsg,
7702                                 (unsigned char __RPC_FAR *)pDummy,
7703                                 (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[1838] );
7704         
7705         _StubMsg.Buffer = (unsigned char __RPC_FAR *)(((long)_StubMsg.Buffer + 3) & ~ 0x3);
7706         *(( HRESULT __RPC_FAR * )_StubMsg.Buffer)++ = _RetVal;
7707         
7708         }
7709     RpcFinally
7710         {
7711         NdrPointerFree( &_StubMsg,
7712                         (unsigned char __RPC_FAR *)ppTLibAttr,
7713                         &__MIDL_TypeFormatString.Format[1804] );
7714         
7715         NdrPointerFree( &_StubMsg,
7716                         (unsigned char __RPC_FAR *)pDummy,
7717                         &__MIDL_TypeFormatString.Format[1832] );
7718         
7719         }
7720     RpcEndFinally
7721     _pRpcMessage->BufferLength = 
7722         (unsigned int)((long)_StubMsg.Buffer - (long)_pRpcMessage->Buffer);
7723     
7724 }
7725
7726
7727 HRESULT STDMETHODCALLTYPE ITypeLib_GetTypeComp_Proxy( 
7728     ITypeLib __RPC_FAR * This,
7729     /* [out] */ ITypeComp __RPC_FAR *__RPC_FAR *ppTComp)
7730 {
7731
7732     HRESULT _RetVal;
7733     
7734     RPC_MESSAGE _RpcMessage;
7735     
7736     MIDL_STUB_MESSAGE _StubMsg;
7737     
7738     if(ppTComp)
7739         {
7740         MIDL_memset(
7741                ppTComp,
7742                0,
7743                sizeof( ITypeComp __RPC_FAR *__RPC_FAR * ));
7744         }
7745     RpcTryExcept
7746         {
7747         NdrProxyInitialize(
7748                       ( void __RPC_FAR *  )This,
7749                       ( PRPC_MESSAGE  )&_RpcMessage,
7750                       ( PMIDL_STUB_MESSAGE  )&_StubMsg,
7751                       ( PMIDL_STUB_DESC  )&Object_StubDesc,
7752                       8);
7753         
7754         
7755         
7756         if(!ppTComp)
7757             {
7758             RpcRaiseException(RPC_X_NULL_REF_POINTER);
7759             }
7760         RpcTryFinally
7761             {
7762             
7763             _StubMsg.BufferLength = 0U;
7764             NdrProxyGetBuffer(This, &_StubMsg);
7765             NdrProxySendReceive(This, &_StubMsg);
7766             
7767             if ( (_RpcMessage.DataRepresentation & 0X0000FFFFUL) != NDR_LOCAL_DATA_REPRESENTATION )
7768                 NdrConvert( (PMIDL_STUB_MESSAGE) &_StubMsg, (PFORMAT_STRING) &__MIDL_ProcFormatString.Format[152] );
7769             
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 );
7774             
7775             _StubMsg.Buffer = (unsigned char __RPC_FAR *)(((long)_StubMsg.Buffer + 3) & ~ 0x3);
7776             _RetVal = *(( HRESULT __RPC_FAR * )_StubMsg.Buffer)++;
7777             
7778             }
7779         RpcFinally
7780             {
7781             NdrProxyFreeBuffer(This, &_StubMsg);
7782             
7783             }
7784         RpcEndFinally
7785         
7786         }
7787     RpcExcept(_StubMsg.dwStubPhase != PROXY_SENDRECEIVE)
7788         {
7789         NdrClearOutParameters(
7790                          ( PMIDL_STUB_MESSAGE  )&_StubMsg,
7791                          ( PFORMAT_STRING  )&__MIDL_TypeFormatString.Format[1540],
7792                          ( void __RPC_FAR * )ppTComp);
7793         _RetVal = NdrProxyErrorHandler(RpcExceptionCode());
7794         }
7795     RpcEndExcept
7796     return _RetVal;
7797 }
7798
7799 void __RPC_STUB ITypeLib_GetTypeComp_Stub(
7800     IRpcStubBuffer *This,
7801     IRpcChannelBuffer *_pRpcChannelBuffer,
7802     PRPC_MESSAGE _pRpcMessage,
7803     DWORD *_pdwStubPhase)
7804 {
7805     ITypeComp __RPC_FAR *_M67;
7806     HRESULT _RetVal;
7807     MIDL_STUB_MESSAGE _StubMsg;
7808     ITypeComp __RPC_FAR *__RPC_FAR *ppTComp;
7809     
7810 NdrStubInitialize(
7811                      _pRpcMessage,
7812                      &_StubMsg,
7813                      &Object_StubDesc,
7814                      _pRpcChannelBuffer);
7815     ( ITypeComp __RPC_FAR *__RPC_FAR * )ppTComp = 0;
7816     RpcTryFinally
7817         {
7818         ppTComp = &_M67;
7819         _M67 = 0;
7820         
7821         *_pdwStubPhase = STUB_CALL_SERVER;
7822         _RetVal = (((ITypeLib*) ((CStdStubBuffer *)This)->pvServerObject)->lpVtbl) -> GetTypeComp((ITypeLib *) ((CStdStubBuffer *)This)->pvServerObject,ppTComp);
7823         
7824         *_pdwStubPhase = STUB_MARSHAL;
7825         
7826         _StubMsg.BufferLength = 0U + 4U;
7827         NdrPointerBufferSize( (PMIDL_STUB_MESSAGE) &_StubMsg,
7828                               (unsigned char __RPC_FAR *)ppTComp,
7829                               (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[1540] );
7830         
7831         _StubMsg.BufferLength += 16;
7832         
7833         NdrStubGetBuffer(This, _pRpcChannelBuffer, &_StubMsg);
7834         NdrPointerMarshall( (PMIDL_STUB_MESSAGE)& _StubMsg,
7835                             (unsigned char __RPC_FAR *)ppTComp,
7836                             (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[1540] );
7837         
7838         _StubMsg.Buffer = (unsigned char __RPC_FAR *)(((long)_StubMsg.Buffer + 3) & ~ 0x3);
7839         *(( HRESULT __RPC_FAR * )_StubMsg.Buffer)++ = _RetVal;
7840         
7841         }
7842     RpcFinally
7843         {
7844         NdrPointerFree( &_StubMsg,
7845                         (unsigned char __RPC_FAR *)ppTComp,
7846                         &__MIDL_TypeFormatString.Format[1540] );
7847         
7848         }
7849     RpcEndFinally
7850     _pRpcMessage->BufferLength = 
7851         (unsigned int)((long)_StubMsg.Buffer - (long)_pRpcMessage->Buffer);
7852     
7853 }
7854
7855
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)
7864 {
7865
7866     HRESULT _RetVal;
7867     
7868     RPC_MESSAGE _RpcMessage;
7869     
7870     MIDL_STUB_MESSAGE _StubMsg;
7871     
7872     if(pBstrName)
7873         {
7874         MIDL_memset(
7875                pBstrName,
7876                0,
7877                sizeof( BSTR  ));
7878         }
7879     if(pBstrDocString)
7880         {
7881         MIDL_memset(
7882                pBstrDocString,
7883                0,
7884                sizeof( BSTR  ));
7885         }
7886     if(pBstrHelpFile)
7887         {
7888         MIDL_memset(
7889                pBstrHelpFile,
7890                0,
7891                sizeof( BSTR  ));
7892         }
7893     RpcTryExcept
7894         {
7895         NdrProxyInitialize(
7896                       ( void __RPC_FAR *  )This,
7897                       ( PRPC_MESSAGE  )&_RpcMessage,
7898                       ( PMIDL_STUB_MESSAGE  )&_StubMsg,
7899                       ( PMIDL_STUB_DESC  )&Object_StubDesc,
7900                       9);
7901         
7902         
7903         
7904         if(!pBstrName)
7905             {
7906             RpcRaiseException(RPC_X_NULL_REF_POINTER);
7907             }
7908         if(!pBstrDocString)
7909             {
7910             RpcRaiseException(RPC_X_NULL_REF_POINTER);
7911             }
7912         if(!pdwHelpContext)
7913             {
7914             RpcRaiseException(RPC_X_NULL_REF_POINTER);
7915             }
7916         if(!pBstrHelpFile)
7917             {
7918             RpcRaiseException(RPC_X_NULL_REF_POINTER);
7919             }
7920         RpcTryFinally
7921             {
7922             
7923             _StubMsg.BufferLength = 4U + 4U;
7924             NdrProxyGetBuffer(This, &_StubMsg);
7925             *(( INT __RPC_FAR * )_StubMsg.Buffer)++ = index;
7926             
7927             *(( DWORD __RPC_FAR * )_StubMsg.Buffer)++ = refPtrFlags;
7928             
7929             NdrProxySendReceive(This, &_StubMsg);
7930             
7931             if ( (_RpcMessage.DataRepresentation & 0X0000FFFFUL) != NDR_LOCAL_DATA_REPRESENTATION )
7932                 NdrConvert( (PMIDL_STUB_MESSAGE) &_StubMsg, (PFORMAT_STRING) &__MIDL_ProcFormatString.Format[204] );
7933             
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 );
7938             
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 );
7943             
7944             _StubMsg.Buffer = (unsigned char __RPC_FAR *)(((long)_StubMsg.Buffer + 3) & ~ 0x3);
7945             *pdwHelpContext = *(( DWORD __RPC_FAR * )_StubMsg.Buffer)++;
7946             
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 );
7951             
7952             _StubMsg.Buffer = (unsigned char __RPC_FAR *)(((long)_StubMsg.Buffer + 3) & ~ 0x3);
7953             _RetVal = *(( HRESULT __RPC_FAR * )_StubMsg.Buffer)++;
7954             
7955             }
7956         RpcFinally
7957             {
7958             NdrProxyFreeBuffer(This, &_StubMsg);
7959             
7960             }
7961         RpcEndFinally
7962         
7963         }
7964     RpcExcept(_StubMsg.dwStubPhase != PROXY_SENDRECEIVE)
7965         {
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());
7983         }
7984     RpcEndExcept
7985     return _RetVal;
7986 }
7987
7988 void __RPC_STUB ITypeLib_RemoteGetDocumentation_Stub(
7989     IRpcStubBuffer *This,
7990     IRpcChannelBuffer *_pRpcChannelBuffer,
7991     PRPC_MESSAGE _pRpcMessage,
7992     DWORD *_pdwStubPhase)
7993 {
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;
8006     
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
8017         {
8018         if ( (_pRpcMessage->DataRepresentation & 0X0000FFFFUL) != NDR_LOCAL_DATA_REPRESENTATION )
8019             NdrConvert( (PMIDL_STUB_MESSAGE) &_StubMsg, (PFORMAT_STRING) &__MIDL_ProcFormatString.Format[204] );
8020         
8021         index = *(( INT __RPC_FAR * )_StubMsg.Buffer)++;
8022         
8023         refPtrFlags = *(( DWORD __RPC_FAR * )_StubMsg.Buffer)++;
8024         
8025         pBstrName = &_M68;
8026         MIDL_memset(
8027                pBstrName,
8028                0,
8029                sizeof( BSTR  ));
8030         pBstrDocString = &_M69;
8031         MIDL_memset(
8032                pBstrDocString,
8033                0,
8034                sizeof( BSTR  ));
8035         pdwHelpContext = &_M70;
8036         pBstrHelpFile = &_M71;
8037         MIDL_memset(
8038                pBstrHelpFile,
8039                0,
8040                sizeof( BSTR  ));
8041         
8042         *_pdwStubPhase = STUB_CALL_SERVER;
8043         
8044         
8045         _RetVal = ITypeLib_GetDocumentation_Stub(
8046                                          (ITypeLib *) ((CStdStubBuffer *)This)->pvServerObject,
8047                                          index,
8048                                          refPtrFlags,
8049                                          pBstrName,
8050                                          pBstrDocString,
8051                                          pdwHelpContext,
8052                                          pBstrHelpFile);
8053         
8054         *_pdwStubPhase = STUB_MARSHAL;
8055         
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] );
8060         
8061         NdrUserMarshalBufferSize( (PMIDL_STUB_MESSAGE) &_StubMsg,
8062                                   (unsigned char __RPC_FAR *)pBstrDocString,
8063                                   (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[1128] );
8064         
8065         NdrUserMarshalBufferSize( (PMIDL_STUB_MESSAGE) &_StubMsg,
8066                                   (unsigned char __RPC_FAR *)pBstrHelpFile,
8067                                   (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[1128] );
8068         
8069         _StubMsg.BufferLength += 16;
8070         
8071         NdrStubGetBuffer(This, _pRpcChannelBuffer, &_StubMsg);
8072         NdrUserMarshalMarshall( (PMIDL_STUB_MESSAGE)& _StubMsg,
8073                                 (unsigned char __RPC_FAR *)pBstrName,
8074                                 (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[1128] );
8075         
8076         NdrUserMarshalMarshall( (PMIDL_STUB_MESSAGE)& _StubMsg,
8077                                 (unsigned char __RPC_FAR *)pBstrDocString,
8078                                 (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[1128] );
8079         
8080         _StubMsg.Buffer = (unsigned char __RPC_FAR *)(((long)_StubMsg.Buffer + 3) & ~ 0x3);
8081         *(( DWORD __RPC_FAR * )_StubMsg.Buffer)++ = *pdwHelpContext;
8082         
8083         NdrUserMarshalMarshall( (PMIDL_STUB_MESSAGE)& _StubMsg,
8084                                 (unsigned char __RPC_FAR *)pBstrHelpFile,
8085                                 (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[1128] );
8086         
8087         _StubMsg.Buffer = (unsigned char __RPC_FAR *)(((long)_StubMsg.Buffer + 3) & ~ 0x3);
8088         *(( HRESULT __RPC_FAR * )_StubMsg.Buffer)++ = _RetVal;
8089         
8090         }
8091     RpcFinally
8092         {
8093         NdrPointerFree( &_StubMsg,
8094                         (unsigned char __RPC_FAR *)pBstrName,
8095                         &__MIDL_TypeFormatString.Format[1708] );
8096         
8097         NdrPointerFree( &_StubMsg,
8098                         (unsigned char __RPC_FAR *)pBstrDocString,
8099                         &__MIDL_TypeFormatString.Format[1708] );
8100         
8101         NdrPointerFree( &_StubMsg,
8102                         (unsigned char __RPC_FAR *)pBstrHelpFile,
8103                         &__MIDL_TypeFormatString.Format[1708] );
8104         
8105         }
8106     RpcEndFinally
8107     _pRpcMessage->BufferLength = 
8108         (unsigned int)((long)_StubMsg.Buffer - (long)_pRpcMessage->Buffer);
8109     
8110 }
8111
8112
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)
8119 {
8120
8121     HRESULT _RetVal;
8122     
8123     RPC_MESSAGE _RpcMessage;
8124     
8125     MIDL_STUB_MESSAGE _StubMsg;
8126     
8127     if(pBstrLibName)
8128         {
8129         MIDL_memset(
8130                pBstrLibName,
8131                0,
8132                sizeof( BSTR  ));
8133         }
8134     RpcTryExcept
8135         {
8136         NdrProxyInitialize(
8137                       ( void __RPC_FAR *  )This,
8138                       ( PRPC_MESSAGE  )&_RpcMessage,
8139                       ( PMIDL_STUB_MESSAGE  )&_StubMsg,
8140                       ( PMIDL_STUB_DESC  )&Object_StubDesc,
8141                       10);
8142         
8143         
8144         
8145         if(!szNameBuf)
8146             {
8147             RpcRaiseException(RPC_X_NULL_REF_POINTER);
8148             }
8149         if(!pfName)
8150             {
8151             RpcRaiseException(RPC_X_NULL_REF_POINTER);
8152             }
8153         if(!pBstrLibName)
8154             {
8155             RpcRaiseException(RPC_X_NULL_REF_POINTER);
8156             }
8157         RpcTryFinally
8158             {
8159             
8160             _StubMsg.BufferLength = 12U + 10U;
8161             NdrConformantStringBufferSize( (PMIDL_STUB_MESSAGE) &_StubMsg,
8162                                            (unsigned char __RPC_FAR *)szNameBuf,
8163                                            (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[1248] );
8164             
8165             NdrProxyGetBuffer(This, &_StubMsg);
8166             NdrConformantStringMarshall( (PMIDL_STUB_MESSAGE)& _StubMsg,
8167                                          (unsigned char __RPC_FAR *)szNameBuf,
8168                                          (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[1248] );
8169             
8170             _StubMsg.Buffer = (unsigned char __RPC_FAR *)(((long)_StubMsg.Buffer + 3) & ~ 0x3);
8171             *(( ULONG __RPC_FAR * )_StubMsg.Buffer)++ = lHashVal;
8172             
8173             NdrProxySendReceive(This, &_StubMsg);
8174             
8175             if ( (_RpcMessage.DataRepresentation & 0X0000FFFFUL) != NDR_LOCAL_DATA_REPRESENTATION )
8176                 NdrConvert( (PMIDL_STUB_MESSAGE) &_StubMsg, (PFORMAT_STRING) &__MIDL_ProcFormatString.Format[406] );
8177             
8178             *pfName = *(( BOOL __RPC_FAR * )_StubMsg.Buffer)++;
8179             
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 );
8184             
8185             _StubMsg.Buffer = (unsigned char __RPC_FAR *)(((long)_StubMsg.Buffer + 3) & ~ 0x3);
8186             _RetVal = *(( HRESULT __RPC_FAR * )_StubMsg.Buffer)++;
8187             
8188             }
8189         RpcFinally
8190             {
8191             NdrProxyFreeBuffer(This, &_StubMsg);
8192             
8193             }
8194         RpcEndFinally
8195         
8196         }
8197     RpcExcept(_StubMsg.dwStubPhase != PROXY_SENDRECEIVE)
8198         {
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());
8208         }
8209     RpcEndExcept
8210     return _RetVal;
8211 }
8212
8213 void __RPC_STUB ITypeLib_RemoteIsName_Stub(
8214     IRpcStubBuffer *This,
8215     IRpcChannelBuffer *_pRpcChannelBuffer,
8216     PRPC_MESSAGE _pRpcMessage,
8217     DWORD *_pdwStubPhase)
8218 {
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;
8227     
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
8237         {
8238         if ( (_pRpcMessage->DataRepresentation & 0X0000FFFFUL) != NDR_LOCAL_DATA_REPRESENTATION )
8239             NdrConvert( (PMIDL_STUB_MESSAGE) &_StubMsg, (PFORMAT_STRING) &__MIDL_ProcFormatString.Format[406] );
8240         
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 );
8245         
8246         _StubMsg.Buffer = (unsigned char __RPC_FAR *)(((long)_StubMsg.Buffer + 3) & ~ 0x3);
8247         lHashVal = *(( ULONG __RPC_FAR * )_StubMsg.Buffer)++;
8248         
8249         pfName = &_M74;
8250         pBstrLibName = &_M75;
8251         MIDL_memset(
8252                pBstrLibName,
8253                0,
8254                sizeof( BSTR  ));
8255         
8256         *_pdwStubPhase = STUB_CALL_SERVER;
8257         
8258         
8259         _RetVal = ITypeLib_IsName_Stub(
8260                                (ITypeLib *) ((CStdStubBuffer *)This)->pvServerObject,
8261                                szNameBuf,
8262                                lHashVal,
8263                                pfName,
8264                                pBstrLibName);
8265         
8266         *_pdwStubPhase = STUB_MARSHAL;
8267         
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] );
8272         
8273         _StubMsg.BufferLength += 16;
8274         
8275         NdrStubGetBuffer(This, _pRpcChannelBuffer, &_StubMsg);
8276         *(( BOOL __RPC_FAR * )_StubMsg.Buffer)++ = *pfName;
8277         
8278         NdrUserMarshalMarshall( (PMIDL_STUB_MESSAGE)& _StubMsg,
8279                                 (unsigned char __RPC_FAR *)pBstrLibName,
8280                                 (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[1128] );
8281         
8282         _StubMsg.Buffer = (unsigned char __RPC_FAR *)(((long)_StubMsg.Buffer + 3) & ~ 0x3);
8283         *(( HRESULT __RPC_FAR * )_StubMsg.Buffer)++ = _RetVal;
8284         
8285         }
8286     RpcFinally
8287         {
8288         NdrPointerFree( &_StubMsg,
8289                         (unsigned char __RPC_FAR *)pBstrLibName,
8290                         &__MIDL_TypeFormatString.Format[1708] );
8291         
8292         }
8293     RpcEndFinally
8294     _pRpcMessage->BufferLength = 
8295         (unsigned int)((long)_StubMsg.Buffer - (long)_pRpcMessage->Buffer);
8296     
8297 }
8298
8299
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)
8308 {
8309
8310     HRESULT _RetVal;
8311     
8312     RPC_MESSAGE _RpcMessage;
8313     
8314     MIDL_STUB_MESSAGE _StubMsg;
8315     
8316     if(ppTInfo)
8317         {
8318         MIDL_memset(
8319                ppTInfo,
8320                0,
8321                *pcFound * sizeof( ITypeInfo __RPC_FAR *__RPC_FAR * ));
8322         }
8323     if(pBstrLibName)
8324         {
8325         MIDL_memset(
8326                pBstrLibName,
8327                0,
8328                sizeof( BSTR  ));
8329         }
8330     RpcTryExcept
8331         {
8332         NdrProxyInitialize(
8333                       ( void __RPC_FAR *  )This,
8334                       ( PRPC_MESSAGE  )&_RpcMessage,
8335                       ( PMIDL_STUB_MESSAGE  )&_StubMsg,
8336                       ( PMIDL_STUB_DESC  )&Object_StubDesc,
8337                       11);
8338         
8339         
8340         
8341         if(!szNameBuf)
8342             {
8343             RpcRaiseException(RPC_X_NULL_REF_POINTER);
8344             }
8345         if(!ppTInfo)
8346             {
8347             RpcRaiseException(RPC_X_NULL_REF_POINTER);
8348             }
8349         if(!rgMemId)
8350             {
8351             RpcRaiseException(RPC_X_NULL_REF_POINTER);
8352             }
8353         if(!pcFound)
8354             {
8355             RpcRaiseException(RPC_X_NULL_REF_POINTER);
8356             }
8357         if(!pBstrLibName)
8358             {
8359             RpcRaiseException(RPC_X_NULL_REF_POINTER);
8360             }
8361         RpcTryFinally
8362             {
8363             
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] );
8368             
8369             NdrProxyGetBuffer(This, &_StubMsg);
8370             NdrConformantStringMarshall( (PMIDL_STUB_MESSAGE)& _StubMsg,
8371                                          (unsigned char __RPC_FAR *)szNameBuf,
8372                                          (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[1248] );
8373             
8374             _StubMsg.Buffer = (unsigned char __RPC_FAR *)(((long)_StubMsg.Buffer + 3) & ~ 0x3);
8375             *(( ULONG __RPC_FAR * )_StubMsg.Buffer)++ = lHashVal;
8376             
8377             *(( USHORT __RPC_FAR * )_StubMsg.Buffer)++ = *pcFound;
8378             
8379             NdrProxySendReceive(This, &_StubMsg);
8380             
8381             if ( (_RpcMessage.DataRepresentation & 0X0000FFFFUL) != NDR_LOCAL_DATA_REPRESENTATION )
8382                 NdrConvert( (PMIDL_STUB_MESSAGE) &_StubMsg, (PFORMAT_STRING) &__MIDL_ProcFormatString.Format[422] );
8383             
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 );
8388             
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 );
8393             
8394             *pcFound = *(( USHORT __RPC_FAR * )_StubMsg.Buffer)++;
8395             
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 );
8400             
8401             _StubMsg.Buffer = (unsigned char __RPC_FAR *)(((long)_StubMsg.Buffer + 3) & ~ 0x3);
8402             _RetVal = *(( HRESULT __RPC_FAR * )_StubMsg.Buffer)++;
8403             
8404             }
8405         RpcFinally
8406             {
8407             NdrProxyFreeBuffer(This, &_StubMsg);
8408             
8409             }
8410         RpcEndFinally
8411         
8412         }
8413     RpcExcept(_StubMsg.dwStubPhase != PROXY_SENDRECEIVE)
8414         {
8415         _StubMsg.MaxCount = pcFound ? *pcFound : 0;
8416         _StubMsg.Offset = 0;
8417         _StubMsg.ActualCount = _StubMsg.MaxCount;
8418         
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;
8426         
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());
8440         }
8441     RpcEndExcept
8442     return _RetVal;
8443 }
8444
8445 void __RPC_STUB ITypeLib_RemoteFindName_Stub(
8446     IRpcStubBuffer *This,
8447     IRpcChannelBuffer *_pRpcChannelBuffer,
8448     PRPC_MESSAGE _pRpcMessage,
8449     DWORD *_pdwStubPhase)
8450 {
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;
8460     
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
8472         {
8473         if ( (_pRpcMessage->DataRepresentation & 0X0000FFFFUL) != NDR_LOCAL_DATA_REPRESENTATION )
8474             NdrConvert( (PMIDL_STUB_MESSAGE) &_StubMsg, (PFORMAT_STRING) &__MIDL_ProcFormatString.Format[422] );
8475         
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 );
8480         
8481         _StubMsg.Buffer = (unsigned char __RPC_FAR *)(((long)_StubMsg.Buffer + 3) & ~ 0x3);
8482         lHashVal = *(( ULONG __RPC_FAR * )_StubMsg.Buffer)++;
8483         
8484         pcFound = ( USHORT __RPC_FAR * )_StubMsg.Buffer;
8485         _StubMsg.Buffer += sizeof( USHORT  );
8486         
8487         ppTInfo = NdrAllocate(&_StubMsg,*pcFound * 4);
8488         rgMemId = NdrAllocate(&_StubMsg,*pcFound * 4);
8489         pBstrLibName = &_M84;
8490         MIDL_memset(
8491                pBstrLibName,
8492                0,
8493                sizeof( BSTR  ));
8494         
8495         *_pdwStubPhase = STUB_CALL_SERVER;
8496         
8497         
8498         _RetVal = ITypeLib_FindName_Stub(
8499                                  (ITypeLib *) ((CStdStubBuffer *)This)->pvServerObject,
8500                                  szNameBuf,
8501                                  lHashVal,
8502                                  ppTInfo,
8503                                  rgMemId,
8504                                  pcFound,
8505                                  pBstrLibName);
8506         
8507         *_pdwStubPhase = STUB_MARSHAL;
8508         
8509         _StubMsg.BufferLength = 12U + 15U + 4U + 14U + 11U;
8510         _StubMsg.MaxCount = pcFound ? *pcFound : 0;
8511         _StubMsg.Offset = 0;
8512         _StubMsg.ActualCount = pcFound ? *pcFound : 0;
8513         
8514         NdrComplexArrayBufferSize( (PMIDL_STUB_MESSAGE) &_StubMsg,
8515                                    (unsigned char __RPC_FAR *)ppTInfo,
8516                                    (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[1852] );
8517         
8518         _StubMsg.MaxCount = pcFound ? *pcFound : 0;
8519         _StubMsg.Offset = 0;
8520         _StubMsg.ActualCount = pcFound ? *pcFound : 0;
8521         
8522         NdrConformantVaryingArrayBufferSize( (PMIDL_STUB_MESSAGE) &_StubMsg,
8523                                              (unsigned char __RPC_FAR *)rgMemId,
8524                                              (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[1874] );
8525         
8526         NdrUserMarshalBufferSize( (PMIDL_STUB_MESSAGE) &_StubMsg,
8527                                   (unsigned char __RPC_FAR *)pBstrLibName,
8528                                   (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[1128] );
8529         
8530         _StubMsg.BufferLength += 16;
8531         
8532         NdrStubGetBuffer(This, _pRpcChannelBuffer, &_StubMsg);
8533         _StubMsg.MaxCount = pcFound ? *pcFound : 0;
8534         _StubMsg.Offset = 0;
8535         _StubMsg.ActualCount = pcFound ? *pcFound : 0;
8536         
8537         NdrComplexArrayMarshall( (PMIDL_STUB_MESSAGE)& _StubMsg,
8538                                  (unsigned char __RPC_FAR *)ppTInfo,
8539                                  (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[1852] );
8540         
8541         _StubMsg.MaxCount = pcFound ? *pcFound : 0;
8542         _StubMsg.Offset = 0;
8543         _StubMsg.ActualCount = pcFound ? *pcFound : 0;
8544         
8545         NdrConformantVaryingArrayMarshall( (PMIDL_STUB_MESSAGE)& _StubMsg,
8546                                            (unsigned char __RPC_FAR *)rgMemId,
8547                                            (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[1874] );
8548         
8549         *(( USHORT __RPC_FAR * )_StubMsg.Buffer)++ = *pcFound;
8550         
8551         NdrUserMarshalMarshall( (PMIDL_STUB_MESSAGE)& _StubMsg,
8552                                 (unsigned char __RPC_FAR *)pBstrLibName,
8553                                 (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[1128] );
8554         
8555         _StubMsg.Buffer = (unsigned char __RPC_FAR *)(((long)_StubMsg.Buffer + 3) & ~ 0x3);
8556         *(( HRESULT __RPC_FAR * )_StubMsg.Buffer)++ = _RetVal;
8557         
8558         }
8559     RpcFinally
8560         {
8561         _StubMsg.MaxCount = pcFound ? *pcFound : 0;
8562         _StubMsg.Offset = 0;
8563         _StubMsg.ActualCount = pcFound ? *pcFound : 0;
8564         
8565         NdrPointerFree( &_StubMsg,
8566                         (unsigned char __RPC_FAR *)ppTInfo,
8567                         &__MIDL_TypeFormatString.Format[1848] );
8568         
8569         _StubMsg.MaxCount = pcFound ? *pcFound : 0;
8570         _StubMsg.Offset = 0;
8571         _StubMsg.ActualCount = pcFound ? *pcFound : 0;
8572         
8573         NdrPointerFree( &_StubMsg,
8574                         (unsigned char __RPC_FAR *)rgMemId,
8575                         &__MIDL_TypeFormatString.Format[1870] );
8576         
8577         NdrPointerFree( &_StubMsg,
8578                         (unsigned char __RPC_FAR *)pBstrLibName,
8579                         &__MIDL_TypeFormatString.Format[1708] );
8580         
8581         }
8582     RpcEndFinally
8583     _pRpcMessage->BufferLength = 
8584         (unsigned int)((long)_StubMsg.Buffer - (long)_pRpcMessage->Buffer);
8585     
8586 }
8587
8588
8589 /* [call_as] */ HRESULT STDMETHODCALLTYPE ITypeLib_LocalReleaseTLibAttr_Proxy( 
8590     ITypeLib __RPC_FAR * This)
8591 {
8592
8593     HRESULT _RetVal;
8594     
8595     RPC_MESSAGE _RpcMessage;
8596     
8597     MIDL_STUB_MESSAGE _StubMsg;
8598     
8599     RpcTryExcept
8600         {
8601         NdrProxyInitialize(
8602                       ( void __RPC_FAR *  )This,
8603                       ( PRPC_MESSAGE  )&_RpcMessage,
8604                       ( PMIDL_STUB_MESSAGE  )&_StubMsg,
8605                       ( PMIDL_STUB_DESC  )&Object_StubDesc,
8606                       12);
8607         
8608         
8609         
8610         RpcTryFinally
8611             {
8612             
8613             _StubMsg.BufferLength = 0U;
8614             NdrProxyGetBuffer(This, &_StubMsg);
8615             NdrProxySendReceive(This, &_StubMsg);
8616             
8617             if ( (_RpcMessage.DataRepresentation & 0X0000FFFFUL) != NDR_LOCAL_DATA_REPRESENTATION )
8618                 NdrConvert( (PMIDL_STUB_MESSAGE) &_StubMsg, (PFORMAT_STRING) &__MIDL_ProcFormatString.Format[88] );
8619             
8620             _RetVal = *(( HRESULT __RPC_FAR * )_StubMsg.Buffer)++;
8621             
8622             }
8623         RpcFinally
8624             {
8625             NdrProxyFreeBuffer(This, &_StubMsg);
8626             
8627             }
8628         RpcEndFinally
8629         
8630         }
8631     RpcExcept(_StubMsg.dwStubPhase != PROXY_SENDRECEIVE)
8632         {
8633         _RetVal = NdrProxyErrorHandler(RpcExceptionCode());
8634         }
8635     RpcEndExcept
8636     return _RetVal;
8637 }
8638
8639 void __RPC_STUB ITypeLib_LocalReleaseTLibAttr_Stub(
8640     IRpcStubBuffer *This,
8641     IRpcChannelBuffer *_pRpcChannelBuffer,
8642     PRPC_MESSAGE _pRpcMessage,
8643     DWORD *_pdwStubPhase)
8644 {
8645     HRESULT _RetVal;
8646     MIDL_STUB_MESSAGE _StubMsg;
8647     
8648 NdrStubInitialize(
8649                      _pRpcMessage,
8650                      &_StubMsg,
8651                      &Object_StubDesc,
8652                      _pRpcChannelBuffer);
8653     RpcTryFinally
8654         {
8655         
8656         *_pdwStubPhase = STUB_CALL_SERVER;
8657         
8658         
8659         _RetVal = ITypeLib_ReleaseTLibAttr_Stub((ITypeLib *) ((CStdStubBuffer *)This)->pvServerObject);
8660         
8661         *_pdwStubPhase = STUB_MARSHAL;
8662         
8663         _StubMsg.BufferLength = 4U;
8664         NdrStubGetBuffer(This, _pRpcChannelBuffer, &_StubMsg);
8665         *(( HRESULT __RPC_FAR * )_StubMsg.Buffer)++ = _RetVal;
8666         
8667         }
8668     RpcFinally
8669         {
8670         }
8671     RpcEndFinally
8672     _pRpcMessage->BufferLength = 
8673         (unsigned int)((long)_StubMsg.Buffer - (long)_pRpcMessage->Buffer);
8674     
8675 }
8676
8677 const CINTERFACE_PROXY_VTABLE(13) _ITypeLibProxyVtbl = 
8678 {
8679     { &IID_ITypeLib },
8680     {
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
8694     }
8695 };
8696
8697
8698 static const PRPC_STUB_FUNCTION ITypeLib_table[] =
8699 {
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
8710 };
8711
8712 const CInterfaceStubVtbl _ITypeLibStubVtbl =
8713 {
8714     {
8715         &IID_ITypeLib,
8716         0,
8717         13,
8718         &ITypeLib_table[-3]
8719     },
8720     { CStdStubBuffer_METHODS }
8721 };
8722
8723
8724 /* Object interface: ITypeLib2, ver. 0.0,
8725    GUID={0x00020411,0x0000,0x0000,{0xC0,0x00,0x00,0x00,0x00,0x00,0x00,0x46}} */
8726
8727
8728 extern const MIDL_STUB_DESC Object_StubDesc;
8729
8730
8731 HRESULT STDMETHODCALLTYPE ITypeLib2_GetCustData_Proxy( 
8732     ITypeLib2 __RPC_FAR * This,
8733     /* [in] */ REFGUID guid,
8734     /* [out] */ VARIANT __RPC_FAR *pVarVal)
8735 {
8736
8737     HRESULT _RetVal;
8738     
8739     RPC_MESSAGE _RpcMessage;
8740     
8741     MIDL_STUB_MESSAGE _StubMsg;
8742     
8743     if(pVarVal)
8744         {
8745         MIDL_memset(
8746                pVarVal,
8747                0,
8748                sizeof( VARIANT  ));
8749         }
8750     RpcTryExcept
8751         {
8752         NdrProxyInitialize(
8753                       ( void __RPC_FAR *  )This,
8754                       ( PRPC_MESSAGE  )&_RpcMessage,
8755                       ( PMIDL_STUB_MESSAGE  )&_StubMsg,
8756                       ( PMIDL_STUB_DESC  )&Object_StubDesc,
8757                       13);
8758         
8759         
8760         
8761         if(!guid)
8762             {
8763             RpcRaiseException(RPC_X_NULL_REF_POINTER);
8764             }
8765         if(!pVarVal)
8766             {
8767             RpcRaiseException(RPC_X_NULL_REF_POINTER);
8768             }
8769         RpcTryFinally
8770             {
8771             
8772             _StubMsg.BufferLength = 0U;
8773             NdrSimpleStructBufferSize( (PMIDL_STUB_MESSAGE) &_StubMsg,
8774                                        (unsigned char __RPC_FAR *)guid,
8775                                        (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[38] );
8776             
8777             NdrProxyGetBuffer(This, &_StubMsg);
8778             NdrSimpleStructMarshall( (PMIDL_STUB_MESSAGE)& _StubMsg,
8779                                      (unsigned char __RPC_FAR *)guid,
8780                                      (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[38] );
8781             
8782             NdrProxySendReceive(This, &_StubMsg);
8783             
8784             if ( (_RpcMessage.DataRepresentation & 0X0000FFFFUL) != NDR_LOCAL_DATA_REPRESENTATION )
8785                 NdrConvert( (PMIDL_STUB_MESSAGE) &_StubMsg, (PFORMAT_STRING) &__MIDL_ProcFormatString.Format[298] );
8786             
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 );
8791             
8792             _StubMsg.Buffer = (unsigned char __RPC_FAR *)(((long)_StubMsg.Buffer + 3) & ~ 0x3);
8793             _RetVal = *(( HRESULT __RPC_FAR * )_StubMsg.Buffer)++;
8794             
8795             }
8796         RpcFinally
8797             {
8798             NdrProxyFreeBuffer(This, &_StubMsg);
8799             
8800             }
8801         RpcEndFinally
8802         
8803         }
8804     RpcExcept(_StubMsg.dwStubPhase != PROXY_SENDRECEIVE)
8805         {
8806         NdrClearOutParameters(
8807                          ( PMIDL_STUB_MESSAGE  )&_StubMsg,
8808                          ( PFORMAT_STRING  )&__MIDL_TypeFormatString.Format[1102],
8809                          ( void __RPC_FAR * )pVarVal);
8810         _RetVal = NdrProxyErrorHandler(RpcExceptionCode());
8811         }
8812     RpcEndExcept
8813     return _RetVal;
8814 }
8815
8816 void __RPC_STUB ITypeLib2_GetCustData_Stub(
8817     IRpcStubBuffer *This,
8818     IRpcChannelBuffer *_pRpcChannelBuffer,
8819     PRPC_MESSAGE _pRpcMessage,
8820     DWORD *_pdwStubPhase)
8821 {
8822     VARIANT _M85;
8823     HRESULT _RetVal;
8824     MIDL_STUB_MESSAGE _StubMsg;
8825     REFGUID guid = 0;
8826     VARIANT __RPC_FAR *pVarVal;
8827     
8828 NdrStubInitialize(
8829                      _pRpcMessage,
8830                      &_StubMsg,
8831                      &Object_StubDesc,
8832                      _pRpcChannelBuffer);
8833     ( VARIANT __RPC_FAR * )pVarVal = 0;
8834     RpcTryFinally
8835         {
8836         if ( (_pRpcMessage->DataRepresentation & 0X0000FFFFUL) != NDR_LOCAL_DATA_REPRESENTATION )
8837             NdrConvert( (PMIDL_STUB_MESSAGE) &_StubMsg, (PFORMAT_STRING) &__MIDL_ProcFormatString.Format[298] );
8838         
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 );
8843         
8844         pVarVal = &_M85;
8845         MIDL_memset(
8846                pVarVal,
8847                0,
8848                sizeof( VARIANT  ));
8849         
8850         *_pdwStubPhase = STUB_CALL_SERVER;
8851         _RetVal = (((ITypeLib2*) ((CStdStubBuffer *)This)->pvServerObject)->lpVtbl) -> GetCustData(
8852                (ITypeLib2 *) ((CStdStubBuffer *)This)->pvServerObject,
8853                guid,
8854                pVarVal);
8855         
8856         *_pdwStubPhase = STUB_MARSHAL;
8857         
8858         _StubMsg.BufferLength = 8U + 11U;
8859         NdrUserMarshalBufferSize( (PMIDL_STUB_MESSAGE) &_StubMsg,
8860                                   (unsigned char __RPC_FAR *)pVarVal,
8861                                   (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[1110] );
8862         
8863         _StubMsg.BufferLength += 16;
8864         
8865         NdrStubGetBuffer(This, _pRpcChannelBuffer, &_StubMsg);
8866         NdrUserMarshalMarshall( (PMIDL_STUB_MESSAGE)& _StubMsg,
8867                                 (unsigned char __RPC_FAR *)pVarVal,
8868                                 (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[1110] );
8869         
8870         _StubMsg.Buffer = (unsigned char __RPC_FAR *)(((long)_StubMsg.Buffer + 3) & ~ 0x3);
8871         *(( HRESULT __RPC_FAR * )_StubMsg.Buffer)++ = _RetVal;
8872         
8873         }
8874     RpcFinally
8875         {
8876         NdrPointerFree( &_StubMsg,
8877                         (unsigned char __RPC_FAR *)pVarVal,
8878                         &__MIDL_TypeFormatString.Format[1102] );
8879         
8880         }
8881     RpcEndFinally
8882     _pRpcMessage->BufferLength = 
8883         (unsigned int)((long)_StubMsg.Buffer - (long)_pRpcMessage->Buffer);
8884     
8885 }
8886
8887
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)
8892 {
8893
8894     HRESULT _RetVal;
8895     
8896     RPC_MESSAGE _RpcMessage;
8897     
8898     MIDL_STUB_MESSAGE _StubMsg;
8899     
8900     RpcTryExcept
8901         {
8902         NdrProxyInitialize(
8903                       ( void __RPC_FAR *  )This,
8904                       ( PRPC_MESSAGE  )&_RpcMessage,
8905                       ( PMIDL_STUB_MESSAGE  )&_StubMsg,
8906                       ( PMIDL_STUB_DESC  )&Object_StubDesc,
8907                       14);
8908         
8909         
8910         
8911         if(!pcUniqueNames)
8912             {
8913             RpcRaiseException(RPC_X_NULL_REF_POINTER);
8914             }
8915         if(!pcchUniqueNames)
8916             {
8917             RpcRaiseException(RPC_X_NULL_REF_POINTER);
8918             }
8919         RpcTryFinally
8920             {
8921             
8922             _StubMsg.BufferLength = 0U;
8923             NdrProxyGetBuffer(This, &_StubMsg);
8924             NdrProxySendReceive(This, &_StubMsg);
8925             
8926             if ( (_RpcMessage.DataRepresentation & 0X0000FFFFUL) != NDR_LOCAL_DATA_REPRESENTATION )
8927                 NdrConvert( (PMIDL_STUB_MESSAGE) &_StubMsg, (PFORMAT_STRING) &__MIDL_ProcFormatString.Format[446] );
8928             
8929             *pcUniqueNames = *(( ULONG __RPC_FAR * )_StubMsg.Buffer)++;
8930             
8931             *pcchUniqueNames = *(( ULONG __RPC_FAR * )_StubMsg.Buffer)++;
8932             
8933             _RetVal = *(( HRESULT __RPC_FAR * )_StubMsg.Buffer)++;
8934             
8935             }
8936         RpcFinally
8937             {
8938             NdrProxyFreeBuffer(This, &_StubMsg);
8939             
8940             }
8941         RpcEndFinally
8942         
8943         }
8944     RpcExcept(_StubMsg.dwStubPhase != PROXY_SENDRECEIVE)
8945         {
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());
8955         }
8956     RpcEndExcept
8957     return _RetVal;
8958 }
8959
8960 void __RPC_STUB ITypeLib2_RemoteGetLibStatistics_Stub(
8961     IRpcStubBuffer *This,
8962     IRpcChannelBuffer *_pRpcChannelBuffer,
8963     PRPC_MESSAGE _pRpcMessage,
8964     DWORD *_pdwStubPhase)
8965 {
8966     ULONG _M86;
8967     ULONG _M87;
8968     HRESULT _RetVal;
8969     MIDL_STUB_MESSAGE _StubMsg;
8970     ULONG __RPC_FAR *pcUniqueNames;
8971     ULONG __RPC_FAR *pcchUniqueNames;
8972     
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
8981         {
8982         pcUniqueNames = &_M86;
8983         pcchUniqueNames = &_M87;
8984         
8985         *_pdwStubPhase = STUB_CALL_SERVER;
8986         
8987         
8988         _RetVal = ITypeLib2_GetLibStatistics_Stub(
8989                                           (ITypeLib2 *) ((CStdStubBuffer *)This)->pvServerObject,
8990                                           pcUniqueNames,
8991                                           pcchUniqueNames);
8992         
8993         *_pdwStubPhase = STUB_MARSHAL;
8994         
8995         _StubMsg.BufferLength = 4U + 4U + 4U;
8996         NdrStubGetBuffer(This, _pRpcChannelBuffer, &_StubMsg);
8997         *(( ULONG __RPC_FAR * )_StubMsg.Buffer)++ = *pcUniqueNames;
8998         
8999         *(( ULONG __RPC_FAR * )_StubMsg.Buffer)++ = *pcchUniqueNames;
9000         
9001         *(( HRESULT __RPC_FAR * )_StubMsg.Buffer)++ = _RetVal;
9002         
9003         }
9004     RpcFinally
9005         {
9006         }
9007     RpcEndFinally
9008     _pRpcMessage->BufferLength = 
9009         (unsigned int)((long)_StubMsg.Buffer - (long)_pRpcMessage->Buffer);
9010     
9011 }
9012
9013
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)
9022 {
9023
9024     HRESULT _RetVal;
9025     
9026     RPC_MESSAGE _RpcMessage;
9027     
9028     MIDL_STUB_MESSAGE _StubMsg;
9029     
9030     if(pbstrHelpString)
9031         {
9032         MIDL_memset(
9033                pbstrHelpString,
9034                0,
9035                sizeof( BSTR  ));
9036         }
9037     if(pbstrHelpStringDll)
9038         {
9039         MIDL_memset(
9040                pbstrHelpStringDll,
9041                0,
9042                sizeof( BSTR  ));
9043         }
9044     RpcTryExcept
9045         {
9046         NdrProxyInitialize(
9047                       ( void __RPC_FAR *  )This,
9048                       ( PRPC_MESSAGE  )&_RpcMessage,
9049                       ( PMIDL_STUB_MESSAGE  )&_StubMsg,
9050                       ( PMIDL_STUB_DESC  )&Object_StubDesc,
9051                       15);
9052         
9053         
9054         
9055         if(!pbstrHelpString)
9056             {
9057             RpcRaiseException(RPC_X_NULL_REF_POINTER);
9058             }
9059         if(!pdwHelpStringContext)
9060             {
9061             RpcRaiseException(RPC_X_NULL_REF_POINTER);
9062             }
9063         if(!pbstrHelpStringDll)
9064             {
9065             RpcRaiseException(RPC_X_NULL_REF_POINTER);
9066             }
9067         RpcTryFinally
9068             {
9069             
9070             _StubMsg.BufferLength = 4U + 4U + 4U;
9071             NdrProxyGetBuffer(This, &_StubMsg);
9072             *(( INT __RPC_FAR * )_StubMsg.Buffer)++ = index;
9073             
9074             *(( LCID __RPC_FAR * )_StubMsg.Buffer)++ = lcid;
9075             
9076             *(( DWORD __RPC_FAR * )_StubMsg.Buffer)++ = refPtrFlags;
9077             
9078             NdrProxySendReceive(This, &_StubMsg);
9079             
9080             if ( (_RpcMessage.DataRepresentation & 0X0000FFFFUL) != NDR_LOCAL_DATA_REPRESENTATION )
9081                 NdrConvert( (PMIDL_STUB_MESSAGE) &_StubMsg, (PFORMAT_STRING) &__MIDL_ProcFormatString.Format[334] );
9082             
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 );
9087             
9088             _StubMsg.Buffer = (unsigned char __RPC_FAR *)(((long)_StubMsg.Buffer + 3) & ~ 0x3);
9089             *pdwHelpStringContext = *(( DWORD __RPC_FAR * )_StubMsg.Buffer)++;
9090             
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 );
9095             
9096             _StubMsg.Buffer = (unsigned char __RPC_FAR *)(((long)_StubMsg.Buffer + 3) & ~ 0x3);
9097             _RetVal = *(( HRESULT __RPC_FAR * )_StubMsg.Buffer)++;
9098             
9099             }
9100         RpcFinally
9101             {
9102             NdrProxyFreeBuffer(This, &_StubMsg);
9103             
9104             }
9105         RpcEndFinally
9106         
9107         }
9108     RpcExcept(_StubMsg.dwStubPhase != PROXY_SENDRECEIVE)
9109         {
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());
9123         }
9124     RpcEndExcept
9125     return _RetVal;
9126 }
9127
9128 void __RPC_STUB ITypeLib2_RemoteGetDocumentation2_Stub(
9129     IRpcStubBuffer *This,
9130     IRpcChannelBuffer *_pRpcChannelBuffer,
9131     PRPC_MESSAGE _pRpcMessage,
9132     DWORD *_pdwStubPhase)
9133 {
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;
9145     
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
9155         {
9156         if ( (_pRpcMessage->DataRepresentation & 0X0000FFFFUL) != NDR_LOCAL_DATA_REPRESENTATION )
9157             NdrConvert( (PMIDL_STUB_MESSAGE) &_StubMsg, (PFORMAT_STRING) &__MIDL_ProcFormatString.Format[334] );
9158         
9159         index = *(( INT __RPC_FAR * )_StubMsg.Buffer)++;
9160         
9161         lcid = *(( LCID __RPC_FAR * )_StubMsg.Buffer)++;
9162         
9163         refPtrFlags = *(( DWORD __RPC_FAR * )_StubMsg.Buffer)++;
9164         
9165         pbstrHelpString = &_M88;
9166         MIDL_memset(
9167                pbstrHelpString,
9168                0,
9169                sizeof( BSTR  ));
9170         pdwHelpStringContext = &_M89;
9171         pbstrHelpStringDll = &_M90;
9172         MIDL_memset(
9173                pbstrHelpStringDll,
9174                0,
9175                sizeof( BSTR  ));
9176         
9177         *_pdwStubPhase = STUB_CALL_SERVER;
9178         
9179         
9180         _RetVal = ITypeLib2_GetDocumentation2_Stub(
9181                                            (ITypeLib2 *) ((CStdStubBuffer *)This)->pvServerObject,
9182                                            index,
9183                                            lcid,
9184                                            refPtrFlags,
9185                                            pbstrHelpString,
9186                                            pdwHelpStringContext,
9187                                            pbstrHelpStringDll);
9188         
9189         *_pdwStubPhase = STUB_MARSHAL;
9190         
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] );
9195         
9196         NdrUserMarshalBufferSize( (PMIDL_STUB_MESSAGE) &_StubMsg,
9197                                   (unsigned char __RPC_FAR *)pbstrHelpStringDll,
9198                                   (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[1128] );
9199         
9200         _StubMsg.BufferLength += 16;
9201         
9202         NdrStubGetBuffer(This, _pRpcChannelBuffer, &_StubMsg);
9203         NdrUserMarshalMarshall( (PMIDL_STUB_MESSAGE)& _StubMsg,
9204                                 (unsigned char __RPC_FAR *)pbstrHelpString,
9205                                 (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[1128] );
9206         
9207         _StubMsg.Buffer = (unsigned char __RPC_FAR *)(((long)_StubMsg.Buffer + 3) & ~ 0x3);
9208         *(( DWORD __RPC_FAR * )_StubMsg.Buffer)++ = *pdwHelpStringContext;
9209         
9210         NdrUserMarshalMarshall( (PMIDL_STUB_MESSAGE)& _StubMsg,
9211                                 (unsigned char __RPC_FAR *)pbstrHelpStringDll,
9212                                 (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[1128] );
9213         
9214         _StubMsg.Buffer = (unsigned char __RPC_FAR *)(((long)_StubMsg.Buffer + 3) & ~ 0x3);
9215         *(( HRESULT __RPC_FAR * )_StubMsg.Buffer)++ = _RetVal;
9216         
9217         }
9218     RpcFinally
9219         {
9220         NdrPointerFree( &_StubMsg,
9221                         (unsigned char __RPC_FAR *)pbstrHelpString,
9222                         &__MIDL_TypeFormatString.Format[1708] );
9223         
9224         NdrPointerFree( &_StubMsg,
9225                         (unsigned char __RPC_FAR *)pbstrHelpStringDll,
9226                         &__MIDL_TypeFormatString.Format[1708] );
9227         
9228         }
9229     RpcEndFinally
9230     _pRpcMessage->BufferLength = 
9231         (unsigned int)((long)_StubMsg.Buffer - (long)_pRpcMessage->Buffer);
9232     
9233 }
9234
9235
9236 HRESULT STDMETHODCALLTYPE ITypeLib2_GetAllCustData_Proxy( 
9237     ITypeLib2 __RPC_FAR * This,
9238     /* [out] */ CUSTDATA __RPC_FAR *pCustData)
9239 {
9240
9241     HRESULT _RetVal;
9242     
9243     RPC_MESSAGE _RpcMessage;
9244     
9245     MIDL_STUB_MESSAGE _StubMsg;
9246     
9247     if(pCustData)
9248         {
9249         MIDL_memset(
9250                pCustData,
9251                0,
9252                sizeof( CUSTDATA  ));
9253         }
9254     RpcTryExcept
9255         {
9256         NdrProxyInitialize(
9257                       ( void __RPC_FAR *  )This,
9258                       ( PRPC_MESSAGE  )&_RpcMessage,
9259                       ( PMIDL_STUB_MESSAGE  )&_StubMsg,
9260                       ( PMIDL_STUB_DESC  )&Object_StubDesc,
9261                       16);
9262         
9263         
9264         
9265         if(!pCustData)
9266             {
9267             RpcRaiseException(RPC_X_NULL_REF_POINTER);
9268             }
9269         RpcTryFinally
9270             {
9271             
9272             _StubMsg.BufferLength = 0U;
9273             NdrProxyGetBuffer(This, &_StubMsg);
9274             NdrProxySendReceive(This, &_StubMsg);
9275             
9276             if ( (_RpcMessage.DataRepresentation & 0X0000FFFFUL) != NDR_LOCAL_DATA_REPRESENTATION )
9277                 NdrConvert( (PMIDL_STUB_MESSAGE) &_StubMsg, (PFORMAT_STRING) &__MIDL_ProcFormatString.Format[354] );
9278             
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 );
9283             
9284             _StubMsg.Buffer = (unsigned char __RPC_FAR *)(((long)_StubMsg.Buffer + 3) & ~ 0x3);
9285             _RetVal = *(( HRESULT __RPC_FAR * )_StubMsg.Buffer)++;
9286             
9287             }
9288         RpcFinally
9289             {
9290             NdrProxyFreeBuffer(This, &_StubMsg);
9291             
9292             }
9293         RpcEndFinally
9294         
9295         }
9296     RpcExcept(_StubMsg.dwStubPhase != PROXY_SENDRECEIVE)
9297         {
9298         NdrClearOutParameters(
9299                          ( PMIDL_STUB_MESSAGE  )&_StubMsg,
9300                          ( PFORMAT_STRING  )&__MIDL_TypeFormatString.Format[1748],
9301                          ( void __RPC_FAR * )pCustData);
9302         _RetVal = NdrProxyErrorHandler(RpcExceptionCode());
9303         }
9304     RpcEndExcept
9305     return _RetVal;
9306 }
9307
9308 void __RPC_STUB ITypeLib2_GetAllCustData_Stub(
9309     IRpcStubBuffer *This,
9310     IRpcChannelBuffer *_pRpcChannelBuffer,
9311     PRPC_MESSAGE _pRpcMessage,
9312     DWORD *_pdwStubPhase)
9313 {
9314     HRESULT _RetVal;
9315     MIDL_STUB_MESSAGE _StubMsg;
9316     CUSTDATA _pCustDataM;
9317     CUSTDATA __RPC_FAR *pCustData;
9318     
9319 NdrStubInitialize(
9320                      _pRpcMessage,
9321                      &_StubMsg,
9322                      &Object_StubDesc,
9323                      _pRpcChannelBuffer);
9324     ( CUSTDATA __RPC_FAR * )pCustData = 0;
9325     RpcTryFinally
9326         {
9327         pCustData = &_pCustDataM;
9328         pCustData -> prgCustData = 0;
9329         
9330         *_pdwStubPhase = STUB_CALL_SERVER;
9331         _RetVal = (((ITypeLib2*) ((CStdStubBuffer *)This)->pvServerObject)->lpVtbl) -> GetAllCustData((ITypeLib2 *) ((CStdStubBuffer *)This)->pvServerObject,pCustData);
9332         
9333         *_pdwStubPhase = STUB_MARSHAL;
9334         
9335         _StubMsg.BufferLength = 0U + 11U;
9336         NdrComplexStructBufferSize( (PMIDL_STUB_MESSAGE) &_StubMsg,
9337                                     (unsigned char __RPC_FAR *)pCustData,
9338                                     (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[1788] );
9339         
9340         _StubMsg.BufferLength += 16;
9341         
9342         NdrStubGetBuffer(This, _pRpcChannelBuffer, &_StubMsg);
9343         NdrComplexStructMarshall( (PMIDL_STUB_MESSAGE)& _StubMsg,
9344                                   (unsigned char __RPC_FAR *)pCustData,
9345                                   (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[1788] );
9346         
9347         _StubMsg.Buffer = (unsigned char __RPC_FAR *)(((long)_StubMsg.Buffer + 3) & ~ 0x3);
9348         *(( HRESULT __RPC_FAR * )_StubMsg.Buffer)++ = _RetVal;
9349         
9350         }
9351     RpcFinally
9352         {
9353         NdrPointerFree( &_StubMsg,
9354                         (unsigned char __RPC_FAR *)pCustData,
9355                         &__MIDL_TypeFormatString.Format[1748] );
9356         
9357         }
9358     RpcEndFinally
9359     _pRpcMessage->BufferLength = 
9360         (unsigned int)((long)_StubMsg.Buffer - (long)_pRpcMessage->Buffer);
9361     
9362 }
9363
9364 const CINTERFACE_PROXY_VTABLE(17) _ITypeLib2ProxyVtbl = 
9365 {
9366     { &IID_ITypeLib2 },
9367     {
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
9385     }
9386 };
9387
9388
9389 static const PRPC_STUB_FUNCTION ITypeLib2_table[] =
9390 {
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
9405 };
9406
9407 const CInterfaceStubVtbl _ITypeLib2StubVtbl =
9408 {
9409     {
9410         &IID_ITypeLib2,
9411         0,
9412         17,
9413         &ITypeLib2_table[-3]
9414     },
9415     { CStdStubBuffer_METHODS }
9416 };
9417
9418
9419 /* Object interface: ITypeChangeEvents, ver. 0.0,
9420    GUID={0x00020410,0x0000,0x0000,{0xC0,0x00,0x00,0x00,0x00,0x00,0x00,0x46}} */
9421
9422
9423 /* Object interface: IErrorInfo, ver. 0.0,
9424    GUID={0x1CF2B120,0x547D,0x101B,{0x8E,0x65,0x08,0x00,0x2B,0x2B,0xD1,0x19}} */
9425
9426
9427 extern const MIDL_STUB_DESC Object_StubDesc;
9428
9429
9430 HRESULT STDMETHODCALLTYPE IErrorInfo_GetGUID_Proxy( 
9431     IErrorInfo __RPC_FAR * This,
9432     /* [out] */ GUID __RPC_FAR *pGUID)
9433 {
9434
9435     HRESULT _RetVal;
9436     
9437     RPC_MESSAGE _RpcMessage;
9438     
9439     MIDL_STUB_MESSAGE _StubMsg;
9440     
9441     if(pGUID)
9442         {
9443         MIDL_memset(
9444                pGUID,
9445                0,
9446                sizeof( IID  ));
9447         }
9448     RpcTryExcept
9449         {
9450         NdrProxyInitialize(
9451                       ( void __RPC_FAR *  )This,
9452                       ( PRPC_MESSAGE  )&_RpcMessage,
9453                       ( PMIDL_STUB_MESSAGE  )&_StubMsg,
9454                       ( PMIDL_STUB_DESC  )&Object_StubDesc,
9455                       3);
9456         
9457         
9458         
9459         if(!pGUID)
9460             {
9461             RpcRaiseException(RPC_X_NULL_REF_POINTER);
9462             }
9463         RpcTryFinally
9464             {
9465             
9466             _StubMsg.BufferLength = 0U;
9467             NdrProxyGetBuffer(This, &_StubMsg);
9468             NdrProxySendReceive(This, &_StubMsg);
9469             
9470             if ( (_RpcMessage.DataRepresentation & 0X0000FFFFUL) != NDR_LOCAL_DATA_REPRESENTATION )
9471                 NdrConvert( (PMIDL_STUB_MESSAGE) &_StubMsg, (PFORMAT_STRING) &__MIDL_ProcFormatString.Format[456] );
9472             
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 );
9477             
9478             _RetVal = *(( HRESULT __RPC_FAR * )_StubMsg.Buffer)++;
9479             
9480             }
9481         RpcFinally
9482             {
9483             NdrProxyFreeBuffer(This, &_StubMsg);
9484             
9485             }
9486         RpcEndFinally
9487         
9488         }
9489     RpcExcept(_StubMsg.dwStubPhase != PROXY_SENDRECEIVE)
9490         {
9491         NdrClearOutParameters(
9492                          ( PMIDL_STUB_MESSAGE  )&_StubMsg,
9493                          ( PFORMAT_STRING  )&__MIDL_TypeFormatString.Format[1892],
9494                          ( void __RPC_FAR * )pGUID);
9495         _RetVal = NdrProxyErrorHandler(RpcExceptionCode());
9496         }
9497     RpcEndExcept
9498     return _RetVal;
9499 }
9500
9501 void __RPC_STUB IErrorInfo_GetGUID_Stub(
9502     IRpcStubBuffer *This,
9503     IRpcChannelBuffer *_pRpcChannelBuffer,
9504     PRPC_MESSAGE _pRpcMessage,
9505     DWORD *_pdwStubPhase)
9506 {
9507     HRESULT _RetVal;
9508     MIDL_STUB_MESSAGE _StubMsg;
9509     IID _pGUIDM;
9510     GUID __RPC_FAR *pGUID;
9511     
9512 NdrStubInitialize(
9513                      _pRpcMessage,
9514                      &_StubMsg,
9515                      &Object_StubDesc,
9516                      _pRpcChannelBuffer);
9517     ( GUID __RPC_FAR * )pGUID = 0;
9518     RpcTryFinally
9519         {
9520         pGUID = &_pGUIDM;
9521         
9522         *_pdwStubPhase = STUB_CALL_SERVER;
9523         _RetVal = (((IErrorInfo*) ((CStdStubBuffer *)This)->pvServerObject)->lpVtbl) -> GetGUID((IErrorInfo *) ((CStdStubBuffer *)This)->pvServerObject,pGUID);
9524         
9525         *_pdwStubPhase = STUB_MARSHAL;
9526         
9527         _StubMsg.BufferLength = 0U + 11U;
9528         NdrSimpleStructBufferSize( (PMIDL_STUB_MESSAGE) &_StubMsg,
9529                                    (unsigned char __RPC_FAR *)pGUID,
9530                                    (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[38] );
9531         
9532         _StubMsg.BufferLength += 16;
9533         
9534         NdrStubGetBuffer(This, _pRpcChannelBuffer, &_StubMsg);
9535         NdrSimpleStructMarshall( (PMIDL_STUB_MESSAGE)& _StubMsg,
9536                                  (unsigned char __RPC_FAR *)pGUID,
9537                                  (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[38] );
9538         
9539         *(( HRESULT __RPC_FAR * )_StubMsg.Buffer)++ = _RetVal;
9540         
9541         }
9542     RpcFinally
9543         {
9544         }
9545     RpcEndFinally
9546     _pRpcMessage->BufferLength = 
9547         (unsigned int)((long)_StubMsg.Buffer - (long)_pRpcMessage->Buffer);
9548     
9549 }
9550
9551
9552 HRESULT STDMETHODCALLTYPE IErrorInfo_GetSource_Proxy( 
9553     IErrorInfo __RPC_FAR * This,
9554     /* [out] */ BSTR __RPC_FAR *pBstrSource)
9555 {
9556
9557     HRESULT _RetVal;
9558     
9559     RPC_MESSAGE _RpcMessage;
9560     
9561     MIDL_STUB_MESSAGE _StubMsg;
9562     
9563     if(pBstrSource)
9564         {
9565         MIDL_memset(
9566                pBstrSource,
9567                0,
9568                sizeof( BSTR  ));
9569         }
9570     RpcTryExcept
9571         {
9572         NdrProxyInitialize(
9573                       ( void __RPC_FAR *  )This,
9574                       ( PRPC_MESSAGE  )&_RpcMessage,
9575                       ( PMIDL_STUB_MESSAGE  )&_StubMsg,
9576                       ( PMIDL_STUB_DESC  )&Object_StubDesc,
9577                       4);
9578         
9579         
9580         
9581         if(!pBstrSource)
9582             {
9583             RpcRaiseException(RPC_X_NULL_REF_POINTER);
9584             }
9585         RpcTryFinally
9586             {
9587             
9588             _StubMsg.BufferLength = 0U;
9589             NdrProxyGetBuffer(This, &_StubMsg);
9590             NdrProxySendReceive(This, &_StubMsg);
9591             
9592             if ( (_RpcMessage.DataRepresentation & 0X0000FFFFUL) != NDR_LOCAL_DATA_REPRESENTATION )
9593                 NdrConvert( (PMIDL_STUB_MESSAGE) &_StubMsg, (PFORMAT_STRING) &__MIDL_ProcFormatString.Format[462] );
9594             
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 );
9599             
9600             _StubMsg.Buffer = (unsigned char __RPC_FAR *)(((long)_StubMsg.Buffer + 3) & ~ 0x3);
9601             _RetVal = *(( HRESULT __RPC_FAR * )_StubMsg.Buffer)++;
9602             
9603             }
9604         RpcFinally
9605             {
9606             NdrProxyFreeBuffer(This, &_StubMsg);
9607             
9608             }
9609         RpcEndFinally
9610         
9611         }
9612     RpcExcept(_StubMsg.dwStubPhase != PROXY_SENDRECEIVE)
9613         {
9614         NdrClearOutParameters(
9615                          ( PMIDL_STUB_MESSAGE  )&_StubMsg,
9616                          ( PFORMAT_STRING  )&__MIDL_TypeFormatString.Format[1708],
9617                          ( void __RPC_FAR * )pBstrSource);
9618         _RetVal = NdrProxyErrorHandler(RpcExceptionCode());
9619         }
9620     RpcEndExcept
9621     return _RetVal;
9622 }
9623
9624 void __RPC_STUB IErrorInfo_GetSource_Stub(
9625     IRpcStubBuffer *This,
9626     IRpcChannelBuffer *_pRpcChannelBuffer,
9627     PRPC_MESSAGE _pRpcMessage,
9628     DWORD *_pdwStubPhase)
9629 {
9630     BSTR _M91;
9631     HRESULT _RetVal;
9632     MIDL_STUB_MESSAGE _StubMsg;
9633     BSTR __RPC_FAR *pBstrSource;
9634     
9635 NdrStubInitialize(
9636                      _pRpcMessage,
9637                      &_StubMsg,
9638                      &Object_StubDesc,
9639                      _pRpcChannelBuffer);
9640     ( BSTR __RPC_FAR * )pBstrSource = 0;
9641     RpcTryFinally
9642         {
9643         pBstrSource = &_M91;
9644         MIDL_memset(
9645                pBstrSource,
9646                0,
9647                sizeof( BSTR  ));
9648         
9649         *_pdwStubPhase = STUB_CALL_SERVER;
9650         _RetVal = (((IErrorInfo*) ((CStdStubBuffer *)This)->pvServerObject)->lpVtbl) -> GetSource((IErrorInfo *) ((CStdStubBuffer *)This)->pvServerObject,pBstrSource);
9651         
9652         *_pdwStubPhase = STUB_MARSHAL;
9653         
9654         _StubMsg.BufferLength = 8U + 11U;
9655         NdrUserMarshalBufferSize( (PMIDL_STUB_MESSAGE) &_StubMsg,
9656                                   (unsigned char __RPC_FAR *)pBstrSource,
9657                                   (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[1128] );
9658         
9659         _StubMsg.BufferLength += 16;
9660         
9661         NdrStubGetBuffer(This, _pRpcChannelBuffer, &_StubMsg);
9662         NdrUserMarshalMarshall( (PMIDL_STUB_MESSAGE)& _StubMsg,
9663                                 (unsigned char __RPC_FAR *)pBstrSource,
9664                                 (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[1128] );
9665         
9666         _StubMsg.Buffer = (unsigned char __RPC_FAR *)(((long)_StubMsg.Buffer + 3) & ~ 0x3);
9667         *(( HRESULT __RPC_FAR * )_StubMsg.Buffer)++ = _RetVal;
9668         
9669         }
9670     RpcFinally
9671         {
9672         NdrPointerFree( &_StubMsg,
9673                         (unsigned char __RPC_FAR *)pBstrSource,
9674                         &__MIDL_TypeFormatString.Format[1708] );
9675         
9676         }
9677     RpcEndFinally
9678     _pRpcMessage->BufferLength = 
9679         (unsigned int)((long)_StubMsg.Buffer - (long)_pRpcMessage->Buffer);
9680     
9681 }
9682
9683
9684 HRESULT STDMETHODCALLTYPE IErrorInfo_GetDescription_Proxy( 
9685     IErrorInfo __RPC_FAR * This,
9686     /* [out] */ BSTR __RPC_FAR *pBstrDescription)
9687 {
9688
9689     HRESULT _RetVal;
9690     
9691     RPC_MESSAGE _RpcMessage;
9692     
9693     MIDL_STUB_MESSAGE _StubMsg;
9694     
9695     if(pBstrDescription)
9696         {
9697         MIDL_memset(
9698                pBstrDescription,
9699                0,
9700                sizeof( BSTR  ));
9701         }
9702     RpcTryExcept
9703         {
9704         NdrProxyInitialize(
9705                       ( void __RPC_FAR *  )This,
9706                       ( PRPC_MESSAGE  )&_RpcMessage,
9707                       ( PMIDL_STUB_MESSAGE  )&_StubMsg,
9708                       ( PMIDL_STUB_DESC  )&Object_StubDesc,
9709                       5);
9710         
9711         
9712         
9713         if(!pBstrDescription)
9714             {
9715             RpcRaiseException(RPC_X_NULL_REF_POINTER);
9716             }
9717         RpcTryFinally
9718             {
9719             
9720             _StubMsg.BufferLength = 0U;
9721             NdrProxyGetBuffer(This, &_StubMsg);
9722             NdrProxySendReceive(This, &_StubMsg);
9723             
9724             if ( (_RpcMessage.DataRepresentation & 0X0000FFFFUL) != NDR_LOCAL_DATA_REPRESENTATION )
9725                 NdrConvert( (PMIDL_STUB_MESSAGE) &_StubMsg, (PFORMAT_STRING) &__MIDL_ProcFormatString.Format[462] );
9726             
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 );
9731             
9732             _StubMsg.Buffer = (unsigned char __RPC_FAR *)(((long)_StubMsg.Buffer + 3) & ~ 0x3);
9733             _RetVal = *(( HRESULT __RPC_FAR * )_StubMsg.Buffer)++;
9734             
9735             }
9736         RpcFinally
9737             {
9738             NdrProxyFreeBuffer(This, &_StubMsg);
9739             
9740             }
9741         RpcEndFinally
9742         
9743         }
9744     RpcExcept(_StubMsg.dwStubPhase != PROXY_SENDRECEIVE)
9745         {
9746         NdrClearOutParameters(
9747                          ( PMIDL_STUB_MESSAGE  )&_StubMsg,
9748                          ( PFORMAT_STRING  )&__MIDL_TypeFormatString.Format[1708],
9749                          ( void __RPC_FAR * )pBstrDescription);
9750         _RetVal = NdrProxyErrorHandler(RpcExceptionCode());
9751         }
9752     RpcEndExcept
9753     return _RetVal;
9754 }
9755
9756 void __RPC_STUB IErrorInfo_GetDescription_Stub(
9757     IRpcStubBuffer *This,
9758     IRpcChannelBuffer *_pRpcChannelBuffer,
9759     PRPC_MESSAGE _pRpcMessage,
9760     DWORD *_pdwStubPhase)
9761 {
9762     BSTR _M92;
9763     HRESULT _RetVal;
9764     MIDL_STUB_MESSAGE _StubMsg;
9765     BSTR __RPC_FAR *pBstrDescription;
9766     
9767 NdrStubInitialize(
9768                      _pRpcMessage,
9769                      &_StubMsg,
9770                      &Object_StubDesc,
9771                      _pRpcChannelBuffer);
9772     ( BSTR __RPC_FAR * )pBstrDescription = 0;
9773     RpcTryFinally
9774         {
9775         pBstrDescription = &_M92;
9776         MIDL_memset(
9777                pBstrDescription,
9778                0,
9779                sizeof( BSTR  ));
9780         
9781         *_pdwStubPhase = STUB_CALL_SERVER;
9782         _RetVal = (((IErrorInfo*) ((CStdStubBuffer *)This)->pvServerObject)->lpVtbl) -> GetDescription((IErrorInfo *) ((CStdStubBuffer *)This)->pvServerObject,pBstrDescription);
9783         
9784         *_pdwStubPhase = STUB_MARSHAL;
9785         
9786         _StubMsg.BufferLength = 8U + 11U;
9787         NdrUserMarshalBufferSize( (PMIDL_STUB_MESSAGE) &_StubMsg,
9788                                   (unsigned char __RPC_FAR *)pBstrDescription,
9789                                   (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[1128] );
9790         
9791         _StubMsg.BufferLength += 16;
9792         
9793         NdrStubGetBuffer(This, _pRpcChannelBuffer, &_StubMsg);
9794         NdrUserMarshalMarshall( (PMIDL_STUB_MESSAGE)& _StubMsg,
9795                                 (unsigned char __RPC_FAR *)pBstrDescription,
9796                                 (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[1128] );
9797         
9798         _StubMsg.Buffer = (unsigned char __RPC_FAR *)(((long)_StubMsg.Buffer + 3) & ~ 0x3);
9799         *(( HRESULT __RPC_FAR * )_StubMsg.Buffer)++ = _RetVal;
9800         
9801         }
9802     RpcFinally
9803         {
9804         NdrPointerFree( &_StubMsg,
9805                         (unsigned char __RPC_FAR *)pBstrDescription,
9806                         &__MIDL_TypeFormatString.Format[1708] );
9807         
9808         }
9809     RpcEndFinally
9810     _pRpcMessage->BufferLength = 
9811         (unsigned int)((long)_StubMsg.Buffer - (long)_pRpcMessage->Buffer);
9812     
9813 }
9814
9815
9816 HRESULT STDMETHODCALLTYPE IErrorInfo_GetHelpFile_Proxy( 
9817     IErrorInfo __RPC_FAR * This,
9818     /* [out] */ BSTR __RPC_FAR *pBstrHelpFile)
9819 {
9820
9821     HRESULT _RetVal;
9822     
9823     RPC_MESSAGE _RpcMessage;
9824     
9825     MIDL_STUB_MESSAGE _StubMsg;
9826     
9827     if(pBstrHelpFile)
9828         {
9829         MIDL_memset(
9830                pBstrHelpFile,
9831                0,
9832                sizeof( BSTR  ));
9833         }
9834     RpcTryExcept
9835         {
9836         NdrProxyInitialize(
9837                       ( void __RPC_FAR *  )This,
9838                       ( PRPC_MESSAGE  )&_RpcMessage,
9839                       ( PMIDL_STUB_MESSAGE  )&_StubMsg,
9840                       ( PMIDL_STUB_DESC  )&Object_StubDesc,
9841                       6);
9842         
9843         
9844         
9845         if(!pBstrHelpFile)
9846             {
9847             RpcRaiseException(RPC_X_NULL_REF_POINTER);
9848             }
9849         RpcTryFinally
9850             {
9851             
9852             _StubMsg.BufferLength = 0U;
9853             NdrProxyGetBuffer(This, &_StubMsg);
9854             NdrProxySendReceive(This, &_StubMsg);
9855             
9856             if ( (_RpcMessage.DataRepresentation & 0X0000FFFFUL) != NDR_LOCAL_DATA_REPRESENTATION )
9857                 NdrConvert( (PMIDL_STUB_MESSAGE) &_StubMsg, (PFORMAT_STRING) &__MIDL_ProcFormatString.Format[462] );
9858             
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 );
9863             
9864             _StubMsg.Buffer = (unsigned char __RPC_FAR *)(((long)_StubMsg.Buffer + 3) & ~ 0x3);
9865             _RetVal = *(( HRESULT __RPC_FAR * )_StubMsg.Buffer)++;
9866             
9867             }
9868         RpcFinally
9869             {
9870             NdrProxyFreeBuffer(This, &_StubMsg);
9871             
9872             }
9873         RpcEndFinally
9874         
9875         }
9876     RpcExcept(_StubMsg.dwStubPhase != PROXY_SENDRECEIVE)
9877         {
9878         NdrClearOutParameters(
9879                          ( PMIDL_STUB_MESSAGE  )&_StubMsg,
9880                          ( PFORMAT_STRING  )&__MIDL_TypeFormatString.Format[1708],
9881                          ( void __RPC_FAR * )pBstrHelpFile);
9882         _RetVal = NdrProxyErrorHandler(RpcExceptionCode());
9883         }
9884     RpcEndExcept
9885     return _RetVal;
9886 }
9887
9888 void __RPC_STUB IErrorInfo_GetHelpFile_Stub(
9889     IRpcStubBuffer *This,
9890     IRpcChannelBuffer *_pRpcChannelBuffer,
9891     PRPC_MESSAGE _pRpcMessage,
9892     DWORD *_pdwStubPhase)
9893 {
9894     BSTR _M93;
9895     HRESULT _RetVal;
9896     MIDL_STUB_MESSAGE _StubMsg;
9897     BSTR __RPC_FAR *pBstrHelpFile;
9898     
9899 NdrStubInitialize(
9900                      _pRpcMessage,
9901                      &_StubMsg,
9902                      &Object_StubDesc,
9903                      _pRpcChannelBuffer);
9904     ( BSTR __RPC_FAR * )pBstrHelpFile = 0;
9905     RpcTryFinally
9906         {
9907         pBstrHelpFile = &_M93;
9908         MIDL_memset(
9909                pBstrHelpFile,
9910                0,
9911                sizeof( BSTR  ));
9912         
9913         *_pdwStubPhase = STUB_CALL_SERVER;
9914         _RetVal = (((IErrorInfo*) ((CStdStubBuffer *)This)->pvServerObject)->lpVtbl) -> GetHelpFile((IErrorInfo *) ((CStdStubBuffer *)This)->pvServerObject,pBstrHelpFile);
9915         
9916         *_pdwStubPhase = STUB_MARSHAL;
9917         
9918         _StubMsg.BufferLength = 8U + 11U;
9919         NdrUserMarshalBufferSize( (PMIDL_STUB_MESSAGE) &_StubMsg,
9920                                   (unsigned char __RPC_FAR *)pBstrHelpFile,
9921                                   (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[1128] );
9922         
9923         _StubMsg.BufferLength += 16;
9924         
9925         NdrStubGetBuffer(This, _pRpcChannelBuffer, &_StubMsg);
9926         NdrUserMarshalMarshall( (PMIDL_STUB_MESSAGE)& _StubMsg,
9927                                 (unsigned char __RPC_FAR *)pBstrHelpFile,
9928                                 (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[1128] );
9929         
9930         _StubMsg.Buffer = (unsigned char __RPC_FAR *)(((long)_StubMsg.Buffer + 3) & ~ 0x3);
9931         *(( HRESULT __RPC_FAR * )_StubMsg.Buffer)++ = _RetVal;
9932         
9933         }
9934     RpcFinally
9935         {
9936         NdrPointerFree( &_StubMsg,
9937                         (unsigned char __RPC_FAR *)pBstrHelpFile,
9938                         &__MIDL_TypeFormatString.Format[1708] );
9939         
9940         }
9941     RpcEndFinally
9942     _pRpcMessage->BufferLength = 
9943         (unsigned int)((long)_StubMsg.Buffer - (long)_pRpcMessage->Buffer);
9944     
9945 }
9946
9947
9948 HRESULT STDMETHODCALLTYPE IErrorInfo_GetHelpContext_Proxy( 
9949     IErrorInfo __RPC_FAR * This,
9950     /* [out] */ DWORD __RPC_FAR *pdwHelpContext)
9951 {
9952
9953     HRESULT _RetVal;
9954     
9955     RPC_MESSAGE _RpcMessage;
9956     
9957     MIDL_STUB_MESSAGE _StubMsg;
9958     
9959     RpcTryExcept
9960         {
9961         NdrProxyInitialize(
9962                       ( void __RPC_FAR *  )This,
9963                       ( PRPC_MESSAGE  )&_RpcMessage,
9964                       ( PMIDL_STUB_MESSAGE  )&_StubMsg,
9965                       ( PMIDL_STUB_DESC  )&Object_StubDesc,
9966                       7);
9967         
9968         
9969         
9970         if(!pdwHelpContext)
9971             {
9972             RpcRaiseException(RPC_X_NULL_REF_POINTER);
9973             }
9974         RpcTryFinally
9975             {
9976             
9977             _StubMsg.BufferLength = 0U;
9978             NdrProxyGetBuffer(This, &_StubMsg);
9979             NdrProxySendReceive(This, &_StubMsg);
9980             
9981             if ( (_RpcMessage.DataRepresentation & 0X0000FFFFUL) != NDR_LOCAL_DATA_REPRESENTATION )
9982                 NdrConvert( (PMIDL_STUB_MESSAGE) &_StubMsg, (PFORMAT_STRING) &__MIDL_ProcFormatString.Format[0] );
9983             
9984             *pdwHelpContext = *(( DWORD __RPC_FAR * )_StubMsg.Buffer)++;
9985             
9986             _RetVal = *(( HRESULT __RPC_FAR * )_StubMsg.Buffer)++;
9987             
9988             }
9989         RpcFinally
9990             {
9991             NdrProxyFreeBuffer(This, &_StubMsg);
9992             
9993             }
9994         RpcEndFinally
9995         
9996         }
9997     RpcExcept(_StubMsg.dwStubPhase != PROXY_SENDRECEIVE)
9998         {
9999         NdrClearOutParameters(
10000                          ( PMIDL_STUB_MESSAGE  )&_StubMsg,
10001                          ( PFORMAT_STRING  )&__MIDL_TypeFormatString.Format[2],
10002                          ( void __RPC_FAR * )pdwHelpContext);
10003         _RetVal = NdrProxyErrorHandler(RpcExceptionCode());
10004         }
10005     RpcEndExcept
10006     return _RetVal;
10007 }
10008
10009 void __RPC_STUB IErrorInfo_GetHelpContext_Stub(
10010     IRpcStubBuffer *This,
10011     IRpcChannelBuffer *_pRpcChannelBuffer,
10012     PRPC_MESSAGE _pRpcMessage,
10013     DWORD *_pdwStubPhase)
10014 {
10015     DWORD _M94;
10016     HRESULT _RetVal;
10017     MIDL_STUB_MESSAGE _StubMsg;
10018     DWORD __RPC_FAR *pdwHelpContext;
10019     
10020 NdrStubInitialize(
10021                      _pRpcMessage,
10022                      &_StubMsg,
10023                      &Object_StubDesc,
10024                      _pRpcChannelBuffer);
10025     ( DWORD __RPC_FAR * )pdwHelpContext = 0;
10026     RpcTryFinally
10027         {
10028         pdwHelpContext = &_M94;
10029         
10030         *_pdwStubPhase = STUB_CALL_SERVER;
10031         _RetVal = (((IErrorInfo*) ((CStdStubBuffer *)This)->pvServerObject)->lpVtbl) -> GetHelpContext((IErrorInfo *) ((CStdStubBuffer *)This)->pvServerObject,pdwHelpContext);
10032         
10033         *_pdwStubPhase = STUB_MARSHAL;
10034         
10035         _StubMsg.BufferLength = 4U + 4U;
10036         NdrStubGetBuffer(This, _pRpcChannelBuffer, &_StubMsg);
10037         *(( DWORD __RPC_FAR * )_StubMsg.Buffer)++ = *pdwHelpContext;
10038         
10039         *(( HRESULT __RPC_FAR * )_StubMsg.Buffer)++ = _RetVal;
10040         
10041         }
10042     RpcFinally
10043         {
10044         }
10045     RpcEndFinally
10046     _pRpcMessage->BufferLength = 
10047         (unsigned int)((long)_StubMsg.Buffer - (long)_pRpcMessage->Buffer);
10048     
10049 }
10050
10051 const CINTERFACE_PROXY_VTABLE(8) _IErrorInfoProxyVtbl = 
10052 {
10053     { &IID_IErrorInfo },
10054     {
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
10063     }
10064 };
10065
10066
10067 static const PRPC_STUB_FUNCTION IErrorInfo_table[] =
10068 {
10069     IErrorInfo_GetGUID_Stub,
10070     IErrorInfo_GetSource_Stub,
10071     IErrorInfo_GetDescription_Stub,
10072     IErrorInfo_GetHelpFile_Stub,
10073     IErrorInfo_GetHelpContext_Stub
10074 };
10075
10076 const CInterfaceStubVtbl _IErrorInfoStubVtbl =
10077 {
10078     {
10079         &IID_IErrorInfo,
10080         0,
10081         8,
10082         &IErrorInfo_table[-3]
10083     },
10084     { CStdStubBuffer_METHODS }
10085 };
10086
10087
10088 /* Object interface: ICreateErrorInfo, ver. 0.0,
10089    GUID={0x22F03340,0x547D,0x101B,{0x8E,0x65,0x08,0x00,0x2B,0x2B,0xD1,0x19}} */
10090
10091
10092 extern const MIDL_STUB_DESC Object_StubDesc;
10093
10094
10095 HRESULT STDMETHODCALLTYPE ICreateErrorInfo_SetGUID_Proxy( 
10096     ICreateErrorInfo __RPC_FAR * This,
10097     /* [in] */ REFGUID rguid)
10098 {
10099
10100     HRESULT _RetVal;
10101     
10102     RPC_MESSAGE _RpcMessage;
10103     
10104     MIDL_STUB_MESSAGE _StubMsg;
10105     
10106     RpcTryExcept
10107         {
10108         NdrProxyInitialize(
10109                       ( void __RPC_FAR *  )This,
10110                       ( PRPC_MESSAGE  )&_RpcMessage,
10111                       ( PMIDL_STUB_MESSAGE  )&_StubMsg,
10112                       ( PMIDL_STUB_DESC  )&Object_StubDesc,
10113                       3);
10114         
10115         
10116         
10117         if(!rguid)
10118             {
10119             RpcRaiseException(RPC_X_NULL_REF_POINTER);
10120             }
10121         RpcTryFinally
10122             {
10123             
10124             _StubMsg.BufferLength = 0U;
10125             NdrSimpleStructBufferSize( (PMIDL_STUB_MESSAGE) &_StubMsg,
10126                                        (unsigned char __RPC_FAR *)rguid,
10127                                        (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[38] );
10128             
10129             NdrProxyGetBuffer(This, &_StubMsg);
10130             NdrSimpleStructMarshall( (PMIDL_STUB_MESSAGE)& _StubMsg,
10131                                      (unsigned char __RPC_FAR *)rguid,
10132                                      (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[38] );
10133             
10134             NdrProxySendReceive(This, &_StubMsg);
10135             
10136             if ( (_RpcMessage.DataRepresentation & 0X0000FFFFUL) != NDR_LOCAL_DATA_REPRESENTATION )
10137                 NdrConvert( (PMIDL_STUB_MESSAGE) &_StubMsg, (PFORMAT_STRING) &__MIDL_ProcFormatString.Format[468] );
10138             
10139             _RetVal = *(( HRESULT __RPC_FAR * )_StubMsg.Buffer)++;
10140             
10141             }
10142         RpcFinally
10143             {
10144             NdrProxyFreeBuffer(This, &_StubMsg);
10145             
10146             }
10147         RpcEndFinally
10148         
10149         }
10150     RpcExcept(_StubMsg.dwStubPhase != PROXY_SENDRECEIVE)
10151         {
10152         _RetVal = NdrProxyErrorHandler(RpcExceptionCode());
10153         }
10154     RpcEndExcept
10155     return _RetVal;
10156 }
10157
10158 void __RPC_STUB ICreateErrorInfo_SetGUID_Stub(
10159     IRpcStubBuffer *This,
10160     IRpcChannelBuffer *_pRpcChannelBuffer,
10161     PRPC_MESSAGE _pRpcMessage,
10162     DWORD *_pdwStubPhase)
10163 {
10164     HRESULT _RetVal;
10165     MIDL_STUB_MESSAGE _StubMsg;
10166     REFGUID rguid = 0;
10167     
10168 NdrStubInitialize(
10169                      _pRpcMessage,
10170                      &_StubMsg,
10171                      &Object_StubDesc,
10172                      _pRpcChannelBuffer);
10173     RpcTryFinally
10174         {
10175         if ( (_pRpcMessage->DataRepresentation & 0X0000FFFFUL) != NDR_LOCAL_DATA_REPRESENTATION )
10176             NdrConvert( (PMIDL_STUB_MESSAGE) &_StubMsg, (PFORMAT_STRING) &__MIDL_ProcFormatString.Format[468] );
10177         
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 );
10182         
10183         
10184         *_pdwStubPhase = STUB_CALL_SERVER;
10185         _RetVal = (((ICreateErrorInfo*) ((CStdStubBuffer *)This)->pvServerObject)->lpVtbl) -> SetGUID((ICreateErrorInfo *) ((CStdStubBuffer *)This)->pvServerObject,rguid);
10186         
10187         *_pdwStubPhase = STUB_MARSHAL;
10188         
10189         _StubMsg.BufferLength = 4U;
10190         NdrStubGetBuffer(This, _pRpcChannelBuffer, &_StubMsg);
10191         *(( HRESULT __RPC_FAR * )_StubMsg.Buffer)++ = _RetVal;
10192         
10193         }
10194     RpcFinally
10195         {
10196         }
10197     RpcEndFinally
10198     _pRpcMessage->BufferLength = 
10199         (unsigned int)((long)_StubMsg.Buffer - (long)_pRpcMessage->Buffer);
10200     
10201 }
10202
10203
10204 HRESULT STDMETHODCALLTYPE ICreateErrorInfo_SetSource_Proxy( 
10205     ICreateErrorInfo __RPC_FAR * This,
10206     /* [in] */ LPOLESTR szSource)
10207 {
10208
10209     HRESULT _RetVal;
10210     
10211     RPC_MESSAGE _RpcMessage;
10212     
10213     MIDL_STUB_MESSAGE _StubMsg;
10214     
10215     RpcTryExcept
10216         {
10217         NdrProxyInitialize(
10218                       ( void __RPC_FAR *  )This,
10219                       ( PRPC_MESSAGE  )&_RpcMessage,
10220                       ( PMIDL_STUB_MESSAGE  )&_StubMsg,
10221                       ( PMIDL_STUB_DESC  )&Object_StubDesc,
10222                       4);
10223         
10224         
10225         
10226         if(!szSource)
10227             {
10228             RpcRaiseException(RPC_X_NULL_REF_POINTER);
10229             }
10230         RpcTryFinally
10231             {
10232             
10233             _StubMsg.BufferLength = 12U;
10234             NdrConformantStringBufferSize( (PMIDL_STUB_MESSAGE) &_StubMsg,
10235                                            (unsigned char __RPC_FAR *)szSource,
10236                                            (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[1248] );
10237             
10238             NdrProxyGetBuffer(This, &_StubMsg);
10239             NdrConformantStringMarshall( (PMIDL_STUB_MESSAGE)& _StubMsg,
10240                                          (unsigned char __RPC_FAR *)szSource,
10241                                          (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[1248] );
10242             
10243             NdrProxySendReceive(This, &_StubMsg);
10244             
10245             if ( (_RpcMessage.DataRepresentation & 0X0000FFFFUL) != NDR_LOCAL_DATA_REPRESENTATION )
10246                 NdrConvert( (PMIDL_STUB_MESSAGE) &_StubMsg, (PFORMAT_STRING) &__MIDL_ProcFormatString.Format[474] );
10247             
10248             _RetVal = *(( HRESULT __RPC_FAR * )_StubMsg.Buffer)++;
10249             
10250             }
10251         RpcFinally
10252             {
10253             NdrProxyFreeBuffer(This, &_StubMsg);
10254             
10255             }
10256         RpcEndFinally
10257         
10258         }
10259     RpcExcept(_StubMsg.dwStubPhase != PROXY_SENDRECEIVE)
10260         {
10261         _RetVal = NdrProxyErrorHandler(RpcExceptionCode());
10262         }
10263     RpcEndExcept
10264     return _RetVal;
10265 }
10266
10267 void __RPC_STUB ICreateErrorInfo_SetSource_Stub(
10268     IRpcStubBuffer *This,
10269     IRpcChannelBuffer *_pRpcChannelBuffer,
10270     PRPC_MESSAGE _pRpcMessage,
10271     DWORD *_pdwStubPhase)
10272 {
10273     HRESULT _RetVal;
10274     MIDL_STUB_MESSAGE _StubMsg;
10275     LPOLESTR szSource;
10276     
10277 NdrStubInitialize(
10278                      _pRpcMessage,
10279                      &_StubMsg,
10280                      &Object_StubDesc,
10281                      _pRpcChannelBuffer);
10282     ( LPOLESTR  )szSource = 0;
10283     RpcTryFinally
10284         {
10285         if ( (_pRpcMessage->DataRepresentation & 0X0000FFFFUL) != NDR_LOCAL_DATA_REPRESENTATION )
10286             NdrConvert( (PMIDL_STUB_MESSAGE) &_StubMsg, (PFORMAT_STRING) &__MIDL_ProcFormatString.Format[474] );
10287         
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 );
10292         
10293         
10294         *_pdwStubPhase = STUB_CALL_SERVER;
10295         _RetVal = (((ICreateErrorInfo*) ((CStdStubBuffer *)This)->pvServerObject)->lpVtbl) -> SetSource((ICreateErrorInfo *) ((CStdStubBuffer *)This)->pvServerObject,szSource);
10296         
10297         *_pdwStubPhase = STUB_MARSHAL;
10298         
10299         _StubMsg.BufferLength = 4U;
10300         _StubMsg.BufferLength += 16;
10301         
10302         NdrStubGetBuffer(This, _pRpcChannelBuffer, &_StubMsg);
10303         *(( HRESULT __RPC_FAR * )_StubMsg.Buffer)++ = _RetVal;
10304         
10305         }
10306     RpcFinally
10307         {
10308         }
10309     RpcEndFinally
10310     _pRpcMessage->BufferLength = 
10311         (unsigned int)((long)_StubMsg.Buffer - (long)_pRpcMessage->Buffer);
10312     
10313 }
10314
10315
10316 HRESULT STDMETHODCALLTYPE ICreateErrorInfo_SetDescription_Proxy( 
10317     ICreateErrorInfo __RPC_FAR * This,
10318     /* [in] */ LPOLESTR szDescription)
10319 {
10320
10321     HRESULT _RetVal;
10322     
10323     RPC_MESSAGE _RpcMessage;
10324     
10325     MIDL_STUB_MESSAGE _StubMsg;
10326     
10327     RpcTryExcept
10328         {
10329         NdrProxyInitialize(
10330                       ( void __RPC_FAR *  )This,
10331                       ( PRPC_MESSAGE  )&_RpcMessage,
10332                       ( PMIDL_STUB_MESSAGE  )&_StubMsg,
10333                       ( PMIDL_STUB_DESC  )&Object_StubDesc,
10334                       5);
10335         
10336         
10337         
10338         if(!szDescription)
10339             {
10340             RpcRaiseException(RPC_X_NULL_REF_POINTER);
10341             }
10342         RpcTryFinally
10343             {
10344             
10345             _StubMsg.BufferLength = 12U;
10346             NdrConformantStringBufferSize( (PMIDL_STUB_MESSAGE) &_StubMsg,
10347                                            (unsigned char __RPC_FAR *)szDescription,
10348                                            (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[1248] );
10349             
10350             NdrProxyGetBuffer(This, &_StubMsg);
10351             NdrConformantStringMarshall( (PMIDL_STUB_MESSAGE)& _StubMsg,
10352                                          (unsigned char __RPC_FAR *)szDescription,
10353                                          (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[1248] );
10354             
10355             NdrProxySendReceive(This, &_StubMsg);
10356             
10357             if ( (_RpcMessage.DataRepresentation & 0X0000FFFFUL) != NDR_LOCAL_DATA_REPRESENTATION )
10358                 NdrConvert( (PMIDL_STUB_MESSAGE) &_StubMsg, (PFORMAT_STRING) &__MIDL_ProcFormatString.Format[474] );
10359             
10360             _RetVal = *(( HRESULT __RPC_FAR * )_StubMsg.Buffer)++;
10361             
10362             }
10363         RpcFinally
10364             {
10365             NdrProxyFreeBuffer(This, &_StubMsg);
10366             
10367             }
10368         RpcEndFinally
10369         
10370         }
10371     RpcExcept(_StubMsg.dwStubPhase != PROXY_SENDRECEIVE)
10372         {
10373         _RetVal = NdrProxyErrorHandler(RpcExceptionCode());
10374         }
10375     RpcEndExcept
10376     return _RetVal;
10377 }
10378
10379 void __RPC_STUB ICreateErrorInfo_SetDescription_Stub(
10380     IRpcStubBuffer *This,
10381     IRpcChannelBuffer *_pRpcChannelBuffer,
10382     PRPC_MESSAGE _pRpcMessage,
10383     DWORD *_pdwStubPhase)
10384 {
10385     HRESULT _RetVal;
10386     MIDL_STUB_MESSAGE _StubMsg;
10387     LPOLESTR szDescription;
10388     
10389 NdrStubInitialize(
10390                      _pRpcMessage,
10391                      &_StubMsg,
10392                      &Object_StubDesc,
10393                      _pRpcChannelBuffer);
10394     ( LPOLESTR  )szDescription = 0;
10395     RpcTryFinally
10396         {
10397         if ( (_pRpcMessage->DataRepresentation & 0X0000FFFFUL) != NDR_LOCAL_DATA_REPRESENTATION )
10398             NdrConvert( (PMIDL_STUB_MESSAGE) &_StubMsg, (PFORMAT_STRING) &__MIDL_ProcFormatString.Format[474] );
10399         
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 );
10404         
10405         
10406         *_pdwStubPhase = STUB_CALL_SERVER;
10407         _RetVal = (((ICreateErrorInfo*) ((CStdStubBuffer *)This)->pvServerObject)->lpVtbl) -> SetDescription((ICreateErrorInfo *) ((CStdStubBuffer *)This)->pvServerObject,szDescription);
10408         
10409         *_pdwStubPhase = STUB_MARSHAL;
10410         
10411         _StubMsg.BufferLength = 4U;
10412         _StubMsg.BufferLength += 16;
10413         
10414         NdrStubGetBuffer(This, _pRpcChannelBuffer, &_StubMsg);
10415         *(( HRESULT __RPC_FAR * )_StubMsg.Buffer)++ = _RetVal;
10416         
10417         }
10418     RpcFinally
10419         {
10420         }
10421     RpcEndFinally
10422     _pRpcMessage->BufferLength = 
10423         (unsigned int)((long)_StubMsg.Buffer - (long)_pRpcMessage->Buffer);
10424     
10425 }
10426
10427
10428 HRESULT STDMETHODCALLTYPE ICreateErrorInfo_SetHelpFile_Proxy( 
10429     ICreateErrorInfo __RPC_FAR * This,
10430     /* [in] */ LPOLESTR szHelpFile)
10431 {
10432
10433     HRESULT _RetVal;
10434     
10435     RPC_MESSAGE _RpcMessage;
10436     
10437     MIDL_STUB_MESSAGE _StubMsg;
10438     
10439     RpcTryExcept
10440         {
10441         NdrProxyInitialize(
10442                       ( void __RPC_FAR *  )This,
10443                       ( PRPC_MESSAGE  )&_RpcMessage,
10444                       ( PMIDL_STUB_MESSAGE  )&_StubMsg,
10445                       ( PMIDL_STUB_DESC  )&Object_StubDesc,
10446                       6);
10447         
10448         
10449         
10450         if(!szHelpFile)
10451             {
10452             RpcRaiseException(RPC_X_NULL_REF_POINTER);
10453             }
10454         RpcTryFinally
10455             {
10456             
10457             _StubMsg.BufferLength = 12U;
10458             NdrConformantStringBufferSize( (PMIDL_STUB_MESSAGE) &_StubMsg,
10459                                            (unsigned char __RPC_FAR *)szHelpFile,
10460                                            (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[1248] );
10461             
10462             NdrProxyGetBuffer(This, &_StubMsg);
10463             NdrConformantStringMarshall( (PMIDL_STUB_MESSAGE)& _StubMsg,
10464                                          (unsigned char __RPC_FAR *)szHelpFile,
10465                                          (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[1248] );
10466             
10467             NdrProxySendReceive(This, &_StubMsg);
10468             
10469             if ( (_RpcMessage.DataRepresentation & 0X0000FFFFUL) != NDR_LOCAL_DATA_REPRESENTATION )
10470                 NdrConvert( (PMIDL_STUB_MESSAGE) &_StubMsg, (PFORMAT_STRING) &__MIDL_ProcFormatString.Format[474] );
10471             
10472             _RetVal = *(( HRESULT __RPC_FAR * )_StubMsg.Buffer)++;
10473             
10474             }
10475         RpcFinally
10476             {
10477             NdrProxyFreeBuffer(This, &_StubMsg);
10478             
10479             }
10480         RpcEndFinally
10481         
10482         }
10483     RpcExcept(_StubMsg.dwStubPhase != PROXY_SENDRECEIVE)
10484         {
10485         _RetVal = NdrProxyErrorHandler(RpcExceptionCode());
10486         }
10487     RpcEndExcept
10488     return _RetVal;
10489 }
10490
10491 void __RPC_STUB ICreateErrorInfo_SetHelpFile_Stub(
10492     IRpcStubBuffer *This,
10493     IRpcChannelBuffer *_pRpcChannelBuffer,
10494     PRPC_MESSAGE _pRpcMessage,
10495     DWORD *_pdwStubPhase)
10496 {
10497     HRESULT _RetVal;
10498     MIDL_STUB_MESSAGE _StubMsg;
10499     LPOLESTR szHelpFile;
10500     
10501 NdrStubInitialize(
10502                      _pRpcMessage,
10503                      &_StubMsg,
10504                      &Object_StubDesc,
10505                      _pRpcChannelBuffer);
10506     ( LPOLESTR  )szHelpFile = 0;
10507     RpcTryFinally
10508         {
10509         if ( (_pRpcMessage->DataRepresentation & 0X0000FFFFUL) != NDR_LOCAL_DATA_REPRESENTATION )
10510             NdrConvert( (PMIDL_STUB_MESSAGE) &_StubMsg, (PFORMAT_STRING) &__MIDL_ProcFormatString.Format[474] );
10511         
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 );
10516         
10517         
10518         *_pdwStubPhase = STUB_CALL_SERVER;
10519         _RetVal = (((ICreateErrorInfo*) ((CStdStubBuffer *)This)->pvServerObject)->lpVtbl) -> SetHelpFile((ICreateErrorInfo *) ((CStdStubBuffer *)This)->pvServerObject,szHelpFile);
10520         
10521         *_pdwStubPhase = STUB_MARSHAL;
10522         
10523         _StubMsg.BufferLength = 4U;
10524         _StubMsg.BufferLength += 16;
10525         
10526         NdrStubGetBuffer(This, _pRpcChannelBuffer, &_StubMsg);
10527         *(( HRESULT __RPC_FAR * )_StubMsg.Buffer)++ = _RetVal;
10528         
10529         }
10530     RpcFinally
10531         {
10532         }
10533     RpcEndFinally
10534     _pRpcMessage->BufferLength = 
10535         (unsigned int)((long)_StubMsg.Buffer - (long)_pRpcMessage->Buffer);
10536     
10537 }
10538
10539
10540 HRESULT STDMETHODCALLTYPE ICreateErrorInfo_SetHelpContext_Proxy( 
10541     ICreateErrorInfo __RPC_FAR * This,
10542     /* [in] */ DWORD dwHelpContext)
10543 {
10544
10545     HRESULT _RetVal;
10546     
10547     RPC_MESSAGE _RpcMessage;
10548     
10549     MIDL_STUB_MESSAGE _StubMsg;
10550     
10551     RpcTryExcept
10552         {
10553         NdrProxyInitialize(
10554                       ( void __RPC_FAR *  )This,
10555                       ( PRPC_MESSAGE  )&_RpcMessage,
10556                       ( PMIDL_STUB_MESSAGE  )&_StubMsg,
10557                       ( PMIDL_STUB_DESC  )&Object_StubDesc,
10558                       7);
10559         
10560         
10561         
10562         RpcTryFinally
10563             {
10564             
10565             _StubMsg.BufferLength = 4U;
10566             NdrProxyGetBuffer(This, &_StubMsg);
10567             *(( DWORD __RPC_FAR * )_StubMsg.Buffer)++ = dwHelpContext;
10568             
10569             NdrProxySendReceive(This, &_StubMsg);
10570             
10571             if ( (_RpcMessage.DataRepresentation & 0X0000FFFFUL) != NDR_LOCAL_DATA_REPRESENTATION )
10572                 NdrConvert( (PMIDL_STUB_MESSAGE) &_StubMsg, (PFORMAT_STRING) &__MIDL_ProcFormatString.Format[84] );
10573             
10574             _RetVal = *(( HRESULT __RPC_FAR * )_StubMsg.Buffer)++;
10575             
10576             }
10577         RpcFinally
10578             {
10579             NdrProxyFreeBuffer(This, &_StubMsg);
10580             
10581             }
10582         RpcEndFinally
10583         
10584         }
10585     RpcExcept(_StubMsg.dwStubPhase != PROXY_SENDRECEIVE)
10586         {
10587         _RetVal = NdrProxyErrorHandler(RpcExceptionCode());
10588         }
10589     RpcEndExcept
10590     return _RetVal;
10591 }
10592
10593 void __RPC_STUB ICreateErrorInfo_SetHelpContext_Stub(
10594     IRpcStubBuffer *This,
10595     IRpcChannelBuffer *_pRpcChannelBuffer,
10596     PRPC_MESSAGE _pRpcMessage,
10597     DWORD *_pdwStubPhase)
10598 {
10599     HRESULT _RetVal;
10600     MIDL_STUB_MESSAGE _StubMsg;
10601     DWORD dwHelpContext;
10602     
10603 NdrStubInitialize(
10604                      _pRpcMessage,
10605                      &_StubMsg,
10606                      &Object_StubDesc,
10607                      _pRpcChannelBuffer);
10608     RpcTryFinally
10609         {
10610         if ( (_pRpcMessage->DataRepresentation & 0X0000FFFFUL) != NDR_LOCAL_DATA_REPRESENTATION )
10611             NdrConvert( (PMIDL_STUB_MESSAGE) &_StubMsg, (PFORMAT_STRING) &__MIDL_ProcFormatString.Format[84] );
10612         
10613         dwHelpContext = *(( DWORD __RPC_FAR * )_StubMsg.Buffer)++;
10614         
10615         
10616         *_pdwStubPhase = STUB_CALL_SERVER;
10617         _RetVal = (((ICreateErrorInfo*) ((CStdStubBuffer *)This)->pvServerObject)->lpVtbl) -> SetHelpContext((ICreateErrorInfo *) ((CStdStubBuffer *)This)->pvServerObject,dwHelpContext);
10618         
10619         *_pdwStubPhase = STUB_MARSHAL;
10620         
10621         _StubMsg.BufferLength = 4U;
10622         NdrStubGetBuffer(This, _pRpcChannelBuffer, &_StubMsg);
10623         *(( HRESULT __RPC_FAR * )_StubMsg.Buffer)++ = _RetVal;
10624         
10625         }
10626     RpcFinally
10627         {
10628         }
10629     RpcEndFinally
10630     _pRpcMessage->BufferLength = 
10631         (unsigned int)((long)_StubMsg.Buffer - (long)_pRpcMessage->Buffer);
10632     
10633 }
10634
10635 const CINTERFACE_PROXY_VTABLE(8) _ICreateErrorInfoProxyVtbl = 
10636 {
10637     { &IID_ICreateErrorInfo },
10638     {
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
10647     }
10648 };
10649
10650
10651 static const PRPC_STUB_FUNCTION ICreateErrorInfo_table[] =
10652 {
10653     ICreateErrorInfo_SetGUID_Stub,
10654     ICreateErrorInfo_SetSource_Stub,
10655     ICreateErrorInfo_SetDescription_Stub,
10656     ICreateErrorInfo_SetHelpFile_Stub,
10657     ICreateErrorInfo_SetHelpContext_Stub
10658 };
10659
10660 const CInterfaceStubVtbl _ICreateErrorInfoStubVtbl =
10661 {
10662     {
10663         &IID_ICreateErrorInfo,
10664         0,
10665         8,
10666         &ICreateErrorInfo_table[-3]
10667     },
10668     { CStdStubBuffer_METHODS }
10669 };
10670
10671
10672 /* Object interface: ISupportErrorInfo, ver. 0.0,
10673    GUID={0xDF0B3D60,0x548F,0x101B,{0x8E,0x65,0x08,0x00,0x2B,0x2B,0xD1,0x19}} */
10674
10675
10676 extern const MIDL_STUB_DESC Object_StubDesc;
10677
10678
10679 HRESULT STDMETHODCALLTYPE ISupportErrorInfo_InterfaceSupportsErrorInfo_Proxy( 
10680     ISupportErrorInfo __RPC_FAR * This,
10681     /* [in] */ REFIID riid)
10682 {
10683
10684     HRESULT _RetVal;
10685     
10686     RPC_MESSAGE _RpcMessage;
10687     
10688     MIDL_STUB_MESSAGE _StubMsg;
10689     
10690     RpcTryExcept
10691         {
10692         NdrProxyInitialize(
10693                       ( void __RPC_FAR *  )This,
10694                       ( PRPC_MESSAGE  )&_RpcMessage,
10695                       ( PMIDL_STUB_MESSAGE  )&_StubMsg,
10696                       ( PMIDL_STUB_DESC  )&Object_StubDesc,
10697                       3);
10698         
10699         
10700         
10701         if(!riid)
10702             {
10703             RpcRaiseException(RPC_X_NULL_REF_POINTER);
10704             }
10705         RpcTryFinally
10706             {
10707             
10708             _StubMsg.BufferLength = 0U;
10709             NdrSimpleStructBufferSize( (PMIDL_STUB_MESSAGE) &_StubMsg,
10710                                        (unsigned char __RPC_FAR *)riid,
10711                                        (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[38] );
10712             
10713             NdrProxyGetBuffer(This, &_StubMsg);
10714             NdrSimpleStructMarshall( (PMIDL_STUB_MESSAGE)& _StubMsg,
10715                                      (unsigned char __RPC_FAR *)riid,
10716                                      (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[38] );
10717             
10718             NdrProxySendReceive(This, &_StubMsg);
10719             
10720             if ( (_RpcMessage.DataRepresentation & 0X0000FFFFUL) != NDR_LOCAL_DATA_REPRESENTATION )
10721                 NdrConvert( (PMIDL_STUB_MESSAGE) &_StubMsg, (PFORMAT_STRING) &__MIDL_ProcFormatString.Format[468] );
10722             
10723             _RetVal = *(( HRESULT __RPC_FAR * )_StubMsg.Buffer)++;
10724             
10725             }
10726         RpcFinally
10727             {
10728             NdrProxyFreeBuffer(This, &_StubMsg);
10729             
10730             }
10731         RpcEndFinally
10732         
10733         }
10734     RpcExcept(_StubMsg.dwStubPhase != PROXY_SENDRECEIVE)
10735         {
10736         _RetVal = NdrProxyErrorHandler(RpcExceptionCode());
10737         }
10738     RpcEndExcept
10739     return _RetVal;
10740 }
10741
10742 void __RPC_STUB ISupportErrorInfo_InterfaceSupportsErrorInfo_Stub(
10743     IRpcStubBuffer *This,
10744     IRpcChannelBuffer *_pRpcChannelBuffer,
10745     PRPC_MESSAGE _pRpcMessage,
10746     DWORD *_pdwStubPhase)
10747 {
10748     HRESULT _RetVal;
10749     MIDL_STUB_MESSAGE _StubMsg;
10750     REFIID riid = 0;
10751     
10752 NdrStubInitialize(
10753                      _pRpcMessage,
10754                      &_StubMsg,
10755                      &Object_StubDesc,
10756                      _pRpcChannelBuffer);
10757     RpcTryFinally
10758         {
10759         if ( (_pRpcMessage->DataRepresentation & 0X0000FFFFUL) != NDR_LOCAL_DATA_REPRESENTATION )
10760             NdrConvert( (PMIDL_STUB_MESSAGE) &_StubMsg, (PFORMAT_STRING) &__MIDL_ProcFormatString.Format[468] );
10761         
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 );
10766         
10767         
10768         *_pdwStubPhase = STUB_CALL_SERVER;
10769         _RetVal = (((ISupportErrorInfo*) ((CStdStubBuffer *)This)->pvServerObject)->lpVtbl) -> InterfaceSupportsErrorInfo((ISupportErrorInfo *) ((CStdStubBuffer *)This)->pvServerObject,riid);
10770         
10771         *_pdwStubPhase = STUB_MARSHAL;
10772         
10773         _StubMsg.BufferLength = 4U;
10774         NdrStubGetBuffer(This, _pRpcChannelBuffer, &_StubMsg);
10775         *(( HRESULT __RPC_FAR * )_StubMsg.Buffer)++ = _RetVal;
10776         
10777         }
10778     RpcFinally
10779         {
10780         }
10781     RpcEndFinally
10782     _pRpcMessage->BufferLength = 
10783         (unsigned int)((long)_StubMsg.Buffer - (long)_pRpcMessage->Buffer);
10784     
10785 }
10786
10787 const CINTERFACE_PROXY_VTABLE(4) _ISupportErrorInfoProxyVtbl = 
10788 {
10789     { &IID_ISupportErrorInfo },
10790     {
10791         IUnknown_QueryInterface_Proxy,
10792         IUnknown_AddRef_Proxy,
10793         IUnknown_Release_Proxy ,
10794         ISupportErrorInfo_InterfaceSupportsErrorInfo_Proxy
10795     }
10796 };
10797
10798
10799 static const PRPC_STUB_FUNCTION ISupportErrorInfo_table[] =
10800 {
10801     ISupportErrorInfo_InterfaceSupportsErrorInfo_Stub
10802 };
10803
10804 const CInterfaceStubVtbl _ISupportErrorInfoStubVtbl =
10805 {
10806     {
10807         &IID_ISupportErrorInfo,
10808         0,
10809         4,
10810         &ISupportErrorInfo_table[-3]
10811     },
10812     { CStdStubBuffer_METHODS }
10813 };
10814
10815
10816 /* Object interface: ITypeFactory, ver. 0.0,
10817    GUID={0x0000002E,0x0000,0x0000,{0xC0,0x00,0x00,0x00,0x00,0x00,0x00,0x46}} */
10818
10819
10820 extern const MIDL_STUB_DESC Object_StubDesc;
10821
10822
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)
10828 {
10829
10830     HRESULT _RetVal;
10831     
10832     RPC_MESSAGE _RpcMessage;
10833     
10834     MIDL_STUB_MESSAGE _StubMsg;
10835     
10836     if(ppv)
10837         {
10838         MIDL_memset(
10839                ppv,
10840                0,
10841                sizeof( IUnknown __RPC_FAR *__RPC_FAR * ));
10842         }
10843     RpcTryExcept
10844         {
10845         NdrProxyInitialize(
10846                       ( void __RPC_FAR *  )This,
10847                       ( PRPC_MESSAGE  )&_RpcMessage,
10848                       ( PMIDL_STUB_MESSAGE  )&_StubMsg,
10849                       ( PMIDL_STUB_DESC  )&Object_StubDesc,
10850                       3);
10851         
10852         
10853         
10854         if(!riid)
10855             {
10856             RpcRaiseException(RPC_X_NULL_REF_POINTER);
10857             }
10858         if(!ppv)
10859             {
10860             RpcRaiseException(RPC_X_NULL_REF_POINTER);
10861             }
10862         RpcTryFinally
10863             {
10864             
10865             _StubMsg.BufferLength = 0U + 0U;
10866             NdrInterfacePointerBufferSize( (PMIDL_STUB_MESSAGE) &_StubMsg,
10867                                            (unsigned char __RPC_FAR *)pTypeInfo,
10868                                            (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[10] );
10869             
10870             NdrSimpleStructBufferSize( (PMIDL_STUB_MESSAGE) &_StubMsg,
10871                                        (unsigned char __RPC_FAR *)riid,
10872                                        (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[38] );
10873             
10874             NdrProxyGetBuffer(This, &_StubMsg);
10875             NdrInterfacePointerMarshall( (PMIDL_STUB_MESSAGE)& _StubMsg,
10876                                          (unsigned char __RPC_FAR *)pTypeInfo,
10877                                          (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[10] );
10878             
10879             NdrSimpleStructMarshall( (PMIDL_STUB_MESSAGE)& _StubMsg,
10880                                      (unsigned char __RPC_FAR *)riid,
10881                                      (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[38] );
10882             
10883             NdrProxySendReceive(This, &_StubMsg);
10884             
10885             if ( (_RpcMessage.DataRepresentation & 0X0000FFFFUL) != NDR_LOCAL_DATA_REPRESENTATION )
10886                 NdrConvert( (PMIDL_STUB_MESSAGE) &_StubMsg, (PFORMAT_STRING) &__MIDL_ProcFormatString.Format[480] );
10887             
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 );
10892             
10893             _StubMsg.Buffer = (unsigned char __RPC_FAR *)(((long)_StubMsg.Buffer + 3) & ~ 0x3);
10894             _RetVal = *(( HRESULT __RPC_FAR * )_StubMsg.Buffer)++;
10895             
10896             }
10897         RpcFinally
10898             {
10899             NdrProxyFreeBuffer(This, &_StubMsg);
10900             
10901             }
10902         RpcEndFinally
10903         
10904         }
10905     RpcExcept(_StubMsg.dwStubPhase != PROXY_SENDRECEIVE)
10906         {
10907         _StubMsg.MaxCount = (unsigned long) ( riid );
10908         
10909         NdrClearOutParameters(
10910                          ( PMIDL_STUB_MESSAGE  )&_StubMsg,
10911                          ( PFORMAT_STRING  )&__MIDL_TypeFormatString.Format[1896],
10912                          ( void __RPC_FAR * )ppv);
10913         _RetVal = NdrProxyErrorHandler(RpcExceptionCode());
10914         }
10915     RpcEndExcept
10916     return _RetVal;
10917 }
10918
10919 void __RPC_STUB ITypeFactory_CreateFromTypeInfo_Stub(
10920     IRpcStubBuffer *This,
10921     IRpcChannelBuffer *_pRpcChannelBuffer,
10922     PRPC_MESSAGE _pRpcMessage,
10923     DWORD *_pdwStubPhase)
10924 {
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;
10931     
10932 NdrStubInitialize(
10933                      _pRpcMessage,
10934                      &_StubMsg,
10935                      &Object_StubDesc,
10936                      _pRpcChannelBuffer);
10937     pTypeInfo = 0;
10938     ( IUnknown __RPC_FAR *__RPC_FAR * )ppv = 0;
10939     RpcTryFinally
10940         {
10941         if ( (_pRpcMessage->DataRepresentation & 0X0000FFFFUL) != NDR_LOCAL_DATA_REPRESENTATION )
10942             NdrConvert( (PMIDL_STUB_MESSAGE) &_StubMsg, (PFORMAT_STRING) &__MIDL_ProcFormatString.Format[480] );
10943         
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 );
10948         
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 );
10953         
10954         ppv = (void *)&_M101;
10955         _M101 = 0;
10956         
10957         *_pdwStubPhase = STUB_CALL_SERVER;
10958         _RetVal = (((ITypeFactory*) ((CStdStubBuffer *)This)->pvServerObject)->lpVtbl) -> CreateFromTypeInfo(
10959                       (ITypeFactory *) ((CStdStubBuffer *)This)->pvServerObject,
10960                       pTypeInfo,
10961                       riid,
10962                       ppv);
10963         
10964         *_pdwStubPhase = STUB_MARSHAL;
10965         
10966         _StubMsg.BufferLength = 0U + 4U;
10967         _StubMsg.MaxCount = (unsigned long) ( riid );
10968         
10969         NdrPointerBufferSize( (PMIDL_STUB_MESSAGE) &_StubMsg,
10970                               (unsigned char __RPC_FAR *)ppv,
10971                               (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[1896] );
10972         
10973         _StubMsg.BufferLength += 16;
10974         
10975         NdrStubGetBuffer(This, _pRpcChannelBuffer, &_StubMsg);
10976         _StubMsg.MaxCount = (unsigned long) ( riid );
10977         
10978         NdrPointerMarshall( (PMIDL_STUB_MESSAGE)& _StubMsg,
10979                             (unsigned char __RPC_FAR *)ppv,
10980                             (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[1896] );
10981         
10982         _StubMsg.Buffer = (unsigned char __RPC_FAR *)(((long)_StubMsg.Buffer + 3) & ~ 0x3);
10983         *(( HRESULT __RPC_FAR * )_StubMsg.Buffer)++ = _RetVal;
10984         
10985         }
10986     RpcFinally
10987         {
10988         NdrInterfacePointerFree( &_StubMsg,
10989                                  (unsigned char __RPC_FAR *)pTypeInfo,
10990                                  &__MIDL_TypeFormatString.Format[10] );
10991         
10992         _StubMsg.MaxCount = (unsigned long) ( riid );
10993         
10994         NdrPointerFree( &_StubMsg,
10995                         (unsigned char __RPC_FAR *)ppv,
10996                         &__MIDL_TypeFormatString.Format[1896] );
10997         
10998         }
10999     RpcEndFinally
11000     _pRpcMessage->BufferLength = 
11001         (unsigned int)((long)_StubMsg.Buffer - (long)_pRpcMessage->Buffer);
11002     
11003 }
11004
11005 extern const USER_MARSHAL_ROUTINE_QUADRUPLE UserMarshalRoutines[3];
11006
11007 static const MIDL_STUB_DESC Object_StubDesc = 
11008     {
11009     0,
11010     NdrOleAllocate,
11011     NdrOleFree,
11012     { 0 },
11013     0,
11014     0,
11015     0,
11016     0,
11017     __MIDL_TypeFormatString.Format,
11018     1, /* -error bounds_check flag */
11019     0x20000, /* Ndr library version */
11020     0,
11021     0x50100a4, /* MIDL Version 5.1.164 */
11022     0,
11023     UserMarshalRoutines,
11024     0,  /* notify & notify_flag routine table */
11025     1,  /* Flags */
11026     0,  /* Reserved3 */
11027     0,  /* Reserved4 */
11028     0   /* Reserved5 */
11029     };
11030
11031 const CINTERFACE_PROXY_VTABLE(4) _ITypeFactoryProxyVtbl = 
11032 {
11033     { &IID_ITypeFactory },
11034     {
11035         IUnknown_QueryInterface_Proxy,
11036         IUnknown_AddRef_Proxy,
11037         IUnknown_Release_Proxy ,
11038         ITypeFactory_CreateFromTypeInfo_Proxy
11039     }
11040 };
11041
11042
11043 static const PRPC_STUB_FUNCTION ITypeFactory_table[] =
11044 {
11045     ITypeFactory_CreateFromTypeInfo_Stub
11046 };
11047
11048 const CInterfaceStubVtbl _ITypeFactoryStubVtbl =
11049 {
11050     {
11051         &IID_ITypeFactory,
11052         0,
11053         4,
11054         &ITypeFactory_table[-3]
11055     },
11056     { CStdStubBuffer_METHODS }
11057 };
11058
11059
11060 /* Object interface: ITypeMarshal, ver. 0.0,
11061    GUID={0x0000002D,0x0000,0x0000,{0xC0,0x00,0x00,0x00,0x00,0x00,0x00,0x46}} */
11062
11063
11064 /* Object interface: IRecordInfo, ver. 0.0,
11065    GUID={0x0000002F,0x0000,0x0000,{0xC0,0x00,0x00,0x00,0x00,0x00,0x00,0x46}} */
11066
11067
11068 /* Object interface: ICreateTypeInfo, ver. 0.0,
11069    GUID={0x00020405,0x0000,0x0000,{0xC0,0x00,0x00,0x00,0x00,0x00,0x00,0x46}} */
11070
11071
11072 /* Object interface: ICreateTypeInfo2, ver. 0.0,
11073    GUID={0x0002040E,0x0000,0x0000,{0xC0,0x00,0x00,0x00,0x00,0x00,0x00,0x46}} */
11074
11075
11076 /* Object interface: ICreateTypeLib, ver. 0.0,
11077    GUID={0x00020406,0x0000,0x0000,{0xC0,0x00,0x00,0x00,0x00,0x00,0x00,0x46}} */
11078
11079
11080 /* Object interface: ICreateTypeLib2, ver. 0.0,
11081    GUID={0x0002040F,0x0000,0x0000,{0xC0,0x00,0x00,0x00,0x00,0x00,0x00,0x46}} */
11082
11083 static const USER_MARSHAL_ROUTINE_QUADRUPLE UserMarshalRoutines[3] = 
11084         {
11085             {
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
11090             },
11091             {
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
11096             },
11097             {
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
11102             }
11103
11104         };
11105
11106
11107 #if !defined(__RPC_WIN32__)
11108 #error  Invalid build platform for this stub.
11109 #endif
11110
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
11117
11118
11119 static const MIDL_PROC_FORMAT_STRING __MIDL_ProcFormatString =
11120     {
11121         0,
11122         {
11123                         
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 */
11949
11950                         0x0
11951         }
11952     };
11953
11954 static const MIDL_TYPE_FORMAT_STRING __MIDL_TypeFormatString =
11955     {
11956         0,
11957         {
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 */
12031
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 */
12271
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 */
12291
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 */
12369
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 */
12447
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 */
12505
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 */
12534
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 */
12563
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 */
12592
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
13405
13406                         0x0
13407         }
13408     };
13409
13410 const CInterfaceProxyVtbl * _oaidl_ProxyVtblList[] = 
13411 {
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,
13423     0
13424 };
13425
13426 const CInterfaceStubVtbl * _oaidl_StubVtblList[] = 
13427 {
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,
13439     0
13440 };
13441
13442 PCInterfaceName const _oaidl_InterfaceNamesList[] = 
13443 {
13444     "IDispatch",
13445     "ITypeInfo",
13446     "ITypeLib",
13447     "ITypeComp",
13448     "IEnumVARIANT",
13449     "ITypeLib2",
13450     "ITypeInfo2",
13451     "IErrorInfo",
13452     "ITypeFactory",
13453     "ICreateErrorInfo",
13454     "ISupportErrorInfo",
13455     0
13456 };
13457
13458
13459 #define _oaidl_CHECK_IID(n)     IID_GENERIC_CHECK_IID( _oaidl, pIID, n)
13460
13461 int __stdcall _oaidl_IID_Lookup( const IID * pIID, int * pIndex )
13462 {
13463     IID_BS_LOOKUP_SETUP
13464
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 )
13470     
13471 }
13472
13473 const ExtendedProxyFileInfo oaidl_ProxyFileInfo = 
13474 {
13475     (PCInterfaceProxyVtblList *) & _oaidl_ProxyVtblList,
13476     (PCInterfaceStubVtblList *) & _oaidl_StubVtblList,
13477     (const PCInterfaceName * ) & _oaidl_InterfaceNamesList,
13478     0, /* no delegation */
13479     & _oaidl_IID_Lookup, 
13480     11,
13481     1,
13482     0, /* table of [async_uuid] interfaces */
13483     0, /* Filler1 */
13484     0, /* Filler2 */
13485     0  /* Filler3 */
13486 };