Localization of devenum to Portuguese and minor corrections.
[wine] / dlls / oleaut32 / oaidl_p.c
1 /* This file contains the proxy/stub code for core COM interfaces.
2
3    It is usually generated directly by MIDL, however this file has
4    been tweaked since then to account for slight differences in the way
5    gcc and MSVC++ compile it. In particular, in some functions REFIIDs
6    declared on the stack have been converted to plain IID* in order to eliminate
7    the constness of the REFIID type, ensuring that the zero initializer is not
8    discarded.
9
10    Therefore, please do not regenerate this file.
11 */
12
13 /* File created by MIDL compiler version 5.01.0164 */
14 /* at Tue Jan 07 22:24:52 2003
15  */
16 /* Compiler settings for oaidl.idl:
17     Os (OptLev=s), W1, Zp8, env=Win32, ms_ext, c_ext
18     error checks: allocation ref bounds_check enum stub_data 
19 */
20 /*@@MIDL_FILE_HEADING(  ) */
21
22
23 /* verify that the <rpcproxy.h> version is high enough to compile this file*/
24 #ifndef __REDQ_RPCPROXY_H_VERSION__
25 #define __REQUIRED_RPCPROXY_H_VERSION__ 440
26 #endif
27
28
29 #include <stdarg.h>
30
31 #include "windef.h"
32 #include "winbase.h"
33 #include "objbase.h"
34 #include "rpcproxy.h"
35 #ifndef __RPCPROXY_H_VERSION__
36 #error this stub requires an updated version of <rpcproxy.h>
37 #endif /* __RPCPROXY_H_VERSION__ */
38
39
40 #include "oaidl.h"
41
42 #define TYPE_FORMAT_STRING_SIZE   1907                              
43 #define PROC_FORMAT_STRING_SIZE   495                               
44
45 typedef struct _MIDL_TYPE_FORMAT_STRING
46     {
47     short          Pad;
48     unsigned char  Format[ TYPE_FORMAT_STRING_SIZE ];
49     } MIDL_TYPE_FORMAT_STRING;
50
51 typedef struct _MIDL_PROC_FORMAT_STRING
52     {
53     short          Pad;
54     unsigned char  Format[ PROC_FORMAT_STRING_SIZE ];
55     } MIDL_PROC_FORMAT_STRING;
56
57
58 extern const MIDL_TYPE_FORMAT_STRING __MIDL_TypeFormatString;
59 extern const MIDL_PROC_FORMAT_STRING __MIDL_ProcFormatString;
60
61
62 /* Standard interface: __MIDL_itf_oaidl_0000, ver. 0.0,
63    GUID={0x00000000,0x0000,0x0000,{0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00}} */
64
65
66 /* Standard interface: IOleAutomationTypes, ver. 1.0,
67    GUID={0x00000000,0x0000,0x0000,{0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00}} */
68
69
70 /* Object interface: IUnknown, ver. 0.0,
71    GUID={0x00000000,0x0000,0x0000,{0xC0,0x00,0x00,0x00,0x00,0x00,0x00,0x46}} */
72
73
74 /* Object interface: IDispatch, ver. 0.0,
75    GUID={0x00020400,0x0000,0x0000,{0xC0,0x00,0x00,0x00,0x00,0x00,0x00,0x46}} */
76
77
78 extern const MIDL_STUB_DESC Object_StubDesc;
79
80
81 HRESULT STDMETHODCALLTYPE IDispatch_GetTypeInfoCount_Proxy( 
82     IDispatch __RPC_FAR * This,
83     /* [out] */ UINT __RPC_FAR *pctinfo)
84 {
85
86     HRESULT _RetVal;
87     
88     RPC_MESSAGE _RpcMessage;
89     
90     MIDL_STUB_MESSAGE _StubMsg;
91     
92     RpcTryExcept
93         {
94         NdrProxyInitialize(
95                       ( void __RPC_FAR *  )This,
96                       ( PRPC_MESSAGE  )&_RpcMessage,
97                       ( PMIDL_STUB_MESSAGE  )&_StubMsg,
98                       ( PMIDL_STUB_DESC  )&Object_StubDesc,
99                       3);
100         
101         
102         
103         if(!pctinfo)
104             {
105             RpcRaiseException(RPC_X_NULL_REF_POINTER);
106             }
107         RpcTryFinally
108             {
109             
110             _StubMsg.BufferLength = 0U;
111             NdrProxyGetBuffer(This, &_StubMsg);
112             NdrProxySendReceive(This, &_StubMsg);
113             
114             if ( (_RpcMessage.DataRepresentation & 0X0000FFFFUL) != NDR_LOCAL_DATA_REPRESENTATION )
115                 NdrConvert( (PMIDL_STUB_MESSAGE) &_StubMsg, (PFORMAT_STRING) &__MIDL_ProcFormatString.Format[0] );
116             
117             *pctinfo = *(( UINT __RPC_FAR * )_StubMsg.Buffer)++;
118             
119             _RetVal = *(( HRESULT __RPC_FAR * )_StubMsg.Buffer)++;
120             
121             }
122         RpcFinally
123             {
124             NdrProxyFreeBuffer(This, &_StubMsg);
125             
126             }
127         RpcEndFinally
128         
129         }
130     RpcExcept(_StubMsg.dwStubPhase != PROXY_SENDRECEIVE)
131         {
132         NdrClearOutParameters(
133                          ( PMIDL_STUB_MESSAGE  )&_StubMsg,
134                          ( PFORMAT_STRING  )&__MIDL_TypeFormatString.Format[2],
135                          ( void __RPC_FAR * )pctinfo);
136         _RetVal = NdrProxyErrorHandler(RpcExceptionCode());
137         }
138     RpcEndExcept
139     return _RetVal;
140 }
141
142 void __RPC_STUB IDispatch_GetTypeInfoCount_Stub(
143     IRpcStubBuffer *This,
144     IRpcChannelBuffer *_pRpcChannelBuffer,
145     PRPC_MESSAGE _pRpcMessage,
146     DWORD *_pdwStubPhase)
147 {
148     UINT _M0;
149     HRESULT _RetVal;
150     MIDL_STUB_MESSAGE _StubMsg;
151     UINT __RPC_FAR *pctinfo;
152     
153 NdrStubInitialize(
154                      _pRpcMessage,
155                      &_StubMsg,
156                      &Object_StubDesc,
157                      _pRpcChannelBuffer);
158     ( UINT __RPC_FAR * )pctinfo = 0;
159     RpcTryFinally
160         {
161         pctinfo = &_M0;
162         
163         *_pdwStubPhase = STUB_CALL_SERVER;
164         _RetVal = (((IDispatch*) ((CStdStubBuffer *)This)->pvServerObject)->lpVtbl) -> GetTypeInfoCount((IDispatch *) ((CStdStubBuffer *)This)->pvServerObject,pctinfo);
165         
166         *_pdwStubPhase = STUB_MARSHAL;
167         
168         _StubMsg.BufferLength = 4U + 4U;
169         NdrStubGetBuffer(This, _pRpcChannelBuffer, &_StubMsg);
170         *(( UINT __RPC_FAR * )_StubMsg.Buffer)++ = *pctinfo;
171         
172         *(( HRESULT __RPC_FAR * )_StubMsg.Buffer)++ = _RetVal;
173         
174         }
175     RpcFinally
176         {
177         }
178     RpcEndFinally
179     _pRpcMessage->BufferLength = 
180         (unsigned int)((long)_StubMsg.Buffer - (long)_pRpcMessage->Buffer);
181     
182 }
183
184
185 HRESULT STDMETHODCALLTYPE IDispatch_GetTypeInfo_Proxy( 
186     IDispatch __RPC_FAR * This,
187     /* [in] */ UINT iTInfo,
188     /* [in] */ LCID lcid,
189     /* [out] */ ITypeInfo __RPC_FAR *__RPC_FAR *ppTInfo)
190 {
191
192     HRESULT _RetVal;
193     
194     RPC_MESSAGE _RpcMessage;
195     
196     MIDL_STUB_MESSAGE _StubMsg;
197     
198     if(ppTInfo)
199         {
200         MIDL_memset(
201                ppTInfo,
202                0,
203                sizeof( ITypeInfo __RPC_FAR *__RPC_FAR * ));
204         }
205     RpcTryExcept
206         {
207         NdrProxyInitialize(
208                       ( void __RPC_FAR *  )This,
209                       ( PRPC_MESSAGE  )&_RpcMessage,
210                       ( PMIDL_STUB_MESSAGE  )&_StubMsg,
211                       ( PMIDL_STUB_DESC  )&Object_StubDesc,
212                       4);
213         
214         
215         
216         if(!ppTInfo)
217             {
218             RpcRaiseException(RPC_X_NULL_REF_POINTER);
219             }
220         RpcTryFinally
221             {
222             
223             _StubMsg.BufferLength = 4U + 4U;
224             NdrProxyGetBuffer(This, &_StubMsg);
225             *(( UINT __RPC_FAR * )_StubMsg.Buffer)++ = iTInfo;
226             
227             *(( LCID __RPC_FAR * )_StubMsg.Buffer)++ = lcid;
228             
229             NdrProxySendReceive(This, &_StubMsg);
230             
231             if ( (_RpcMessage.DataRepresentation & 0X0000FFFFUL) != NDR_LOCAL_DATA_REPRESENTATION )
232                 NdrConvert( (PMIDL_STUB_MESSAGE) &_StubMsg, (PFORMAT_STRING) &__MIDL_ProcFormatString.Format[6] );
233             
234             NdrPointerUnmarshall( (PMIDL_STUB_MESSAGE) &_StubMsg,
235                                   (unsigned char __RPC_FAR * __RPC_FAR *)&ppTInfo,
236                                   (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[6],
237                                   (unsigned char)0 );
238             
239             _StubMsg.Buffer = (unsigned char __RPC_FAR *)(((long)_StubMsg.Buffer + 3) & ~ 0x3);
240             _RetVal = *(( HRESULT __RPC_FAR * )_StubMsg.Buffer)++;
241             
242             }
243         RpcFinally
244             {
245             NdrProxyFreeBuffer(This, &_StubMsg);
246             
247             }
248         RpcEndFinally
249         
250         }
251     RpcExcept(_StubMsg.dwStubPhase != PROXY_SENDRECEIVE)
252         {
253         NdrClearOutParameters(
254                          ( PMIDL_STUB_MESSAGE  )&_StubMsg,
255                          ( PFORMAT_STRING  )&__MIDL_TypeFormatString.Format[6],
256                          ( void __RPC_FAR * )ppTInfo);
257         _RetVal = NdrProxyErrorHandler(RpcExceptionCode());
258         }
259     RpcEndExcept
260     return _RetVal;
261 }
262
263 void __RPC_STUB IDispatch_GetTypeInfo_Stub(
264     IRpcStubBuffer *This,
265     IRpcChannelBuffer *_pRpcChannelBuffer,
266     PRPC_MESSAGE _pRpcMessage,
267     DWORD *_pdwStubPhase)
268 {
269     ITypeInfo __RPC_FAR *_M1;
270     HRESULT _RetVal;
271     MIDL_STUB_MESSAGE _StubMsg;
272     UINT iTInfo;
273     LCID lcid;
274     ITypeInfo __RPC_FAR *__RPC_FAR *ppTInfo;
275     
276 NdrStubInitialize(
277                      _pRpcMessage,
278                      &_StubMsg,
279                      &Object_StubDesc,
280                      _pRpcChannelBuffer);
281     ( ITypeInfo __RPC_FAR *__RPC_FAR * )ppTInfo = 0;
282     RpcTryFinally
283         {
284         if ( (_pRpcMessage->DataRepresentation & 0X0000FFFFUL) != NDR_LOCAL_DATA_REPRESENTATION )
285             NdrConvert( (PMIDL_STUB_MESSAGE) &_StubMsg, (PFORMAT_STRING) &__MIDL_ProcFormatString.Format[6] );
286         
287         iTInfo = *(( UINT __RPC_FAR * )_StubMsg.Buffer)++;
288         
289         lcid = *(( LCID __RPC_FAR * )_StubMsg.Buffer)++;
290         
291         ppTInfo = &_M1;
292         _M1 = 0;
293         
294         *_pdwStubPhase = STUB_CALL_SERVER;
295         _RetVal = (((IDispatch*) ((CStdStubBuffer *)This)->pvServerObject)->lpVtbl) -> GetTypeInfo(
296                (IDispatch *) ((CStdStubBuffer *)This)->pvServerObject,
297                iTInfo,
298                lcid,
299                ppTInfo);
300         
301         *_pdwStubPhase = STUB_MARSHAL;
302         
303         _StubMsg.BufferLength = 0U + 4U;
304         NdrPointerBufferSize( (PMIDL_STUB_MESSAGE) &_StubMsg,
305                               (unsigned char __RPC_FAR *)ppTInfo,
306                               (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[6] );
307         
308         _StubMsg.BufferLength += 16;
309         
310         NdrStubGetBuffer(This, _pRpcChannelBuffer, &_StubMsg);
311         NdrPointerMarshall( (PMIDL_STUB_MESSAGE)& _StubMsg,
312                             (unsigned char __RPC_FAR *)ppTInfo,
313                             (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[6] );
314         
315         _StubMsg.Buffer = (unsigned char __RPC_FAR *)(((long)_StubMsg.Buffer + 3) & ~ 0x3);
316         *(( HRESULT __RPC_FAR * )_StubMsg.Buffer)++ = _RetVal;
317         
318         }
319     RpcFinally
320         {
321         NdrPointerFree( &_StubMsg,
322                         (unsigned char __RPC_FAR *)ppTInfo,
323                         &__MIDL_TypeFormatString.Format[6] );
324         
325         }
326     RpcEndFinally
327     _pRpcMessage->BufferLength = 
328         (unsigned int)((long)_StubMsg.Buffer - (long)_pRpcMessage->Buffer);
329     
330 }
331
332
333 HRESULT STDMETHODCALLTYPE IDispatch_GetIDsOfNames_Proxy( 
334     IDispatch __RPC_FAR * This,
335     /* [in] */ REFIID riid,
336     /* [size_is][in] */ LPOLESTR __RPC_FAR *rgszNames,
337     /* [in] */ UINT cNames,
338     /* [in] */ LCID lcid,
339     /* [size_is][out] */ DISPID __RPC_FAR *rgDispId)
340 {
341
342     HRESULT _RetVal;
343     
344     RPC_MESSAGE _RpcMessage;
345     
346     MIDL_STUB_MESSAGE _StubMsg;
347     
348     RpcTryExcept
349         {
350         NdrProxyInitialize(
351                       ( void __RPC_FAR *  )This,
352                       ( PRPC_MESSAGE  )&_RpcMessage,
353                       ( PMIDL_STUB_MESSAGE  )&_StubMsg,
354                       ( PMIDL_STUB_DESC  )&Object_StubDesc,
355                       5);
356         
357         
358         
359         if(!riid)
360             {
361             RpcRaiseException(RPC_X_NULL_REF_POINTER);
362             }
363         if(!rgszNames)
364             {
365             RpcRaiseException(RPC_X_NULL_REF_POINTER);
366             }
367         if(!rgDispId)
368             {
369             RpcRaiseException(RPC_X_NULL_REF_POINTER);
370             }
371         RpcTryFinally
372             {
373             
374             _StubMsg.BufferLength = 0U + 7U + 7U + 7U;
375             NdrSimpleStructBufferSize( (PMIDL_STUB_MESSAGE) &_StubMsg,
376                                        (unsigned char __RPC_FAR *)riid,
377                                        (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[38] );
378             
379             _StubMsg.MaxCount = cNames;
380             
381             NdrConformantArrayBufferSize( (PMIDL_STUB_MESSAGE) &_StubMsg,
382                                           (unsigned char __RPC_FAR *)rgszNames,
383                                           (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[54] );
384             
385             NdrProxyGetBuffer(This, &_StubMsg);
386             NdrSimpleStructMarshall( (PMIDL_STUB_MESSAGE)& _StubMsg,
387                                      (unsigned char __RPC_FAR *)riid,
388                                      (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[38] );
389             
390             _StubMsg.MaxCount = cNames;
391             
392             NdrConformantArrayMarshall( (PMIDL_STUB_MESSAGE)& _StubMsg,
393                                         (unsigned char __RPC_FAR *)rgszNames,
394                                         (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[54] );
395             
396             _StubMsg.Buffer = (unsigned char __RPC_FAR *)(((long)_StubMsg.Buffer + 3) & ~ 0x3);
397             *(( UINT __RPC_FAR * )_StubMsg.Buffer)++ = cNames;
398             
399             *(( LCID __RPC_FAR * )_StubMsg.Buffer)++ = lcid;
400             
401             NdrProxySendReceive(This, &_StubMsg);
402             
403             if ( (_RpcMessage.DataRepresentation & 0X0000FFFFUL) != NDR_LOCAL_DATA_REPRESENTATION )
404                 NdrConvert( (PMIDL_STUB_MESSAGE) &_StubMsg, (PFORMAT_STRING) &__MIDL_ProcFormatString.Format[16] );
405             
406             NdrConformantArrayUnmarshall( (PMIDL_STUB_MESSAGE) &_StubMsg,
407                                           (unsigned char __RPC_FAR * __RPC_FAR *)&rgDispId,
408                                           (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[88],
409                                           (unsigned char)0 );
410             
411             _RetVal = *(( HRESULT __RPC_FAR * )_StubMsg.Buffer)++;
412             
413             }
414         RpcFinally
415             {
416             NdrProxyFreeBuffer(This, &_StubMsg);
417             
418             }
419         RpcEndFinally
420         
421         }
422     RpcExcept(_StubMsg.dwStubPhase != PROXY_SENDRECEIVE)
423         {
424         _StubMsg.MaxCount = cNames;
425         
426         NdrClearOutParameters(
427                          ( PMIDL_STUB_MESSAGE  )&_StubMsg,
428                          ( PFORMAT_STRING  )&__MIDL_TypeFormatString.Format[84],
429                          ( void __RPC_FAR * )rgDispId);
430         _RetVal = NdrProxyErrorHandler(RpcExceptionCode());
431         }
432     RpcEndExcept
433     return _RetVal;
434 }
435
436 void __RPC_STUB IDispatch_GetIDsOfNames_Stub(
437     IRpcStubBuffer *This,
438     IRpcChannelBuffer *_pRpcChannelBuffer,
439     PRPC_MESSAGE _pRpcMessage,
440     DWORD *_pdwStubPhase)
441 {
442     HRESULT _RetVal;
443     MIDL_STUB_MESSAGE _StubMsg;
444     UINT cNames;
445     LCID lcid;
446     DISPID __RPC_FAR *rgDispId;
447     LPOLESTR __RPC_FAR *rgszNames;
448     IID* riid = 0;
449     
450 NdrStubInitialize(
451                      _pRpcMessage,
452                      &_StubMsg,
453                      &Object_StubDesc,
454                      _pRpcChannelBuffer);
455     ( LPOLESTR __RPC_FAR * )rgszNames = 0;
456     ( DISPID __RPC_FAR * )rgDispId = 0;
457     RpcTryFinally
458         {
459         if ( (_pRpcMessage->DataRepresentation & 0X0000FFFFUL) != NDR_LOCAL_DATA_REPRESENTATION )
460             NdrConvert( (PMIDL_STUB_MESSAGE) &_StubMsg, (PFORMAT_STRING) &__MIDL_ProcFormatString.Format[16] );
461         
462         NdrSimpleStructUnmarshall( (PMIDL_STUB_MESSAGE) &_StubMsg,
463                                    (unsigned char __RPC_FAR * __RPC_FAR *)&riid,
464                                    (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[38],
465                                    (unsigned char)0 );
466         
467         NdrConformantArrayUnmarshall( (PMIDL_STUB_MESSAGE) &_StubMsg,
468                                       (unsigned char __RPC_FAR * __RPC_FAR *)&rgszNames,
469                                       (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[54],
470                                       (unsigned char)0 );
471         
472         _StubMsg.Buffer = (unsigned char __RPC_FAR *)(((long)_StubMsg.Buffer + 3) & ~ 0x3);
473         cNames = *(( UINT __RPC_FAR * )_StubMsg.Buffer)++;
474         
475         lcid = *(( LCID __RPC_FAR * )_StubMsg.Buffer)++;
476         
477         rgDispId = NdrAllocate(&_StubMsg,cNames * 4);
478         
479         *_pdwStubPhase = STUB_CALL_SERVER;
480         _RetVal = (((IDispatch*) ((CStdStubBuffer *)This)->pvServerObject)->lpVtbl) -> GetIDsOfNames(
481                  (IDispatch *) ((CStdStubBuffer *)This)->pvServerObject,
482                  riid,
483                  rgszNames,
484                  cNames,
485                  lcid,
486                  rgDispId);
487         
488         *_pdwStubPhase = STUB_MARSHAL;
489         
490         _StubMsg.BufferLength = 4U + 7U;
491         _StubMsg.MaxCount = cNames;
492         
493         NdrConformantArrayBufferSize( (PMIDL_STUB_MESSAGE) &_StubMsg,
494                                       (unsigned char __RPC_FAR *)rgDispId,
495                                       (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[88] );
496         
497         _StubMsg.BufferLength += 16;
498         
499         NdrStubGetBuffer(This, _pRpcChannelBuffer, &_StubMsg);
500         _StubMsg.MaxCount = cNames;
501         
502         NdrConformantArrayMarshall( (PMIDL_STUB_MESSAGE)& _StubMsg,
503                                     (unsigned char __RPC_FAR *)rgDispId,
504                                     (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[88] );
505         
506         *(( HRESULT __RPC_FAR * )_StubMsg.Buffer)++ = _RetVal;
507         
508         }
509     RpcFinally
510         {
511         _StubMsg.MaxCount = cNames;
512         
513         NdrPointerFree( &_StubMsg,
514                         (unsigned char __RPC_FAR *)rgszNames,
515                         &__MIDL_TypeFormatString.Format[50] );
516         
517         if ( rgDispId )
518             _StubMsg.pfnFree( rgDispId );
519         
520         }
521     RpcEndFinally
522     _pRpcMessage->BufferLength = 
523         (unsigned int)((long)_StubMsg.Buffer - (long)_pRpcMessage->Buffer);
524     
525 }
526
527
528 /* [call_as] */ HRESULT STDMETHODCALLTYPE IDispatch_RemoteInvoke_Proxy( 
529     IDispatch __RPC_FAR * This,
530     /* [in] */ DISPID dispIdMember,
531     /* [in] */ REFIID riid,
532     /* [in] */ LCID lcid,
533     /* [in] */ DWORD dwFlags,
534     /* [in] */ DISPPARAMS __RPC_FAR *pDispParams,
535     /* [out] */ VARIANT __RPC_FAR *pVarResult,
536     /* [out] */ EXCEPINFO __RPC_FAR *pExcepInfo,
537     /* [out] */ UINT __RPC_FAR *pArgErr,
538     /* [in] */ UINT cVarRef,
539     /* [size_is][in] */ UINT __RPC_FAR *rgVarRefIdx,
540     /* [size_is][out][in] */ VARIANTARG __RPC_FAR *rgVarRef)
541 {
542
543     HRESULT _RetVal;
544     
545     RPC_MESSAGE _RpcMessage;
546     
547     MIDL_STUB_MESSAGE _StubMsg;
548     
549     if(pVarResult)
550         {
551         MIDL_memset(
552                pVarResult,
553                0,
554                sizeof( VARIANT  ));
555         }
556     if(pExcepInfo)
557         {
558         MIDL_memset(
559                pExcepInfo,
560                0,
561                sizeof( EXCEPINFO  ));
562         }
563     RpcTryExcept
564         {
565         NdrProxyInitialize(
566                       ( void __RPC_FAR *  )This,
567                       ( PRPC_MESSAGE  )&_RpcMessage,
568                       ( PMIDL_STUB_MESSAGE  )&_StubMsg,
569                       ( PMIDL_STUB_DESC  )&Object_StubDesc,
570                       6);
571         
572         
573         
574         if(!riid)
575             {
576             RpcRaiseException(RPC_X_NULL_REF_POINTER);
577             }
578         if(!pDispParams)
579             {
580             RpcRaiseException(RPC_X_NULL_REF_POINTER);
581             }
582         if(!pVarResult)
583             {
584             RpcRaiseException(RPC_X_NULL_REF_POINTER);
585             }
586         if(!pExcepInfo)
587             {
588             RpcRaiseException(RPC_X_NULL_REF_POINTER);
589             }
590         if(!pArgErr)
591             {
592             RpcRaiseException(RPC_X_NULL_REF_POINTER);
593             }
594         if(!rgVarRefIdx)
595             {
596             RpcRaiseException(RPC_X_NULL_REF_POINTER);
597             }
598         if(!rgVarRef)
599             {
600             RpcRaiseException(RPC_X_NULL_REF_POINTER);
601             }
602         RpcTryFinally
603             {
604             
605             _StubMsg.BufferLength = 4U + 4U + 11U + 7U + 4U + 11U + 7U + 7U;
606             NdrSimpleStructBufferSize( (PMIDL_STUB_MESSAGE) &_StubMsg,
607                                        (unsigned char __RPC_FAR *)riid,
608                                        (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[38] );
609             
610             NdrComplexStructBufferSize( (PMIDL_STUB_MESSAGE) &_StubMsg,
611                                         (unsigned char __RPC_FAR *)pDispParams,
612                                         (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[1080] );
613             
614             _StubMsg.MaxCount = cVarRef;
615             
616             NdrConformantArrayBufferSize( (PMIDL_STUB_MESSAGE) &_StubMsg,
617                                           (unsigned char __RPC_FAR *)rgVarRefIdx,
618                                           (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[1170] );
619             
620             _StubMsg.MaxCount = cVarRef;
621             
622             NdrComplexArrayBufferSize( (PMIDL_STUB_MESSAGE) &_StubMsg,
623                                        (unsigned char __RPC_FAR *)rgVarRef,
624                                        (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[1184] );
625             
626             NdrProxyGetBuffer(This, &_StubMsg);
627             *(( DISPID __RPC_FAR * )_StubMsg.Buffer)++ = dispIdMember;
628             
629             NdrSimpleStructMarshall( (PMIDL_STUB_MESSAGE)& _StubMsg,
630                                      (unsigned char __RPC_FAR *)riid,
631                                      (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[38] );
632             
633             *(( LCID __RPC_FAR * )_StubMsg.Buffer)++ = lcid;
634             
635             *(( DWORD __RPC_FAR * )_StubMsg.Buffer)++ = dwFlags;
636             
637             NdrComplexStructMarshall( (PMIDL_STUB_MESSAGE)& _StubMsg,
638                                       (unsigned char __RPC_FAR *)pDispParams,
639                                       (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[1080] );
640             
641             _StubMsg.Buffer = (unsigned char __RPC_FAR *)(((long)_StubMsg.Buffer + 3) & ~ 0x3);
642             *(( UINT __RPC_FAR * )_StubMsg.Buffer)++ = cVarRef;
643             
644             _StubMsg.MaxCount = cVarRef;
645             
646             NdrConformantArrayMarshall( (PMIDL_STUB_MESSAGE)& _StubMsg,
647                                         (unsigned char __RPC_FAR *)rgVarRefIdx,
648                                         (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[1170] );
649             
650             _StubMsg.MaxCount = cVarRef;
651             
652             NdrComplexArrayMarshall( (PMIDL_STUB_MESSAGE)& _StubMsg,
653                                      (unsigned char __RPC_FAR *)rgVarRef,
654                                      (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[1184] );
655             
656             NdrProxySendReceive(This, &_StubMsg);
657             
658             if ( (_RpcMessage.DataRepresentation & 0X0000FFFFUL) != NDR_LOCAL_DATA_REPRESENTATION )
659                 NdrConvert( (PMIDL_STUB_MESSAGE) &_StubMsg, (PFORMAT_STRING) &__MIDL_ProcFormatString.Format[34] );
660             
661             NdrUserMarshalUnmarshall( (PMIDL_STUB_MESSAGE) &_StubMsg,
662                                       (unsigned char __RPC_FAR * __RPC_FAR *)&pVarResult,
663                                       (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[1110],
664                                       (unsigned char)0 );
665             
666             NdrComplexStructUnmarshall( (PMIDL_STUB_MESSAGE) &_StubMsg,
667                                         (unsigned char __RPC_FAR * __RPC_FAR *)&pExcepInfo,
668                                         (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[1138],
669                                         (unsigned char)0 );
670             
671             _StubMsg.Buffer = (unsigned char __RPC_FAR *)(((long)_StubMsg.Buffer + 3) & ~ 0x3);
672             *pArgErr = *(( UINT __RPC_FAR * )_StubMsg.Buffer)++;
673             
674             NdrComplexArrayUnmarshall( (PMIDL_STUB_MESSAGE) &_StubMsg,
675                                        (unsigned char __RPC_FAR * __RPC_FAR *)&rgVarRef,
676                                        (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[1184],
677                                        (unsigned char)0 );
678             
679             _StubMsg.Buffer = (unsigned char __RPC_FAR *)(((long)_StubMsg.Buffer + 3) & ~ 0x3);
680             _RetVal = *(( HRESULT __RPC_FAR * )_StubMsg.Buffer)++;
681             
682             }
683         RpcFinally
684             {
685             NdrProxyFreeBuffer(This, &_StubMsg);
686             
687             }
688         RpcEndFinally
689         
690         }
691     RpcExcept(_StubMsg.dwStubPhase != PROXY_SENDRECEIVE)
692         {
693         NdrClearOutParameters(
694                          ( PMIDL_STUB_MESSAGE  )&_StubMsg,
695                          ( PFORMAT_STRING  )&__MIDL_TypeFormatString.Format[1102],
696                          ( void __RPC_FAR * )pVarResult);
697         NdrClearOutParameters(
698                          ( PMIDL_STUB_MESSAGE  )&_StubMsg,
699                          ( PFORMAT_STRING  )&__MIDL_TypeFormatString.Format[1120],
700                          ( void __RPC_FAR * )pExcepInfo);
701         NdrClearOutParameters(
702                          ( PMIDL_STUB_MESSAGE  )&_StubMsg,
703                          ( PFORMAT_STRING  )&__MIDL_TypeFormatString.Format[2],
704                          ( void __RPC_FAR * )pArgErr);
705         _StubMsg.MaxCount = cVarRef;
706         
707         NdrClearOutParameters(
708                          ( PMIDL_STUB_MESSAGE  )&_StubMsg,
709                          ( PFORMAT_STRING  )&__MIDL_TypeFormatString.Format[1180],
710                          ( void __RPC_FAR * )rgVarRef);
711         _RetVal = NdrProxyErrorHandler(RpcExceptionCode());
712         }
713     RpcEndExcept
714     return _RetVal;
715 }
716
717 void __RPC_STUB IDispatch_RemoteInvoke_Stub(
718     IRpcStubBuffer *This,
719     IRpcChannelBuffer *_pRpcChannelBuffer,
720     PRPC_MESSAGE _pRpcMessage,
721     DWORD *_pdwStubPhase)
722 {
723     VARIANT _M6;
724     UINT _M7;
725     HRESULT _RetVal;
726     MIDL_STUB_MESSAGE _StubMsg;
727     EXCEPINFO _pExcepInfoM;
728     UINT cVarRef;
729     DISPID dispIdMember;
730     DWORD dwFlags;
731     LCID lcid;
732     UINT __RPC_FAR *pArgErr;
733     DISPPARAMS __RPC_FAR *pDispParams;
734     EXCEPINFO __RPC_FAR *pExcepInfo;
735     VARIANT __RPC_FAR *pVarResult;
736     VARIANTARG __RPC_FAR *rgVarRef;
737     UINT __RPC_FAR *rgVarRefIdx;
738     IID* riid = 0;
739     
740 NdrStubInitialize(
741                      _pRpcMessage,
742                      &_StubMsg,
743                      &Object_StubDesc,
744                      _pRpcChannelBuffer);
745     ( DISPPARAMS __RPC_FAR * )pDispParams = 0;
746     ( VARIANT __RPC_FAR * )pVarResult = 0;
747     ( EXCEPINFO __RPC_FAR * )pExcepInfo = 0;
748     ( UINT __RPC_FAR * )pArgErr = 0;
749     ( UINT __RPC_FAR * )rgVarRefIdx = 0;
750     ( VARIANTARG __RPC_FAR * )rgVarRef = 0;
751     RpcTryFinally
752         {
753         if ( (_pRpcMessage->DataRepresentation & 0X0000FFFFUL) != NDR_LOCAL_DATA_REPRESENTATION )
754             NdrConvert( (PMIDL_STUB_MESSAGE) &_StubMsg, (PFORMAT_STRING) &__MIDL_ProcFormatString.Format[34] );
755         
756         dispIdMember = *(( DISPID __RPC_FAR * )_StubMsg.Buffer)++;
757         
758         NdrSimpleStructUnmarshall( (PMIDL_STUB_MESSAGE) &_StubMsg,
759                                    (unsigned char __RPC_FAR * __RPC_FAR *)&riid,
760                                    (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[38],
761                                    (unsigned char)0 );
762         
763         lcid = *(( LCID __RPC_FAR * )_StubMsg.Buffer)++;
764         
765         dwFlags = *(( DWORD __RPC_FAR * )_StubMsg.Buffer)++;
766         
767         NdrComplexStructUnmarshall( (PMIDL_STUB_MESSAGE) &_StubMsg,
768                                     (unsigned char __RPC_FAR * __RPC_FAR *)&pDispParams,
769                                     (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[1080],
770                                     (unsigned char)0 );
771         
772         _StubMsg.Buffer = (unsigned char __RPC_FAR *)(((long)_StubMsg.Buffer + 3) & ~ 0x3);
773         cVarRef = *(( UINT __RPC_FAR * )_StubMsg.Buffer)++;
774         
775         NdrConformantArrayUnmarshall( (PMIDL_STUB_MESSAGE) &_StubMsg,
776                                       (unsigned char __RPC_FAR * __RPC_FAR *)&rgVarRefIdx,
777                                       (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[1170],
778                                       (unsigned char)0 );
779         
780         NdrComplexArrayUnmarshall( (PMIDL_STUB_MESSAGE) &_StubMsg,
781                                    (unsigned char __RPC_FAR * __RPC_FAR *)&rgVarRef,
782                                    (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[1184],
783                                    (unsigned char)0 );
784         
785         pVarResult = &_M6;
786         MIDL_memset(
787                pVarResult,
788                0,
789                sizeof( VARIANT  ));
790         pExcepInfo = &_pExcepInfoM;
791         pArgErr = &_M7;
792         
793         *_pdwStubPhase = STUB_CALL_SERVER;
794         
795         
796         _RetVal = IDispatch_Invoke_Stub(
797                                 (IDispatch *) ((CStdStubBuffer *)This)->pvServerObject,
798                                 dispIdMember,
799                                 riid,
800                                 lcid,
801                                 dwFlags,
802                                 pDispParams,
803                                 pVarResult,
804                                 pExcepInfo,
805                                 pArgErr,
806                                 cVarRef,
807                                 rgVarRefIdx,
808                                 rgVarRef);
809         
810         *_pdwStubPhase = STUB_MARSHAL;
811         
812         _StubMsg.BufferLength = 8U + 7U + 11U + 7U + 7U;
813         NdrUserMarshalBufferSize( (PMIDL_STUB_MESSAGE) &_StubMsg,
814                                   (unsigned char __RPC_FAR *)pVarResult,
815                                   (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[1110] );
816         
817         NdrComplexStructBufferSize( (PMIDL_STUB_MESSAGE) &_StubMsg,
818                                     (unsigned char __RPC_FAR *)pExcepInfo,
819                                     (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[1138] );
820         
821         _StubMsg.MaxCount = cVarRef;
822         
823         NdrComplexArrayBufferSize( (PMIDL_STUB_MESSAGE) &_StubMsg,
824                                    (unsigned char __RPC_FAR *)rgVarRef,
825                                    (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[1184] );
826         
827         _StubMsg.BufferLength += 16;
828         
829         NdrStubGetBuffer(This, _pRpcChannelBuffer, &_StubMsg);
830         NdrUserMarshalMarshall( (PMIDL_STUB_MESSAGE)& _StubMsg,
831                                 (unsigned char __RPC_FAR *)pVarResult,
832                                 (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[1110] );
833         
834         NdrComplexStructMarshall( (PMIDL_STUB_MESSAGE)& _StubMsg,
835                                   (unsigned char __RPC_FAR *)pExcepInfo,
836                                   (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[1138] );
837         
838         _StubMsg.Buffer = (unsigned char __RPC_FAR *)(((long)_StubMsg.Buffer + 3) & ~ 0x3);
839         *(( UINT __RPC_FAR * )_StubMsg.Buffer)++ = *pArgErr;
840         
841         _StubMsg.MaxCount = cVarRef;
842         
843         NdrComplexArrayMarshall( (PMIDL_STUB_MESSAGE)& _StubMsg,
844                                  (unsigned char __RPC_FAR *)rgVarRef,
845                                  (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[1184] );
846         
847         _StubMsg.Buffer = (unsigned char __RPC_FAR *)(((long)_StubMsg.Buffer + 3) & ~ 0x3);
848         *(( HRESULT __RPC_FAR * )_StubMsg.Buffer)++ = _RetVal;
849         
850         }
851     RpcFinally
852         {
853         NdrPointerFree( &_StubMsg,
854                         (unsigned char __RPC_FAR *)pDispParams,
855                         &__MIDL_TypeFormatString.Format[98] );
856         
857         NdrPointerFree( &_StubMsg,
858                         (unsigned char __RPC_FAR *)pVarResult,
859                         &__MIDL_TypeFormatString.Format[1102] );
860         
861         NdrPointerFree( &_StubMsg,
862                         (unsigned char __RPC_FAR *)pExcepInfo,
863                         &__MIDL_TypeFormatString.Format[1120] );
864         
865         _StubMsg.MaxCount = cVarRef;
866         
867         NdrPointerFree( &_StubMsg,
868                         (unsigned char __RPC_FAR *)rgVarRef,
869                         &__MIDL_TypeFormatString.Format[1180] );
870         
871         }
872     RpcEndFinally
873     _pRpcMessage->BufferLength = 
874         (unsigned int)((long)_StubMsg.Buffer - (long)_pRpcMessage->Buffer);
875     
876 }
877
878 const CINTERFACE_PROXY_VTABLE(7) _IDispatchProxyVtbl = 
879 {
880     { &IID_IDispatch },
881     {
882         IUnknown_QueryInterface_Proxy,
883         IUnknown_AddRef_Proxy,
884         IUnknown_Release_Proxy ,
885         IDispatch_GetTypeInfoCount_Proxy ,
886         IDispatch_GetTypeInfo_Proxy ,
887         IDispatch_GetIDsOfNames_Proxy ,
888         IDispatch_Invoke_Proxy
889     }
890 };
891
892
893 static const PRPC_STUB_FUNCTION IDispatch_table[] =
894 {
895     IDispatch_GetTypeInfoCount_Stub,
896     IDispatch_GetTypeInfo_Stub,
897     IDispatch_GetIDsOfNames_Stub,
898     IDispatch_RemoteInvoke_Stub
899 };
900
901 const CInterfaceStubVtbl _IDispatchStubVtbl =
902 {
903     {
904         &IID_IDispatch,
905         0,
906         7,
907         &IDispatch_table[-3]
908     },
909     { CStdStubBuffer_METHODS }
910 };
911
912
913 /* Object interface: IEnumVARIANT, ver. 0.0,
914    GUID={0x00020404,0x0000,0x0000,{0xC0,0x00,0x00,0x00,0x00,0x00,0x00,0x46}} */
915
916
917 extern const MIDL_STUB_DESC Object_StubDesc;
918
919
920 /* [call_as] */ HRESULT STDMETHODCALLTYPE IEnumVARIANT_RemoteNext_Proxy( 
921     IEnumVARIANT __RPC_FAR * This,
922     /* [in] */ ULONG celt,
923     /* [length_is][size_is][out] */ VARIANT __RPC_FAR *rgVar,
924     /* [out] */ ULONG __RPC_FAR *pCeltFetched)
925 {
926
927     HRESULT _RetVal;
928     
929     RPC_MESSAGE _RpcMessage;
930     
931     MIDL_STUB_MESSAGE _StubMsg;
932     
933     if(rgVar)
934         {
935         MIDL_memset(
936                rgVar,
937                0,
938                celt * sizeof( VARIANT  ));
939         }
940     RpcTryExcept
941         {
942         NdrProxyInitialize(
943                       ( void __RPC_FAR *  )This,
944                       ( PRPC_MESSAGE  )&_RpcMessage,
945                       ( PMIDL_STUB_MESSAGE  )&_StubMsg,
946                       ( PMIDL_STUB_DESC  )&Object_StubDesc,
947                       3);
948         
949         
950         
951         if(!rgVar)
952             {
953             RpcRaiseException(RPC_X_NULL_REF_POINTER);
954             }
955         if(!pCeltFetched)
956             {
957             RpcRaiseException(RPC_X_NULL_REF_POINTER);
958             }
959         RpcTryFinally
960             {
961             
962             _StubMsg.BufferLength = 4U;
963             NdrProxyGetBuffer(This, &_StubMsg);
964             *(( ULONG __RPC_FAR * )_StubMsg.Buffer)++ = celt;
965             
966             NdrProxySendReceive(This, &_StubMsg);
967             
968             if ( (_RpcMessage.DataRepresentation & 0X0000FFFFUL) != NDR_LOCAL_DATA_REPRESENTATION )
969                 NdrConvert( (PMIDL_STUB_MESSAGE) &_StubMsg, (PFORMAT_STRING) &__MIDL_ProcFormatString.Format[72] );
970             
971             NdrComplexArrayUnmarshall( (PMIDL_STUB_MESSAGE) &_StubMsg,
972                                        (unsigned char __RPC_FAR * __RPC_FAR *)&rgVar,
973                                        (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[1206],
974                                        (unsigned char)0 );
975             
976             _StubMsg.Buffer = (unsigned char __RPC_FAR *)(((long)_StubMsg.Buffer + 3) & ~ 0x3);
977             *pCeltFetched = *(( ULONG __RPC_FAR * )_StubMsg.Buffer)++;
978             
979             _RetVal = *(( HRESULT __RPC_FAR * )_StubMsg.Buffer)++;
980             
981             }
982         RpcFinally
983             {
984             NdrProxyFreeBuffer(This, &_StubMsg);
985             
986             }
987         RpcEndFinally
988         
989         }
990     RpcExcept(_StubMsg.dwStubPhase != PROXY_SENDRECEIVE)
991         {
992         _StubMsg.MaxCount = celt;
993         _StubMsg.Offset = 0;
994         _StubMsg.ActualCount = _StubMsg.MaxCount;
995         
996         NdrClearOutParameters(
997                          ( PMIDL_STUB_MESSAGE  )&_StubMsg,
998                          ( PFORMAT_STRING  )&__MIDL_TypeFormatString.Format[1202],
999                          ( void __RPC_FAR * )rgVar);
1000         NdrClearOutParameters(
1001                          ( PMIDL_STUB_MESSAGE  )&_StubMsg,
1002                          ( PFORMAT_STRING  )&__MIDL_TypeFormatString.Format[2],
1003                          ( void __RPC_FAR * )pCeltFetched);
1004         _RetVal = NdrProxyErrorHandler(RpcExceptionCode());
1005         }
1006     RpcEndExcept
1007     return _RetVal;
1008 }
1009
1010 void __RPC_STUB IEnumVARIANT_RemoteNext_Stub(
1011     IRpcStubBuffer *This,
1012     IRpcChannelBuffer *_pRpcChannelBuffer,
1013     PRPC_MESSAGE _pRpcMessage,
1014     DWORD *_pdwStubPhase)
1015 {
1016     ULONG _M11;
1017     HRESULT _RetVal;
1018     MIDL_STUB_MESSAGE _StubMsg;
1019     ULONG celt;
1020     ULONG __RPC_FAR *pCeltFetched;
1021     VARIANT __RPC_FAR *rgVar;
1022     
1023 NdrStubInitialize(
1024                      _pRpcMessage,
1025                      &_StubMsg,
1026                      &Object_StubDesc,
1027                      _pRpcChannelBuffer);
1028     ( VARIANT __RPC_FAR * )rgVar = 0;
1029     ( ULONG __RPC_FAR * )pCeltFetched = 0;
1030     RpcTryFinally
1031         {
1032         if ( (_pRpcMessage->DataRepresentation & 0X0000FFFFUL) != NDR_LOCAL_DATA_REPRESENTATION )
1033             NdrConvert( (PMIDL_STUB_MESSAGE) &_StubMsg, (PFORMAT_STRING) &__MIDL_ProcFormatString.Format[72] );
1034         
1035         celt = *(( ULONG __RPC_FAR * )_StubMsg.Buffer)++;
1036         
1037         rgVar = NdrAllocate(&_StubMsg,celt * 16);
1038         pCeltFetched = &_M11;
1039         
1040         *_pdwStubPhase = STUB_CALL_SERVER;
1041         
1042         
1043         _RetVal = IEnumVARIANT_Next_Stub(
1044                                  (IEnumVARIANT *) ((CStdStubBuffer *)This)->pvServerObject,
1045                                  celt,
1046                                  rgVar,
1047                                  pCeltFetched);
1048         
1049         *_pdwStubPhase = STUB_MARSHAL;
1050         
1051         _StubMsg.BufferLength = 12U + 7U + 7U;
1052         _StubMsg.MaxCount = celt;
1053         _StubMsg.Offset = 0;
1054         _StubMsg.ActualCount = pCeltFetched ? *pCeltFetched : 0;
1055         
1056         NdrComplexArrayBufferSize( (PMIDL_STUB_MESSAGE) &_StubMsg,
1057                                    (unsigned char __RPC_FAR *)rgVar,
1058                                    (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[1206] );
1059         
1060         _StubMsg.BufferLength += 16;
1061         
1062         NdrStubGetBuffer(This, _pRpcChannelBuffer, &_StubMsg);
1063         _StubMsg.MaxCount = celt;
1064         _StubMsg.Offset = 0;
1065         _StubMsg.ActualCount = pCeltFetched ? *pCeltFetched : 0;
1066         
1067         NdrComplexArrayMarshall( (PMIDL_STUB_MESSAGE)& _StubMsg,
1068                                  (unsigned char __RPC_FAR *)rgVar,
1069                                  (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[1206] );
1070         
1071         _StubMsg.Buffer = (unsigned char __RPC_FAR *)(((long)_StubMsg.Buffer + 3) & ~ 0x3);
1072         *(( ULONG __RPC_FAR * )_StubMsg.Buffer)++ = *pCeltFetched;
1073         
1074         *(( HRESULT __RPC_FAR * )_StubMsg.Buffer)++ = _RetVal;
1075         
1076         }
1077     RpcFinally
1078         {
1079         _StubMsg.MaxCount = celt;
1080         _StubMsg.Offset = 0;
1081         _StubMsg.ActualCount = pCeltFetched ? *pCeltFetched : 0;
1082         
1083         NdrPointerFree( &_StubMsg,
1084                         (unsigned char __RPC_FAR *)rgVar,
1085                         &__MIDL_TypeFormatString.Format[1202] );
1086         
1087         }
1088     RpcEndFinally
1089     _pRpcMessage->BufferLength = 
1090         (unsigned int)((long)_StubMsg.Buffer - (long)_pRpcMessage->Buffer);
1091     
1092 }
1093
1094
1095 HRESULT STDMETHODCALLTYPE IEnumVARIANT_Skip_Proxy( 
1096     IEnumVARIANT __RPC_FAR * This,
1097     /* [in] */ ULONG celt)
1098 {
1099
1100     HRESULT _RetVal;
1101     
1102     RPC_MESSAGE _RpcMessage;
1103     
1104     MIDL_STUB_MESSAGE _StubMsg;
1105     
1106     RpcTryExcept
1107         {
1108         NdrProxyInitialize(
1109                       ( void __RPC_FAR *  )This,
1110                       ( PRPC_MESSAGE  )&_RpcMessage,
1111                       ( PMIDL_STUB_MESSAGE  )&_StubMsg,
1112                       ( PMIDL_STUB_DESC  )&Object_StubDesc,
1113                       4);
1114         
1115         
1116         
1117         RpcTryFinally
1118             {
1119             
1120             _StubMsg.BufferLength = 4U;
1121             NdrProxyGetBuffer(This, &_StubMsg);
1122             *(( ULONG __RPC_FAR * )_StubMsg.Buffer)++ = celt;
1123             
1124             NdrProxySendReceive(This, &_StubMsg);
1125             
1126             if ( (_RpcMessage.DataRepresentation & 0X0000FFFFUL) != NDR_LOCAL_DATA_REPRESENTATION )
1127                 NdrConvert( (PMIDL_STUB_MESSAGE) &_StubMsg, (PFORMAT_STRING) &__MIDL_ProcFormatString.Format[84] );
1128             
1129             _RetVal = *(( HRESULT __RPC_FAR * )_StubMsg.Buffer)++;
1130             
1131             }
1132         RpcFinally
1133             {
1134             NdrProxyFreeBuffer(This, &_StubMsg);
1135             
1136             }
1137         RpcEndFinally
1138         
1139         }
1140     RpcExcept(_StubMsg.dwStubPhase != PROXY_SENDRECEIVE)
1141         {
1142         _RetVal = NdrProxyErrorHandler(RpcExceptionCode());
1143         }
1144     RpcEndExcept
1145     return _RetVal;
1146 }
1147
1148 void __RPC_STUB IEnumVARIANT_Skip_Stub(
1149     IRpcStubBuffer *This,
1150     IRpcChannelBuffer *_pRpcChannelBuffer,
1151     PRPC_MESSAGE _pRpcMessage,
1152     DWORD *_pdwStubPhase)
1153 {
1154     HRESULT _RetVal;
1155     MIDL_STUB_MESSAGE _StubMsg;
1156     ULONG celt;
1157     
1158 NdrStubInitialize(
1159                      _pRpcMessage,
1160                      &_StubMsg,
1161                      &Object_StubDesc,
1162                      _pRpcChannelBuffer);
1163     RpcTryFinally
1164         {
1165         if ( (_pRpcMessage->DataRepresentation & 0X0000FFFFUL) != NDR_LOCAL_DATA_REPRESENTATION )
1166             NdrConvert( (PMIDL_STUB_MESSAGE) &_StubMsg, (PFORMAT_STRING) &__MIDL_ProcFormatString.Format[84] );
1167         
1168         celt = *(( ULONG __RPC_FAR * )_StubMsg.Buffer)++;
1169         
1170         
1171         *_pdwStubPhase = STUB_CALL_SERVER;
1172         _RetVal = (((IEnumVARIANT*) ((CStdStubBuffer *)This)->pvServerObject)->lpVtbl) -> Skip((IEnumVARIANT *) ((CStdStubBuffer *)This)->pvServerObject,celt);
1173         
1174         *_pdwStubPhase = STUB_MARSHAL;
1175         
1176         _StubMsg.BufferLength = 4U;
1177         NdrStubGetBuffer(This, _pRpcChannelBuffer, &_StubMsg);
1178         *(( HRESULT __RPC_FAR * )_StubMsg.Buffer)++ = _RetVal;
1179         
1180         }
1181     RpcFinally
1182         {
1183         }
1184     RpcEndFinally
1185     _pRpcMessage->BufferLength = 
1186         (unsigned int)((long)_StubMsg.Buffer - (long)_pRpcMessage->Buffer);
1187     
1188 }
1189
1190
1191 HRESULT STDMETHODCALLTYPE IEnumVARIANT_Reset_Proxy( 
1192     IEnumVARIANT __RPC_FAR * This)
1193 {
1194
1195     HRESULT _RetVal;
1196     
1197     RPC_MESSAGE _RpcMessage;
1198     
1199     MIDL_STUB_MESSAGE _StubMsg;
1200     
1201     RpcTryExcept
1202         {
1203         NdrProxyInitialize(
1204                       ( void __RPC_FAR *  )This,
1205                       ( PRPC_MESSAGE  )&_RpcMessage,
1206                       ( PMIDL_STUB_MESSAGE  )&_StubMsg,
1207                       ( PMIDL_STUB_DESC  )&Object_StubDesc,
1208                       5);
1209         
1210         
1211         
1212         RpcTryFinally
1213             {
1214             
1215             _StubMsg.BufferLength = 0U;
1216             NdrProxyGetBuffer(This, &_StubMsg);
1217             NdrProxySendReceive(This, &_StubMsg);
1218             
1219             if ( (_RpcMessage.DataRepresentation & 0X0000FFFFUL) != NDR_LOCAL_DATA_REPRESENTATION )
1220                 NdrConvert( (PMIDL_STUB_MESSAGE) &_StubMsg, (PFORMAT_STRING) &__MIDL_ProcFormatString.Format[88] );
1221             
1222             _RetVal = *(( HRESULT __RPC_FAR * )_StubMsg.Buffer)++;
1223             
1224             }
1225         RpcFinally
1226             {
1227             NdrProxyFreeBuffer(This, &_StubMsg);
1228             
1229             }
1230         RpcEndFinally
1231         
1232         }
1233     RpcExcept(_StubMsg.dwStubPhase != PROXY_SENDRECEIVE)
1234         {
1235         _RetVal = NdrProxyErrorHandler(RpcExceptionCode());
1236         }
1237     RpcEndExcept
1238     return _RetVal;
1239 }
1240
1241 void __RPC_STUB IEnumVARIANT_Reset_Stub(
1242     IRpcStubBuffer *This,
1243     IRpcChannelBuffer *_pRpcChannelBuffer,
1244     PRPC_MESSAGE _pRpcMessage,
1245     DWORD *_pdwStubPhase)
1246 {
1247     HRESULT _RetVal;
1248     MIDL_STUB_MESSAGE _StubMsg;
1249     
1250 NdrStubInitialize(
1251                      _pRpcMessage,
1252                      &_StubMsg,
1253                      &Object_StubDesc,
1254                      _pRpcChannelBuffer);
1255     RpcTryFinally
1256         {
1257         
1258         *_pdwStubPhase = STUB_CALL_SERVER;
1259         _RetVal = (((IEnumVARIANT*) ((CStdStubBuffer *)This)->pvServerObject)->lpVtbl) -> Reset((IEnumVARIANT *) ((CStdStubBuffer *)This)->pvServerObject);
1260         
1261         *_pdwStubPhase = STUB_MARSHAL;
1262         
1263         _StubMsg.BufferLength = 4U;
1264         NdrStubGetBuffer(This, _pRpcChannelBuffer, &_StubMsg);
1265         *(( HRESULT __RPC_FAR * )_StubMsg.Buffer)++ = _RetVal;
1266         
1267         }
1268     RpcFinally
1269         {
1270         }
1271     RpcEndFinally
1272     _pRpcMessage->BufferLength = 
1273         (unsigned int)((long)_StubMsg.Buffer - (long)_pRpcMessage->Buffer);
1274     
1275 }
1276
1277
1278 HRESULT STDMETHODCALLTYPE IEnumVARIANT_Clone_Proxy( 
1279     IEnumVARIANT __RPC_FAR * This,
1280     /* [out] */ IEnumVARIANT __RPC_FAR *__RPC_FAR *ppEnum)
1281 {
1282
1283     HRESULT _RetVal;
1284     
1285     RPC_MESSAGE _RpcMessage;
1286     
1287     MIDL_STUB_MESSAGE _StubMsg;
1288     
1289     if(ppEnum)
1290         {
1291         MIDL_memset(
1292                ppEnum,
1293                0,
1294                sizeof( IEnumVARIANT __RPC_FAR *__RPC_FAR * ));
1295         }
1296     RpcTryExcept
1297         {
1298         NdrProxyInitialize(
1299                       ( void __RPC_FAR *  )This,
1300                       ( PRPC_MESSAGE  )&_RpcMessage,
1301                       ( PMIDL_STUB_MESSAGE  )&_StubMsg,
1302                       ( PMIDL_STUB_DESC  )&Object_StubDesc,
1303                       6);
1304         
1305         
1306         
1307         if(!ppEnum)
1308             {
1309             RpcRaiseException(RPC_X_NULL_REF_POINTER);
1310             }
1311         RpcTryFinally
1312             {
1313             
1314             _StubMsg.BufferLength = 0U;
1315             NdrProxyGetBuffer(This, &_StubMsg);
1316             NdrProxySendReceive(This, &_StubMsg);
1317             
1318             if ( (_RpcMessage.DataRepresentation & 0X0000FFFFUL) != NDR_LOCAL_DATA_REPRESENTATION )
1319                 NdrConvert( (PMIDL_STUB_MESSAGE) &_StubMsg, (PFORMAT_STRING) &__MIDL_ProcFormatString.Format[90] );
1320             
1321             NdrPointerUnmarshall( (PMIDL_STUB_MESSAGE) &_StubMsg,
1322                                   (unsigned char __RPC_FAR * __RPC_FAR *)&ppEnum,
1323                                   (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[1224],
1324                                   (unsigned char)0 );
1325             
1326             _StubMsg.Buffer = (unsigned char __RPC_FAR *)(((long)_StubMsg.Buffer + 3) & ~ 0x3);
1327             _RetVal = *(( HRESULT __RPC_FAR * )_StubMsg.Buffer)++;
1328             
1329             }
1330         RpcFinally
1331             {
1332             NdrProxyFreeBuffer(This, &_StubMsg);
1333             
1334             }
1335         RpcEndFinally
1336         
1337         }
1338     RpcExcept(_StubMsg.dwStubPhase != PROXY_SENDRECEIVE)
1339         {
1340         NdrClearOutParameters(
1341                          ( PMIDL_STUB_MESSAGE  )&_StubMsg,
1342                          ( PFORMAT_STRING  )&__MIDL_TypeFormatString.Format[1224],
1343                          ( void __RPC_FAR * )ppEnum);
1344         _RetVal = NdrProxyErrorHandler(RpcExceptionCode());
1345         }
1346     RpcEndExcept
1347     return _RetVal;
1348 }
1349
1350 void __RPC_STUB IEnumVARIANT_Clone_Stub(
1351     IRpcStubBuffer *This,
1352     IRpcChannelBuffer *_pRpcChannelBuffer,
1353     PRPC_MESSAGE _pRpcMessage,
1354     DWORD *_pdwStubPhase)
1355 {
1356     IEnumVARIANT __RPC_FAR *_M12;
1357     HRESULT _RetVal;
1358     MIDL_STUB_MESSAGE _StubMsg;
1359     IEnumVARIANT __RPC_FAR *__RPC_FAR *ppEnum;
1360     
1361 NdrStubInitialize(
1362                      _pRpcMessage,
1363                      &_StubMsg,
1364                      &Object_StubDesc,
1365                      _pRpcChannelBuffer);
1366     ( IEnumVARIANT __RPC_FAR *__RPC_FAR * )ppEnum = 0;
1367     RpcTryFinally
1368         {
1369         ppEnum = &_M12;
1370         _M12 = 0;
1371         
1372         *_pdwStubPhase = STUB_CALL_SERVER;
1373         _RetVal = (((IEnumVARIANT*) ((CStdStubBuffer *)This)->pvServerObject)->lpVtbl) -> Clone((IEnumVARIANT *) ((CStdStubBuffer *)This)->pvServerObject,ppEnum);
1374         
1375         *_pdwStubPhase = STUB_MARSHAL;
1376         
1377         _StubMsg.BufferLength = 0U + 4U;
1378         NdrPointerBufferSize( (PMIDL_STUB_MESSAGE) &_StubMsg,
1379                               (unsigned char __RPC_FAR *)ppEnum,
1380                               (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[1224] );
1381         
1382         _StubMsg.BufferLength += 16;
1383         
1384         NdrStubGetBuffer(This, _pRpcChannelBuffer, &_StubMsg);
1385         NdrPointerMarshall( (PMIDL_STUB_MESSAGE)& _StubMsg,
1386                             (unsigned char __RPC_FAR *)ppEnum,
1387                             (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[1224] );
1388         
1389         _StubMsg.Buffer = (unsigned char __RPC_FAR *)(((long)_StubMsg.Buffer + 3) & ~ 0x3);
1390         *(( HRESULT __RPC_FAR * )_StubMsg.Buffer)++ = _RetVal;
1391         
1392         }
1393     RpcFinally
1394         {
1395         NdrPointerFree( &_StubMsg,
1396                         (unsigned char __RPC_FAR *)ppEnum,
1397                         &__MIDL_TypeFormatString.Format[1224] );
1398         
1399         }
1400     RpcEndFinally
1401     _pRpcMessage->BufferLength = 
1402         (unsigned int)((long)_StubMsg.Buffer - (long)_pRpcMessage->Buffer);
1403     
1404 }
1405
1406 const CINTERFACE_PROXY_VTABLE(7) _IEnumVARIANTProxyVtbl = 
1407 {
1408     { &IID_IEnumVARIANT },
1409     {
1410         IUnknown_QueryInterface_Proxy,
1411         IUnknown_AddRef_Proxy,
1412         IUnknown_Release_Proxy ,
1413         IEnumVARIANT_Next_Proxy ,
1414         IEnumVARIANT_Skip_Proxy ,
1415         IEnumVARIANT_Reset_Proxy ,
1416         IEnumVARIANT_Clone_Proxy
1417     }
1418 };
1419
1420
1421 static const PRPC_STUB_FUNCTION IEnumVARIANT_table[] =
1422 {
1423     IEnumVARIANT_RemoteNext_Stub,
1424     IEnumVARIANT_Skip_Stub,
1425     IEnumVARIANT_Reset_Stub,
1426     IEnumVARIANT_Clone_Stub
1427 };
1428
1429 const CInterfaceStubVtbl _IEnumVARIANTStubVtbl =
1430 {
1431     {
1432         &IID_IEnumVARIANT,
1433         0,
1434         7,
1435         &IEnumVARIANT_table[-3]
1436     },
1437     { CStdStubBuffer_METHODS }
1438 };
1439
1440
1441 /* Object interface: ITypeComp, ver. 0.0,
1442    GUID={0x00020403,0x0000,0x0000,{0xC0,0x00,0x00,0x00,0x00,0x00,0x00,0x46}} */
1443
1444
1445 extern const MIDL_STUB_DESC Object_StubDesc;
1446
1447
1448 /* [call_as] */ HRESULT STDMETHODCALLTYPE ITypeComp_RemoteBind_Proxy( 
1449     ITypeComp __RPC_FAR * This,
1450     /* [in] */ LPOLESTR szName,
1451     /* [in] */ ULONG lHashVal,
1452     /* [in] */ WORD wFlags,
1453     /* [out] */ ITypeInfo __RPC_FAR *__RPC_FAR *ppTInfo,
1454     /* [out] */ DESCKIND __RPC_FAR *pDescKind,
1455     /* [out] */ LPFUNCDESC __RPC_FAR *ppFuncDesc,
1456     /* [out] */ LPVARDESC __RPC_FAR *ppVarDesc,
1457     /* [out] */ ITypeComp __RPC_FAR *__RPC_FAR *ppTypeComp,
1458     /* [out] */ CLEANLOCALSTORAGE __RPC_FAR *pDummy)
1459 {
1460
1461     HRESULT _RetVal;
1462     
1463     RPC_MESSAGE _RpcMessage;
1464     
1465     MIDL_STUB_MESSAGE _StubMsg;
1466     
1467     if(ppTInfo)
1468         {
1469         MIDL_memset(
1470                ppTInfo,
1471                0,
1472                sizeof( ITypeInfo __RPC_FAR *__RPC_FAR * ));
1473         }
1474     if(ppFuncDesc)
1475         {
1476         *ppFuncDesc = 0;
1477         }
1478     if(ppVarDesc)
1479         {
1480         *ppVarDesc = 0;
1481         }
1482     if(ppTypeComp)
1483         {
1484         MIDL_memset(
1485                ppTypeComp,
1486                0,
1487                sizeof( ITypeComp __RPC_FAR *__RPC_FAR * ));
1488         }
1489     if(pDummy)
1490         {
1491         MIDL_memset(
1492                pDummy,
1493                0,
1494                sizeof( CLEANLOCALSTORAGE  ));
1495         }
1496     RpcTryExcept
1497         {
1498         NdrProxyInitialize(
1499                       ( void __RPC_FAR *  )This,
1500                       ( PRPC_MESSAGE  )&_RpcMessage,
1501                       ( PMIDL_STUB_MESSAGE  )&_StubMsg,
1502                       ( PMIDL_STUB_DESC  )&Object_StubDesc,
1503                       3);
1504         
1505         
1506         
1507         if(!szName)
1508             {
1509             RpcRaiseException(RPC_X_NULL_REF_POINTER);
1510             }
1511         if(!ppTInfo)
1512             {
1513             RpcRaiseException(RPC_X_NULL_REF_POINTER);
1514             }
1515         if(!pDescKind)
1516             {
1517             RpcRaiseException(RPC_X_NULL_REF_POINTER);
1518             }
1519         if(!ppFuncDesc)
1520             {
1521             RpcRaiseException(RPC_X_NULL_REF_POINTER);
1522             }
1523         if(!ppVarDesc)
1524             {
1525             RpcRaiseException(RPC_X_NULL_REF_POINTER);
1526             }
1527         if(!ppTypeComp)
1528             {
1529             RpcRaiseException(RPC_X_NULL_REF_POINTER);
1530             }
1531         if(!pDummy)
1532             {
1533             RpcRaiseException(RPC_X_NULL_REF_POINTER);
1534             }
1535         RpcTryFinally
1536             {
1537             
1538             _StubMsg.BufferLength = 12U + 10U + 4U;
1539             NdrConformantStringBufferSize( (PMIDL_STUB_MESSAGE) &_StubMsg,
1540                                            (unsigned char __RPC_FAR *)szName,
1541                                            (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[1248] );
1542             
1543             NdrProxyGetBuffer(This, &_StubMsg);
1544             NdrConformantStringMarshall( (PMIDL_STUB_MESSAGE)& _StubMsg,
1545                                          (unsigned char __RPC_FAR *)szName,
1546                                          (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[1248] );
1547             
1548             _StubMsg.Buffer = (unsigned char __RPC_FAR *)(((long)_StubMsg.Buffer + 3) & ~ 0x3);
1549             *(( ULONG __RPC_FAR * )_StubMsg.Buffer)++ = lHashVal;
1550             
1551             *(( WORD __RPC_FAR * )_StubMsg.Buffer)++ = wFlags;
1552             
1553             NdrProxySendReceive(This, &_StubMsg);
1554             
1555             if ( (_RpcMessage.DataRepresentation & 0X0000FFFFUL) != NDR_LOCAL_DATA_REPRESENTATION )
1556                 NdrConvert( (PMIDL_STUB_MESSAGE) &_StubMsg, (PFORMAT_STRING) &__MIDL_ProcFormatString.Format[96] );
1557             
1558             NdrPointerUnmarshall( (PMIDL_STUB_MESSAGE) &_StubMsg,
1559                                   (unsigned char __RPC_FAR * __RPC_FAR *)&ppTInfo,
1560                                   (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[6],
1561                                   (unsigned char)0 );
1562             
1563             NdrPointerUnmarshall( (PMIDL_STUB_MESSAGE) &_StubMsg,
1564                                   (unsigned char __RPC_FAR * __RPC_FAR *)&pDescKind,
1565                                   (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[1250],
1566                                   (unsigned char)0 );
1567             
1568             NdrPointerUnmarshall( (PMIDL_STUB_MESSAGE) &_StubMsg,
1569                                   (unsigned char __RPC_FAR * __RPC_FAR *)&ppFuncDesc,
1570                                   (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[1254],
1571                                   (unsigned char)0 );
1572             
1573             NdrPointerUnmarshall( (PMIDL_STUB_MESSAGE) &_StubMsg,
1574                                   (unsigned char __RPC_FAR * __RPC_FAR *)&ppVarDesc,
1575                                   (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[1464],
1576                                   (unsigned char)0 );
1577             
1578             NdrPointerUnmarshall( (PMIDL_STUB_MESSAGE) &_StubMsg,
1579                                   (unsigned char __RPC_FAR * __RPC_FAR *)&ppTypeComp,
1580                                   (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[1540],
1581                                   (unsigned char)0 );
1582             
1583             NdrUserMarshalUnmarshall( (PMIDL_STUB_MESSAGE) &_StubMsg,
1584                                       (unsigned char __RPC_FAR * __RPC_FAR *)&pDummy,
1585                                       (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[1568],
1586                                       (unsigned char)0 );
1587             
1588             _StubMsg.Buffer = (unsigned char __RPC_FAR *)(((long)_StubMsg.Buffer + 3) & ~ 0x3);
1589             _RetVal = *(( HRESULT __RPC_FAR * )_StubMsg.Buffer)++;
1590             
1591             }
1592         RpcFinally
1593             {
1594             NdrProxyFreeBuffer(This, &_StubMsg);
1595             
1596             }
1597         RpcEndFinally
1598         
1599         }
1600     RpcExcept(_StubMsg.dwStubPhase != PROXY_SENDRECEIVE)
1601         {
1602         NdrClearOutParameters(
1603                          ( PMIDL_STUB_MESSAGE  )&_StubMsg,
1604                          ( PFORMAT_STRING  )&__MIDL_TypeFormatString.Format[6],
1605                          ( void __RPC_FAR * )ppTInfo);
1606         NdrClearOutParameters(
1607                          ( PMIDL_STUB_MESSAGE  )&_StubMsg,
1608                          ( PFORMAT_STRING  )&__MIDL_TypeFormatString.Format[1250],
1609                          ( void __RPC_FAR * )pDescKind);
1610         NdrClearOutParameters(
1611                          ( PMIDL_STUB_MESSAGE  )&_StubMsg,
1612                          ( PFORMAT_STRING  )&__MIDL_TypeFormatString.Format[1254],
1613                          ( void __RPC_FAR * )ppFuncDesc);
1614         NdrClearOutParameters(
1615                          ( PMIDL_STUB_MESSAGE  )&_StubMsg,
1616                          ( PFORMAT_STRING  )&__MIDL_TypeFormatString.Format[1464],
1617                          ( void __RPC_FAR * )ppVarDesc);
1618         NdrClearOutParameters(
1619                          ( PMIDL_STUB_MESSAGE  )&_StubMsg,
1620                          ( PFORMAT_STRING  )&__MIDL_TypeFormatString.Format[1540],
1621                          ( void __RPC_FAR * )ppTypeComp);
1622         NdrClearOutParameters(
1623                          ( PMIDL_STUB_MESSAGE  )&_StubMsg,
1624                          ( PFORMAT_STRING  )&__MIDL_TypeFormatString.Format[1562],
1625                          ( void __RPC_FAR * )pDummy);
1626         _RetVal = NdrProxyErrorHandler(RpcExceptionCode());
1627         }
1628     RpcEndExcept
1629     return _RetVal;
1630 }
1631
1632 void __RPC_STUB ITypeComp_RemoteBind_Stub(
1633     IRpcStubBuffer *This,
1634     IRpcChannelBuffer *_pRpcChannelBuffer,
1635     PRPC_MESSAGE _pRpcMessage,
1636     DWORD *_pdwStubPhase)
1637 {
1638     ITypeInfo __RPC_FAR *_M15;
1639     DESCKIND _M16;
1640     LPFUNCDESC _M17;
1641     LPVARDESC _M18;
1642     ITypeComp __RPC_FAR *_M19;
1643     CLEANLOCALSTORAGE _M20;
1644     HRESULT _RetVal;
1645     MIDL_STUB_MESSAGE _StubMsg;
1646     ULONG lHashVal;
1647     DESCKIND __RPC_FAR *pDescKind;
1648     CLEANLOCALSTORAGE __RPC_FAR *pDummy;
1649     LPFUNCDESC __RPC_FAR *ppFuncDesc;
1650     ITypeInfo __RPC_FAR *__RPC_FAR *ppTInfo;
1651     ITypeComp __RPC_FAR *__RPC_FAR *ppTypeComp;
1652     LPVARDESC __RPC_FAR *ppVarDesc;
1653     LPOLESTR szName;
1654     WORD wFlags;
1655     
1656 NdrStubInitialize(
1657                      _pRpcMessage,
1658                      &_StubMsg,
1659                      &Object_StubDesc,
1660                      _pRpcChannelBuffer);
1661     ( LPOLESTR  )szName = 0;
1662     ( ITypeInfo __RPC_FAR *__RPC_FAR * )ppTInfo = 0;
1663     ( DESCKIND __RPC_FAR * )pDescKind = 0;
1664     ( LPFUNCDESC __RPC_FAR * )ppFuncDesc = 0;
1665     ( LPVARDESC __RPC_FAR * )ppVarDesc = 0;
1666     ( ITypeComp __RPC_FAR *__RPC_FAR * )ppTypeComp = 0;
1667     ( CLEANLOCALSTORAGE __RPC_FAR * )pDummy = 0;
1668     RpcTryFinally
1669         {
1670         if ( (_pRpcMessage->DataRepresentation & 0X0000FFFFUL) != NDR_LOCAL_DATA_REPRESENTATION )
1671             NdrConvert( (PMIDL_STUB_MESSAGE) &_StubMsg, (PFORMAT_STRING) &__MIDL_ProcFormatString.Format[96] );
1672         
1673         NdrConformantStringUnmarshall( (PMIDL_STUB_MESSAGE) &_StubMsg,
1674                                        (unsigned char __RPC_FAR * __RPC_FAR *)&szName,
1675                                        (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[1248],
1676                                        (unsigned char)0 );
1677         
1678         _StubMsg.Buffer = (unsigned char __RPC_FAR *)(((long)_StubMsg.Buffer + 3) & ~ 0x3);
1679         lHashVal = *(( ULONG __RPC_FAR * )_StubMsg.Buffer)++;
1680         
1681         wFlags = *(( WORD __RPC_FAR * )_StubMsg.Buffer)++;
1682         
1683         ppTInfo = &_M15;
1684         _M15 = 0;
1685         pDescKind = &_M16;
1686         ppFuncDesc = &_M17;
1687         _M17 = 0;
1688         ppVarDesc = &_M18;
1689         _M18 = 0;
1690         ppTypeComp = &_M19;
1691         _M19 = 0;
1692         pDummy = &_M20;
1693         MIDL_memset(
1694                pDummy,
1695                0,
1696                sizeof( CLEANLOCALSTORAGE  ));
1697         
1698         *_pdwStubPhase = STUB_CALL_SERVER;
1699         
1700         
1701         _RetVal = ITypeComp_Bind_Stub(
1702                               (ITypeComp *) ((CStdStubBuffer *)This)->pvServerObject,
1703                               szName,
1704                               lHashVal,
1705                               wFlags,
1706                               ppTInfo,
1707                               pDescKind,
1708                               ppFuncDesc,
1709                               ppVarDesc,
1710                               ppTypeComp,
1711                               pDummy);
1712         
1713         *_pdwStubPhase = STUB_MARSHAL;
1714         
1715         _StubMsg.BufferLength = 0U + 4U + 4U + 15U + 0U + 11U + 7U;
1716         NdrPointerBufferSize( (PMIDL_STUB_MESSAGE) &_StubMsg,
1717                               (unsigned char __RPC_FAR *)ppTInfo,
1718                               (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[6] );
1719         
1720         NdrPointerBufferSize( (PMIDL_STUB_MESSAGE) &_StubMsg,
1721                               (unsigned char __RPC_FAR *)ppFuncDesc,
1722                               (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[1254] );
1723         
1724         NdrPointerBufferSize( (PMIDL_STUB_MESSAGE) &_StubMsg,
1725                               (unsigned char __RPC_FAR *)ppVarDesc,
1726                               (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[1464] );
1727         
1728         NdrPointerBufferSize( (PMIDL_STUB_MESSAGE) &_StubMsg,
1729                               (unsigned char __RPC_FAR *)ppTypeComp,
1730                               (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[1540] );
1731         
1732         _StubMsg.BufferLength += 16;
1733         
1734         NdrStubGetBuffer(This, _pRpcChannelBuffer, &_StubMsg);
1735         NdrPointerMarshall( (PMIDL_STUB_MESSAGE)& _StubMsg,
1736                             (unsigned char __RPC_FAR *)ppTInfo,
1737                             (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[6] );
1738         
1739         NdrPointerMarshall( (PMIDL_STUB_MESSAGE)& _StubMsg,
1740                             (unsigned char __RPC_FAR *)pDescKind,
1741                             (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[1250] );
1742         
1743         NdrPointerMarshall( (PMIDL_STUB_MESSAGE)& _StubMsg,
1744                             (unsigned char __RPC_FAR *)ppFuncDesc,
1745                             (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[1254] );
1746         
1747         NdrPointerMarshall( (PMIDL_STUB_MESSAGE)& _StubMsg,
1748                             (unsigned char __RPC_FAR *)ppVarDesc,
1749                             (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[1464] );
1750         
1751         NdrPointerMarshall( (PMIDL_STUB_MESSAGE)& _StubMsg,
1752                             (unsigned char __RPC_FAR *)ppTypeComp,
1753                             (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[1540] );
1754         
1755         NdrUserMarshalMarshall( (PMIDL_STUB_MESSAGE)& _StubMsg,
1756                                 (unsigned char __RPC_FAR *)pDummy,
1757                                 (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[1568] );
1758         
1759         _StubMsg.Buffer = (unsigned char __RPC_FAR *)(((long)_StubMsg.Buffer + 3) & ~ 0x3);
1760         *(( HRESULT __RPC_FAR * )_StubMsg.Buffer)++ = _RetVal;
1761         
1762         }
1763     RpcFinally
1764         {
1765         NdrPointerFree( &_StubMsg,
1766                         (unsigned char __RPC_FAR *)ppTInfo,
1767                         &__MIDL_TypeFormatString.Format[6] );
1768         
1769         NdrPointerFree( &_StubMsg,
1770                         (unsigned char __RPC_FAR *)ppFuncDesc,
1771                         &__MIDL_TypeFormatString.Format[1254] );
1772         
1773         NdrPointerFree( &_StubMsg,
1774                         (unsigned char __RPC_FAR *)ppVarDesc,
1775                         &__MIDL_TypeFormatString.Format[1464] );
1776         
1777         NdrPointerFree( &_StubMsg,
1778                         (unsigned char __RPC_FAR *)ppTypeComp,
1779                         &__MIDL_TypeFormatString.Format[1540] );
1780         
1781         NdrPointerFree( &_StubMsg,
1782                         (unsigned char __RPC_FAR *)pDummy,
1783                         &__MIDL_TypeFormatString.Format[1562] );
1784         
1785         }
1786     RpcEndFinally
1787     _pRpcMessage->BufferLength = 
1788         (unsigned int)((long)_StubMsg.Buffer - (long)_pRpcMessage->Buffer);
1789     
1790 }
1791
1792
1793 /* [call_as] */ HRESULT STDMETHODCALLTYPE ITypeComp_RemoteBindType_Proxy( 
1794     ITypeComp __RPC_FAR * This,
1795     /* [in] */ LPOLESTR szName,
1796     /* [in] */ ULONG lHashVal,
1797     /* [out] */ ITypeInfo __RPC_FAR *__RPC_FAR *ppTInfo)
1798 {
1799
1800     HRESULT _RetVal;
1801     
1802     RPC_MESSAGE _RpcMessage;
1803     
1804     MIDL_STUB_MESSAGE _StubMsg;
1805     
1806     if(ppTInfo)
1807         {
1808         MIDL_memset(
1809                ppTInfo,
1810                0,
1811                sizeof( ITypeInfo __RPC_FAR *__RPC_FAR * ));
1812         }
1813     RpcTryExcept
1814         {
1815         NdrProxyInitialize(
1816                       ( void __RPC_FAR *  )This,
1817                       ( PRPC_MESSAGE  )&_RpcMessage,
1818                       ( PMIDL_STUB_MESSAGE  )&_StubMsg,
1819                       ( PMIDL_STUB_DESC  )&Object_StubDesc,
1820                       4);
1821         
1822         
1823         
1824         if(!szName)
1825             {
1826             RpcRaiseException(RPC_X_NULL_REF_POINTER);
1827             }
1828         if(!ppTInfo)
1829             {
1830             RpcRaiseException(RPC_X_NULL_REF_POINTER);
1831             }
1832         RpcTryFinally
1833             {
1834             
1835             _StubMsg.BufferLength = 12U + 10U;
1836             NdrConformantStringBufferSize( (PMIDL_STUB_MESSAGE) &_StubMsg,
1837                                            (unsigned char __RPC_FAR *)szName,
1838                                            (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[1248] );
1839             
1840             NdrProxyGetBuffer(This, &_StubMsg);
1841             NdrConformantStringMarshall( (PMIDL_STUB_MESSAGE)& _StubMsg,
1842                                          (unsigned char __RPC_FAR *)szName,
1843                                          (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[1248] );
1844             
1845             _StubMsg.Buffer = (unsigned char __RPC_FAR *)(((long)_StubMsg.Buffer + 3) & ~ 0x3);
1846             *(( ULONG __RPC_FAR * )_StubMsg.Buffer)++ = lHashVal;
1847             
1848             NdrProxySendReceive(This, &_StubMsg);
1849             
1850             if ( (_RpcMessage.DataRepresentation & 0X0000FFFFUL) != NDR_LOCAL_DATA_REPRESENTATION )
1851                 NdrConvert( (PMIDL_STUB_MESSAGE) &_StubMsg, (PFORMAT_STRING) &__MIDL_ProcFormatString.Format[130] );
1852             
1853             NdrPointerUnmarshall( (PMIDL_STUB_MESSAGE) &_StubMsg,
1854                                   (unsigned char __RPC_FAR * __RPC_FAR *)&ppTInfo,
1855                                   (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[6],
1856                                   (unsigned char)0 );
1857             
1858             _StubMsg.Buffer = (unsigned char __RPC_FAR *)(((long)_StubMsg.Buffer + 3) & ~ 0x3);
1859             _RetVal = *(( HRESULT __RPC_FAR * )_StubMsg.Buffer)++;
1860             
1861             }
1862         RpcFinally
1863             {
1864             NdrProxyFreeBuffer(This, &_StubMsg);
1865             
1866             }
1867         RpcEndFinally
1868         
1869         }
1870     RpcExcept(_StubMsg.dwStubPhase != PROXY_SENDRECEIVE)
1871         {
1872         NdrClearOutParameters(
1873                          ( PMIDL_STUB_MESSAGE  )&_StubMsg,
1874                          ( PFORMAT_STRING  )&__MIDL_TypeFormatString.Format[6],
1875                          ( void __RPC_FAR * )ppTInfo);
1876         _RetVal = NdrProxyErrorHandler(RpcExceptionCode());
1877         }
1878     RpcEndExcept
1879     return _RetVal;
1880 }
1881
1882 void __RPC_STUB ITypeComp_RemoteBindType_Stub(
1883     IRpcStubBuffer *This,
1884     IRpcChannelBuffer *_pRpcChannelBuffer,
1885     PRPC_MESSAGE _pRpcMessage,
1886     DWORD *_pdwStubPhase)
1887 {
1888     ITypeInfo __RPC_FAR *_M23;
1889     HRESULT _RetVal;
1890     MIDL_STUB_MESSAGE _StubMsg;
1891     ULONG lHashVal;
1892     ITypeInfo __RPC_FAR *__RPC_FAR *ppTInfo;
1893     LPOLESTR szName;
1894     
1895 NdrStubInitialize(
1896                      _pRpcMessage,
1897                      &_StubMsg,
1898                      &Object_StubDesc,
1899                      _pRpcChannelBuffer);
1900     ( LPOLESTR  )szName = 0;
1901     ( ITypeInfo __RPC_FAR *__RPC_FAR * )ppTInfo = 0;
1902     RpcTryFinally
1903         {
1904         if ( (_pRpcMessage->DataRepresentation & 0X0000FFFFUL) != NDR_LOCAL_DATA_REPRESENTATION )
1905             NdrConvert( (PMIDL_STUB_MESSAGE) &_StubMsg, (PFORMAT_STRING) &__MIDL_ProcFormatString.Format[130] );
1906         
1907         NdrConformantStringUnmarshall( (PMIDL_STUB_MESSAGE) &_StubMsg,
1908                                        (unsigned char __RPC_FAR * __RPC_FAR *)&szName,
1909                                        (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[1248],
1910                                        (unsigned char)0 );
1911         
1912         _StubMsg.Buffer = (unsigned char __RPC_FAR *)(((long)_StubMsg.Buffer + 3) & ~ 0x3);
1913         lHashVal = *(( ULONG __RPC_FAR * )_StubMsg.Buffer)++;
1914         
1915         ppTInfo = &_M23;
1916         _M23 = 0;
1917         
1918         *_pdwStubPhase = STUB_CALL_SERVER;
1919         
1920         
1921         _RetVal = ITypeComp_BindType_Stub(
1922                                   (ITypeComp *) ((CStdStubBuffer *)This)->pvServerObject,
1923                                   szName,
1924                                   lHashVal,
1925                                   ppTInfo);
1926         
1927         *_pdwStubPhase = STUB_MARSHAL;
1928         
1929         _StubMsg.BufferLength = 0U + 4U;
1930         NdrPointerBufferSize( (PMIDL_STUB_MESSAGE) &_StubMsg,
1931                               (unsigned char __RPC_FAR *)ppTInfo,
1932                               (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[6] );
1933         
1934         _StubMsg.BufferLength += 16;
1935         
1936         NdrStubGetBuffer(This, _pRpcChannelBuffer, &_StubMsg);
1937         NdrPointerMarshall( (PMIDL_STUB_MESSAGE)& _StubMsg,
1938                             (unsigned char __RPC_FAR *)ppTInfo,
1939                             (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[6] );
1940         
1941         _StubMsg.Buffer = (unsigned char __RPC_FAR *)(((long)_StubMsg.Buffer + 3) & ~ 0x3);
1942         *(( HRESULT __RPC_FAR * )_StubMsg.Buffer)++ = _RetVal;
1943         
1944         }
1945     RpcFinally
1946         {
1947         NdrPointerFree( &_StubMsg,
1948                         (unsigned char __RPC_FAR *)ppTInfo,
1949                         &__MIDL_TypeFormatString.Format[6] );
1950         
1951         }
1952     RpcEndFinally
1953     _pRpcMessage->BufferLength = 
1954         (unsigned int)((long)_StubMsg.Buffer - (long)_pRpcMessage->Buffer);
1955     
1956 }
1957
1958 const CINTERFACE_PROXY_VTABLE(5) _ITypeCompProxyVtbl = 
1959 {
1960     { &IID_ITypeComp },
1961     {
1962         IUnknown_QueryInterface_Proxy,
1963         IUnknown_AddRef_Proxy,
1964         IUnknown_Release_Proxy ,
1965         ITypeComp_Bind_Proxy ,
1966         ITypeComp_BindType_Proxy
1967     }
1968 };
1969
1970
1971 static const PRPC_STUB_FUNCTION ITypeComp_table[] =
1972 {
1973     ITypeComp_RemoteBind_Stub,
1974     ITypeComp_RemoteBindType_Stub
1975 };
1976
1977 const CInterfaceStubVtbl _ITypeCompStubVtbl =
1978 {
1979     {
1980         &IID_ITypeComp,
1981         0,
1982         5,
1983         &ITypeComp_table[-3]
1984     },
1985     { CStdStubBuffer_METHODS }
1986 };
1987
1988
1989 /* Object interface: ITypeInfo, ver. 0.0,
1990    GUID={0x00020401,0x0000,0x0000,{0xC0,0x00,0x00,0x00,0x00,0x00,0x00,0x46}} */
1991
1992
1993 extern const MIDL_STUB_DESC Object_StubDesc;
1994
1995
1996 /* [call_as] */ HRESULT STDMETHODCALLTYPE ITypeInfo_RemoteGetTypeAttr_Proxy( 
1997     ITypeInfo __RPC_FAR * This,
1998     /* [out] */ LPTYPEATTR __RPC_FAR *ppTypeAttr,
1999     /* [out] */ CLEANLOCALSTORAGE __RPC_FAR *pDummy)
2000 {
2001
2002     HRESULT _RetVal;
2003     
2004     RPC_MESSAGE _RpcMessage;
2005     
2006     MIDL_STUB_MESSAGE _StubMsg;
2007     
2008     if(ppTypeAttr)
2009         {
2010         *ppTypeAttr = 0;
2011         }
2012     if(pDummy)
2013         {
2014         MIDL_memset(
2015                pDummy,
2016                0,
2017                sizeof( CLEANLOCALSTORAGE  ));
2018         }
2019     RpcTryExcept
2020         {
2021         NdrProxyInitialize(
2022                       ( void __RPC_FAR *  )This,
2023                       ( PRPC_MESSAGE  )&_RpcMessage,
2024                       ( PMIDL_STUB_MESSAGE  )&_StubMsg,
2025                       ( PMIDL_STUB_DESC  )&Object_StubDesc,
2026                       3);
2027         
2028         
2029         
2030         if(!ppTypeAttr)
2031             {
2032             RpcRaiseException(RPC_X_NULL_REF_POINTER);
2033             }
2034         if(!pDummy)
2035             {
2036             RpcRaiseException(RPC_X_NULL_REF_POINTER);
2037             }
2038         RpcTryFinally
2039             {
2040             
2041             _StubMsg.BufferLength = 0U;
2042             NdrProxyGetBuffer(This, &_StubMsg);
2043             NdrProxySendReceive(This, &_StubMsg);
2044             
2045             if ( (_RpcMessage.DataRepresentation & 0X0000FFFFUL) != NDR_LOCAL_DATA_REPRESENTATION )
2046                 NdrConvert( (PMIDL_STUB_MESSAGE) &_StubMsg, (PFORMAT_STRING) &__MIDL_ProcFormatString.Format[142] );
2047             
2048             NdrPointerUnmarshall( (PMIDL_STUB_MESSAGE) &_StubMsg,
2049                                   (unsigned char __RPC_FAR * __RPC_FAR *)&ppTypeAttr,
2050                                   (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[1578],
2051                                   (unsigned char)0 );
2052             
2053             NdrUserMarshalUnmarshall( (PMIDL_STUB_MESSAGE) &_StubMsg,
2054                                       (unsigned char __RPC_FAR * __RPC_FAR *)&pDummy,
2055                                       (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[1644],
2056                                       (unsigned char)0 );
2057             
2058             _StubMsg.Buffer = (unsigned char __RPC_FAR *)(((long)_StubMsg.Buffer + 3) & ~ 0x3);
2059             _RetVal = *(( HRESULT __RPC_FAR * )_StubMsg.Buffer)++;
2060             
2061             }
2062         RpcFinally
2063             {
2064             NdrProxyFreeBuffer(This, &_StubMsg);
2065             
2066             }
2067         RpcEndFinally
2068         
2069         }
2070     RpcExcept(_StubMsg.dwStubPhase != PROXY_SENDRECEIVE)
2071         {
2072         NdrClearOutParameters(
2073                          ( PMIDL_STUB_MESSAGE  )&_StubMsg,
2074                          ( PFORMAT_STRING  )&__MIDL_TypeFormatString.Format[1578],
2075                          ( void __RPC_FAR * )ppTypeAttr);
2076         NdrClearOutParameters(
2077                          ( PMIDL_STUB_MESSAGE  )&_StubMsg,
2078                          ( PFORMAT_STRING  )&__MIDL_TypeFormatString.Format[1638],
2079                          ( void __RPC_FAR * )pDummy);
2080         _RetVal = NdrProxyErrorHandler(RpcExceptionCode());
2081         }
2082     RpcEndExcept
2083     return _RetVal;
2084 }
2085
2086 void __RPC_STUB ITypeInfo_RemoteGetTypeAttr_Stub(
2087     IRpcStubBuffer *This,
2088     IRpcChannelBuffer *_pRpcChannelBuffer,
2089     PRPC_MESSAGE _pRpcMessage,
2090     DWORD *_pdwStubPhase)
2091 {
2092     LPTYPEATTR _M24;
2093     CLEANLOCALSTORAGE _M25;
2094     HRESULT _RetVal;
2095     MIDL_STUB_MESSAGE _StubMsg;
2096     CLEANLOCALSTORAGE __RPC_FAR *pDummy;
2097     LPTYPEATTR __RPC_FAR *ppTypeAttr;
2098     
2099 NdrStubInitialize(
2100                      _pRpcMessage,
2101                      &_StubMsg,
2102                      &Object_StubDesc,
2103                      _pRpcChannelBuffer);
2104     ( LPTYPEATTR __RPC_FAR * )ppTypeAttr = 0;
2105     ( CLEANLOCALSTORAGE __RPC_FAR * )pDummy = 0;
2106     RpcTryFinally
2107         {
2108         ppTypeAttr = &_M24;
2109         _M24 = 0;
2110         pDummy = &_M25;
2111         MIDL_memset(
2112                pDummy,
2113                0,
2114                sizeof( CLEANLOCALSTORAGE  ));
2115         
2116         *_pdwStubPhase = STUB_CALL_SERVER;
2117         
2118         
2119         _RetVal = ITypeInfo_GetTypeAttr_Stub(
2120                                      (ITypeInfo *) ((CStdStubBuffer *)This)->pvServerObject,
2121                                      ppTypeAttr,
2122                                      pDummy);
2123         
2124         *_pdwStubPhase = STUB_MARSHAL;
2125         
2126         _StubMsg.BufferLength = 8U + 11U + 7U;
2127         NdrPointerBufferSize( (PMIDL_STUB_MESSAGE) &_StubMsg,
2128                               (unsigned char __RPC_FAR *)ppTypeAttr,
2129                               (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[1578] );
2130         
2131         _StubMsg.BufferLength += 16;
2132         
2133         NdrStubGetBuffer(This, _pRpcChannelBuffer, &_StubMsg);
2134         NdrPointerMarshall( (PMIDL_STUB_MESSAGE)& _StubMsg,
2135                             (unsigned char __RPC_FAR *)ppTypeAttr,
2136                             (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[1578] );
2137         
2138         NdrUserMarshalMarshall( (PMIDL_STUB_MESSAGE)& _StubMsg,
2139                                 (unsigned char __RPC_FAR *)pDummy,
2140                                 (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[1644] );
2141         
2142         _StubMsg.Buffer = (unsigned char __RPC_FAR *)(((long)_StubMsg.Buffer + 3) & ~ 0x3);
2143         *(( HRESULT __RPC_FAR * )_StubMsg.Buffer)++ = _RetVal;
2144         
2145         }
2146     RpcFinally
2147         {
2148         NdrPointerFree( &_StubMsg,
2149                         (unsigned char __RPC_FAR *)ppTypeAttr,
2150                         &__MIDL_TypeFormatString.Format[1578] );
2151         
2152         NdrPointerFree( &_StubMsg,
2153                         (unsigned char __RPC_FAR *)pDummy,
2154                         &__MIDL_TypeFormatString.Format[1638] );
2155         
2156         }
2157     RpcEndFinally
2158     _pRpcMessage->BufferLength = 
2159         (unsigned int)((long)_StubMsg.Buffer - (long)_pRpcMessage->Buffer);
2160     
2161 }
2162
2163
2164 HRESULT STDMETHODCALLTYPE ITypeInfo_GetTypeComp_Proxy( 
2165     ITypeInfo __RPC_FAR * This,
2166     /* [out] */ ITypeComp __RPC_FAR *__RPC_FAR *ppTComp)
2167 {
2168
2169     HRESULT _RetVal;
2170     
2171     RPC_MESSAGE _RpcMessage;
2172     
2173     MIDL_STUB_MESSAGE _StubMsg;
2174     
2175     if(ppTComp)
2176         {
2177         MIDL_memset(
2178                ppTComp,
2179                0,
2180                sizeof( ITypeComp __RPC_FAR *__RPC_FAR * ));
2181         }
2182     RpcTryExcept
2183         {
2184         NdrProxyInitialize(
2185                       ( void __RPC_FAR *  )This,
2186                       ( PRPC_MESSAGE  )&_RpcMessage,
2187                       ( PMIDL_STUB_MESSAGE  )&_StubMsg,
2188                       ( PMIDL_STUB_DESC  )&Object_StubDesc,
2189                       4);
2190         
2191         
2192         
2193         if(!ppTComp)
2194             {
2195             RpcRaiseException(RPC_X_NULL_REF_POINTER);
2196             }
2197         RpcTryFinally
2198             {
2199             
2200             _StubMsg.BufferLength = 0U;
2201             NdrProxyGetBuffer(This, &_StubMsg);
2202             NdrProxySendReceive(This, &_StubMsg);
2203             
2204             if ( (_RpcMessage.DataRepresentation & 0X0000FFFFUL) != NDR_LOCAL_DATA_REPRESENTATION )
2205                 NdrConvert( (PMIDL_STUB_MESSAGE) &_StubMsg, (PFORMAT_STRING) &__MIDL_ProcFormatString.Format[152] );
2206             
2207             NdrPointerUnmarshall( (PMIDL_STUB_MESSAGE) &_StubMsg,
2208                                   (unsigned char __RPC_FAR * __RPC_FAR *)&ppTComp,
2209                                   (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[1540],
2210                                   (unsigned char)0 );
2211             
2212             _StubMsg.Buffer = (unsigned char __RPC_FAR *)(((long)_StubMsg.Buffer + 3) & ~ 0x3);
2213             _RetVal = *(( HRESULT __RPC_FAR * )_StubMsg.Buffer)++;
2214             
2215             }
2216         RpcFinally
2217             {
2218             NdrProxyFreeBuffer(This, &_StubMsg);
2219             
2220             }
2221         RpcEndFinally
2222         
2223         }
2224     RpcExcept(_StubMsg.dwStubPhase != PROXY_SENDRECEIVE)
2225         {
2226         NdrClearOutParameters(
2227                          ( PMIDL_STUB_MESSAGE  )&_StubMsg,
2228                          ( PFORMAT_STRING  )&__MIDL_TypeFormatString.Format[1540],
2229                          ( void __RPC_FAR * )ppTComp);
2230         _RetVal = NdrProxyErrorHandler(RpcExceptionCode());
2231         }
2232     RpcEndExcept
2233     return _RetVal;
2234 }
2235
2236 void __RPC_STUB ITypeInfo_GetTypeComp_Stub(
2237     IRpcStubBuffer *This,
2238     IRpcChannelBuffer *_pRpcChannelBuffer,
2239     PRPC_MESSAGE _pRpcMessage,
2240     DWORD *_pdwStubPhase)
2241 {
2242     ITypeComp __RPC_FAR *_M26;
2243     HRESULT _RetVal;
2244     MIDL_STUB_MESSAGE _StubMsg;
2245     ITypeComp __RPC_FAR *__RPC_FAR *ppTComp;
2246     
2247 NdrStubInitialize(
2248                      _pRpcMessage,
2249                      &_StubMsg,
2250                      &Object_StubDesc,
2251                      _pRpcChannelBuffer);
2252     ( ITypeComp __RPC_FAR *__RPC_FAR * )ppTComp = 0;
2253     RpcTryFinally
2254         {
2255         ppTComp = &_M26;
2256         _M26 = 0;
2257         
2258         *_pdwStubPhase = STUB_CALL_SERVER;
2259         _RetVal = (((ITypeInfo*) ((CStdStubBuffer *)This)->pvServerObject)->lpVtbl) -> GetTypeComp((ITypeInfo *) ((CStdStubBuffer *)This)->pvServerObject,ppTComp);
2260         
2261         *_pdwStubPhase = STUB_MARSHAL;
2262         
2263         _StubMsg.BufferLength = 0U + 4U;
2264         NdrPointerBufferSize( (PMIDL_STUB_MESSAGE) &_StubMsg,
2265                               (unsigned char __RPC_FAR *)ppTComp,
2266                               (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[1540] );
2267         
2268         _StubMsg.BufferLength += 16;
2269         
2270         NdrStubGetBuffer(This, _pRpcChannelBuffer, &_StubMsg);
2271         NdrPointerMarshall( (PMIDL_STUB_MESSAGE)& _StubMsg,
2272                             (unsigned char __RPC_FAR *)ppTComp,
2273                             (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[1540] );
2274         
2275         _StubMsg.Buffer = (unsigned char __RPC_FAR *)(((long)_StubMsg.Buffer + 3) & ~ 0x3);
2276         *(( HRESULT __RPC_FAR * )_StubMsg.Buffer)++ = _RetVal;
2277         
2278         }
2279     RpcFinally
2280         {
2281         NdrPointerFree( &_StubMsg,
2282                         (unsigned char __RPC_FAR *)ppTComp,
2283                         &__MIDL_TypeFormatString.Format[1540] );
2284         
2285         }
2286     RpcEndFinally
2287     _pRpcMessage->BufferLength = 
2288         (unsigned int)((long)_StubMsg.Buffer - (long)_pRpcMessage->Buffer);
2289     
2290 }
2291
2292
2293 /* [call_as] */ HRESULT STDMETHODCALLTYPE ITypeInfo_RemoteGetFuncDesc_Proxy( 
2294     ITypeInfo __RPC_FAR * This,
2295     /* [in] */ UINT index,
2296     /* [out] */ LPFUNCDESC __RPC_FAR *ppFuncDesc,
2297     /* [out] */ CLEANLOCALSTORAGE __RPC_FAR *pDummy)
2298 {
2299
2300     HRESULT _RetVal;
2301     
2302     RPC_MESSAGE _RpcMessage;
2303     
2304     MIDL_STUB_MESSAGE _StubMsg;
2305     
2306     if(ppFuncDesc)
2307         {
2308         *ppFuncDesc = 0;
2309         }
2310     if(pDummy)
2311         {
2312         MIDL_memset(
2313                pDummy,
2314                0,
2315                sizeof( CLEANLOCALSTORAGE  ));
2316         }
2317     RpcTryExcept
2318         {
2319         NdrProxyInitialize(
2320                       ( void __RPC_FAR *  )This,
2321                       ( PRPC_MESSAGE  )&_RpcMessage,
2322                       ( PMIDL_STUB_MESSAGE  )&_StubMsg,
2323                       ( PMIDL_STUB_DESC  )&Object_StubDesc,
2324                       5);
2325         
2326         
2327         
2328         if(!ppFuncDesc)
2329             {
2330             RpcRaiseException(RPC_X_NULL_REF_POINTER);
2331             }
2332         if(!pDummy)
2333             {
2334             RpcRaiseException(RPC_X_NULL_REF_POINTER);
2335             }
2336         RpcTryFinally
2337             {
2338             
2339             _StubMsg.BufferLength = 4U;
2340             NdrProxyGetBuffer(This, &_StubMsg);
2341             *(( UINT __RPC_FAR * )_StubMsg.Buffer)++ = index;
2342             
2343             NdrProxySendReceive(This, &_StubMsg);
2344             
2345             if ( (_RpcMessage.DataRepresentation & 0X0000FFFFUL) != NDR_LOCAL_DATA_REPRESENTATION )
2346                 NdrConvert( (PMIDL_STUB_MESSAGE) &_StubMsg, (PFORMAT_STRING) &__MIDL_ProcFormatString.Format[158] );
2347             
2348             NdrPointerUnmarshall( (PMIDL_STUB_MESSAGE) &_StubMsg,
2349                                   (unsigned char __RPC_FAR * __RPC_FAR *)&ppFuncDesc,
2350                                   (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[1254],
2351                                   (unsigned char)0 );
2352             
2353             NdrUserMarshalUnmarshall( (PMIDL_STUB_MESSAGE) &_StubMsg,
2354                                       (unsigned char __RPC_FAR * __RPC_FAR *)&pDummy,
2355                                       (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[1660],
2356                                       (unsigned char)0 );
2357             
2358             _StubMsg.Buffer = (unsigned char __RPC_FAR *)(((long)_StubMsg.Buffer + 3) & ~ 0x3);
2359             _RetVal = *(( HRESULT __RPC_FAR * )_StubMsg.Buffer)++;
2360             
2361             }
2362         RpcFinally
2363             {
2364             NdrProxyFreeBuffer(This, &_StubMsg);
2365             
2366             }
2367         RpcEndFinally
2368         
2369         }
2370     RpcExcept(_StubMsg.dwStubPhase != PROXY_SENDRECEIVE)
2371         {
2372         NdrClearOutParameters(
2373                          ( PMIDL_STUB_MESSAGE  )&_StubMsg,
2374                          ( PFORMAT_STRING  )&__MIDL_TypeFormatString.Format[1254],
2375                          ( void __RPC_FAR * )ppFuncDesc);
2376         NdrClearOutParameters(
2377                          ( PMIDL_STUB_MESSAGE  )&_StubMsg,
2378                          ( PFORMAT_STRING  )&__MIDL_TypeFormatString.Format[1654],
2379                          ( void __RPC_FAR * )pDummy);
2380         _RetVal = NdrProxyErrorHandler(RpcExceptionCode());
2381         }
2382     RpcEndExcept
2383     return _RetVal;
2384 }
2385
2386 void __RPC_STUB ITypeInfo_RemoteGetFuncDesc_Stub(
2387     IRpcStubBuffer *This,
2388     IRpcChannelBuffer *_pRpcChannelBuffer,
2389     PRPC_MESSAGE _pRpcMessage,
2390     DWORD *_pdwStubPhase)
2391 {
2392     LPFUNCDESC _M27;
2393     CLEANLOCALSTORAGE _M28;
2394     HRESULT _RetVal;
2395     MIDL_STUB_MESSAGE _StubMsg;
2396     UINT index;
2397     CLEANLOCALSTORAGE __RPC_FAR *pDummy;
2398     LPFUNCDESC __RPC_FAR *ppFuncDesc;
2399     
2400 NdrStubInitialize(
2401                      _pRpcMessage,
2402                      &_StubMsg,
2403                      &Object_StubDesc,
2404                      _pRpcChannelBuffer);
2405     ( LPFUNCDESC __RPC_FAR * )ppFuncDesc = 0;
2406     ( CLEANLOCALSTORAGE __RPC_FAR * )pDummy = 0;
2407     RpcTryFinally
2408         {
2409         if ( (_pRpcMessage->DataRepresentation & 0X0000FFFFUL) != NDR_LOCAL_DATA_REPRESENTATION )
2410             NdrConvert( (PMIDL_STUB_MESSAGE) &_StubMsg, (PFORMAT_STRING) &__MIDL_ProcFormatString.Format[158] );
2411         
2412         index = *(( UINT __RPC_FAR * )_StubMsg.Buffer)++;
2413         
2414         ppFuncDesc = &_M27;
2415         _M27 = 0;
2416         pDummy = &_M28;
2417         MIDL_memset(
2418                pDummy,
2419                0,
2420                sizeof( CLEANLOCALSTORAGE  ));
2421         
2422         *_pdwStubPhase = STUB_CALL_SERVER;
2423         
2424         
2425         _RetVal = ITypeInfo_GetFuncDesc_Stub(
2426                                      (ITypeInfo *) ((CStdStubBuffer *)This)->pvServerObject,
2427                                      index,
2428                                      ppFuncDesc,
2429                                      pDummy);
2430         
2431         *_pdwStubPhase = STUB_MARSHAL;
2432         
2433         _StubMsg.BufferLength = 8U + 11U + 7U;
2434         NdrPointerBufferSize( (PMIDL_STUB_MESSAGE) &_StubMsg,
2435                               (unsigned char __RPC_FAR *)ppFuncDesc,
2436                               (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[1254] );
2437         
2438         _StubMsg.BufferLength += 16;
2439         
2440         NdrStubGetBuffer(This, _pRpcChannelBuffer, &_StubMsg);
2441         NdrPointerMarshall( (PMIDL_STUB_MESSAGE)& _StubMsg,
2442                             (unsigned char __RPC_FAR *)ppFuncDesc,
2443                             (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[1254] );
2444         
2445         NdrUserMarshalMarshall( (PMIDL_STUB_MESSAGE)& _StubMsg,
2446                                 (unsigned char __RPC_FAR *)pDummy,
2447                                 (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[1660] );
2448         
2449         _StubMsg.Buffer = (unsigned char __RPC_FAR *)(((long)_StubMsg.Buffer + 3) & ~ 0x3);
2450         *(( HRESULT __RPC_FAR * )_StubMsg.Buffer)++ = _RetVal;
2451         
2452         }
2453     RpcFinally
2454         {
2455         NdrPointerFree( &_StubMsg,
2456                         (unsigned char __RPC_FAR *)ppFuncDesc,
2457                         &__MIDL_TypeFormatString.Format[1254] );
2458         
2459         NdrPointerFree( &_StubMsg,
2460                         (unsigned char __RPC_FAR *)pDummy,
2461                         &__MIDL_TypeFormatString.Format[1654] );
2462         
2463         }
2464     RpcEndFinally
2465     _pRpcMessage->BufferLength = 
2466         (unsigned int)((long)_StubMsg.Buffer - (long)_pRpcMessage->Buffer);
2467     
2468 }
2469
2470
2471 /* [call_as] */ HRESULT STDMETHODCALLTYPE ITypeInfo_RemoteGetVarDesc_Proxy( 
2472     ITypeInfo __RPC_FAR * This,
2473     /* [in] */ UINT index,
2474     /* [out] */ LPVARDESC __RPC_FAR *ppVarDesc,
2475     /* [out] */ CLEANLOCALSTORAGE __RPC_FAR *pDummy)
2476 {
2477
2478     HRESULT _RetVal;
2479     
2480     RPC_MESSAGE _RpcMessage;
2481     
2482     MIDL_STUB_MESSAGE _StubMsg;
2483     
2484     if(ppVarDesc)
2485         {
2486         *ppVarDesc = 0;
2487         }
2488     if(pDummy)
2489         {
2490         MIDL_memset(
2491                pDummy,
2492                0,
2493                sizeof( CLEANLOCALSTORAGE  ));
2494         }
2495     RpcTryExcept
2496         {
2497         NdrProxyInitialize(
2498                       ( void __RPC_FAR *  )This,
2499                       ( PRPC_MESSAGE  )&_RpcMessage,
2500                       ( PMIDL_STUB_MESSAGE  )&_StubMsg,
2501                       ( PMIDL_STUB_DESC  )&Object_StubDesc,
2502                       6);
2503         
2504         
2505         
2506         if(!ppVarDesc)
2507             {
2508             RpcRaiseException(RPC_X_NULL_REF_POINTER);
2509             }
2510         if(!pDummy)
2511             {
2512             RpcRaiseException(RPC_X_NULL_REF_POINTER);
2513             }
2514         RpcTryFinally
2515             {
2516             
2517             _StubMsg.BufferLength = 4U;
2518             NdrProxyGetBuffer(This, &_StubMsg);
2519             *(( UINT __RPC_FAR * )_StubMsg.Buffer)++ = index;
2520             
2521             NdrProxySendReceive(This, &_StubMsg);
2522             
2523             if ( (_RpcMessage.DataRepresentation & 0X0000FFFFUL) != NDR_LOCAL_DATA_REPRESENTATION )
2524                 NdrConvert( (PMIDL_STUB_MESSAGE) &_StubMsg, (PFORMAT_STRING) &__MIDL_ProcFormatString.Format[170] );
2525             
2526             NdrPointerUnmarshall( (PMIDL_STUB_MESSAGE) &_StubMsg,
2527                                   (unsigned char __RPC_FAR * __RPC_FAR *)&ppVarDesc,
2528                                   (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[1464],
2529                                   (unsigned char)0 );
2530             
2531             NdrUserMarshalUnmarshall( (PMIDL_STUB_MESSAGE) &_StubMsg,
2532                                       (unsigned char __RPC_FAR * __RPC_FAR *)&pDummy,
2533                                       (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[1676],
2534                                       (unsigned char)0 );
2535             
2536             _StubMsg.Buffer = (unsigned char __RPC_FAR *)(((long)_StubMsg.Buffer + 3) & ~ 0x3);
2537             _RetVal = *(( HRESULT __RPC_FAR * )_StubMsg.Buffer)++;
2538             
2539             }
2540         RpcFinally
2541             {
2542             NdrProxyFreeBuffer(This, &_StubMsg);
2543             
2544             }
2545         RpcEndFinally
2546         
2547         }
2548     RpcExcept(_StubMsg.dwStubPhase != PROXY_SENDRECEIVE)
2549         {
2550         NdrClearOutParameters(
2551                          ( PMIDL_STUB_MESSAGE  )&_StubMsg,
2552                          ( PFORMAT_STRING  )&__MIDL_TypeFormatString.Format[1464],
2553                          ( void __RPC_FAR * )ppVarDesc);
2554         NdrClearOutParameters(
2555                          ( PMIDL_STUB_MESSAGE  )&_StubMsg,
2556                          ( PFORMAT_STRING  )&__MIDL_TypeFormatString.Format[1670],
2557                          ( void __RPC_FAR * )pDummy);
2558         _RetVal = NdrProxyErrorHandler(RpcExceptionCode());
2559         }
2560     RpcEndExcept
2561     return _RetVal;
2562 }
2563
2564 void __RPC_STUB ITypeInfo_RemoteGetVarDesc_Stub(
2565     IRpcStubBuffer *This,
2566     IRpcChannelBuffer *_pRpcChannelBuffer,
2567     PRPC_MESSAGE _pRpcMessage,
2568     DWORD *_pdwStubPhase)
2569 {
2570     LPVARDESC _M29;
2571     CLEANLOCALSTORAGE _M30;
2572     HRESULT _RetVal;
2573     MIDL_STUB_MESSAGE _StubMsg;
2574     UINT index;
2575     CLEANLOCALSTORAGE __RPC_FAR *pDummy;
2576     LPVARDESC __RPC_FAR *ppVarDesc;
2577     
2578 NdrStubInitialize(
2579                      _pRpcMessage,
2580                      &_StubMsg,
2581                      &Object_StubDesc,
2582                      _pRpcChannelBuffer);
2583     ( LPVARDESC __RPC_FAR * )ppVarDesc = 0;
2584     ( CLEANLOCALSTORAGE __RPC_FAR * )pDummy = 0;
2585     RpcTryFinally
2586         {
2587         if ( (_pRpcMessage->DataRepresentation & 0X0000FFFFUL) != NDR_LOCAL_DATA_REPRESENTATION )
2588             NdrConvert( (PMIDL_STUB_MESSAGE) &_StubMsg, (PFORMAT_STRING) &__MIDL_ProcFormatString.Format[170] );
2589         
2590         index = *(( UINT __RPC_FAR * )_StubMsg.Buffer)++;
2591         
2592         ppVarDesc = &_M29;
2593         _M29 = 0;
2594         pDummy = &_M30;
2595         MIDL_memset(
2596                pDummy,
2597                0,
2598                sizeof( CLEANLOCALSTORAGE  ));
2599         
2600         *_pdwStubPhase = STUB_CALL_SERVER;
2601         
2602         
2603         _RetVal = ITypeInfo_GetVarDesc_Stub(
2604                                     (ITypeInfo *) ((CStdStubBuffer *)This)->pvServerObject,
2605                                     index,
2606                                     ppVarDesc,
2607                                     pDummy);
2608         
2609         *_pdwStubPhase = STUB_MARSHAL;
2610         
2611         _StubMsg.BufferLength = 8U + 11U + 7U;
2612         NdrPointerBufferSize( (PMIDL_STUB_MESSAGE) &_StubMsg,
2613                               (unsigned char __RPC_FAR *)ppVarDesc,
2614                               (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[1464] );
2615         
2616         _StubMsg.BufferLength += 16;
2617         
2618         NdrStubGetBuffer(This, _pRpcChannelBuffer, &_StubMsg);
2619         NdrPointerMarshall( (PMIDL_STUB_MESSAGE)& _StubMsg,
2620                             (unsigned char __RPC_FAR *)ppVarDesc,
2621                             (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[1464] );
2622         
2623         NdrUserMarshalMarshall( (PMIDL_STUB_MESSAGE)& _StubMsg,
2624                                 (unsigned char __RPC_FAR *)pDummy,
2625                                 (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[1676] );
2626         
2627         _StubMsg.Buffer = (unsigned char __RPC_FAR *)(((long)_StubMsg.Buffer + 3) & ~ 0x3);
2628         *(( HRESULT __RPC_FAR * )_StubMsg.Buffer)++ = _RetVal;
2629         
2630         }
2631     RpcFinally
2632         {
2633         NdrPointerFree( &_StubMsg,
2634                         (unsigned char __RPC_FAR *)ppVarDesc,
2635                         &__MIDL_TypeFormatString.Format[1464] );
2636         
2637         NdrPointerFree( &_StubMsg,
2638                         (unsigned char __RPC_FAR *)pDummy,
2639                         &__MIDL_TypeFormatString.Format[1670] );
2640         
2641         }
2642     RpcEndFinally
2643     _pRpcMessage->BufferLength = 
2644         (unsigned int)((long)_StubMsg.Buffer - (long)_pRpcMessage->Buffer);
2645     
2646 }
2647
2648
2649 /* [call_as] */ HRESULT STDMETHODCALLTYPE ITypeInfo_RemoteGetNames_Proxy( 
2650     ITypeInfo __RPC_FAR * This,
2651     /* [in] */ MEMBERID memid,
2652     /* [length_is][size_is][out] */ BSTR __RPC_FAR *rgBstrNames,
2653     /* [in] */ UINT cMaxNames,
2654     /* [out] */ UINT __RPC_FAR *pcNames)
2655 {
2656
2657     HRESULT _RetVal;
2658     
2659     RPC_MESSAGE _RpcMessage;
2660     
2661     MIDL_STUB_MESSAGE _StubMsg;
2662     
2663     if(rgBstrNames)
2664         {
2665         MIDL_memset(
2666                rgBstrNames,
2667                0,
2668                cMaxNames * sizeof( BSTR  ));
2669         }
2670     RpcTryExcept
2671         {
2672         NdrProxyInitialize(
2673                       ( void __RPC_FAR *  )This,
2674                       ( PRPC_MESSAGE  )&_RpcMessage,
2675                       ( PMIDL_STUB_MESSAGE  )&_StubMsg,
2676                       ( PMIDL_STUB_DESC  )&Object_StubDesc,
2677                       7);
2678         
2679         
2680         
2681         if(!rgBstrNames)
2682             {
2683             RpcRaiseException(RPC_X_NULL_REF_POINTER);
2684             }
2685         if(!pcNames)
2686             {
2687             RpcRaiseException(RPC_X_NULL_REF_POINTER);
2688             }
2689         RpcTryFinally
2690             {
2691             
2692             _StubMsg.BufferLength = 4U + 4U;
2693             NdrProxyGetBuffer(This, &_StubMsg);
2694             *(( MEMBERID __RPC_FAR * )_StubMsg.Buffer)++ = memid;
2695             
2696             *(( UINT __RPC_FAR * )_StubMsg.Buffer)++ = cMaxNames;
2697             
2698             NdrProxySendReceive(This, &_StubMsg);
2699             
2700             if ( (_RpcMessage.DataRepresentation & 0X0000FFFFUL) != NDR_LOCAL_DATA_REPRESENTATION )
2701                 NdrConvert( (PMIDL_STUB_MESSAGE) &_StubMsg, (PFORMAT_STRING) &__MIDL_ProcFormatString.Format[182] );
2702             
2703             NdrComplexArrayUnmarshall( (PMIDL_STUB_MESSAGE) &_StubMsg,
2704                                        (unsigned char __RPC_FAR * __RPC_FAR *)&rgBstrNames,
2705                                        (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[1690],
2706                                        (unsigned char)0 );
2707             
2708             _StubMsg.Buffer = (unsigned char __RPC_FAR *)(((long)_StubMsg.Buffer + 3) & ~ 0x3);
2709             *pcNames = *(( UINT __RPC_FAR * )_StubMsg.Buffer)++;
2710             
2711             _RetVal = *(( HRESULT __RPC_FAR * )_StubMsg.Buffer)++;
2712             
2713             }
2714         RpcFinally
2715             {
2716             NdrProxyFreeBuffer(This, &_StubMsg);
2717             
2718             }
2719         RpcEndFinally
2720         
2721         }
2722     RpcExcept(_StubMsg.dwStubPhase != PROXY_SENDRECEIVE)
2723         {
2724         _StubMsg.MaxCount = cMaxNames;
2725         _StubMsg.Offset = 0;
2726         _StubMsg.ActualCount = _StubMsg.MaxCount;
2727         
2728         NdrClearOutParameters(
2729                          ( PMIDL_STUB_MESSAGE  )&_StubMsg,
2730                          ( PFORMAT_STRING  )&__MIDL_TypeFormatString.Format[1686],
2731                          ( void __RPC_FAR * )rgBstrNames);
2732         NdrClearOutParameters(
2733                          ( PMIDL_STUB_MESSAGE  )&_StubMsg,
2734                          ( PFORMAT_STRING  )&__MIDL_TypeFormatString.Format[2],
2735                          ( void __RPC_FAR * )pcNames);
2736         _RetVal = NdrProxyErrorHandler(RpcExceptionCode());
2737         }
2738     RpcEndExcept
2739     return _RetVal;
2740 }
2741
2742 void __RPC_STUB ITypeInfo_RemoteGetNames_Stub(
2743     IRpcStubBuffer *This,
2744     IRpcChannelBuffer *_pRpcChannelBuffer,
2745     PRPC_MESSAGE _pRpcMessage,
2746     DWORD *_pdwStubPhase)
2747 {
2748     UINT _M34;
2749     HRESULT _RetVal;
2750     MIDL_STUB_MESSAGE _StubMsg;
2751     UINT cMaxNames;
2752     MEMBERID memid;
2753     UINT __RPC_FAR *pcNames;
2754     BSTR __RPC_FAR *rgBstrNames;
2755     
2756 NdrStubInitialize(
2757                      _pRpcMessage,
2758                      &_StubMsg,
2759                      &Object_StubDesc,
2760                      _pRpcChannelBuffer);
2761     ( BSTR __RPC_FAR * )rgBstrNames = 0;
2762     ( UINT __RPC_FAR * )pcNames = 0;
2763     RpcTryFinally
2764         {
2765         if ( (_pRpcMessage->DataRepresentation & 0X0000FFFFUL) != NDR_LOCAL_DATA_REPRESENTATION )
2766             NdrConvert( (PMIDL_STUB_MESSAGE) &_StubMsg, (PFORMAT_STRING) &__MIDL_ProcFormatString.Format[182] );
2767         
2768         memid = *(( MEMBERID __RPC_FAR * )_StubMsg.Buffer)++;
2769         
2770         cMaxNames = *(( UINT __RPC_FAR * )_StubMsg.Buffer)++;
2771         
2772         rgBstrNames = NdrAllocate(&_StubMsg,cMaxNames * 4);
2773         pcNames = &_M34;
2774         
2775         *_pdwStubPhase = STUB_CALL_SERVER;
2776         
2777         
2778         _RetVal = ITypeInfo_GetNames_Stub(
2779                                   (ITypeInfo *) ((CStdStubBuffer *)This)->pvServerObject,
2780                                   memid,
2781                                   rgBstrNames,
2782                                   cMaxNames,
2783                                   pcNames);
2784         
2785         *_pdwStubPhase = STUB_MARSHAL;
2786         
2787         _StubMsg.BufferLength = 12U + 7U + 7U;
2788         _StubMsg.MaxCount = cMaxNames;
2789         _StubMsg.Offset = 0;
2790         _StubMsg.ActualCount = pcNames ? *pcNames : 0;
2791         
2792         NdrComplexArrayBufferSize( (PMIDL_STUB_MESSAGE) &_StubMsg,
2793                                    (unsigned char __RPC_FAR *)rgBstrNames,
2794                                    (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[1690] );
2795         
2796         _StubMsg.BufferLength += 16;
2797         
2798         NdrStubGetBuffer(This, _pRpcChannelBuffer, &_StubMsg);
2799         _StubMsg.MaxCount = cMaxNames;
2800         _StubMsg.Offset = 0;
2801         _StubMsg.ActualCount = pcNames ? *pcNames : 0;
2802         
2803         NdrComplexArrayMarshall( (PMIDL_STUB_MESSAGE)& _StubMsg,
2804                                  (unsigned char __RPC_FAR *)rgBstrNames,
2805                                  (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[1690] );
2806         
2807         _StubMsg.Buffer = (unsigned char __RPC_FAR *)(((long)_StubMsg.Buffer + 3) & ~ 0x3);
2808         *(( UINT __RPC_FAR * )_StubMsg.Buffer)++ = *pcNames;
2809         
2810         *(( HRESULT __RPC_FAR * )_StubMsg.Buffer)++ = _RetVal;
2811         
2812         }
2813     RpcFinally
2814         {
2815         _StubMsg.MaxCount = cMaxNames;
2816         _StubMsg.Offset = 0;
2817         _StubMsg.ActualCount = pcNames ? *pcNames : 0;
2818         
2819         NdrPointerFree( &_StubMsg,
2820                         (unsigned char __RPC_FAR *)rgBstrNames,
2821                         &__MIDL_TypeFormatString.Format[1686] );
2822         
2823         }
2824     RpcEndFinally
2825     _pRpcMessage->BufferLength = 
2826         (unsigned int)((long)_StubMsg.Buffer - (long)_pRpcMessage->Buffer);
2827     
2828 }
2829
2830
2831 HRESULT STDMETHODCALLTYPE ITypeInfo_GetRefTypeOfImplType_Proxy( 
2832     ITypeInfo __RPC_FAR * This,
2833     /* [in] */ UINT index,
2834     /* [out] */ HREFTYPE __RPC_FAR *pRefType)
2835 {
2836
2837     HRESULT _RetVal;
2838     
2839     RPC_MESSAGE _RpcMessage;
2840     
2841     MIDL_STUB_MESSAGE _StubMsg;
2842     
2843     RpcTryExcept
2844         {
2845         NdrProxyInitialize(
2846                       ( void __RPC_FAR *  )This,
2847                       ( PRPC_MESSAGE  )&_RpcMessage,
2848                       ( PMIDL_STUB_MESSAGE  )&_StubMsg,
2849                       ( PMIDL_STUB_DESC  )&Object_StubDesc,
2850                       8);
2851         
2852         
2853         
2854         if(!pRefType)
2855             {
2856             RpcRaiseException(RPC_X_NULL_REF_POINTER);
2857             }
2858         RpcTryFinally
2859             {
2860             
2861             _StubMsg.BufferLength = 4U;
2862             NdrProxyGetBuffer(This, &_StubMsg);
2863             *(( UINT __RPC_FAR * )_StubMsg.Buffer)++ = index;
2864             
2865             NdrProxySendReceive(This, &_StubMsg);
2866             
2867             if ( (_RpcMessage.DataRepresentation & 0X0000FFFFUL) != NDR_LOCAL_DATA_REPRESENTATION )
2868                 NdrConvert( (PMIDL_STUB_MESSAGE) &_StubMsg, (PFORMAT_STRING) &__MIDL_ProcFormatString.Format[196] );
2869             
2870             *pRefType = *(( HREFTYPE __RPC_FAR * )_StubMsg.Buffer)++;
2871             
2872             _RetVal = *(( HRESULT __RPC_FAR * )_StubMsg.Buffer)++;
2873             
2874             }
2875         RpcFinally
2876             {
2877             NdrProxyFreeBuffer(This, &_StubMsg);
2878             
2879             }
2880         RpcEndFinally
2881         
2882         }
2883     RpcExcept(_StubMsg.dwStubPhase != PROXY_SENDRECEIVE)
2884         {
2885         NdrClearOutParameters(
2886                          ( PMIDL_STUB_MESSAGE  )&_StubMsg,
2887                          ( PFORMAT_STRING  )&__MIDL_TypeFormatString.Format[2],
2888                          ( void __RPC_FAR * )pRefType);
2889         _RetVal = NdrProxyErrorHandler(RpcExceptionCode());
2890         }
2891     RpcEndExcept
2892     return _RetVal;
2893 }
2894
2895 void __RPC_STUB ITypeInfo_GetRefTypeOfImplType_Stub(
2896     IRpcStubBuffer *This,
2897     IRpcChannelBuffer *_pRpcChannelBuffer,
2898     PRPC_MESSAGE _pRpcMessage,
2899     DWORD *_pdwStubPhase)
2900 {
2901     HREFTYPE _M35;
2902     HRESULT _RetVal;
2903     MIDL_STUB_MESSAGE _StubMsg;
2904     UINT index;
2905     HREFTYPE __RPC_FAR *pRefType;
2906     
2907 NdrStubInitialize(
2908                      _pRpcMessage,
2909                      &_StubMsg,
2910                      &Object_StubDesc,
2911                      _pRpcChannelBuffer);
2912     ( HREFTYPE __RPC_FAR * )pRefType = 0;
2913     RpcTryFinally
2914         {
2915         if ( (_pRpcMessage->DataRepresentation & 0X0000FFFFUL) != NDR_LOCAL_DATA_REPRESENTATION )
2916             NdrConvert( (PMIDL_STUB_MESSAGE) &_StubMsg, (PFORMAT_STRING) &__MIDL_ProcFormatString.Format[196] );
2917         
2918         index = *(( UINT __RPC_FAR * )_StubMsg.Buffer)++;
2919         
2920         pRefType = &_M35;
2921         
2922         *_pdwStubPhase = STUB_CALL_SERVER;
2923         _RetVal = (((ITypeInfo*) ((CStdStubBuffer *)This)->pvServerObject)->lpVtbl) -> GetRefTypeOfImplType(
2924                         (ITypeInfo *) ((CStdStubBuffer *)This)->pvServerObject,
2925                         index,
2926                         pRefType);
2927         
2928         *_pdwStubPhase = STUB_MARSHAL;
2929         
2930         _StubMsg.BufferLength = 4U + 4U;
2931         NdrStubGetBuffer(This, _pRpcChannelBuffer, &_StubMsg);
2932         *(( HREFTYPE __RPC_FAR * )_StubMsg.Buffer)++ = *pRefType;
2933         
2934         *(( HRESULT __RPC_FAR * )_StubMsg.Buffer)++ = _RetVal;
2935         
2936         }
2937     RpcFinally
2938         {
2939         }
2940     RpcEndFinally
2941     _pRpcMessage->BufferLength = 
2942         (unsigned int)((long)_StubMsg.Buffer - (long)_pRpcMessage->Buffer);
2943     
2944 }
2945
2946
2947 HRESULT STDMETHODCALLTYPE ITypeInfo_GetImplTypeFlags_Proxy( 
2948     ITypeInfo __RPC_FAR * This,
2949     /* [in] */ UINT index,
2950     /* [out] */ INT __RPC_FAR *pImplTypeFlags)
2951 {
2952
2953     HRESULT _RetVal;
2954     
2955     RPC_MESSAGE _RpcMessage;
2956     
2957     MIDL_STUB_MESSAGE _StubMsg;
2958     
2959     RpcTryExcept
2960         {
2961         NdrProxyInitialize(
2962                       ( void __RPC_FAR *  )This,
2963                       ( PRPC_MESSAGE  )&_RpcMessage,
2964                       ( PMIDL_STUB_MESSAGE  )&_StubMsg,
2965                       ( PMIDL_STUB_DESC  )&Object_StubDesc,
2966                       9);
2967         
2968         
2969         
2970         if(!pImplTypeFlags)
2971             {
2972             RpcRaiseException(RPC_X_NULL_REF_POINTER);
2973             }
2974         RpcTryFinally
2975             {
2976             
2977             _StubMsg.BufferLength = 4U;
2978             NdrProxyGetBuffer(This, &_StubMsg);
2979             *(( UINT __RPC_FAR * )_StubMsg.Buffer)++ = index;
2980             
2981             NdrProxySendReceive(This, &_StubMsg);
2982             
2983             if ( (_RpcMessage.DataRepresentation & 0X0000FFFFUL) != NDR_LOCAL_DATA_REPRESENTATION )
2984                 NdrConvert( (PMIDL_STUB_MESSAGE) &_StubMsg, (PFORMAT_STRING) &__MIDL_ProcFormatString.Format[196] );
2985             
2986             *pImplTypeFlags = *(( INT __RPC_FAR * )_StubMsg.Buffer)++;
2987             
2988             _RetVal = *(( HRESULT __RPC_FAR * )_StubMsg.Buffer)++;
2989             
2990             }
2991         RpcFinally
2992             {
2993             NdrProxyFreeBuffer(This, &_StubMsg);
2994             
2995             }
2996         RpcEndFinally
2997         
2998         }
2999     RpcExcept(_StubMsg.dwStubPhase != PROXY_SENDRECEIVE)
3000         {
3001         NdrClearOutParameters(
3002                          ( PMIDL_STUB_MESSAGE  )&_StubMsg,
3003                          ( PFORMAT_STRING  )&__MIDL_TypeFormatString.Format[2],
3004                          ( void __RPC_FAR * )pImplTypeFlags);
3005         _RetVal = NdrProxyErrorHandler(RpcExceptionCode());
3006         }
3007     RpcEndExcept
3008     return _RetVal;
3009 }
3010
3011 void __RPC_STUB ITypeInfo_GetImplTypeFlags_Stub(
3012     IRpcStubBuffer *This,
3013     IRpcChannelBuffer *_pRpcChannelBuffer,
3014     PRPC_MESSAGE _pRpcMessage,
3015     DWORD *_pdwStubPhase)
3016 {
3017     INT _M36;
3018     HRESULT _RetVal;
3019     MIDL_STUB_MESSAGE _StubMsg;
3020     UINT index;
3021     INT __RPC_FAR *pImplTypeFlags;
3022     
3023 NdrStubInitialize(
3024                      _pRpcMessage,
3025                      &_StubMsg,
3026                      &Object_StubDesc,
3027                      _pRpcChannelBuffer);
3028     ( INT __RPC_FAR * )pImplTypeFlags = 0;
3029     RpcTryFinally
3030         {
3031         if ( (_pRpcMessage->DataRepresentation & 0X0000FFFFUL) != NDR_LOCAL_DATA_REPRESENTATION )
3032             NdrConvert( (PMIDL_STUB_MESSAGE) &_StubMsg, (PFORMAT_STRING) &__MIDL_ProcFormatString.Format[196] );
3033         
3034         index = *(( UINT __RPC_FAR * )_StubMsg.Buffer)++;
3035         
3036         pImplTypeFlags = &_M36;
3037         
3038         *_pdwStubPhase = STUB_CALL_SERVER;
3039         _RetVal = (((ITypeInfo*) ((CStdStubBuffer *)This)->pvServerObject)->lpVtbl) -> GetImplTypeFlags(
3040                     (ITypeInfo *) ((CStdStubBuffer *)This)->pvServerObject,
3041                     index,
3042                     pImplTypeFlags);
3043         
3044         *_pdwStubPhase = STUB_MARSHAL;
3045         
3046         _StubMsg.BufferLength = 4U + 4U;
3047         NdrStubGetBuffer(This, _pRpcChannelBuffer, &_StubMsg);
3048         *(( INT __RPC_FAR * )_StubMsg.Buffer)++ = *pImplTypeFlags;
3049         
3050         *(( HRESULT __RPC_FAR * )_StubMsg.Buffer)++ = _RetVal;
3051         
3052         }
3053     RpcFinally
3054         {
3055         }
3056     RpcEndFinally
3057     _pRpcMessage->BufferLength = 
3058         (unsigned int)((long)_StubMsg.Buffer - (long)_pRpcMessage->Buffer);
3059     
3060 }
3061
3062
3063 /* [call_as] */ HRESULT STDMETHODCALLTYPE ITypeInfo_LocalGetIDsOfNames_Proxy( 
3064     ITypeInfo __RPC_FAR * This)
3065 {
3066
3067     HRESULT _RetVal;
3068     
3069     RPC_MESSAGE _RpcMessage;
3070     
3071     MIDL_STUB_MESSAGE _StubMsg;
3072     
3073     RpcTryExcept
3074         {
3075         NdrProxyInitialize(
3076                       ( void __RPC_FAR *  )This,
3077                       ( PRPC_MESSAGE  )&_RpcMessage,
3078                       ( PMIDL_STUB_MESSAGE  )&_StubMsg,
3079                       ( PMIDL_STUB_DESC  )&Object_StubDesc,
3080                       10);
3081         
3082         
3083         
3084         RpcTryFinally
3085             {
3086             
3087             _StubMsg.BufferLength = 0U;
3088             NdrProxyGetBuffer(This, &_StubMsg);
3089             NdrProxySendReceive(This, &_StubMsg);
3090             
3091             if ( (_RpcMessage.DataRepresentation & 0X0000FFFFUL) != NDR_LOCAL_DATA_REPRESENTATION )
3092                 NdrConvert( (PMIDL_STUB_MESSAGE) &_StubMsg, (PFORMAT_STRING) &__MIDL_ProcFormatString.Format[88] );
3093             
3094             _RetVal = *(( HRESULT __RPC_FAR * )_StubMsg.Buffer)++;
3095             
3096             }
3097         RpcFinally
3098             {
3099             NdrProxyFreeBuffer(This, &_StubMsg);
3100             
3101             }
3102         RpcEndFinally
3103         
3104         }
3105     RpcExcept(_StubMsg.dwStubPhase != PROXY_SENDRECEIVE)
3106         {
3107         _RetVal = NdrProxyErrorHandler(RpcExceptionCode());
3108         }
3109     RpcEndExcept
3110     return _RetVal;
3111 }
3112
3113 void __RPC_STUB ITypeInfo_LocalGetIDsOfNames_Stub(
3114     IRpcStubBuffer *This,
3115     IRpcChannelBuffer *_pRpcChannelBuffer,
3116     PRPC_MESSAGE _pRpcMessage,
3117     DWORD *_pdwStubPhase)
3118 {
3119     HRESULT _RetVal;
3120     MIDL_STUB_MESSAGE _StubMsg;
3121     
3122 NdrStubInitialize(
3123                      _pRpcMessage,
3124                      &_StubMsg,
3125                      &Object_StubDesc,
3126                      _pRpcChannelBuffer);
3127     RpcTryFinally
3128         {
3129         
3130         *_pdwStubPhase = STUB_CALL_SERVER;
3131         
3132         
3133         _RetVal = ITypeInfo_GetIDsOfNames_Stub((ITypeInfo *) ((CStdStubBuffer *)This)->pvServerObject);
3134         
3135         *_pdwStubPhase = STUB_MARSHAL;
3136         
3137         _StubMsg.BufferLength = 4U;
3138         NdrStubGetBuffer(This, _pRpcChannelBuffer, &_StubMsg);
3139         *(( HRESULT __RPC_FAR * )_StubMsg.Buffer)++ = _RetVal;
3140         
3141         }
3142     RpcFinally
3143         {
3144         }
3145     RpcEndFinally
3146     _pRpcMessage->BufferLength = 
3147         (unsigned int)((long)_StubMsg.Buffer - (long)_pRpcMessage->Buffer);
3148     
3149 }
3150
3151
3152 /* [call_as] */ HRESULT STDMETHODCALLTYPE ITypeInfo_LocalInvoke_Proxy( 
3153     ITypeInfo __RPC_FAR * This)
3154 {
3155
3156     HRESULT _RetVal;
3157     
3158     RPC_MESSAGE _RpcMessage;
3159     
3160     MIDL_STUB_MESSAGE _StubMsg;
3161     
3162     RpcTryExcept
3163         {
3164         NdrProxyInitialize(
3165                       ( void __RPC_FAR *  )This,
3166                       ( PRPC_MESSAGE  )&_RpcMessage,
3167                       ( PMIDL_STUB_MESSAGE  )&_StubMsg,
3168                       ( PMIDL_STUB_DESC  )&Object_StubDesc,
3169                       11);
3170         
3171         
3172         
3173         RpcTryFinally
3174             {
3175             
3176             _StubMsg.BufferLength = 0U;
3177             NdrProxyGetBuffer(This, &_StubMsg);
3178             NdrProxySendReceive(This, &_StubMsg);
3179             
3180             if ( (_RpcMessage.DataRepresentation & 0X0000FFFFUL) != NDR_LOCAL_DATA_REPRESENTATION )
3181                 NdrConvert( (PMIDL_STUB_MESSAGE) &_StubMsg, (PFORMAT_STRING) &__MIDL_ProcFormatString.Format[88] );
3182             
3183             _RetVal = *(( HRESULT __RPC_FAR * )_StubMsg.Buffer)++;
3184             
3185             }
3186         RpcFinally
3187             {
3188             NdrProxyFreeBuffer(This, &_StubMsg);
3189             
3190             }
3191         RpcEndFinally
3192         
3193         }
3194     RpcExcept(_StubMsg.dwStubPhase != PROXY_SENDRECEIVE)
3195         {
3196         _RetVal = NdrProxyErrorHandler(RpcExceptionCode());
3197         }
3198     RpcEndExcept
3199     return _RetVal;
3200 }
3201
3202 void __RPC_STUB ITypeInfo_LocalInvoke_Stub(
3203     IRpcStubBuffer *This,
3204     IRpcChannelBuffer *_pRpcChannelBuffer,
3205     PRPC_MESSAGE _pRpcMessage,
3206     DWORD *_pdwStubPhase)
3207 {
3208     HRESULT _RetVal;
3209     MIDL_STUB_MESSAGE _StubMsg;
3210     
3211 NdrStubInitialize(
3212                      _pRpcMessage,
3213                      &_StubMsg,
3214                      &Object_StubDesc,
3215                      _pRpcChannelBuffer);
3216     RpcTryFinally
3217         {
3218         
3219         *_pdwStubPhase = STUB_CALL_SERVER;
3220         
3221         
3222         _RetVal = ITypeInfo_Invoke_Stub((ITypeInfo *) ((CStdStubBuffer *)This)->pvServerObject);
3223         
3224         *_pdwStubPhase = STUB_MARSHAL;
3225         
3226         _StubMsg.BufferLength = 4U;
3227         NdrStubGetBuffer(This, _pRpcChannelBuffer, &_StubMsg);
3228         *(( HRESULT __RPC_FAR * )_StubMsg.Buffer)++ = _RetVal;
3229         
3230         }
3231     RpcFinally
3232         {
3233         }
3234     RpcEndFinally
3235     _pRpcMessage->BufferLength = 
3236         (unsigned int)((long)_StubMsg.Buffer - (long)_pRpcMessage->Buffer);
3237     
3238 }
3239
3240
3241 /* [call_as] */ HRESULT STDMETHODCALLTYPE ITypeInfo_RemoteGetDocumentation_Proxy( 
3242     ITypeInfo __RPC_FAR * This,
3243     /* [in] */ MEMBERID memid,
3244     /* [in] */ DWORD refPtrFlags,
3245     /* [out] */ BSTR __RPC_FAR *pBstrName,
3246     /* [out] */ BSTR __RPC_FAR *pBstrDocString,
3247     /* [out] */ DWORD __RPC_FAR *pdwHelpContext,
3248     /* [out] */ BSTR __RPC_FAR *pBstrHelpFile)
3249 {
3250
3251     HRESULT _RetVal;
3252     
3253     RPC_MESSAGE _RpcMessage;
3254     
3255     MIDL_STUB_MESSAGE _StubMsg;
3256     
3257     if(pBstrName)
3258         {
3259         MIDL_memset(
3260                pBstrName,
3261                0,
3262                sizeof( BSTR  ));
3263         }
3264     if(pBstrDocString)
3265         {
3266         MIDL_memset(
3267                pBstrDocString,
3268                0,
3269                sizeof( BSTR  ));
3270         }
3271     if(pBstrHelpFile)
3272         {
3273         MIDL_memset(
3274                pBstrHelpFile,
3275                0,
3276                sizeof( BSTR  ));
3277         }
3278     RpcTryExcept
3279         {
3280         NdrProxyInitialize(
3281                       ( void __RPC_FAR *  )This,
3282                       ( PRPC_MESSAGE  )&_RpcMessage,
3283                       ( PMIDL_STUB_MESSAGE  )&_StubMsg,
3284                       ( PMIDL_STUB_DESC  )&Object_StubDesc,
3285                       12);
3286         
3287         
3288         
3289         if(!pBstrName)
3290             {
3291             RpcRaiseException(RPC_X_NULL_REF_POINTER);
3292             }
3293         if(!pBstrDocString)
3294             {
3295             RpcRaiseException(RPC_X_NULL_REF_POINTER);
3296             }
3297         if(!pdwHelpContext)
3298             {
3299             RpcRaiseException(RPC_X_NULL_REF_POINTER);
3300             }
3301         if(!pBstrHelpFile)
3302             {
3303             RpcRaiseException(RPC_X_NULL_REF_POINTER);
3304             }
3305         RpcTryFinally
3306             {
3307             
3308             _StubMsg.BufferLength = 4U + 4U;
3309             NdrProxyGetBuffer(This, &_StubMsg);
3310             *(( MEMBERID __RPC_FAR * )_StubMsg.Buffer)++ = memid;
3311             
3312             *(( DWORD __RPC_FAR * )_StubMsg.Buffer)++ = refPtrFlags;
3313             
3314             NdrProxySendReceive(This, &_StubMsg);
3315             
3316             if ( (_RpcMessage.DataRepresentation & 0X0000FFFFUL) != NDR_LOCAL_DATA_REPRESENTATION )
3317                 NdrConvert( (PMIDL_STUB_MESSAGE) &_StubMsg, (PFORMAT_STRING) &__MIDL_ProcFormatString.Format[204] );
3318             
3319             NdrUserMarshalUnmarshall( (PMIDL_STUB_MESSAGE) &_StubMsg,
3320                                       (unsigned char __RPC_FAR * __RPC_FAR *)&pBstrName,
3321                                       (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[1128],
3322                                       (unsigned char)0 );
3323             
3324             NdrUserMarshalUnmarshall( (PMIDL_STUB_MESSAGE) &_StubMsg,
3325                                       (unsigned char __RPC_FAR * __RPC_FAR *)&pBstrDocString,
3326                                       (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[1128],
3327                                       (unsigned char)0 );
3328             
3329             _StubMsg.Buffer = (unsigned char __RPC_FAR *)(((long)_StubMsg.Buffer + 3) & ~ 0x3);
3330             *pdwHelpContext = *(( DWORD __RPC_FAR * )_StubMsg.Buffer)++;
3331             
3332             NdrUserMarshalUnmarshall( (PMIDL_STUB_MESSAGE) &_StubMsg,
3333                                       (unsigned char __RPC_FAR * __RPC_FAR *)&pBstrHelpFile,
3334                                       (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[1128],
3335                                       (unsigned char)0 );
3336             
3337             _StubMsg.Buffer = (unsigned char __RPC_FAR *)(((long)_StubMsg.Buffer + 3) & ~ 0x3);
3338             _RetVal = *(( HRESULT __RPC_FAR * )_StubMsg.Buffer)++;
3339             
3340             }
3341         RpcFinally
3342             {
3343             NdrProxyFreeBuffer(This, &_StubMsg);
3344             
3345             }
3346         RpcEndFinally
3347         
3348         }
3349     RpcExcept(_StubMsg.dwStubPhase != PROXY_SENDRECEIVE)
3350         {
3351         NdrClearOutParameters(
3352                          ( PMIDL_STUB_MESSAGE  )&_StubMsg,
3353                          ( PFORMAT_STRING  )&__MIDL_TypeFormatString.Format[1708],
3354                          ( void __RPC_FAR * )pBstrName);
3355         NdrClearOutParameters(
3356                          ( PMIDL_STUB_MESSAGE  )&_StubMsg,
3357                          ( PFORMAT_STRING  )&__MIDL_TypeFormatString.Format[1708],
3358                          ( void __RPC_FAR * )pBstrDocString);
3359         NdrClearOutParameters(
3360                          ( PMIDL_STUB_MESSAGE  )&_StubMsg,
3361                          ( PFORMAT_STRING  )&__MIDL_TypeFormatString.Format[2],
3362                          ( void __RPC_FAR * )pdwHelpContext);
3363         NdrClearOutParameters(
3364                          ( PMIDL_STUB_MESSAGE  )&_StubMsg,
3365                          ( PFORMAT_STRING  )&__MIDL_TypeFormatString.Format[1708],
3366                          ( void __RPC_FAR * )pBstrHelpFile);
3367         _RetVal = NdrProxyErrorHandler(RpcExceptionCode());
3368         }
3369     RpcEndExcept
3370     return _RetVal;
3371 }
3372
3373 void __RPC_STUB ITypeInfo_RemoteGetDocumentation_Stub(
3374     IRpcStubBuffer *This,
3375     IRpcChannelBuffer *_pRpcChannelBuffer,
3376     PRPC_MESSAGE _pRpcMessage,
3377     DWORD *_pdwStubPhase)
3378 {
3379     BSTR _M37;
3380     BSTR _M38;
3381     DWORD _M39;
3382     BSTR _M40;
3383     HRESULT _RetVal;
3384     MIDL_STUB_MESSAGE _StubMsg;
3385     MEMBERID memid;
3386     BSTR __RPC_FAR *pBstrDocString;
3387     BSTR __RPC_FAR *pBstrHelpFile;
3388     BSTR __RPC_FAR *pBstrName;
3389     DWORD __RPC_FAR *pdwHelpContext;
3390     DWORD refPtrFlags;
3391     
3392 NdrStubInitialize(
3393                      _pRpcMessage,
3394                      &_StubMsg,
3395                      &Object_StubDesc,
3396                      _pRpcChannelBuffer);
3397     ( BSTR __RPC_FAR * )pBstrName = 0;
3398     ( BSTR __RPC_FAR * )pBstrDocString = 0;
3399     ( DWORD __RPC_FAR * )pdwHelpContext = 0;
3400     ( BSTR __RPC_FAR * )pBstrHelpFile = 0;
3401     RpcTryFinally
3402         {
3403         if ( (_pRpcMessage->DataRepresentation & 0X0000FFFFUL) != NDR_LOCAL_DATA_REPRESENTATION )
3404             NdrConvert( (PMIDL_STUB_MESSAGE) &_StubMsg, (PFORMAT_STRING) &__MIDL_ProcFormatString.Format[204] );
3405         
3406         memid = *(( MEMBERID __RPC_FAR * )_StubMsg.Buffer)++;
3407         
3408         refPtrFlags = *(( DWORD __RPC_FAR * )_StubMsg.Buffer)++;
3409         
3410         pBstrName = &_M37;
3411         MIDL_memset(
3412                pBstrName,
3413                0,
3414                sizeof( BSTR  ));
3415         pBstrDocString = &_M38;
3416         MIDL_memset(
3417                pBstrDocString,
3418                0,
3419                sizeof( BSTR  ));
3420         pdwHelpContext = &_M39;
3421         pBstrHelpFile = &_M40;
3422         MIDL_memset(
3423                pBstrHelpFile,
3424                0,
3425                sizeof( BSTR  ));
3426         
3427         *_pdwStubPhase = STUB_CALL_SERVER;
3428         
3429         
3430         _RetVal = ITypeInfo_GetDocumentation_Stub(
3431                                           (ITypeInfo *) ((CStdStubBuffer *)This)->pvServerObject,
3432                                           memid,
3433                                           refPtrFlags,
3434                                           pBstrName,
3435                                           pBstrDocString,
3436                                           pdwHelpContext,
3437                                           pBstrHelpFile);
3438         
3439         *_pdwStubPhase = STUB_MARSHAL;
3440         
3441         _StubMsg.BufferLength = 8U + 15U + 11U + 11U + 11U;
3442         NdrUserMarshalBufferSize( (PMIDL_STUB_MESSAGE) &_StubMsg,
3443                                   (unsigned char __RPC_FAR *)pBstrName,
3444                                   (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[1128] );
3445         
3446         NdrUserMarshalBufferSize( (PMIDL_STUB_MESSAGE) &_StubMsg,
3447                                   (unsigned char __RPC_FAR *)pBstrDocString,
3448                                   (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[1128] );
3449         
3450         NdrUserMarshalBufferSize( (PMIDL_STUB_MESSAGE) &_StubMsg,
3451                                   (unsigned char __RPC_FAR *)pBstrHelpFile,
3452                                   (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[1128] );
3453         
3454         _StubMsg.BufferLength += 16;
3455         
3456         NdrStubGetBuffer(This, _pRpcChannelBuffer, &_StubMsg);
3457         NdrUserMarshalMarshall( (PMIDL_STUB_MESSAGE)& _StubMsg,
3458                                 (unsigned char __RPC_FAR *)pBstrName,
3459                                 (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[1128] );
3460         
3461         NdrUserMarshalMarshall( (PMIDL_STUB_MESSAGE)& _StubMsg,
3462                                 (unsigned char __RPC_FAR *)pBstrDocString,
3463                                 (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[1128] );
3464         
3465         _StubMsg.Buffer = (unsigned char __RPC_FAR *)(((long)_StubMsg.Buffer + 3) & ~ 0x3);
3466         *(( DWORD __RPC_FAR * )_StubMsg.Buffer)++ = *pdwHelpContext;
3467         
3468         NdrUserMarshalMarshall( (PMIDL_STUB_MESSAGE)& _StubMsg,
3469                                 (unsigned char __RPC_FAR *)pBstrHelpFile,
3470                                 (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[1128] );
3471         
3472         _StubMsg.Buffer = (unsigned char __RPC_FAR *)(((long)_StubMsg.Buffer + 3) & ~ 0x3);
3473         *(( HRESULT __RPC_FAR * )_StubMsg.Buffer)++ = _RetVal;
3474         
3475         }
3476     RpcFinally
3477         {
3478         NdrPointerFree( &_StubMsg,
3479                         (unsigned char __RPC_FAR *)pBstrName,
3480                         &__MIDL_TypeFormatString.Format[1708] );
3481         
3482         NdrPointerFree( &_StubMsg,
3483                         (unsigned char __RPC_FAR *)pBstrDocString,
3484                         &__MIDL_TypeFormatString.Format[1708] );
3485         
3486         NdrPointerFree( &_StubMsg,
3487                         (unsigned char __RPC_FAR *)pBstrHelpFile,
3488                         &__MIDL_TypeFormatString.Format[1708] );
3489         
3490         }
3491     RpcEndFinally
3492     _pRpcMessage->BufferLength = 
3493         (unsigned int)((long)_StubMsg.Buffer - (long)_pRpcMessage->Buffer);
3494     
3495 }
3496
3497
3498 /* [call_as] */ HRESULT STDMETHODCALLTYPE ITypeInfo_RemoteGetDllEntry_Proxy( 
3499     ITypeInfo __RPC_FAR * This,
3500     /* [in] */ MEMBERID memid,
3501     /* [in] */ INVOKEKIND invKind,
3502     /* [in] */ DWORD refPtrFlags,
3503     /* [out] */ BSTR __RPC_FAR *pBstrDllName,
3504     /* [out] */ BSTR __RPC_FAR *pBstrName,
3505     /* [out] */ WORD __RPC_FAR *pwOrdinal)
3506 {
3507
3508     HRESULT _RetVal;
3509     
3510     RPC_MESSAGE _RpcMessage;
3511     
3512     MIDL_STUB_MESSAGE _StubMsg;
3513     
3514     if(pBstrDllName)
3515         {
3516         MIDL_memset(
3517                pBstrDllName,
3518                0,
3519                sizeof( BSTR  ));
3520         }
3521     if(pBstrName)
3522         {
3523         MIDL_memset(
3524                pBstrName,
3525                0,
3526                sizeof( BSTR  ));
3527         }
3528     RpcTryExcept
3529         {
3530         NdrProxyInitialize(
3531                       ( void __RPC_FAR *  )This,
3532                       ( PRPC_MESSAGE  )&_RpcMessage,
3533                       ( PMIDL_STUB_MESSAGE  )&_StubMsg,
3534                       ( PMIDL_STUB_DESC  )&Object_StubDesc,
3535                       13);
3536         
3537         
3538         
3539         if(!pBstrDllName)
3540             {
3541             RpcRaiseException(RPC_X_NULL_REF_POINTER);
3542             }
3543         if(!pBstrName)
3544             {
3545             RpcRaiseException(RPC_X_NULL_REF_POINTER);
3546             }
3547         if(!pwOrdinal)
3548             {
3549             RpcRaiseException(RPC_X_NULL_REF_POINTER);
3550             }
3551         RpcTryFinally
3552             {
3553             
3554             _StubMsg.BufferLength = 4U + 4U + 4U;
3555             NdrProxyGetBuffer(This, &_StubMsg);
3556             *(( MEMBERID __RPC_FAR * )_StubMsg.Buffer)++ = memid;
3557             
3558             NdrSimpleTypeMarshall(
3559                          ( PMIDL_STUB_MESSAGE  )&_StubMsg,
3560                          ( unsigned char __RPC_FAR * )&invKind,
3561                          14);
3562             *(( DWORD __RPC_FAR * )_StubMsg.Buffer)++ = refPtrFlags;
3563             
3564             NdrProxySendReceive(This, &_StubMsg);
3565             
3566             if ( (_RpcMessage.DataRepresentation & 0X0000FFFFUL) != NDR_LOCAL_DATA_REPRESENTATION )
3567                 NdrConvert( (PMIDL_STUB_MESSAGE) &_StubMsg, (PFORMAT_STRING) &__MIDL_ProcFormatString.Format[226] );
3568             
3569             NdrUserMarshalUnmarshall( (PMIDL_STUB_MESSAGE) &_StubMsg,
3570                                       (unsigned char __RPC_FAR * __RPC_FAR *)&pBstrDllName,
3571                                       (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[1128],
3572                                       (unsigned char)0 );
3573             
3574             NdrUserMarshalUnmarshall( (PMIDL_STUB_MESSAGE) &_StubMsg,
3575                                       (unsigned char __RPC_FAR * __RPC_FAR *)&pBstrName,
3576                                       (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[1128],
3577                                       (unsigned char)0 );
3578             
3579             _StubMsg.Buffer = (unsigned char __RPC_FAR *)(((long)_StubMsg.Buffer + 1) & ~ 0x1);
3580             *pwOrdinal = *(( WORD __RPC_FAR * )_StubMsg.Buffer)++;
3581             
3582             _StubMsg.Buffer = (unsigned char __RPC_FAR *)(((long)_StubMsg.Buffer + 3) & ~ 0x3);
3583             _RetVal = *(( HRESULT __RPC_FAR * )_StubMsg.Buffer)++;
3584             
3585             }
3586         RpcFinally
3587             {
3588             NdrProxyFreeBuffer(This, &_StubMsg);
3589             
3590             }
3591         RpcEndFinally
3592         
3593         }
3594     RpcExcept(_StubMsg.dwStubPhase != PROXY_SENDRECEIVE)
3595         {
3596         NdrClearOutParameters(
3597                          ( PMIDL_STUB_MESSAGE  )&_StubMsg,
3598                          ( PFORMAT_STRING  )&__MIDL_TypeFormatString.Format[1708],
3599                          ( void __RPC_FAR * )pBstrDllName);
3600         NdrClearOutParameters(
3601                          ( PMIDL_STUB_MESSAGE  )&_StubMsg,
3602                          ( PFORMAT_STRING  )&__MIDL_TypeFormatString.Format[1708],
3603                          ( void __RPC_FAR * )pBstrName);
3604         NdrClearOutParameters(
3605                          ( PMIDL_STUB_MESSAGE  )&_StubMsg,
3606                          ( PFORMAT_STRING  )&__MIDL_TypeFormatString.Format[1712],
3607                          ( void __RPC_FAR * )pwOrdinal);
3608         _RetVal = NdrProxyErrorHandler(RpcExceptionCode());
3609         }
3610     RpcEndExcept
3611     return _RetVal;
3612 }
3613
3614 void __RPC_STUB ITypeInfo_RemoteGetDllEntry_Stub(
3615     IRpcStubBuffer *This,
3616     IRpcChannelBuffer *_pRpcChannelBuffer,
3617     PRPC_MESSAGE _pRpcMessage,
3618     DWORD *_pdwStubPhase)
3619 {
3620     BSTR _M41;
3621     BSTR _M42;
3622     WORD _M43;
3623     HRESULT _RetVal;
3624     MIDL_STUB_MESSAGE _StubMsg;
3625     INVOKEKIND invKind;
3626     MEMBERID memid;
3627     BSTR __RPC_FAR *pBstrDllName;
3628     BSTR __RPC_FAR *pBstrName;
3629     WORD __RPC_FAR *pwOrdinal;
3630     DWORD refPtrFlags;
3631     
3632 NdrStubInitialize(
3633                      _pRpcMessage,
3634                      &_StubMsg,
3635                      &Object_StubDesc,
3636                      _pRpcChannelBuffer);
3637     ( BSTR __RPC_FAR * )pBstrDllName = 0;
3638     ( BSTR __RPC_FAR * )pBstrName = 0;
3639     ( WORD __RPC_FAR * )pwOrdinal = 0;
3640     RpcTryFinally
3641         {
3642         if ( (_pRpcMessage->DataRepresentation & 0X0000FFFFUL) != NDR_LOCAL_DATA_REPRESENTATION )
3643             NdrConvert( (PMIDL_STUB_MESSAGE) &_StubMsg, (PFORMAT_STRING) &__MIDL_ProcFormatString.Format[226] );
3644         
3645         memid = *(( MEMBERID __RPC_FAR * )_StubMsg.Buffer)++;
3646         
3647         NdrSimpleTypeUnmarshall(
3648                            ( PMIDL_STUB_MESSAGE  )&_StubMsg,
3649                            ( unsigned char __RPC_FAR * )&invKind,
3650                            14);
3651         refPtrFlags = *(( DWORD __RPC_FAR * )_StubMsg.Buffer)++;
3652         
3653         pBstrDllName = &_M41;
3654         MIDL_memset(
3655                pBstrDllName,
3656                0,
3657                sizeof( BSTR  ));
3658         pBstrName = &_M42;
3659         MIDL_memset(
3660                pBstrName,
3661                0,
3662                sizeof( BSTR  ));
3663         pwOrdinal = &_M43;
3664         
3665         *_pdwStubPhase = STUB_CALL_SERVER;
3666         
3667         
3668         _RetVal = ITypeInfo_GetDllEntry_Stub(
3669                                      (ITypeInfo *) ((CStdStubBuffer *)This)->pvServerObject,
3670                                      memid,
3671                                      invKind,
3672                                      refPtrFlags,
3673                                      pBstrDllName,
3674                                      pBstrName,
3675                                      pwOrdinal);
3676         
3677         *_pdwStubPhase = STUB_MARSHAL;
3678         
3679         _StubMsg.BufferLength = 8U + 15U + 5U + 10U;
3680         NdrUserMarshalBufferSize( (PMIDL_STUB_MESSAGE) &_StubMsg,
3681                                   (unsigned char __RPC_FAR *)pBstrDllName,
3682                                   (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[1128] );
3683         
3684         NdrUserMarshalBufferSize( (PMIDL_STUB_MESSAGE) &_StubMsg,
3685                                   (unsigned char __RPC_FAR *)pBstrName,
3686                                   (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[1128] );
3687         
3688         _StubMsg.BufferLength += 16;
3689         
3690         NdrStubGetBuffer(This, _pRpcChannelBuffer, &_StubMsg);
3691         NdrUserMarshalMarshall( (PMIDL_STUB_MESSAGE)& _StubMsg,
3692                                 (unsigned char __RPC_FAR *)pBstrDllName,
3693                                 (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[1128] );
3694         
3695         NdrUserMarshalMarshall( (PMIDL_STUB_MESSAGE)& _StubMsg,
3696                                 (unsigned char __RPC_FAR *)pBstrName,
3697                                 (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[1128] );
3698         
3699         _StubMsg.Buffer = (unsigned char __RPC_FAR *)(((long)_StubMsg.Buffer + 1) & ~ 0x1);
3700         *(( WORD __RPC_FAR * )_StubMsg.Buffer)++ = *pwOrdinal;
3701         
3702         _StubMsg.Buffer = (unsigned char __RPC_FAR *)(((long)_StubMsg.Buffer + 3) & ~ 0x3);
3703         *(( HRESULT __RPC_FAR * )_StubMsg.Buffer)++ = _RetVal;
3704         
3705         }
3706     RpcFinally
3707         {
3708         NdrPointerFree( &_StubMsg,
3709                         (unsigned char __RPC_FAR *)pBstrDllName,
3710                         &__MIDL_TypeFormatString.Format[1708] );
3711         
3712         NdrPointerFree( &_StubMsg,
3713                         (unsigned char __RPC_FAR *)pBstrName,
3714                         &__MIDL_TypeFormatString.Format[1708] );
3715         
3716         }
3717     RpcEndFinally
3718     _pRpcMessage->BufferLength = 
3719         (unsigned int)((long)_StubMsg.Buffer - (long)_pRpcMessage->Buffer);
3720     
3721 }
3722
3723
3724 HRESULT STDMETHODCALLTYPE ITypeInfo_GetRefTypeInfo_Proxy( 
3725     ITypeInfo __RPC_FAR * This,
3726     /* [in] */ HREFTYPE hRefType,
3727     /* [out] */ ITypeInfo __RPC_FAR *__RPC_FAR *ppTInfo)
3728 {
3729
3730     HRESULT _RetVal;
3731     
3732     RPC_MESSAGE _RpcMessage;
3733     
3734     MIDL_STUB_MESSAGE _StubMsg;
3735     
3736     if(ppTInfo)
3737         {
3738         MIDL_memset(
3739                ppTInfo,
3740                0,
3741                sizeof( ITypeInfo __RPC_FAR *__RPC_FAR * ));
3742         }
3743     RpcTryExcept
3744         {
3745         NdrProxyInitialize(
3746                       ( void __RPC_FAR *  )This,
3747                       ( PRPC_MESSAGE  )&_RpcMessage,
3748                       ( PMIDL_STUB_MESSAGE  )&_StubMsg,
3749                       ( PMIDL_STUB_DESC  )&Object_StubDesc,
3750                       14);
3751         
3752         
3753         
3754         if(!ppTInfo)
3755             {
3756             RpcRaiseException(RPC_X_NULL_REF_POINTER);
3757             }
3758         RpcTryFinally
3759             {
3760             
3761             _StubMsg.BufferLength = 4U;
3762             NdrProxyGetBuffer(This, &_StubMsg);
3763             *(( HREFTYPE __RPC_FAR * )_StubMsg.Buffer)++ = hRefType;
3764             
3765             NdrProxySendReceive(This, &_StubMsg);
3766             
3767             if ( (_RpcMessage.DataRepresentation & 0X0000FFFFUL) != NDR_LOCAL_DATA_REPRESENTATION )
3768                 NdrConvert( (PMIDL_STUB_MESSAGE) &_StubMsg, (PFORMAT_STRING) &__MIDL_ProcFormatString.Format[246] );
3769             
3770             NdrPointerUnmarshall( (PMIDL_STUB_MESSAGE) &_StubMsg,
3771                                   (unsigned char __RPC_FAR * __RPC_FAR *)&ppTInfo,
3772                                   (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[6],
3773                                   (unsigned char)0 );
3774             
3775             _StubMsg.Buffer = (unsigned char __RPC_FAR *)(((long)_StubMsg.Buffer + 3) & ~ 0x3);
3776             _RetVal = *(( HRESULT __RPC_FAR * )_StubMsg.Buffer)++;
3777             
3778             }
3779         RpcFinally
3780             {
3781             NdrProxyFreeBuffer(This, &_StubMsg);
3782             
3783             }
3784         RpcEndFinally
3785         
3786         }
3787     RpcExcept(_StubMsg.dwStubPhase != PROXY_SENDRECEIVE)
3788         {
3789         NdrClearOutParameters(
3790                          ( PMIDL_STUB_MESSAGE  )&_StubMsg,
3791                          ( PFORMAT_STRING  )&__MIDL_TypeFormatString.Format[6],
3792                          ( void __RPC_FAR * )ppTInfo);
3793         _RetVal = NdrProxyErrorHandler(RpcExceptionCode());
3794         }
3795     RpcEndExcept
3796     return _RetVal;
3797 }
3798
3799 void __RPC_STUB ITypeInfo_GetRefTypeInfo_Stub(
3800     IRpcStubBuffer *This,
3801     IRpcChannelBuffer *_pRpcChannelBuffer,
3802     PRPC_MESSAGE _pRpcMessage,
3803     DWORD *_pdwStubPhase)
3804 {
3805     ITypeInfo __RPC_FAR *_M44;
3806     HRESULT _RetVal;
3807     MIDL_STUB_MESSAGE _StubMsg;
3808     HREFTYPE hRefType;
3809     ITypeInfo __RPC_FAR *__RPC_FAR *ppTInfo;
3810     
3811 NdrStubInitialize(
3812                      _pRpcMessage,
3813                      &_StubMsg,
3814                      &Object_StubDesc,
3815                      _pRpcChannelBuffer);
3816     ( ITypeInfo __RPC_FAR *__RPC_FAR * )ppTInfo = 0;
3817     RpcTryFinally
3818         {
3819         if ( (_pRpcMessage->DataRepresentation & 0X0000FFFFUL) != NDR_LOCAL_DATA_REPRESENTATION )
3820             NdrConvert( (PMIDL_STUB_MESSAGE) &_StubMsg, (PFORMAT_STRING) &__MIDL_ProcFormatString.Format[246] );
3821         
3822         hRefType = *(( HREFTYPE __RPC_FAR * )_StubMsg.Buffer)++;
3823         
3824         ppTInfo = &_M44;
3825         _M44 = 0;
3826         
3827         *_pdwStubPhase = STUB_CALL_SERVER;
3828         _RetVal = (((ITypeInfo*) ((CStdStubBuffer *)This)->pvServerObject)->lpVtbl) -> GetRefTypeInfo(
3829                   (ITypeInfo *) ((CStdStubBuffer *)This)->pvServerObject,
3830                   hRefType,
3831                   ppTInfo);
3832         
3833         *_pdwStubPhase = STUB_MARSHAL;
3834         
3835         _StubMsg.BufferLength = 0U + 4U;
3836         NdrPointerBufferSize( (PMIDL_STUB_MESSAGE) &_StubMsg,
3837                               (unsigned char __RPC_FAR *)ppTInfo,
3838                               (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[6] );
3839         
3840         _StubMsg.BufferLength += 16;
3841         
3842         NdrStubGetBuffer(This, _pRpcChannelBuffer, &_StubMsg);
3843         NdrPointerMarshall( (PMIDL_STUB_MESSAGE)& _StubMsg,
3844                             (unsigned char __RPC_FAR *)ppTInfo,
3845                             (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[6] );
3846         
3847         _StubMsg.Buffer = (unsigned char __RPC_FAR *)(((long)_StubMsg.Buffer + 3) & ~ 0x3);
3848         *(( HRESULT __RPC_FAR * )_StubMsg.Buffer)++ = _RetVal;
3849         
3850         }
3851     RpcFinally
3852         {
3853         NdrPointerFree( &_StubMsg,
3854                         (unsigned char __RPC_FAR *)ppTInfo,
3855                         &__MIDL_TypeFormatString.Format[6] );
3856         
3857         }
3858     RpcEndFinally
3859     _pRpcMessage->BufferLength = 
3860         (unsigned int)((long)_StubMsg.Buffer - (long)_pRpcMessage->Buffer);
3861     
3862 }
3863
3864
3865 /* [call_as] */ HRESULT STDMETHODCALLTYPE ITypeInfo_LocalAddressOfMember_Proxy( 
3866     ITypeInfo __RPC_FAR * This)
3867 {
3868
3869     HRESULT _RetVal;
3870     
3871     RPC_MESSAGE _RpcMessage;
3872     
3873     MIDL_STUB_MESSAGE _StubMsg;
3874     
3875     RpcTryExcept
3876         {
3877         NdrProxyInitialize(
3878                       ( void __RPC_FAR *  )This,
3879                       ( PRPC_MESSAGE  )&_RpcMessage,
3880                       ( PMIDL_STUB_MESSAGE  )&_StubMsg,
3881                       ( PMIDL_STUB_DESC  )&Object_StubDesc,
3882                       15);
3883         
3884         
3885         
3886         RpcTryFinally
3887             {
3888             
3889             _StubMsg.BufferLength = 0U;
3890             NdrProxyGetBuffer(This, &_StubMsg);
3891             NdrProxySendReceive(This, &_StubMsg);
3892             
3893             if ( (_RpcMessage.DataRepresentation & 0X0000FFFFUL) != NDR_LOCAL_DATA_REPRESENTATION )
3894                 NdrConvert( (PMIDL_STUB_MESSAGE) &_StubMsg, (PFORMAT_STRING) &__MIDL_ProcFormatString.Format[88] );
3895             
3896             _RetVal = *(( HRESULT __RPC_FAR * )_StubMsg.Buffer)++;
3897             
3898             }
3899         RpcFinally
3900             {
3901             NdrProxyFreeBuffer(This, &_StubMsg);
3902             
3903             }
3904         RpcEndFinally
3905         
3906         }
3907     RpcExcept(_StubMsg.dwStubPhase != PROXY_SENDRECEIVE)
3908         {
3909         _RetVal = NdrProxyErrorHandler(RpcExceptionCode());
3910         }
3911     RpcEndExcept
3912     return _RetVal;
3913 }
3914
3915 void __RPC_STUB ITypeInfo_LocalAddressOfMember_Stub(
3916     IRpcStubBuffer *This,
3917     IRpcChannelBuffer *_pRpcChannelBuffer,
3918     PRPC_MESSAGE _pRpcMessage,
3919     DWORD *_pdwStubPhase)
3920 {
3921     HRESULT _RetVal;
3922     MIDL_STUB_MESSAGE _StubMsg;
3923     
3924 NdrStubInitialize(
3925                      _pRpcMessage,
3926                      &_StubMsg,
3927                      &Object_StubDesc,
3928                      _pRpcChannelBuffer);
3929     RpcTryFinally
3930         {
3931         
3932         *_pdwStubPhase = STUB_CALL_SERVER;
3933         
3934         
3935         _RetVal = ITypeInfo_AddressOfMember_Stub((ITypeInfo *) ((CStdStubBuffer *)This)->pvServerObject);
3936         
3937         *_pdwStubPhase = STUB_MARSHAL;
3938         
3939         _StubMsg.BufferLength = 4U;
3940         NdrStubGetBuffer(This, _pRpcChannelBuffer, &_StubMsg);
3941         *(( HRESULT __RPC_FAR * )_StubMsg.Buffer)++ = _RetVal;
3942         
3943         }
3944     RpcFinally
3945         {
3946         }
3947     RpcEndFinally
3948     _pRpcMessage->BufferLength = 
3949         (unsigned int)((long)_StubMsg.Buffer - (long)_pRpcMessage->Buffer);
3950     
3951 }
3952
3953
3954 /* [call_as] */ HRESULT STDMETHODCALLTYPE ITypeInfo_RemoteCreateInstance_Proxy( 
3955     ITypeInfo __RPC_FAR * This,
3956     /* [in] */ REFIID riid,
3957     /* [iid_is][out] */ IUnknown __RPC_FAR *__RPC_FAR *ppvObj)
3958 {
3959
3960     HRESULT _RetVal;
3961     
3962     RPC_MESSAGE _RpcMessage;
3963     
3964     MIDL_STUB_MESSAGE _StubMsg;
3965     
3966     if(ppvObj)
3967         {
3968         MIDL_memset(
3969                ppvObj,
3970                0,
3971                sizeof( IUnknown __RPC_FAR *__RPC_FAR * ));
3972         }
3973     RpcTryExcept
3974         {
3975         NdrProxyInitialize(
3976                       ( void __RPC_FAR *  )This,
3977                       ( PRPC_MESSAGE  )&_RpcMessage,
3978                       ( PMIDL_STUB_MESSAGE  )&_StubMsg,
3979                       ( PMIDL_STUB_DESC  )&Object_StubDesc,
3980                       16);
3981         
3982         
3983         
3984         if(!riid)
3985             {
3986             RpcRaiseException(RPC_X_NULL_REF_POINTER);
3987             }
3988         if(!ppvObj)
3989             {
3990             RpcRaiseException(RPC_X_NULL_REF_POINTER);
3991             }
3992         RpcTryFinally
3993             {
3994             
3995             _StubMsg.BufferLength = 0U;
3996             NdrSimpleStructBufferSize( (PMIDL_STUB_MESSAGE) &_StubMsg,
3997                                        (unsigned char __RPC_FAR *)riid,
3998                                        (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[38] );
3999             
4000             NdrProxyGetBuffer(This, &_StubMsg);
4001             NdrSimpleStructMarshall( (PMIDL_STUB_MESSAGE)& _StubMsg,
4002                                      (unsigned char __RPC_FAR *)riid,
4003                                      (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[38] );
4004             
4005             NdrProxySendReceive(This, &_StubMsg);
4006             
4007             if ( (_RpcMessage.DataRepresentation & 0X0000FFFFUL) != NDR_LOCAL_DATA_REPRESENTATION )
4008                 NdrConvert( (PMIDL_STUB_MESSAGE) &_StubMsg, (PFORMAT_STRING) &__MIDL_ProcFormatString.Format[254] );
4009             
4010             NdrPointerUnmarshall( (PMIDL_STUB_MESSAGE) &_StubMsg,
4011                                   (unsigned char __RPC_FAR * __RPC_FAR *)&ppvObj,
4012                                   (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[1716],
4013                                   (unsigned char)0 );
4014             
4015             _StubMsg.Buffer = (unsigned char __RPC_FAR *)(((long)_StubMsg.Buffer + 3) & ~ 0x3);
4016             _RetVal = *(( HRESULT __RPC_FAR * )_StubMsg.Buffer)++;
4017             
4018             }
4019         RpcFinally
4020             {
4021             NdrProxyFreeBuffer(This, &_StubMsg);
4022             
4023             }
4024         RpcEndFinally
4025         
4026         }
4027     RpcExcept(_StubMsg.dwStubPhase != PROXY_SENDRECEIVE)
4028         {
4029         _StubMsg.MaxCount = (unsigned long) ( riid );
4030         
4031         NdrClearOutParameters(
4032                          ( PMIDL_STUB_MESSAGE  )&_StubMsg,
4033                          ( PFORMAT_STRING  )&__MIDL_TypeFormatString.Format[1716],
4034                          ( void __RPC_FAR * )ppvObj);
4035         _RetVal = NdrProxyErrorHandler(RpcExceptionCode());
4036         }
4037     RpcEndExcept
4038     return _RetVal;
4039 }
4040
4041 void __RPC_STUB ITypeInfo_RemoteCreateInstance_Stub(
4042     IRpcStubBuffer *This,
4043     IRpcChannelBuffer *_pRpcChannelBuffer,
4044     PRPC_MESSAGE _pRpcMessage,
4045     DWORD *_pdwStubPhase)
4046 {
4047     IUnknown __RPC_FAR *__RPC_FAR *_M45;
4048     HRESULT _RetVal;
4049     MIDL_STUB_MESSAGE _StubMsg;
4050     IUnknown __RPC_FAR *__RPC_FAR *ppvObj;
4051     IID* riid = 0;
4052     
4053 NdrStubInitialize(
4054                      _pRpcMessage,
4055                      &_StubMsg,
4056                      &Object_StubDesc,
4057                      _pRpcChannelBuffer);
4058     ( IUnknown __RPC_FAR *__RPC_FAR * )ppvObj = 0;
4059     RpcTryFinally
4060         {
4061         if ( (_pRpcMessage->DataRepresentation & 0X0000FFFFUL) != NDR_LOCAL_DATA_REPRESENTATION )
4062             NdrConvert( (PMIDL_STUB_MESSAGE) &_StubMsg, (PFORMAT_STRING) &__MIDL_ProcFormatString.Format[254] );
4063         
4064         NdrSimpleStructUnmarshall( (PMIDL_STUB_MESSAGE) &_StubMsg,
4065                                    (unsigned char __RPC_FAR * __RPC_FAR *)&riid,
4066                                    (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[38],
4067                                    (unsigned char)0 );
4068         
4069         ppvObj = (void *)&_M45;
4070         _M45 = 0;
4071         
4072         *_pdwStubPhase = STUB_CALL_SERVER;
4073         
4074         
4075         _RetVal = ITypeInfo_CreateInstance_Stub(
4076                                         (ITypeInfo *) ((CStdStubBuffer *)This)->pvServerObject,
4077                                         riid,
4078                                         ppvObj);
4079         
4080         *_pdwStubPhase = STUB_MARSHAL;
4081         
4082         _StubMsg.BufferLength = 0U + 4U;
4083         _StubMsg.MaxCount = (unsigned long) ( riid );
4084         
4085         NdrPointerBufferSize( (PMIDL_STUB_MESSAGE) &_StubMsg,
4086                               (unsigned char __RPC_FAR *)ppvObj,
4087                               (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[1716] );
4088         
4089         _StubMsg.BufferLength += 16;
4090         
4091         NdrStubGetBuffer(This, _pRpcChannelBuffer, &_StubMsg);
4092         _StubMsg.MaxCount = (unsigned long) ( riid );
4093         
4094         NdrPointerMarshall( (PMIDL_STUB_MESSAGE)& _StubMsg,
4095                             (unsigned char __RPC_FAR *)ppvObj,
4096                             (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[1716] );
4097         
4098         _StubMsg.Buffer = (unsigned char __RPC_FAR *)(((long)_StubMsg.Buffer + 3) & ~ 0x3);
4099         *(( HRESULT __RPC_FAR * )_StubMsg.Buffer)++ = _RetVal;
4100         
4101         }
4102     RpcFinally
4103         {
4104         _StubMsg.MaxCount = (unsigned long) ( riid );
4105         
4106         NdrPointerFree( &_StubMsg,
4107                         (unsigned char __RPC_FAR *)ppvObj,
4108                         &__MIDL_TypeFormatString.Format[1716] );
4109         
4110         }
4111     RpcEndFinally
4112     _pRpcMessage->BufferLength = 
4113         (unsigned int)((long)_StubMsg.Buffer - (long)_pRpcMessage->Buffer);
4114     
4115 }
4116
4117
4118 HRESULT STDMETHODCALLTYPE ITypeInfo_GetMops_Proxy( 
4119     ITypeInfo __RPC_FAR * This,
4120     /* [in] */ MEMBERID memid,
4121     /* [out] */ BSTR __RPC_FAR *pBstrMops)
4122 {
4123
4124     HRESULT _RetVal;
4125     
4126     RPC_MESSAGE _RpcMessage;
4127     
4128     MIDL_STUB_MESSAGE _StubMsg;
4129     
4130     if(pBstrMops)
4131         {
4132         MIDL_memset(
4133                pBstrMops,
4134                0,
4135                sizeof( BSTR  ));
4136         }
4137     RpcTryExcept
4138         {
4139         NdrProxyInitialize(
4140                       ( void __RPC_FAR *  )This,
4141                       ( PRPC_MESSAGE  )&_RpcMessage,
4142                       ( PMIDL_STUB_MESSAGE  )&_StubMsg,
4143                       ( PMIDL_STUB_DESC  )&Object_StubDesc,
4144                       17);
4145         
4146         
4147         
4148         if(!pBstrMops)
4149             {
4150             RpcRaiseException(RPC_X_NULL_REF_POINTER);
4151             }
4152         RpcTryFinally
4153             {
4154             
4155             _StubMsg.BufferLength = 4U;
4156             NdrProxyGetBuffer(This, &_StubMsg);
4157             *(( MEMBERID __RPC_FAR * )_StubMsg.Buffer)++ = memid;
4158             
4159             NdrProxySendReceive(This, &_StubMsg);
4160             
4161             if ( (_RpcMessage.DataRepresentation & 0X0000FFFFUL) != NDR_LOCAL_DATA_REPRESENTATION )
4162                 NdrConvert( (PMIDL_STUB_MESSAGE) &_StubMsg, (PFORMAT_STRING) &__MIDL_ProcFormatString.Format[264] );
4163             
4164             NdrUserMarshalUnmarshall( (PMIDL_STUB_MESSAGE) &_StubMsg,
4165                                       (unsigned char __RPC_FAR * __RPC_FAR *)&pBstrMops,
4166                                       (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[1128],
4167                                       (unsigned char)0 );
4168             
4169             _StubMsg.Buffer = (unsigned char __RPC_FAR *)(((long)_StubMsg.Buffer + 3) & ~ 0x3);
4170             _RetVal = *(( HRESULT __RPC_FAR * )_StubMsg.Buffer)++;
4171             
4172             }
4173         RpcFinally
4174             {
4175             NdrProxyFreeBuffer(This, &_StubMsg);
4176             
4177             }
4178         RpcEndFinally
4179         
4180         }
4181     RpcExcept(_StubMsg.dwStubPhase != PROXY_SENDRECEIVE)
4182         {
4183         NdrClearOutParameters(
4184                          ( PMIDL_STUB_MESSAGE  )&_StubMsg,
4185                          ( PFORMAT_STRING  )&__MIDL_TypeFormatString.Format[1708],
4186                          ( void __RPC_FAR * )pBstrMops);
4187         _RetVal = NdrProxyErrorHandler(RpcExceptionCode());
4188         }
4189     RpcEndExcept
4190     return _RetVal;
4191 }
4192
4193 void __RPC_STUB ITypeInfo_GetMops_Stub(
4194     IRpcStubBuffer *This,
4195     IRpcChannelBuffer *_pRpcChannelBuffer,
4196     PRPC_MESSAGE _pRpcMessage,
4197     DWORD *_pdwStubPhase)
4198 {
4199     BSTR _M46;
4200     HRESULT _RetVal;
4201     MIDL_STUB_MESSAGE _StubMsg;
4202     MEMBERID memid;
4203     BSTR __RPC_FAR *pBstrMops;
4204     
4205 NdrStubInitialize(
4206                      _pRpcMessage,
4207                      &_StubMsg,
4208                      &Object_StubDesc,
4209                      _pRpcChannelBuffer);
4210     ( BSTR __RPC_FAR * )pBstrMops = 0;
4211     RpcTryFinally
4212         {
4213         if ( (_pRpcMessage->DataRepresentation & 0X0000FFFFUL) != NDR_LOCAL_DATA_REPRESENTATION )
4214             NdrConvert( (PMIDL_STUB_MESSAGE) &_StubMsg, (PFORMAT_STRING) &__MIDL_ProcFormatString.Format[264] );
4215         
4216         memid = *(( MEMBERID __RPC_FAR * )_StubMsg.Buffer)++;
4217         
4218         pBstrMops = &_M46;
4219         MIDL_memset(
4220                pBstrMops,
4221                0,
4222                sizeof( BSTR  ));
4223         
4224         *_pdwStubPhase = STUB_CALL_SERVER;
4225         _RetVal = (((ITypeInfo*) ((CStdStubBuffer *)This)->pvServerObject)->lpVtbl) -> GetMops(
4226            (ITypeInfo *) ((CStdStubBuffer *)This)->pvServerObject,
4227            memid,
4228            pBstrMops);
4229         
4230         *_pdwStubPhase = STUB_MARSHAL;
4231         
4232         _StubMsg.BufferLength = 8U + 11U;
4233         NdrUserMarshalBufferSize( (PMIDL_STUB_MESSAGE) &_StubMsg,
4234                                   (unsigned char __RPC_FAR *)pBstrMops,
4235                                   (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[1128] );
4236         
4237         _StubMsg.BufferLength += 16;
4238         
4239         NdrStubGetBuffer(This, _pRpcChannelBuffer, &_StubMsg);
4240         NdrUserMarshalMarshall( (PMIDL_STUB_MESSAGE)& _StubMsg,
4241                                 (unsigned char __RPC_FAR *)pBstrMops,
4242                                 (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[1128] );
4243         
4244         _StubMsg.Buffer = (unsigned char __RPC_FAR *)(((long)_StubMsg.Buffer + 3) & ~ 0x3);
4245         *(( HRESULT __RPC_FAR * )_StubMsg.Buffer)++ = _RetVal;
4246         
4247         }
4248     RpcFinally
4249         {
4250         NdrPointerFree( &_StubMsg,
4251                         (unsigned char __RPC_FAR *)pBstrMops,
4252                         &__MIDL_TypeFormatString.Format[1708] );
4253         
4254         }
4255     RpcEndFinally
4256     _pRpcMessage->BufferLength = 
4257         (unsigned int)((long)_StubMsg.Buffer - (long)_pRpcMessage->Buffer);
4258     
4259 }
4260
4261
4262 /* [call_as] */ HRESULT STDMETHODCALLTYPE ITypeInfo_RemoteGetContainingTypeLib_Proxy( 
4263     ITypeInfo __RPC_FAR * This,
4264     /* [out] */ ITypeLib __RPC_FAR *__RPC_FAR *ppTLib,
4265     /* [out] */ UINT __RPC_FAR *pIndex)
4266 {
4267
4268     HRESULT _RetVal;
4269     
4270     RPC_MESSAGE _RpcMessage;
4271     
4272     MIDL_STUB_MESSAGE _StubMsg;
4273     
4274     if(ppTLib)
4275         {
4276         MIDL_memset(
4277                ppTLib,
4278                0,
4279                sizeof( ITypeLib __RPC_FAR *__RPC_FAR * ));
4280         }
4281     RpcTryExcept
4282         {
4283         NdrProxyInitialize(
4284                       ( void __RPC_FAR *  )This,
4285                       ( PRPC_MESSAGE  )&_RpcMessage,
4286                       ( PMIDL_STUB_MESSAGE  )&_StubMsg,
4287                       ( PMIDL_STUB_DESC  )&Object_StubDesc,
4288                       18);
4289         
4290         
4291         
4292         if(!ppTLib)
4293             {
4294             RpcRaiseException(RPC_X_NULL_REF_POINTER);
4295             }
4296         if(!pIndex)
4297             {
4298             RpcRaiseException(RPC_X_NULL_REF_POINTER);
4299             }
4300         RpcTryFinally
4301             {
4302             
4303             _StubMsg.BufferLength = 0U;
4304             NdrProxyGetBuffer(This, &_StubMsg);
4305             NdrProxySendReceive(This, &_StubMsg);
4306             
4307             if ( (_RpcMessage.DataRepresentation & 0X0000FFFFUL) != NDR_LOCAL_DATA_REPRESENTATION )
4308                 NdrConvert( (PMIDL_STUB_MESSAGE) &_StubMsg, (PFORMAT_STRING) &__MIDL_ProcFormatString.Format[272] );
4309             
4310             NdrPointerUnmarshall( (PMIDL_STUB_MESSAGE) &_StubMsg,
4311                                   (unsigned char __RPC_FAR * __RPC_FAR *)&ppTLib,
4312                                   (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[1726],
4313                                   (unsigned char)0 );
4314             
4315             _StubMsg.Buffer = (unsigned char __RPC_FAR *)(((long)_StubMsg.Buffer + 3) & ~ 0x3);
4316             *pIndex = *(( UINT __RPC_FAR * )_StubMsg.Buffer)++;
4317             
4318             _RetVal = *(( HRESULT __RPC_FAR * )_StubMsg.Buffer)++;
4319             
4320             }
4321         RpcFinally
4322             {
4323             NdrProxyFreeBuffer(This, &_StubMsg);
4324             
4325             }
4326         RpcEndFinally
4327         
4328         }
4329     RpcExcept(_StubMsg.dwStubPhase != PROXY_SENDRECEIVE)
4330         {
4331         NdrClearOutParameters(
4332                          ( PMIDL_STUB_MESSAGE  )&_StubMsg,
4333                          ( PFORMAT_STRING  )&__MIDL_TypeFormatString.Format[1726],
4334                          ( void __RPC_FAR * )ppTLib);
4335         NdrClearOutParameters(
4336                          ( PMIDL_STUB_MESSAGE  )&_StubMsg,
4337                          ( PFORMAT_STRING  )&__MIDL_TypeFormatString.Format[2],
4338                          ( void __RPC_FAR * )pIndex);
4339         _RetVal = NdrProxyErrorHandler(RpcExceptionCode());
4340         }
4341     RpcEndExcept
4342     return _RetVal;
4343 }
4344
4345 void __RPC_STUB ITypeInfo_RemoteGetContainingTypeLib_Stub(
4346     IRpcStubBuffer *This,
4347     IRpcChannelBuffer *_pRpcChannelBuffer,
4348     PRPC_MESSAGE _pRpcMessage,
4349     DWORD *_pdwStubPhase)
4350 {
4351     ITypeLib __RPC_FAR *_M47;
4352     UINT _M48;
4353     HRESULT _RetVal;
4354     MIDL_STUB_MESSAGE _StubMsg;
4355     UINT __RPC_FAR *pIndex;
4356     ITypeLib __RPC_FAR *__RPC_FAR *ppTLib;
4357     
4358 NdrStubInitialize(
4359                      _pRpcMessage,
4360                      &_StubMsg,
4361                      &Object_StubDesc,
4362                      _pRpcChannelBuffer);
4363     ( ITypeLib __RPC_FAR *__RPC_FAR * )ppTLib = 0;
4364     ( UINT __RPC_FAR * )pIndex = 0;
4365     RpcTryFinally
4366         {
4367         ppTLib = &_M47;
4368         _M47 = 0;
4369         pIndex = &_M48;
4370         
4371         *_pdwStubPhase = STUB_CALL_SERVER;
4372         
4373         
4374         _RetVal = ITypeInfo_GetContainingTypeLib_Stub(
4375                                               (ITypeInfo *) ((CStdStubBuffer *)This)->pvServerObject,
4376                                               ppTLib,
4377                                               pIndex);
4378         
4379         *_pdwStubPhase = STUB_MARSHAL;
4380         
4381         _StubMsg.BufferLength = 0U + 4U + 4U;
4382         NdrPointerBufferSize( (PMIDL_STUB_MESSAGE) &_StubMsg,
4383                               (unsigned char __RPC_FAR *)ppTLib,
4384                               (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[1726] );
4385         
4386         _StubMsg.BufferLength += 16;
4387         
4388         NdrStubGetBuffer(This, _pRpcChannelBuffer, &_StubMsg);
4389         NdrPointerMarshall( (PMIDL_STUB_MESSAGE)& _StubMsg,
4390                             (unsigned char __RPC_FAR *)ppTLib,
4391                             (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[1726] );
4392         
4393         _StubMsg.Buffer = (unsigned char __RPC_FAR *)(((long)_StubMsg.Buffer + 3) & ~ 0x3);
4394         *(( UINT __RPC_FAR * )_StubMsg.Buffer)++ = *pIndex;
4395         
4396         *(( HRESULT __RPC_FAR * )_StubMsg.Buffer)++ = _RetVal;
4397         
4398         }
4399     RpcFinally
4400         {
4401         NdrPointerFree( &_StubMsg,
4402                         (unsigned char __RPC_FAR *)ppTLib,
4403                         &__MIDL_TypeFormatString.Format[1726] );
4404         
4405         }
4406     RpcEndFinally
4407     _pRpcMessage->BufferLength = 
4408         (unsigned int)((long)_StubMsg.Buffer - (long)_pRpcMessage->Buffer);
4409     
4410 }
4411
4412
4413 /* [call_as] */ HRESULT STDMETHODCALLTYPE ITypeInfo_LocalReleaseTypeAttr_Proxy( 
4414     ITypeInfo __RPC_FAR * This)
4415 {
4416
4417     HRESULT _RetVal;
4418     
4419     RPC_MESSAGE _RpcMessage;
4420     
4421     MIDL_STUB_MESSAGE _StubMsg;
4422     
4423     RpcTryExcept
4424         {
4425         NdrProxyInitialize(
4426                       ( void __RPC_FAR *  )This,
4427                       ( PRPC_MESSAGE  )&_RpcMessage,
4428                       ( PMIDL_STUB_MESSAGE  )&_StubMsg,
4429                       ( PMIDL_STUB_DESC  )&Object_StubDesc,
4430                       19);
4431         
4432         
4433         
4434         RpcTryFinally
4435             {
4436             
4437             _StubMsg.BufferLength = 0U;
4438             NdrProxyGetBuffer(This, &_StubMsg);
4439             NdrProxySendReceive(This, &_StubMsg);
4440             
4441             if ( (_RpcMessage.DataRepresentation & 0X0000FFFFUL) != NDR_LOCAL_DATA_REPRESENTATION )
4442                 NdrConvert( (PMIDL_STUB_MESSAGE) &_StubMsg, (PFORMAT_STRING) &__MIDL_ProcFormatString.Format[88] );
4443             
4444             _RetVal = *(( HRESULT __RPC_FAR * )_StubMsg.Buffer)++;
4445             
4446             }
4447         RpcFinally
4448             {
4449             NdrProxyFreeBuffer(This, &_StubMsg);
4450             
4451             }
4452         RpcEndFinally
4453         
4454         }
4455     RpcExcept(_StubMsg.dwStubPhase != PROXY_SENDRECEIVE)
4456         {
4457         _RetVal = NdrProxyErrorHandler(RpcExceptionCode());
4458         }
4459     RpcEndExcept
4460     return _RetVal;
4461 }
4462
4463 void __RPC_STUB ITypeInfo_LocalReleaseTypeAttr_Stub(
4464     IRpcStubBuffer *This,
4465     IRpcChannelBuffer *_pRpcChannelBuffer,
4466     PRPC_MESSAGE _pRpcMessage,
4467     DWORD *_pdwStubPhase)
4468 {
4469     HRESULT _RetVal;
4470     MIDL_STUB_MESSAGE _StubMsg;
4471     
4472 NdrStubInitialize(
4473                      _pRpcMessage,
4474                      &_StubMsg,
4475                      &Object_StubDesc,
4476                      _pRpcChannelBuffer);
4477     RpcTryFinally
4478         {
4479         
4480         *_pdwStubPhase = STUB_CALL_SERVER;
4481         
4482         
4483         _RetVal = ITypeInfo_ReleaseTypeAttr_Stub((ITypeInfo *) ((CStdStubBuffer *)This)->pvServerObject);
4484         
4485         *_pdwStubPhase = STUB_MARSHAL;
4486         
4487         _StubMsg.BufferLength = 4U;
4488         NdrStubGetBuffer(This, _pRpcChannelBuffer, &_StubMsg);
4489         *(( HRESULT __RPC_FAR * )_StubMsg.Buffer)++ = _RetVal;
4490         
4491         }
4492     RpcFinally
4493         {
4494         }
4495     RpcEndFinally
4496     _pRpcMessage->BufferLength = 
4497         (unsigned int)((long)_StubMsg.Buffer - (long)_pRpcMessage->Buffer);
4498     
4499 }
4500
4501
4502 /* [call_as] */ HRESULT STDMETHODCALLTYPE ITypeInfo_LocalReleaseFuncDesc_Proxy( 
4503     ITypeInfo __RPC_FAR * This)
4504 {
4505
4506     HRESULT _RetVal;
4507     
4508     RPC_MESSAGE _RpcMessage;
4509     
4510     MIDL_STUB_MESSAGE _StubMsg;
4511     
4512     RpcTryExcept
4513         {
4514         NdrProxyInitialize(
4515                       ( void __RPC_FAR *  )This,
4516                       ( PRPC_MESSAGE  )&_RpcMessage,
4517                       ( PMIDL_STUB_MESSAGE  )&_StubMsg,
4518                       ( PMIDL_STUB_DESC  )&Object_StubDesc,
4519                       20);
4520         
4521         
4522         
4523         RpcTryFinally
4524             {
4525             
4526             _StubMsg.BufferLength = 0U;
4527             NdrProxyGetBuffer(This, &_StubMsg);
4528             NdrProxySendReceive(This, &_StubMsg);
4529             
4530             if ( (_RpcMessage.DataRepresentation & 0X0000FFFFUL) != NDR_LOCAL_DATA_REPRESENTATION )
4531                 NdrConvert( (PMIDL_STUB_MESSAGE) &_StubMsg, (PFORMAT_STRING) &__MIDL_ProcFormatString.Format[88] );
4532             
4533             _RetVal = *(( HRESULT __RPC_FAR * )_StubMsg.Buffer)++;
4534             
4535             }
4536         RpcFinally
4537             {
4538             NdrProxyFreeBuffer(This, &_StubMsg);
4539             
4540             }
4541         RpcEndFinally
4542         
4543         }
4544     RpcExcept(_StubMsg.dwStubPhase != PROXY_SENDRECEIVE)
4545         {
4546         _RetVal = NdrProxyErrorHandler(RpcExceptionCode());
4547         }
4548     RpcEndExcept
4549     return _RetVal;
4550 }
4551
4552 void __RPC_STUB ITypeInfo_LocalReleaseFuncDesc_Stub(
4553     IRpcStubBuffer *This,
4554     IRpcChannelBuffer *_pRpcChannelBuffer,
4555     PRPC_MESSAGE _pRpcMessage,
4556     DWORD *_pdwStubPhase)
4557 {
4558     HRESULT _RetVal;
4559     MIDL_STUB_MESSAGE _StubMsg;
4560     
4561 NdrStubInitialize(
4562                      _pRpcMessage,
4563                      &_StubMsg,
4564                      &Object_StubDesc,
4565                      _pRpcChannelBuffer);
4566     RpcTryFinally
4567         {
4568         
4569         *_pdwStubPhase = STUB_CALL_SERVER;
4570         
4571         
4572         _RetVal = ITypeInfo_ReleaseFuncDesc_Stub((ITypeInfo *) ((CStdStubBuffer *)This)->pvServerObject);
4573         
4574         *_pdwStubPhase = STUB_MARSHAL;
4575         
4576         _StubMsg.BufferLength = 4U;
4577         NdrStubGetBuffer(This, _pRpcChannelBuffer, &_StubMsg);
4578         *(( HRESULT __RPC_FAR * )_StubMsg.Buffer)++ = _RetVal;
4579         
4580         }
4581     RpcFinally
4582         {
4583         }
4584     RpcEndFinally
4585     _pRpcMessage->BufferLength = 
4586         (unsigned int)((long)_StubMsg.Buffer - (long)_pRpcMessage->Buffer);
4587     
4588 }
4589
4590
4591 /* [call_as] */ HRESULT STDMETHODCALLTYPE ITypeInfo_LocalReleaseVarDesc_Proxy( 
4592     ITypeInfo __RPC_FAR * This)
4593 {
4594
4595     HRESULT _RetVal;
4596     
4597     RPC_MESSAGE _RpcMessage;
4598     
4599     MIDL_STUB_MESSAGE _StubMsg;
4600     
4601     RpcTryExcept
4602         {
4603         NdrProxyInitialize(
4604                       ( void __RPC_FAR *  )This,
4605                       ( PRPC_MESSAGE  )&_RpcMessage,
4606                       ( PMIDL_STUB_MESSAGE  )&_StubMsg,
4607                       ( PMIDL_STUB_DESC  )&Object_StubDesc,
4608                       21);
4609         
4610         
4611         
4612         RpcTryFinally
4613             {
4614             
4615             _StubMsg.BufferLength = 0U;
4616             NdrProxyGetBuffer(This, &_StubMsg);
4617             NdrProxySendReceive(This, &_StubMsg);
4618             
4619             if ( (_RpcMessage.DataRepresentation & 0X0000FFFFUL) != NDR_LOCAL_DATA_REPRESENTATION )
4620                 NdrConvert( (PMIDL_STUB_MESSAGE) &_StubMsg, (PFORMAT_STRING) &__MIDL_ProcFormatString.Format[88] );
4621             
4622             _RetVal = *(( HRESULT __RPC_FAR * )_StubMsg.Buffer)++;
4623             
4624             }
4625         RpcFinally
4626             {
4627             NdrProxyFreeBuffer(This, &_StubMsg);
4628             
4629             }
4630         RpcEndFinally
4631         
4632         }
4633     RpcExcept(_StubMsg.dwStubPhase != PROXY_SENDRECEIVE)
4634         {
4635         _RetVal = NdrProxyErrorHandler(RpcExceptionCode());
4636         }
4637     RpcEndExcept
4638     return _RetVal;
4639 }
4640
4641 void __RPC_STUB ITypeInfo_LocalReleaseVarDesc_Stub(
4642     IRpcStubBuffer *This,
4643     IRpcChannelBuffer *_pRpcChannelBuffer,
4644     PRPC_MESSAGE _pRpcMessage,
4645     DWORD *_pdwStubPhase)
4646 {
4647     HRESULT _RetVal;
4648     MIDL_STUB_MESSAGE _StubMsg;
4649     
4650 NdrStubInitialize(
4651                      _pRpcMessage,
4652                      &_StubMsg,
4653                      &Object_StubDesc,
4654                      _pRpcChannelBuffer);
4655     RpcTryFinally
4656         {
4657         
4658         *_pdwStubPhase = STUB_CALL_SERVER;
4659         
4660         
4661         _RetVal = ITypeInfo_ReleaseVarDesc_Stub((ITypeInfo *) ((CStdStubBuffer *)This)->pvServerObject);
4662         
4663         *_pdwStubPhase = STUB_MARSHAL;
4664         
4665         _StubMsg.BufferLength = 4U;
4666         NdrStubGetBuffer(This, _pRpcChannelBuffer, &_StubMsg);
4667         *(( HRESULT __RPC_FAR * )_StubMsg.Buffer)++ = _RetVal;
4668         
4669         }
4670     RpcFinally
4671         {
4672         }
4673     RpcEndFinally
4674     _pRpcMessage->BufferLength = 
4675         (unsigned int)((long)_StubMsg.Buffer - (long)_pRpcMessage->Buffer);
4676     
4677 }
4678
4679 const CINTERFACE_PROXY_VTABLE(22) _ITypeInfoProxyVtbl = 
4680 {
4681     { &IID_ITypeInfo },
4682     {
4683         IUnknown_QueryInterface_Proxy,
4684         IUnknown_AddRef_Proxy,
4685         IUnknown_Release_Proxy ,
4686         ITypeInfo_GetTypeAttr_Proxy ,
4687         ITypeInfo_GetTypeComp_Proxy ,
4688         ITypeInfo_GetFuncDesc_Proxy ,
4689         ITypeInfo_GetVarDesc_Proxy ,
4690         ITypeInfo_GetNames_Proxy ,
4691         ITypeInfo_GetRefTypeOfImplType_Proxy ,
4692         ITypeInfo_GetImplTypeFlags_Proxy ,
4693         ITypeInfo_GetIDsOfNames_Proxy ,
4694         ITypeInfo_Invoke_Proxy ,
4695         ITypeInfo_GetDocumentation_Proxy ,
4696         ITypeInfo_GetDllEntry_Proxy ,
4697         ITypeInfo_GetRefTypeInfo_Proxy ,
4698         ITypeInfo_AddressOfMember_Proxy ,
4699         ITypeInfo_CreateInstance_Proxy ,
4700         ITypeInfo_GetMops_Proxy ,
4701         ITypeInfo_GetContainingTypeLib_Proxy ,
4702         ITypeInfo_ReleaseTypeAttr_Proxy ,
4703         ITypeInfo_ReleaseFuncDesc_Proxy ,
4704         ITypeInfo_ReleaseVarDesc_Proxy
4705     }
4706 };
4707
4708
4709 static const PRPC_STUB_FUNCTION ITypeInfo_table[] =
4710 {
4711     ITypeInfo_RemoteGetTypeAttr_Stub,
4712     ITypeInfo_GetTypeComp_Stub,
4713     ITypeInfo_RemoteGetFuncDesc_Stub,
4714     ITypeInfo_RemoteGetVarDesc_Stub,
4715     ITypeInfo_RemoteGetNames_Stub,
4716     ITypeInfo_GetRefTypeOfImplType_Stub,
4717     ITypeInfo_GetImplTypeFlags_Stub,
4718     ITypeInfo_LocalGetIDsOfNames_Stub,
4719     ITypeInfo_LocalInvoke_Stub,
4720     ITypeInfo_RemoteGetDocumentation_Stub,
4721     ITypeInfo_RemoteGetDllEntry_Stub,
4722     ITypeInfo_GetRefTypeInfo_Stub,
4723     ITypeInfo_LocalAddressOfMember_Stub,
4724     ITypeInfo_RemoteCreateInstance_Stub,
4725     ITypeInfo_GetMops_Stub,
4726     ITypeInfo_RemoteGetContainingTypeLib_Stub,
4727     ITypeInfo_LocalReleaseTypeAttr_Stub,
4728     ITypeInfo_LocalReleaseFuncDesc_Stub,
4729     ITypeInfo_LocalReleaseVarDesc_Stub
4730 };
4731
4732 const CInterfaceStubVtbl _ITypeInfoStubVtbl =
4733 {
4734     {
4735         &IID_ITypeInfo,
4736         0,
4737         22,
4738         &ITypeInfo_table[-3]
4739     },
4740     { CStdStubBuffer_METHODS }
4741 };
4742
4743
4744 /* Object interface: ITypeInfo2, ver. 0.0,
4745    GUID={0x00020412,0x0000,0x0000,{0xC0,0x00,0x00,0x00,0x00,0x00,0x00,0x46}} */
4746
4747
4748 extern const MIDL_STUB_DESC Object_StubDesc;
4749
4750
4751 HRESULT STDMETHODCALLTYPE ITypeInfo2_GetTypeKind_Proxy( 
4752     ITypeInfo2 __RPC_FAR * This,
4753     /* [out] */ TYPEKIND __RPC_FAR *pTypeKind)
4754 {
4755
4756     HRESULT _RetVal;
4757     
4758     RPC_MESSAGE _RpcMessage;
4759     
4760     MIDL_STUB_MESSAGE _StubMsg;
4761     
4762     RpcTryExcept
4763         {
4764         NdrProxyInitialize(
4765                       ( void __RPC_FAR *  )This,
4766                       ( PRPC_MESSAGE  )&_RpcMessage,
4767                       ( PMIDL_STUB_MESSAGE  )&_StubMsg,
4768                       ( PMIDL_STUB_DESC  )&Object_StubDesc,
4769                       22);
4770         
4771         
4772         
4773         if(!pTypeKind)
4774             {
4775             RpcRaiseException(RPC_X_NULL_REF_POINTER);
4776             }
4777         RpcTryFinally
4778             {
4779             
4780             _StubMsg.BufferLength = 0U;
4781             NdrProxyGetBuffer(This, &_StubMsg);
4782             NdrProxySendReceive(This, &_StubMsg);
4783             
4784             if ( (_RpcMessage.DataRepresentation & 0X0000FFFFUL) != NDR_LOCAL_DATA_REPRESENTATION )
4785                 NdrConvert( (PMIDL_STUB_MESSAGE) &_StubMsg, (PFORMAT_STRING) &__MIDL_ProcFormatString.Format[282] );
4786             
4787             NdrPointerUnmarshall( (PMIDL_STUB_MESSAGE) &_StubMsg,
4788                                   (unsigned char __RPC_FAR * __RPC_FAR *)&pTypeKind,
4789                                   (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[1250],
4790                                   (unsigned char)0 );
4791             
4792             _RetVal = *(( HRESULT __RPC_FAR * )_StubMsg.Buffer)++;
4793             
4794             }
4795         RpcFinally
4796             {
4797             NdrProxyFreeBuffer(This, &_StubMsg);
4798             
4799             }
4800         RpcEndFinally
4801         
4802         }
4803     RpcExcept(_StubMsg.dwStubPhase != PROXY_SENDRECEIVE)
4804         {
4805         NdrClearOutParameters(
4806                          ( PMIDL_STUB_MESSAGE  )&_StubMsg,
4807                          ( PFORMAT_STRING  )&__MIDL_TypeFormatString.Format[1250],
4808                          ( void __RPC_FAR * )pTypeKind);
4809         _RetVal = NdrProxyErrorHandler(RpcExceptionCode());
4810         }
4811     RpcEndExcept
4812     return _RetVal;
4813 }
4814
4815 void __RPC_STUB ITypeInfo2_GetTypeKind_Stub(
4816     IRpcStubBuffer *This,
4817     IRpcChannelBuffer *_pRpcChannelBuffer,
4818     PRPC_MESSAGE _pRpcMessage,
4819     DWORD *_pdwStubPhase)
4820 {
4821     TYPEKIND _M49;
4822     HRESULT _RetVal;
4823     MIDL_STUB_MESSAGE _StubMsg;
4824     TYPEKIND __RPC_FAR *pTypeKind;
4825     
4826 NdrStubInitialize(
4827                      _pRpcMessage,
4828                      &_StubMsg,
4829                      &Object_StubDesc,
4830                      _pRpcChannelBuffer);
4831     ( TYPEKIND __RPC_FAR * )pTypeKind = 0;
4832     RpcTryFinally
4833         {
4834         pTypeKind = &_M49;
4835         
4836         *_pdwStubPhase = STUB_CALL_SERVER;
4837         _RetVal = (((ITypeInfo2*) ((CStdStubBuffer *)This)->pvServerObject)->lpVtbl) -> GetTypeKind((ITypeInfo2 *) ((CStdStubBuffer *)This)->pvServerObject,pTypeKind);
4838         
4839         *_pdwStubPhase = STUB_MARSHAL;
4840         
4841         _StubMsg.BufferLength = 4U + 4U;
4842         NdrStubGetBuffer(This, _pRpcChannelBuffer, &_StubMsg);
4843         NdrPointerMarshall( (PMIDL_STUB_MESSAGE)& _StubMsg,
4844                             (unsigned char __RPC_FAR *)pTypeKind,
4845                             (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[1250] );
4846         
4847         *(( HRESULT __RPC_FAR * )_StubMsg.Buffer)++ = _RetVal;
4848         
4849         }
4850     RpcFinally
4851         {
4852         }
4853     RpcEndFinally
4854     _pRpcMessage->BufferLength = 
4855         (unsigned int)((long)_StubMsg.Buffer - (long)_pRpcMessage->Buffer);
4856     
4857 }
4858
4859
4860 HRESULT STDMETHODCALLTYPE ITypeInfo2_GetTypeFlags_Proxy( 
4861     ITypeInfo2 __RPC_FAR * This,
4862     /* [out] */ ULONG __RPC_FAR *pTypeFlags)
4863 {
4864
4865     HRESULT _RetVal;
4866     
4867     RPC_MESSAGE _RpcMessage;
4868     
4869     MIDL_STUB_MESSAGE _StubMsg;
4870     
4871     RpcTryExcept
4872         {
4873         NdrProxyInitialize(
4874                       ( void __RPC_FAR *  )This,
4875                       ( PRPC_MESSAGE  )&_RpcMessage,
4876                       ( PMIDL_STUB_MESSAGE  )&_StubMsg,
4877                       ( PMIDL_STUB_DESC  )&Object_StubDesc,
4878                       23);
4879         
4880         
4881         
4882         if(!pTypeFlags)
4883             {
4884             RpcRaiseException(RPC_X_NULL_REF_POINTER);
4885             }
4886         RpcTryFinally
4887             {
4888             
4889             _StubMsg.BufferLength = 0U;
4890             NdrProxyGetBuffer(This, &_StubMsg);
4891             NdrProxySendReceive(This, &_StubMsg);
4892             
4893             if ( (_RpcMessage.DataRepresentation & 0X0000FFFFUL) != NDR_LOCAL_DATA_REPRESENTATION )
4894                 NdrConvert( (PMIDL_STUB_MESSAGE) &_StubMsg, (PFORMAT_STRING) &__MIDL_ProcFormatString.Format[0] );
4895             
4896             *pTypeFlags = *(( ULONG __RPC_FAR * )_StubMsg.Buffer)++;
4897             
4898             _RetVal = *(( HRESULT __RPC_FAR * )_StubMsg.Buffer)++;
4899             
4900             }
4901         RpcFinally
4902             {
4903             NdrProxyFreeBuffer(This, &_StubMsg);
4904             
4905             }
4906         RpcEndFinally
4907         
4908         }
4909     RpcExcept(_StubMsg.dwStubPhase != PROXY_SENDRECEIVE)
4910         {
4911         NdrClearOutParameters(
4912                          ( PMIDL_STUB_MESSAGE  )&_StubMsg,
4913                          ( PFORMAT_STRING  )&__MIDL_TypeFormatString.Format[2],
4914                          ( void __RPC_FAR * )pTypeFlags);
4915         _RetVal = NdrProxyErrorHandler(RpcExceptionCode());
4916         }
4917     RpcEndExcept
4918     return _RetVal;
4919 }
4920
4921 void __RPC_STUB ITypeInfo2_GetTypeFlags_Stub(
4922     IRpcStubBuffer *This,
4923     IRpcChannelBuffer *_pRpcChannelBuffer,
4924     PRPC_MESSAGE _pRpcMessage,
4925     DWORD *_pdwStubPhase)
4926 {
4927     ULONG _M50;
4928     HRESULT _RetVal;
4929     MIDL_STUB_MESSAGE _StubMsg;
4930     ULONG __RPC_FAR *pTypeFlags;
4931     
4932 NdrStubInitialize(
4933                      _pRpcMessage,
4934                      &_StubMsg,
4935                      &Object_StubDesc,
4936                      _pRpcChannelBuffer);
4937     ( ULONG __RPC_FAR * )pTypeFlags = 0;
4938     RpcTryFinally
4939         {
4940         pTypeFlags = &_M50;
4941         
4942         *_pdwStubPhase = STUB_CALL_SERVER;
4943         _RetVal = (((ITypeInfo2*) ((CStdStubBuffer *)This)->pvServerObject)->lpVtbl) -> GetTypeFlags((ITypeInfo2 *) ((CStdStubBuffer *)This)->pvServerObject,pTypeFlags);
4944         
4945         *_pdwStubPhase = STUB_MARSHAL;
4946         
4947         _StubMsg.BufferLength = 4U + 4U;
4948         NdrStubGetBuffer(This, _pRpcChannelBuffer, &_StubMsg);
4949         *(( ULONG __RPC_FAR * )_StubMsg.Buffer)++ = *pTypeFlags;
4950         
4951         *(( HRESULT __RPC_FAR * )_StubMsg.Buffer)++ = _RetVal;
4952         
4953         }
4954     RpcFinally
4955         {
4956         }
4957     RpcEndFinally
4958     _pRpcMessage->BufferLength = 
4959         (unsigned int)((long)_StubMsg.Buffer - (long)_pRpcMessage->Buffer);
4960     
4961 }
4962
4963
4964 HRESULT STDMETHODCALLTYPE ITypeInfo2_GetFuncIndexOfMemId_Proxy( 
4965     ITypeInfo2 __RPC_FAR * This,
4966     /* [in] */ MEMBERID memid,
4967     /* [in] */ INVOKEKIND invKind,
4968     /* [out] */ UINT __RPC_FAR *pFuncIndex)
4969 {
4970
4971     HRESULT _RetVal;
4972     
4973     RPC_MESSAGE _RpcMessage;
4974     
4975     MIDL_STUB_MESSAGE _StubMsg;
4976     
4977     RpcTryExcept
4978         {
4979         NdrProxyInitialize(
4980                       ( void __RPC_FAR *  )This,
4981                       ( PRPC_MESSAGE  )&_RpcMessage,
4982                       ( PMIDL_STUB_MESSAGE  )&_StubMsg,
4983                       ( PMIDL_STUB_DESC  )&Object_StubDesc,
4984                       24);
4985         
4986         
4987         
4988         if(!pFuncIndex)
4989             {
4990             RpcRaiseException(RPC_X_NULL_REF_POINTER);
4991             }
4992         RpcTryFinally
4993             {
4994             
4995             _StubMsg.BufferLength = 4U + 4U;
4996             NdrProxyGetBuffer(This, &_StubMsg);
4997             *(( MEMBERID __RPC_FAR * )_StubMsg.Buffer)++ = memid;
4998             
4999             NdrSimpleTypeMarshall(
5000                          ( PMIDL_STUB_MESSAGE  )&_StubMsg,
5001                          ( unsigned char __RPC_FAR * )&invKind,
5002                          14);
5003             NdrProxySendReceive(This, &_StubMsg);
5004             
5005             if ( (_RpcMessage.DataRepresentation & 0X0000FFFFUL) != NDR_LOCAL_DATA_REPRESENTATION )
5006                 NdrConvert( (PMIDL_STUB_MESSAGE) &_StubMsg, (PFORMAT_STRING) &__MIDL_ProcFormatString.Format[288] );
5007             
5008             *pFuncIndex = *(( UINT __RPC_FAR * )_StubMsg.Buffer)++;
5009             
5010             _RetVal = *(( HRESULT __RPC_FAR * )_StubMsg.Buffer)++;
5011             
5012             }
5013         RpcFinally
5014             {
5015             NdrProxyFreeBuffer(This, &_StubMsg);
5016             
5017             }
5018         RpcEndFinally
5019         
5020         }
5021     RpcExcept(_StubMsg.dwStubPhase != PROXY_SENDRECEIVE)
5022         {
5023         NdrClearOutParameters(
5024                          ( PMIDL_STUB_MESSAGE  )&_StubMsg,
5025                          ( PFORMAT_STRING  )&__MIDL_TypeFormatString.Format[2],
5026                          ( void __RPC_FAR * )pFuncIndex);
5027         _RetVal = NdrProxyErrorHandler(RpcExceptionCode());
5028         }
5029     RpcEndExcept
5030     return _RetVal;
5031 }
5032
5033 void __RPC_STUB ITypeInfo2_GetFuncIndexOfMemId_Stub(
5034     IRpcStubBuffer *This,
5035     IRpcChannelBuffer *_pRpcChannelBuffer,
5036     PRPC_MESSAGE _pRpcMessage,
5037     DWORD *_pdwStubPhase)
5038 {
5039     UINT _M51;
5040     HRESULT _RetVal;
5041     MIDL_STUB_MESSAGE _StubMsg;
5042     INVOKEKIND invKind;
5043     MEMBERID memid;
5044     UINT __RPC_FAR *pFuncIndex;
5045     
5046 NdrStubInitialize(
5047                      _pRpcMessage,
5048                      &_StubMsg,
5049                      &Object_StubDesc,
5050                      _pRpcChannelBuffer);
5051     ( UINT __RPC_FAR * )pFuncIndex = 0;
5052     RpcTryFinally
5053         {
5054         if ( (_pRpcMessage->DataRepresentation & 0X0000FFFFUL) != NDR_LOCAL_DATA_REPRESENTATION )
5055             NdrConvert( (PMIDL_STUB_MESSAGE) &_StubMsg, (PFORMAT_STRING) &__MIDL_ProcFormatString.Format[288] );
5056         
5057         memid = *(( MEMBERID __RPC_FAR * )_StubMsg.Buffer)++;
5058         
5059         NdrSimpleTypeUnmarshall(
5060                            ( PMIDL_STUB_MESSAGE  )&_StubMsg,
5061                            ( unsigned char __RPC_FAR * )&invKind,
5062                            14);
5063         pFuncIndex = &_M51;
5064         
5065         *_pdwStubPhase = STUB_CALL_SERVER;
5066         _RetVal = (((ITypeInfo2*) ((CStdStubBuffer *)This)->pvServerObject)->lpVtbl) -> GetFuncIndexOfMemId(
5067                        (ITypeInfo2 *) ((CStdStubBuffer *)This)->pvServerObject,
5068                        memid,
5069                        invKind,
5070                        pFuncIndex);
5071         
5072         *_pdwStubPhase = STUB_MARSHAL;
5073         
5074         _StubMsg.BufferLength = 4U + 4U;
5075         NdrStubGetBuffer(This, _pRpcChannelBuffer, &_StubMsg);
5076         *(( UINT __RPC_FAR * )_StubMsg.Buffer)++ = *pFuncIndex;
5077         
5078         *(( HRESULT __RPC_FAR * )_StubMsg.Buffer)++ = _RetVal;
5079         
5080         }
5081     RpcFinally
5082         {
5083         }
5084     RpcEndFinally
5085     _pRpcMessage->BufferLength = 
5086         (unsigned int)((long)_StubMsg.Buffer - (long)_pRpcMessage->Buffer);
5087     
5088 }
5089
5090
5091 HRESULT STDMETHODCALLTYPE ITypeInfo2_GetVarIndexOfMemId_Proxy( 
5092     ITypeInfo2 __RPC_FAR * This,
5093     /* [in] */ MEMBERID memid,
5094     /* [out] */ UINT __RPC_FAR *pVarIndex)
5095 {
5096
5097     HRESULT _RetVal;
5098     
5099     RPC_MESSAGE _RpcMessage;
5100     
5101     MIDL_STUB_MESSAGE _StubMsg;
5102     
5103     RpcTryExcept
5104         {
5105         NdrProxyInitialize(
5106                       ( void __RPC_FAR *  )This,
5107                       ( PRPC_MESSAGE  )&_RpcMessage,
5108                       ( PMIDL_STUB_MESSAGE  )&_StubMsg,
5109                       ( PMIDL_STUB_DESC  )&Object_StubDesc,
5110                       25);
5111         
5112         
5113         
5114         if(!pVarIndex)
5115             {
5116             RpcRaiseException(RPC_X_NULL_REF_POINTER);
5117             }
5118         RpcTryFinally
5119             {
5120             
5121             _StubMsg.BufferLength = 4U;
5122             NdrProxyGetBuffer(This, &_StubMsg);
5123             *(( MEMBERID __RPC_FAR * )_StubMsg.Buffer)++ = memid;
5124             
5125             NdrProxySendReceive(This, &_StubMsg);
5126             
5127             if ( (_RpcMessage.DataRepresentation & 0X0000FFFFUL) != NDR_LOCAL_DATA_REPRESENTATION )
5128                 NdrConvert( (PMIDL_STUB_MESSAGE) &_StubMsg, (PFORMAT_STRING) &__MIDL_ProcFormatString.Format[196] );
5129             
5130             *pVarIndex = *(( UINT __RPC_FAR * )_StubMsg.Buffer)++;
5131             
5132             _RetVal = *(( HRESULT __RPC_FAR * )_StubMsg.Buffer)++;
5133             
5134             }
5135         RpcFinally
5136             {
5137             NdrProxyFreeBuffer(This, &_StubMsg);
5138             
5139             }
5140         RpcEndFinally
5141         
5142         }
5143     RpcExcept(_StubMsg.dwStubPhase != PROXY_SENDRECEIVE)
5144         {
5145         NdrClearOutParameters(
5146                          ( PMIDL_STUB_MESSAGE  )&_StubMsg,
5147                          ( PFORMAT_STRING  )&__MIDL_TypeFormatString.Format[2],
5148                          ( void __RPC_FAR * )pVarIndex);
5149         _RetVal = NdrProxyErrorHandler(RpcExceptionCode());
5150         }
5151     RpcEndExcept
5152     return _RetVal;
5153 }
5154
5155 void __RPC_STUB ITypeInfo2_GetVarIndexOfMemId_Stub(
5156     IRpcStubBuffer *This,
5157     IRpcChannelBuffer *_pRpcChannelBuffer,
5158     PRPC_MESSAGE _pRpcMessage,
5159     DWORD *_pdwStubPhase)
5160 {
5161     UINT _M52;
5162     HRESULT _RetVal;
5163     MIDL_STUB_MESSAGE _StubMsg;
5164     MEMBERID memid;
5165     UINT __RPC_FAR *pVarIndex;
5166     
5167 NdrStubInitialize(
5168                      _pRpcMessage,
5169                      &_StubMsg,
5170                      &Object_StubDesc,
5171                      _pRpcChannelBuffer);
5172     ( UINT __RPC_FAR * )pVarIndex = 0;
5173     RpcTryFinally
5174         {
5175         if ( (_pRpcMessage->DataRepresentation & 0X0000FFFFUL) != NDR_LOCAL_DATA_REPRESENTATION )
5176             NdrConvert( (PMIDL_STUB_MESSAGE) &_StubMsg, (PFORMAT_STRING) &__MIDL_ProcFormatString.Format[196] );
5177         
5178         memid = *(( MEMBERID __RPC_FAR * )_StubMsg.Buffer)++;
5179         
5180         pVarIndex = &_M52;
5181         
5182         *_pdwStubPhase = STUB_CALL_SERVER;
5183         _RetVal = (((ITypeInfo2*) ((CStdStubBuffer *)This)->pvServerObject)->lpVtbl) -> GetVarIndexOfMemId(
5184                       (ITypeInfo2 *) ((CStdStubBuffer *)This)->pvServerObject,
5185                       memid,
5186                       pVarIndex);
5187         
5188         *_pdwStubPhase = STUB_MARSHAL;
5189         
5190         _StubMsg.BufferLength = 4U + 4U;
5191         NdrStubGetBuffer(This, _pRpcChannelBuffer, &_StubMsg);
5192         *(( UINT __RPC_FAR * )_StubMsg.Buffer)++ = *pVarIndex;
5193         
5194         *(( HRESULT __RPC_FAR * )_StubMsg.Buffer)++ = _RetVal;
5195         
5196         }
5197     RpcFinally
5198         {
5199         }
5200     RpcEndFinally
5201     _pRpcMessage->BufferLength = 
5202         (unsigned int)((long)_StubMsg.Buffer - (long)_pRpcMessage->Buffer);
5203     
5204 }
5205
5206
5207 HRESULT STDMETHODCALLTYPE ITypeInfo2_GetCustData_Proxy( 
5208     ITypeInfo2 __RPC_FAR * This,
5209     /* [in] */ REFGUID guid,
5210     /* [out] */ VARIANT __RPC_FAR *pVarVal)
5211 {
5212
5213     HRESULT _RetVal;
5214     
5215     RPC_MESSAGE _RpcMessage;
5216     
5217     MIDL_STUB_MESSAGE _StubMsg;
5218     
5219     if(pVarVal)
5220         {
5221         MIDL_memset(
5222                pVarVal,
5223                0,
5224                sizeof( VARIANT  ));
5225         }
5226     RpcTryExcept
5227         {
5228         NdrProxyInitialize(
5229                       ( void __RPC_FAR *  )This,
5230                       ( PRPC_MESSAGE  )&_RpcMessage,
5231                       ( PMIDL_STUB_MESSAGE  )&_StubMsg,
5232                       ( PMIDL_STUB_DESC  )&Object_StubDesc,
5233                       26);
5234         
5235         
5236         
5237         if(!guid)
5238             {
5239             RpcRaiseException(RPC_X_NULL_REF_POINTER);
5240             }
5241         if(!pVarVal)
5242             {
5243             RpcRaiseException(RPC_X_NULL_REF_POINTER);
5244             }
5245         RpcTryFinally
5246             {
5247             
5248             _StubMsg.BufferLength = 0U;
5249             NdrSimpleStructBufferSize( (PMIDL_STUB_MESSAGE) &_StubMsg,
5250                                        (unsigned char __RPC_FAR *)guid,
5251                                        (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[38] );
5252             
5253             NdrProxyGetBuffer(This, &_StubMsg);
5254             NdrSimpleStructMarshall( (PMIDL_STUB_MESSAGE)& _StubMsg,
5255                                      (unsigned char __RPC_FAR *)guid,
5256                                      (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[38] );
5257             
5258             NdrProxySendReceive(This, &_StubMsg);
5259             
5260             if ( (_RpcMessage.DataRepresentation & 0X0000FFFFUL) != NDR_LOCAL_DATA_REPRESENTATION )
5261                 NdrConvert( (PMIDL_STUB_MESSAGE) &_StubMsg, (PFORMAT_STRING) &__MIDL_ProcFormatString.Format[298] );
5262             
5263             NdrUserMarshalUnmarshall( (PMIDL_STUB_MESSAGE) &_StubMsg,
5264                                       (unsigned char __RPC_FAR * __RPC_FAR *)&pVarVal,
5265                                       (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[1110],
5266                                       (unsigned char)0 );
5267             
5268             _StubMsg.Buffer = (unsigned char __RPC_FAR *)(((long)_StubMsg.Buffer + 3) & ~ 0x3);
5269             _RetVal = *(( HRESULT __RPC_FAR * )_StubMsg.Buffer)++;
5270             
5271             }
5272         RpcFinally
5273             {
5274             NdrProxyFreeBuffer(This, &_StubMsg);
5275             
5276             }
5277         RpcEndFinally
5278         
5279         }
5280     RpcExcept(_StubMsg.dwStubPhase != PROXY_SENDRECEIVE)
5281         {
5282         NdrClearOutParameters(
5283                          ( PMIDL_STUB_MESSAGE  )&_StubMsg,
5284                          ( PFORMAT_STRING  )&__MIDL_TypeFormatString.Format[1102],
5285                          ( void __RPC_FAR * )pVarVal);
5286         _RetVal = NdrProxyErrorHandler(RpcExceptionCode());
5287         }
5288     RpcEndExcept
5289     return _RetVal;
5290 }
5291
5292 void __RPC_STUB ITypeInfo2_GetCustData_Stub(
5293     IRpcStubBuffer *This,
5294     IRpcChannelBuffer *_pRpcChannelBuffer,
5295     PRPC_MESSAGE _pRpcMessage,
5296     DWORD *_pdwStubPhase)
5297 {
5298     VARIANT _M53;
5299     HRESULT _RetVal;
5300     MIDL_STUB_MESSAGE _StubMsg;
5301     REFGUID guid = 0;
5302     VARIANT __RPC_FAR *pVarVal;
5303     
5304 NdrStubInitialize(
5305                      _pRpcMessage,
5306                      &_StubMsg,
5307                      &Object_StubDesc,
5308                      _pRpcChannelBuffer);
5309     ( VARIANT __RPC_FAR * )pVarVal = 0;
5310     RpcTryFinally
5311         {
5312         if ( (_pRpcMessage->DataRepresentation & 0X0000FFFFUL) != NDR_LOCAL_DATA_REPRESENTATION )
5313             NdrConvert( (PMIDL_STUB_MESSAGE) &_StubMsg, (PFORMAT_STRING) &__MIDL_ProcFormatString.Format[298] );
5314         
5315         NdrSimpleStructUnmarshall( (PMIDL_STUB_MESSAGE) &_StubMsg,
5316                                    (unsigned char __RPC_FAR * __RPC_FAR *)&guid,
5317                                    (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[38],
5318                                    (unsigned char)0 );
5319         
5320         pVarVal = &_M53;
5321         MIDL_memset(
5322                pVarVal,
5323                0,
5324                sizeof( VARIANT  ));
5325         
5326         *_pdwStubPhase = STUB_CALL_SERVER;
5327         _RetVal = (((ITypeInfo2*) ((CStdStubBuffer *)This)->pvServerObject)->lpVtbl) -> GetCustData(
5328                (ITypeInfo2 *) ((CStdStubBuffer *)This)->pvServerObject,
5329                guid,
5330                pVarVal);
5331         
5332         *_pdwStubPhase = STUB_MARSHAL;
5333         
5334         _StubMsg.BufferLength = 8U + 11U;
5335         NdrUserMarshalBufferSize( (PMIDL_STUB_MESSAGE) &_StubMsg,
5336                                   (unsigned char __RPC_FAR *)pVarVal,
5337                                   (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[1110] );
5338         
5339         _StubMsg.BufferLength += 16;
5340         
5341         NdrStubGetBuffer(This, _pRpcChannelBuffer, &_StubMsg);
5342         NdrUserMarshalMarshall( (PMIDL_STUB_MESSAGE)& _StubMsg,
5343                                 (unsigned char __RPC_FAR *)pVarVal,
5344                                 (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[1110] );
5345         
5346         _StubMsg.Buffer = (unsigned char __RPC_FAR *)(((long)_StubMsg.Buffer + 3) & ~ 0x3);
5347         *(( HRESULT __RPC_FAR * )_StubMsg.Buffer)++ = _RetVal;
5348         
5349         }
5350     RpcFinally
5351         {
5352         NdrPointerFree( &_StubMsg,
5353                         (unsigned char __RPC_FAR *)pVarVal,
5354                         &__MIDL_TypeFormatString.Format[1102] );
5355         
5356         }
5357     RpcEndFinally
5358     _pRpcMessage->BufferLength = 
5359         (unsigned int)((long)_StubMsg.Buffer - (long)_pRpcMessage->Buffer);
5360     
5361 }
5362
5363
5364 HRESULT STDMETHODCALLTYPE ITypeInfo2_GetFuncCustData_Proxy( 
5365     ITypeInfo2 __RPC_FAR * This,
5366     /* [in] */ UINT index,
5367     /* [in] */ REFGUID guid,
5368     /* [out] */ VARIANT __RPC_FAR *pVarVal)
5369 {
5370
5371     HRESULT _RetVal;
5372     
5373     RPC_MESSAGE _RpcMessage;
5374     
5375     MIDL_STUB_MESSAGE _StubMsg;
5376     
5377     if(pVarVal)
5378         {
5379         MIDL_memset(
5380                pVarVal,
5381                0,
5382                sizeof( VARIANT  ));
5383         }
5384     RpcTryExcept
5385         {
5386         NdrProxyInitialize(
5387                       ( void __RPC_FAR *  )This,
5388                       ( PRPC_MESSAGE  )&_RpcMessage,
5389                       ( PMIDL_STUB_MESSAGE  )&_StubMsg,
5390                       ( PMIDL_STUB_DESC  )&Object_StubDesc,
5391                       27);
5392         
5393         
5394         
5395         if(!guid)
5396             {
5397             RpcRaiseException(RPC_X_NULL_REF_POINTER);
5398             }
5399         if(!pVarVal)
5400             {
5401             RpcRaiseException(RPC_X_NULL_REF_POINTER);
5402             }
5403         RpcTryFinally
5404             {
5405             
5406             _StubMsg.BufferLength = 4U + 4U;
5407             NdrSimpleStructBufferSize( (PMIDL_STUB_MESSAGE) &_StubMsg,
5408                                        (unsigned char __RPC_FAR *)guid,
5409                                        (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[38] );
5410             
5411             NdrProxyGetBuffer(This, &_StubMsg);
5412             *(( UINT __RPC_FAR * )_StubMsg.Buffer)++ = index;
5413             
5414             NdrSimpleStructMarshall( (PMIDL_STUB_MESSAGE)& _StubMsg,
5415                                      (unsigned char __RPC_FAR *)guid,
5416                                      (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[38] );
5417             
5418             NdrProxySendReceive(This, &_StubMsg);
5419             
5420             if ( (_RpcMessage.DataRepresentation & 0X0000FFFFUL) != NDR_LOCAL_DATA_REPRESENTATION )
5421                 NdrConvert( (PMIDL_STUB_MESSAGE) &_StubMsg, (PFORMAT_STRING) &__MIDL_ProcFormatString.Format[308] );
5422             
5423             NdrUserMarshalUnmarshall( (PMIDL_STUB_MESSAGE) &_StubMsg,
5424                                       (unsigned char __RPC_FAR * __RPC_FAR *)&pVarVal,
5425                                       (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[1110],
5426                                       (unsigned char)0 );
5427             
5428             _StubMsg.Buffer = (unsigned char __RPC_FAR *)(((long)_StubMsg.Buffer + 3) & ~ 0x3);
5429             _RetVal = *(( HRESULT __RPC_FAR * )_StubMsg.Buffer)++;
5430             
5431             }
5432         RpcFinally
5433             {
5434             NdrProxyFreeBuffer(This, &_StubMsg);
5435             
5436             }
5437         RpcEndFinally
5438         
5439         }
5440     RpcExcept(_StubMsg.dwStubPhase != PROXY_SENDRECEIVE)
5441         {
5442         NdrClearOutParameters(
5443                          ( PMIDL_STUB_MESSAGE  )&_StubMsg,
5444                          ( PFORMAT_STRING  )&__MIDL_TypeFormatString.Format[1102],
5445                          ( void __RPC_FAR * )pVarVal);
5446         _RetVal = NdrProxyErrorHandler(RpcExceptionCode());
5447         }
5448     RpcEndExcept
5449     return _RetVal;
5450 }
5451
5452 void __RPC_STUB ITypeInfo2_GetFuncCustData_Stub(
5453     IRpcStubBuffer *This,
5454     IRpcChannelBuffer *_pRpcChannelBuffer,
5455     PRPC_MESSAGE _pRpcMessage,
5456     DWORD *_pdwStubPhase)
5457 {
5458     VARIANT _M54;
5459     HRESULT _RetVal;
5460     MIDL_STUB_MESSAGE _StubMsg;
5461     REFGUID guid = 0;
5462     UINT index;
5463     VARIANT __RPC_FAR *pVarVal;
5464     
5465 NdrStubInitialize(
5466                      _pRpcMessage,
5467                      &_StubMsg,
5468                      &Object_StubDesc,
5469                      _pRpcChannelBuffer);
5470     ( VARIANT __RPC_FAR * )pVarVal = 0;
5471     RpcTryFinally
5472         {
5473         if ( (_pRpcMessage->DataRepresentation & 0X0000FFFFUL) != NDR_LOCAL_DATA_REPRESENTATION )
5474             NdrConvert( (PMIDL_STUB_MESSAGE) &_StubMsg, (PFORMAT_STRING) &__MIDL_ProcFormatString.Format[308] );
5475         
5476         index = *(( UINT __RPC_FAR * )_StubMsg.Buffer)++;
5477         
5478         NdrSimpleStructUnmarshall( (PMIDL_STUB_MESSAGE) &_StubMsg,
5479                                    (unsigned char __RPC_FAR * __RPC_FAR *)&guid,
5480                                    (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[38],
5481                                    (unsigned char)0 );
5482         
5483         pVarVal = &_M54;
5484         MIDL_memset(
5485                pVarVal,
5486                0,
5487                sizeof( VARIANT  ));
5488         
5489         *_pdwStubPhase = STUB_CALL_SERVER;
5490         _RetVal = (((ITypeInfo2*) ((CStdStubBuffer *)This)->pvServerObject)->lpVtbl) -> GetFuncCustData(
5491                    (ITypeInfo2 *) ((CStdStubBuffer *)This)->pvServerObject,
5492                    index,
5493                    guid,
5494                    pVarVal);
5495         
5496         *_pdwStubPhase = STUB_MARSHAL;
5497         
5498         _StubMsg.BufferLength = 8U + 11U;
5499         NdrUserMarshalBufferSize( (PMIDL_STUB_MESSAGE) &_StubMsg,
5500                                   (unsigned char __RPC_FAR *)pVarVal,
5501                                   (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[1110] );
5502         
5503         _StubMsg.BufferLength += 16;
5504         
5505         NdrStubGetBuffer(This, _pRpcChannelBuffer, &_StubMsg);
5506         NdrUserMarshalMarshall( (PMIDL_STUB_MESSAGE)& _StubMsg,
5507                                 (unsigned char __RPC_FAR *)pVarVal,
5508                                 (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[1110] );
5509         
5510         _StubMsg.Buffer = (unsigned char __RPC_FAR *)(((long)_StubMsg.Buffer + 3) & ~ 0x3);
5511         *(( HRESULT __RPC_FAR * )_StubMsg.Buffer)++ = _RetVal;
5512         
5513         }
5514     RpcFinally
5515         {
5516         NdrPointerFree( &_StubMsg,
5517                         (unsigned char __RPC_FAR *)pVarVal,
5518                         &__MIDL_TypeFormatString.Format[1102] );
5519         
5520         }
5521     RpcEndFinally
5522     _pRpcMessage->BufferLength = 
5523         (unsigned int)((long)_StubMsg.Buffer - (long)_pRpcMessage->Buffer);
5524     
5525 }
5526
5527
5528 HRESULT STDMETHODCALLTYPE ITypeInfo2_GetParamCustData_Proxy( 
5529     ITypeInfo2 __RPC_FAR * This,
5530     /* [in] */ UINT indexFunc,
5531     /* [in] */ UINT indexParam,
5532     /* [in] */ REFGUID guid,
5533     /* [out] */ VARIANT __RPC_FAR *pVarVal)
5534 {
5535
5536     HRESULT _RetVal;
5537     
5538     RPC_MESSAGE _RpcMessage;
5539     
5540     MIDL_STUB_MESSAGE _StubMsg;
5541     
5542     if(pVarVal)
5543         {
5544         MIDL_memset(
5545                pVarVal,
5546                0,
5547                sizeof( VARIANT  ));
5548         }
5549     RpcTryExcept
5550         {
5551         NdrProxyInitialize(
5552                       ( void __RPC_FAR *  )This,
5553                       ( PRPC_MESSAGE  )&_RpcMessage,
5554                       ( PMIDL_STUB_MESSAGE  )&_StubMsg,
5555                       ( PMIDL_STUB_DESC  )&Object_StubDesc,
5556                       28);
5557         
5558         
5559         
5560         if(!guid)
5561             {
5562             RpcRaiseException(RPC_X_NULL_REF_POINTER);
5563             }
5564         if(!pVarVal)
5565             {
5566             RpcRaiseException(RPC_X_NULL_REF_POINTER);
5567             }
5568         RpcTryFinally
5569             {
5570             
5571             _StubMsg.BufferLength = 4U + 4U + 0U;
5572             NdrSimpleStructBufferSize( (PMIDL_STUB_MESSAGE) &_StubMsg,
5573                                        (unsigned char __RPC_FAR *)guid,
5574                                        (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[38] );
5575             
5576             NdrProxyGetBuffer(This, &_StubMsg);
5577             *(( UINT __RPC_FAR * )_StubMsg.Buffer)++ = indexFunc;
5578             
5579             *(( UINT __RPC_FAR * )_StubMsg.Buffer)++ = indexParam;
5580             
5581             NdrSimpleStructMarshall( (PMIDL_STUB_MESSAGE)& _StubMsg,
5582                                      (unsigned char __RPC_FAR *)guid,
5583                                      (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[38] );
5584             
5585             NdrProxySendReceive(This, &_StubMsg);
5586             
5587             if ( (_RpcMessage.DataRepresentation & 0X0000FFFFUL) != NDR_LOCAL_DATA_REPRESENTATION )
5588                 NdrConvert( (PMIDL_STUB_MESSAGE) &_StubMsg, (PFORMAT_STRING) &__MIDL_ProcFormatString.Format[320] );
5589             
5590             NdrUserMarshalUnmarshall( (PMIDL_STUB_MESSAGE) &_StubMsg,
5591                                       (unsigned char __RPC_FAR * __RPC_FAR *)&pVarVal,
5592                                       (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[1110],
5593                                       (unsigned char)0 );
5594             
5595             _StubMsg.Buffer = (unsigned char __RPC_FAR *)(((long)_StubMsg.Buffer + 3) & ~ 0x3);
5596             _RetVal = *(( HRESULT __RPC_FAR * )_StubMsg.Buffer)++;
5597             
5598             }
5599         RpcFinally
5600             {
5601             NdrProxyFreeBuffer(This, &_StubMsg);
5602             
5603             }
5604         RpcEndFinally
5605         
5606         }
5607     RpcExcept(_StubMsg.dwStubPhase != PROXY_SENDRECEIVE)
5608         {
5609         NdrClearOutParameters(
5610                          ( PMIDL_STUB_MESSAGE  )&_StubMsg,
5611                          ( PFORMAT_STRING  )&__MIDL_TypeFormatString.Format[1102],
5612                          ( void __RPC_FAR * )pVarVal);
5613         _RetVal = NdrProxyErrorHandler(RpcExceptionCode());
5614         }
5615     RpcEndExcept
5616     return _RetVal;
5617 }
5618
5619 void __RPC_STUB ITypeInfo2_GetParamCustData_Stub(
5620     IRpcStubBuffer *This,
5621     IRpcChannelBuffer *_pRpcChannelBuffer,
5622     PRPC_MESSAGE _pRpcMessage,
5623     DWORD *_pdwStubPhase)
5624 {
5625     VARIANT _M55;
5626     HRESULT _RetVal;
5627     MIDL_STUB_MESSAGE _StubMsg;
5628     REFGUID guid = 0;
5629     UINT indexFunc;
5630     UINT indexParam;
5631     VARIANT __RPC_FAR *pVarVal;
5632     
5633 NdrStubInitialize(
5634                      _pRpcMessage,
5635                      &_StubMsg,
5636                      &Object_StubDesc,
5637                      _pRpcChannelBuffer);
5638     ( VARIANT __RPC_FAR * )pVarVal = 0;
5639     RpcTryFinally
5640         {
5641         if ( (_pRpcMessage->DataRepresentation & 0X0000FFFFUL) != NDR_LOCAL_DATA_REPRESENTATION )
5642             NdrConvert( (PMIDL_STUB_MESSAGE) &_StubMsg, (PFORMAT_STRING) &__MIDL_ProcFormatString.Format[320] );
5643         
5644         indexFunc = *(( UINT __RPC_FAR * )_StubMsg.Buffer)++;
5645         
5646         indexParam = *(( UINT __RPC_FAR * )_StubMsg.Buffer)++;
5647         
5648         NdrSimpleStructUnmarshall( (PMIDL_STUB_MESSAGE) &_StubMsg,
5649                                    (unsigned char __RPC_FAR * __RPC_FAR *)&guid,
5650                                    (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[38],
5651                                    (unsigned char)0 );
5652         
5653         pVarVal = &_M55;
5654         MIDL_memset(
5655                pVarVal,
5656                0,
5657                sizeof( VARIANT  ));
5658         
5659         *_pdwStubPhase = STUB_CALL_SERVER;
5660         _RetVal = (((ITypeInfo2*) ((CStdStubBuffer *)This)->pvServerObject)->lpVtbl) -> GetParamCustData(
5661                     (ITypeInfo2 *) ((CStdStubBuffer *)This)->pvServerObject,
5662                     indexFunc,
5663                     indexParam,
5664                     guid,
5665                     pVarVal);
5666         
5667         *_pdwStubPhase = STUB_MARSHAL;
5668         
5669         _StubMsg.BufferLength = 8U + 11U;
5670         NdrUserMarshalBufferSize( (PMIDL_STUB_MESSAGE) &_StubMsg,
5671                                   (unsigned char __RPC_FAR *)pVarVal,
5672                                   (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[1110] );
5673         
5674         _StubMsg.BufferLength += 16;
5675         
5676         NdrStubGetBuffer(This, _pRpcChannelBuffer, &_StubMsg);
5677         NdrUserMarshalMarshall( (PMIDL_STUB_MESSAGE)& _StubMsg,
5678                                 (unsigned char __RPC_FAR *)pVarVal,
5679                                 (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[1110] );
5680         
5681         _StubMsg.Buffer = (unsigned char __RPC_FAR *)(((long)_StubMsg.Buffer + 3) & ~ 0x3);
5682         *(( HRESULT __RPC_FAR * )_StubMsg.Buffer)++ = _RetVal;
5683         
5684         }
5685     RpcFinally
5686         {
5687         NdrPointerFree( &_StubMsg,
5688                         (unsigned char __RPC_FAR *)pVarVal,
5689                         &__MIDL_TypeFormatString.Format[1102] );
5690         
5691         }
5692     RpcEndFinally
5693     _pRpcMessage->BufferLength = 
5694         (unsigned int)((long)_StubMsg.Buffer - (long)_pRpcMessage->Buffer);
5695     
5696 }
5697
5698
5699 HRESULT STDMETHODCALLTYPE ITypeInfo2_GetVarCustData_Proxy( 
5700     ITypeInfo2 __RPC_FAR * This,
5701     /* [in] */ UINT index,
5702     /* [in] */ REFGUID guid,
5703     /* [out] */ VARIANT __RPC_FAR *pVarVal)
5704 {
5705
5706     HRESULT _RetVal;
5707     
5708     RPC_MESSAGE _RpcMessage;
5709     
5710     MIDL_STUB_MESSAGE _StubMsg;
5711     
5712     if(pVarVal)
5713         {
5714         MIDL_memset(
5715                pVarVal,
5716                0,
5717                sizeof( VARIANT  ));
5718         }
5719     RpcTryExcept
5720         {
5721         NdrProxyInitialize(
5722                       ( void __RPC_FAR *  )This,
5723                       ( PRPC_MESSAGE  )&_RpcMessage,
5724                       ( PMIDL_STUB_MESSAGE  )&_StubMsg,
5725                       ( PMIDL_STUB_DESC  )&Object_StubDesc,
5726                       29);
5727         
5728         
5729         
5730         if(!guid)
5731             {
5732             RpcRaiseException(RPC_X_NULL_REF_POINTER);
5733             }
5734         if(!pVarVal)
5735             {
5736             RpcRaiseException(RPC_X_NULL_REF_POINTER);
5737             }
5738         RpcTryFinally
5739             {
5740             
5741             _StubMsg.BufferLength = 4U + 4U;
5742             NdrSimpleStructBufferSize( (PMIDL_STUB_MESSAGE) &_StubMsg,
5743                                        (unsigned char __RPC_FAR *)guid,
5744                                        (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[38] );
5745             
5746             NdrProxyGetBuffer(This, &_StubMsg);
5747             *(( UINT __RPC_FAR * )_StubMsg.Buffer)++ = index;
5748             
5749             NdrSimpleStructMarshall( (PMIDL_STUB_MESSAGE)& _StubMsg,
5750                                      (unsigned char __RPC_FAR *)guid,
5751                                      (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[38] );
5752             
5753             NdrProxySendReceive(This, &_StubMsg);
5754             
5755             if ( (_RpcMessage.DataRepresentation & 0X0000FFFFUL) != NDR_LOCAL_DATA_REPRESENTATION )
5756                 NdrConvert( (PMIDL_STUB_MESSAGE) &_StubMsg, (PFORMAT_STRING) &__MIDL_ProcFormatString.Format[308] );
5757             
5758             NdrUserMarshalUnmarshall( (PMIDL_STUB_MESSAGE) &_StubMsg,
5759                                       (unsigned char __RPC_FAR * __RPC_FAR *)&pVarVal,
5760                                       (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[1110],
5761                                       (unsigned char)0 );
5762             
5763             _StubMsg.Buffer = (unsigned char __RPC_FAR *)(((long)_StubMsg.Buffer + 3) & ~ 0x3);
5764             _RetVal = *(( HRESULT __RPC_FAR * )_StubMsg.Buffer)++;
5765             
5766             }
5767         RpcFinally
5768             {
5769             NdrProxyFreeBuffer(This, &_StubMsg);
5770             
5771             }
5772         RpcEndFinally
5773         
5774         }
5775     RpcExcept(_StubMsg.dwStubPhase != PROXY_SENDRECEIVE)
5776         {
5777         NdrClearOutParameters(
5778                          ( PMIDL_STUB_MESSAGE  )&_StubMsg,
5779                          ( PFORMAT_STRING  )&__MIDL_TypeFormatString.Format[1102],
5780                          ( void __RPC_FAR * )pVarVal);
5781         _RetVal = NdrProxyErrorHandler(RpcExceptionCode());
5782         }
5783     RpcEndExcept
5784     return _RetVal;
5785 }
5786
5787 void __RPC_STUB ITypeInfo2_GetVarCustData_Stub(
5788     IRpcStubBuffer *This,
5789     IRpcChannelBuffer *_pRpcChannelBuffer,
5790     PRPC_MESSAGE _pRpcMessage,
5791     DWORD *_pdwStubPhase)
5792 {
5793     VARIANT _M56;
5794     HRESULT _RetVal;
5795     MIDL_STUB_MESSAGE _StubMsg;
5796     REFGUID guid = 0;
5797     UINT index;
5798     VARIANT __RPC_FAR *pVarVal;
5799     
5800 NdrStubInitialize(
5801                      _pRpcMessage,
5802                      &_StubMsg,
5803                      &Object_StubDesc,
5804                      _pRpcChannelBuffer);
5805     ( VARIANT __RPC_FAR * )pVarVal = 0;
5806     RpcTryFinally
5807         {
5808         if ( (_pRpcMessage->DataRepresentation & 0X0000FFFFUL) != NDR_LOCAL_DATA_REPRESENTATION )
5809             NdrConvert( (PMIDL_STUB_MESSAGE) &_StubMsg, (PFORMAT_STRING) &__MIDL_ProcFormatString.Format[308] );
5810         
5811         index = *(( UINT __RPC_FAR * )_StubMsg.Buffer)++;
5812         
5813         NdrSimpleStructUnmarshall( (PMIDL_STUB_MESSAGE) &_StubMsg,
5814                                    (unsigned char __RPC_FAR * __RPC_FAR *)&guid,
5815                                    (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[38],
5816                                    (unsigned char)0 );
5817         
5818         pVarVal = &_M56;
5819         MIDL_memset(
5820                pVarVal,
5821                0,
5822                sizeof( VARIANT  ));
5823         
5824         *_pdwStubPhase = STUB_CALL_SERVER;
5825         _RetVal = (((ITypeInfo2*) ((CStdStubBuffer *)This)->pvServerObject)->lpVtbl) -> GetVarCustData(
5826                   (ITypeInfo2 *) ((CStdStubBuffer *)This)->pvServerObject,
5827                   index,
5828                   guid,
5829                   pVarVal);
5830         
5831         *_pdwStubPhase = STUB_MARSHAL;
5832         
5833         _StubMsg.BufferLength = 8U + 11U;
5834         NdrUserMarshalBufferSize( (PMIDL_STUB_MESSAGE) &_StubMsg,
5835                                   (unsigned char __RPC_FAR *)pVarVal,
5836                                   (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[1110] );
5837         
5838         _StubMsg.BufferLength += 16;
5839         
5840         NdrStubGetBuffer(This, _pRpcChannelBuffer, &_StubMsg);
5841         NdrUserMarshalMarshall( (PMIDL_STUB_MESSAGE)& _StubMsg,
5842                                 (unsigned char __RPC_FAR *)pVarVal,
5843                                 (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[1110] );
5844         
5845         _StubMsg.Buffer = (unsigned char __RPC_FAR *)(((long)_StubMsg.Buffer + 3) & ~ 0x3);
5846         *(( HRESULT __RPC_FAR * )_StubMsg.Buffer)++ = _RetVal;
5847         
5848         }
5849     RpcFinally
5850         {
5851         NdrPointerFree( &_StubMsg,
5852                         (unsigned char __RPC_FAR *)pVarVal,
5853                         &__MIDL_TypeFormatString.Format[1102] );
5854         
5855         }
5856     RpcEndFinally
5857     _pRpcMessage->BufferLength = 
5858         (unsigned int)((long)_StubMsg.Buffer - (long)_pRpcMessage->Buffer);
5859     
5860 }
5861
5862
5863 HRESULT STDMETHODCALLTYPE ITypeInfo2_GetImplTypeCustData_Proxy( 
5864     ITypeInfo2 __RPC_FAR * This,
5865     /* [in] */ UINT index,
5866     /* [in] */ REFGUID guid,
5867     /* [out] */ VARIANT __RPC_FAR *pVarVal)
5868 {
5869
5870     HRESULT _RetVal;
5871     
5872     RPC_MESSAGE _RpcMessage;
5873     
5874     MIDL_STUB_MESSAGE _StubMsg;
5875     
5876     if(pVarVal)
5877         {
5878         MIDL_memset(
5879                pVarVal,
5880                0,
5881                sizeof( VARIANT  ));
5882         }
5883     RpcTryExcept
5884         {
5885         NdrProxyInitialize(
5886                       ( void __RPC_FAR *  )This,
5887                       ( PRPC_MESSAGE  )&_RpcMessage,
5888                       ( PMIDL_STUB_MESSAGE  )&_StubMsg,
5889                       ( PMIDL_STUB_DESC  )&Object_StubDesc,
5890                       30);
5891         
5892         
5893         
5894         if(!guid)
5895             {
5896             RpcRaiseException(RPC_X_NULL_REF_POINTER);
5897             }
5898         if(!pVarVal)
5899             {
5900             RpcRaiseException(RPC_X_NULL_REF_POINTER);
5901             }
5902         RpcTryFinally
5903             {
5904             
5905             _StubMsg.BufferLength = 4U + 4U;
5906             NdrSimpleStructBufferSize( (PMIDL_STUB_MESSAGE) &_StubMsg,
5907                                        (unsigned char __RPC_FAR *)guid,
5908                                        (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[38] );
5909             
5910             NdrProxyGetBuffer(This, &_StubMsg);
5911             *(( UINT __RPC_FAR * )_StubMsg.Buffer)++ = index;
5912             
5913             NdrSimpleStructMarshall( (PMIDL_STUB_MESSAGE)& _StubMsg,
5914                                      (unsigned char __RPC_FAR *)guid,
5915                                      (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[38] );
5916             
5917             NdrProxySendReceive(This, &_StubMsg);
5918             
5919             if ( (_RpcMessage.DataRepresentation & 0X0000FFFFUL) != NDR_LOCAL_DATA_REPRESENTATION )
5920                 NdrConvert( (PMIDL_STUB_MESSAGE) &_StubMsg, (PFORMAT_STRING) &__MIDL_ProcFormatString.Format[308] );
5921             
5922             NdrUserMarshalUnmarshall( (PMIDL_STUB_MESSAGE) &_StubMsg,
5923                                       (unsigned char __RPC_FAR * __RPC_FAR *)&pVarVal,
5924                                       (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[1110],
5925                                       (unsigned char)0 );
5926             
5927             _StubMsg.Buffer = (unsigned char __RPC_FAR *)(((long)_StubMsg.Buffer + 3) & ~ 0x3);
5928             _RetVal = *(( HRESULT __RPC_FAR * )_StubMsg.Buffer)++;
5929             
5930             }
5931         RpcFinally
5932             {
5933             NdrProxyFreeBuffer(This, &_StubMsg);
5934             
5935             }
5936         RpcEndFinally
5937         
5938         }
5939     RpcExcept(_StubMsg.dwStubPhase != PROXY_SENDRECEIVE)
5940         {
5941         NdrClearOutParameters(
5942                          ( PMIDL_STUB_MESSAGE  )&_StubMsg,
5943                          ( PFORMAT_STRING  )&__MIDL_TypeFormatString.Format[1102],
5944                          ( void __RPC_FAR * )pVarVal);
5945         _RetVal = NdrProxyErrorHandler(RpcExceptionCode());
5946         }
5947     RpcEndExcept
5948     return _RetVal;
5949 }
5950
5951 void __RPC_STUB ITypeInfo2_GetImplTypeCustData_Stub(
5952     IRpcStubBuffer *This,
5953     IRpcChannelBuffer *_pRpcChannelBuffer,
5954     PRPC_MESSAGE _pRpcMessage,
5955     DWORD *_pdwStubPhase)
5956 {
5957     VARIANT _M57;
5958     HRESULT _RetVal;
5959     MIDL_STUB_MESSAGE _StubMsg;
5960     REFGUID guid = 0;
5961     UINT index;
5962     VARIANT __RPC_FAR *pVarVal;
5963     
5964 NdrStubInitialize(
5965                      _pRpcMessage,
5966                      &_StubMsg,
5967                      &Object_StubDesc,
5968                      _pRpcChannelBuffer);
5969     ( VARIANT __RPC_FAR * )pVarVal = 0;
5970     RpcTryFinally
5971         {
5972         if ( (_pRpcMessage->DataRepresentation & 0X0000FFFFUL) != NDR_LOCAL_DATA_REPRESENTATION )
5973             NdrConvert( (PMIDL_STUB_MESSAGE) &_StubMsg, (PFORMAT_STRING) &__MIDL_ProcFormatString.Format[308] );
5974         
5975         index = *(( UINT __RPC_FAR * )_StubMsg.Buffer)++;
5976         
5977         NdrSimpleStructUnmarshall( (PMIDL_STUB_MESSAGE) &_StubMsg,
5978                                    (unsigned char __RPC_FAR * __RPC_FAR *)&guid,
5979                                    (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[38],
5980                                    (unsigned char)0 );
5981         
5982         pVarVal = &_M57;
5983         MIDL_memset(
5984                pVarVal,
5985                0,
5986                sizeof( VARIANT  ));
5987         
5988         *_pdwStubPhase = STUB_CALL_SERVER;
5989         _RetVal = (((ITypeInfo2*) ((CStdStubBuffer *)This)->pvServerObject)->lpVtbl) -> GetImplTypeCustData(
5990                        (ITypeInfo2 *) ((CStdStubBuffer *)This)->pvServerObject,
5991                        index,
5992                        guid,
5993                        pVarVal);
5994         
5995         *_pdwStubPhase = STUB_MARSHAL;
5996         
5997         _StubMsg.BufferLength = 8U + 11U;
5998         NdrUserMarshalBufferSize( (PMIDL_STUB_MESSAGE) &_StubMsg,
5999                                   (unsigned char __RPC_FAR *)pVarVal,
6000                                   (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[1110] );
6001         
6002         _StubMsg.BufferLength += 16;
6003         
6004         NdrStubGetBuffer(This, _pRpcChannelBuffer, &_StubMsg);
6005         NdrUserMarshalMarshall( (PMIDL_STUB_MESSAGE)& _StubMsg,
6006                                 (unsigned char __RPC_FAR *)pVarVal,
6007                                 (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[1110] );
6008         
6009         _StubMsg.Buffer = (unsigned char __RPC_FAR *)(((long)_StubMsg.Buffer + 3) & ~ 0x3);
6010         *(( HRESULT __RPC_FAR * )_StubMsg.Buffer)++ = _RetVal;
6011         
6012         }
6013     RpcFinally
6014         {
6015         NdrPointerFree( &_StubMsg,
6016                         (unsigned char __RPC_FAR *)pVarVal,
6017                         &__MIDL_TypeFormatString.Format[1102] );
6018         
6019         }
6020     RpcEndFinally
6021     _pRpcMessage->BufferLength = 
6022         (unsigned int)((long)_StubMsg.Buffer - (long)_pRpcMessage->Buffer);
6023     
6024 }
6025
6026
6027 /* [call_as] */ HRESULT STDMETHODCALLTYPE ITypeInfo2_RemoteGetDocumentation2_Proxy( 
6028     ITypeInfo2 __RPC_FAR * This,
6029     /* [in] */ MEMBERID memid,
6030     /* [in] */ LCID lcid,
6031     /* [in] */ DWORD refPtrFlags,
6032     /* [out] */ BSTR __RPC_FAR *pbstrHelpString,
6033     /* [out] */ DWORD __RPC_FAR *pdwHelpStringContext,
6034     /* [out] */ BSTR __RPC_FAR *pbstrHelpStringDll)
6035 {
6036
6037     HRESULT _RetVal;
6038     
6039     RPC_MESSAGE _RpcMessage;
6040     
6041     MIDL_STUB_MESSAGE _StubMsg;
6042     
6043     if(pbstrHelpString)
6044         {
6045         MIDL_memset(
6046                pbstrHelpString,
6047                0,
6048                sizeof( BSTR  ));
6049         }
6050     if(pbstrHelpStringDll)
6051         {
6052         MIDL_memset(
6053                pbstrHelpStringDll,
6054                0,
6055                sizeof( BSTR  ));
6056         }
6057     RpcTryExcept
6058         {
6059         NdrProxyInitialize(
6060                       ( void __RPC_FAR *  )This,
6061                       ( PRPC_MESSAGE  )&_RpcMessage,
6062                       ( PMIDL_STUB_MESSAGE  )&_StubMsg,
6063                       ( PMIDL_STUB_DESC  )&Object_StubDesc,
6064                       31);
6065         
6066         
6067         
6068         if(!pbstrHelpString)
6069             {
6070             RpcRaiseException(RPC_X_NULL_REF_POINTER);
6071             }
6072         if(!pdwHelpStringContext)
6073             {
6074             RpcRaiseException(RPC_X_NULL_REF_POINTER);
6075             }
6076         if(!pbstrHelpStringDll)
6077             {
6078             RpcRaiseException(RPC_X_NULL_REF_POINTER);
6079             }
6080         RpcTryFinally
6081             {
6082             
6083             _StubMsg.BufferLength = 4U + 4U + 4U;
6084             NdrProxyGetBuffer(This, &_StubMsg);
6085             *(( MEMBERID __RPC_FAR * )_StubMsg.Buffer)++ = memid;
6086             
6087             *(( LCID __RPC_FAR * )_StubMsg.Buffer)++ = lcid;
6088             
6089             *(( DWORD __RPC_FAR * )_StubMsg.Buffer)++ = refPtrFlags;
6090             
6091             NdrProxySendReceive(This, &_StubMsg);
6092             
6093             if ( (_RpcMessage.DataRepresentation & 0X0000FFFFUL) != NDR_LOCAL_DATA_REPRESENTATION )
6094                 NdrConvert( (PMIDL_STUB_MESSAGE) &_StubMsg, (PFORMAT_STRING) &__MIDL_ProcFormatString.Format[334] );
6095             
6096             NdrUserMarshalUnmarshall( (PMIDL_STUB_MESSAGE) &_StubMsg,
6097                                       (unsigned char __RPC_FAR * __RPC_FAR *)&pbstrHelpString,
6098                                       (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[1128],
6099                                       (unsigned char)0 );
6100             
6101             _StubMsg.Buffer = (unsigned char __RPC_FAR *)(((long)_StubMsg.Buffer + 3) & ~ 0x3);
6102             *pdwHelpStringContext = *(( DWORD __RPC_FAR * )_StubMsg.Buffer)++;
6103             
6104             NdrUserMarshalUnmarshall( (PMIDL_STUB_MESSAGE) &_StubMsg,
6105                                       (unsigned char __RPC_FAR * __RPC_FAR *)&pbstrHelpStringDll,
6106                                       (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[1128],
6107                                       (unsigned char)0 );
6108             
6109             _StubMsg.Buffer = (unsigned char __RPC_FAR *)(((long)_StubMsg.Buffer + 3) & ~ 0x3);
6110             _RetVal = *(( HRESULT __RPC_FAR * )_StubMsg.Buffer)++;
6111             
6112             }
6113         RpcFinally
6114             {
6115             NdrProxyFreeBuffer(This, &_StubMsg);
6116             
6117             }
6118         RpcEndFinally
6119         
6120         }
6121     RpcExcept(_StubMsg.dwStubPhase != PROXY_SENDRECEIVE)
6122         {
6123         NdrClearOutParameters(
6124                          ( PMIDL_STUB_MESSAGE  )&_StubMsg,
6125                          ( PFORMAT_STRING  )&__MIDL_TypeFormatString.Format[1708],
6126                          ( void __RPC_FAR * )pbstrHelpString);
6127         NdrClearOutParameters(
6128                          ( PMIDL_STUB_MESSAGE  )&_StubMsg,
6129                          ( PFORMAT_STRING  )&__MIDL_TypeFormatString.Format[2],
6130                          ( void __RPC_FAR * )pdwHelpStringContext);
6131         NdrClearOutParameters(
6132                          ( PMIDL_STUB_MESSAGE  )&_StubMsg,
6133                          ( PFORMAT_STRING  )&__MIDL_TypeFormatString.Format[1708],
6134                          ( void __RPC_FAR * )pbstrHelpStringDll);
6135         _RetVal = NdrProxyErrorHandler(RpcExceptionCode());
6136         }
6137     RpcEndExcept
6138     return _RetVal;
6139 }
6140
6141 void __RPC_STUB ITypeInfo2_RemoteGetDocumentation2_Stub(
6142     IRpcStubBuffer *This,
6143     IRpcChannelBuffer *_pRpcChannelBuffer,
6144     PRPC_MESSAGE _pRpcMessage,
6145     DWORD *_pdwStubPhase)
6146 {
6147     BSTR _M58;
6148     DWORD _M59;
6149     BSTR _M60;
6150     HRESULT _RetVal;
6151     MIDL_STUB_MESSAGE _StubMsg;
6152     LCID lcid;
6153     MEMBERID memid;
6154     BSTR __RPC_FAR *pbstrHelpString;
6155     BSTR __RPC_FAR *pbstrHelpStringDll;
6156     DWORD __RPC_FAR *pdwHelpStringContext;
6157     DWORD refPtrFlags;
6158     
6159 NdrStubInitialize(
6160                      _pRpcMessage,
6161                      &_StubMsg,
6162                      &Object_StubDesc,
6163                      _pRpcChannelBuffer);
6164     ( BSTR __RPC_FAR * )pbstrHelpString = 0;
6165     ( DWORD __RPC_FAR * )pdwHelpStringContext = 0;
6166     ( BSTR __RPC_FAR * )pbstrHelpStringDll = 0;
6167     RpcTryFinally
6168         {
6169         if ( (_pRpcMessage->DataRepresentation & 0X0000FFFFUL) != NDR_LOCAL_DATA_REPRESENTATION )
6170             NdrConvert( (PMIDL_STUB_MESSAGE) &_StubMsg, (PFORMAT_STRING) &__MIDL_ProcFormatString.Format[334] );
6171         
6172         memid = *(( MEMBERID __RPC_FAR * )_StubMsg.Buffer)++;
6173         
6174         lcid = *(( LCID __RPC_FAR * )_StubMsg.Buffer)++;
6175         
6176         refPtrFlags = *(( DWORD __RPC_FAR * )_StubMsg.Buffer)++;
6177         
6178         pbstrHelpString = &_M58;
6179         MIDL_memset(
6180                pbstrHelpString,
6181                0,
6182                sizeof( BSTR  ));
6183         pdwHelpStringContext = &_M59;
6184         pbstrHelpStringDll = &_M60;
6185         MIDL_memset(
6186                pbstrHelpStringDll,
6187                0,
6188                sizeof( BSTR  ));
6189         
6190         *_pdwStubPhase = STUB_CALL_SERVER;
6191         
6192         
6193         _RetVal = ITypeInfo2_GetDocumentation2_Stub(
6194                                             (ITypeInfo2 *) ((CStdStubBuffer *)This)->pvServerObject,
6195                                             memid,
6196                                             lcid,
6197                                             refPtrFlags,
6198                                             pbstrHelpString,
6199                                             pdwHelpStringContext,
6200                                             pbstrHelpStringDll);
6201         
6202         *_pdwStubPhase = STUB_MARSHAL;
6203         
6204         _StubMsg.BufferLength = 8U + 11U + 11U + 11U;
6205         NdrUserMarshalBufferSize( (PMIDL_STUB_MESSAGE) &_StubMsg,
6206                                   (unsigned char __RPC_FAR *)pbstrHelpString,
6207                                   (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[1128] );
6208         
6209         NdrUserMarshalBufferSize( (PMIDL_STUB_MESSAGE) &_StubMsg,
6210                                   (unsigned char __RPC_FAR *)pbstrHelpStringDll,
6211                                   (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[1128] );
6212         
6213         _StubMsg.BufferLength += 16;
6214         
6215         NdrStubGetBuffer(This, _pRpcChannelBuffer, &_StubMsg);
6216         NdrUserMarshalMarshall( (PMIDL_STUB_MESSAGE)& _StubMsg,
6217                                 (unsigned char __RPC_FAR *)pbstrHelpString,
6218                                 (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[1128] );
6219         
6220         _StubMsg.Buffer = (unsigned char __RPC_FAR *)(((long)_StubMsg.Buffer + 3) & ~ 0x3);
6221         *(( DWORD __RPC_FAR * )_StubMsg.Buffer)++ = *pdwHelpStringContext;
6222         
6223         NdrUserMarshalMarshall( (PMIDL_STUB_MESSAGE)& _StubMsg,
6224                                 (unsigned char __RPC_FAR *)pbstrHelpStringDll,
6225                                 (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[1128] );
6226         
6227         _StubMsg.Buffer = (unsigned char __RPC_FAR *)(((long)_StubMsg.Buffer + 3) & ~ 0x3);
6228         *(( HRESULT __RPC_FAR * )_StubMsg.Buffer)++ = _RetVal;
6229         
6230         }
6231     RpcFinally
6232         {
6233         NdrPointerFree( &_StubMsg,
6234                         (unsigned char __RPC_FAR *)pbstrHelpString,
6235                         &__MIDL_TypeFormatString.Format[1708] );
6236         
6237         NdrPointerFree( &_StubMsg,
6238                         (unsigned char __RPC_FAR *)pbstrHelpStringDll,
6239                         &__MIDL_TypeFormatString.Format[1708] );
6240         
6241         }
6242     RpcEndFinally
6243     _pRpcMessage->BufferLength = 
6244         (unsigned int)((long)_StubMsg.Buffer - (long)_pRpcMessage->Buffer);
6245     
6246 }
6247
6248
6249 HRESULT STDMETHODCALLTYPE ITypeInfo2_GetAllCustData_Proxy( 
6250     ITypeInfo2 __RPC_FAR * This,
6251     /* [out] */ CUSTDATA __RPC_FAR *pCustData)
6252 {
6253
6254     HRESULT _RetVal;
6255     
6256     RPC_MESSAGE _RpcMessage;
6257     
6258     MIDL_STUB_MESSAGE _StubMsg;
6259     
6260     if(pCustData)
6261         {
6262         MIDL_memset(
6263                pCustData,
6264                0,
6265                sizeof( CUSTDATA  ));
6266         }
6267     RpcTryExcept
6268         {
6269         NdrProxyInitialize(
6270                       ( void __RPC_FAR *  )This,
6271                       ( PRPC_MESSAGE  )&_RpcMessage,
6272                       ( PMIDL_STUB_MESSAGE  )&_StubMsg,
6273                       ( PMIDL_STUB_DESC  )&Object_StubDesc,
6274                       32);
6275         
6276         
6277         
6278         if(!pCustData)
6279             {
6280             RpcRaiseException(RPC_X_NULL_REF_POINTER);
6281             }
6282         RpcTryFinally
6283             {
6284             
6285             _StubMsg.BufferLength = 0U;
6286             NdrProxyGetBuffer(This, &_StubMsg);
6287             NdrProxySendReceive(This, &_StubMsg);
6288             
6289             if ( (_RpcMessage.DataRepresentation & 0X0000FFFFUL) != NDR_LOCAL_DATA_REPRESENTATION )
6290                 NdrConvert( (PMIDL_STUB_MESSAGE) &_StubMsg, (PFORMAT_STRING) &__MIDL_ProcFormatString.Format[354] );
6291             
6292             NdrComplexStructUnmarshall( (PMIDL_STUB_MESSAGE) &_StubMsg,
6293                                         (unsigned char __RPC_FAR * __RPC_FAR *)&pCustData,
6294                                         (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[1788],
6295                                         (unsigned char)0 );
6296             
6297             _StubMsg.Buffer = (unsigned char __RPC_FAR *)(((long)_StubMsg.Buffer + 3) & ~ 0x3);
6298             _RetVal = *(( HRESULT __RPC_FAR * )_StubMsg.Buffer)++;
6299             
6300             }
6301         RpcFinally
6302             {
6303             NdrProxyFreeBuffer(This, &_StubMsg);
6304             
6305             }
6306         RpcEndFinally
6307         
6308         }
6309     RpcExcept(_StubMsg.dwStubPhase != PROXY_SENDRECEIVE)
6310         {
6311         NdrClearOutParameters(
6312                          ( PMIDL_STUB_MESSAGE  )&_StubMsg,
6313                          ( PFORMAT_STRING  )&__MIDL_TypeFormatString.Format[1748],
6314                          ( void __RPC_FAR * )pCustData);
6315         _RetVal = NdrProxyErrorHandler(RpcExceptionCode());
6316         }
6317     RpcEndExcept
6318     return _RetVal;
6319 }
6320
6321 void __RPC_STUB ITypeInfo2_GetAllCustData_Stub(
6322     IRpcStubBuffer *This,
6323     IRpcChannelBuffer *_pRpcChannelBuffer,
6324     PRPC_MESSAGE _pRpcMessage,
6325     DWORD *_pdwStubPhase)
6326 {
6327     HRESULT _RetVal;
6328     MIDL_STUB_MESSAGE _StubMsg;
6329     CUSTDATA _pCustDataM;
6330     CUSTDATA __RPC_FAR *pCustData;
6331     
6332 NdrStubInitialize(
6333                      _pRpcMessage,
6334                      &_StubMsg,
6335                      &Object_StubDesc,
6336                      _pRpcChannelBuffer);
6337     ( CUSTDATA __RPC_FAR * )pCustData = 0;
6338     RpcTryFinally
6339         {
6340         pCustData = &_pCustDataM;
6341         pCustData -> prgCustData = 0;
6342         
6343         *_pdwStubPhase = STUB_CALL_SERVER;
6344         _RetVal = (((ITypeInfo2*) ((CStdStubBuffer *)This)->pvServerObject)->lpVtbl) -> GetAllCustData((ITypeInfo2 *) ((CStdStubBuffer *)This)->pvServerObject,pCustData);
6345         
6346         *_pdwStubPhase = STUB_MARSHAL;
6347         
6348         _StubMsg.BufferLength = 0U + 11U;
6349         NdrComplexStructBufferSize( (PMIDL_STUB_MESSAGE) &_StubMsg,
6350                                     (unsigned char __RPC_FAR *)pCustData,
6351                                     (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[1788] );
6352         
6353         _StubMsg.BufferLength += 16;
6354         
6355         NdrStubGetBuffer(This, _pRpcChannelBuffer, &_StubMsg);
6356         NdrComplexStructMarshall( (PMIDL_STUB_MESSAGE)& _StubMsg,
6357                                   (unsigned char __RPC_FAR *)pCustData,
6358                                   (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[1788] );
6359         
6360         _StubMsg.Buffer = (unsigned char __RPC_FAR *)(((long)_StubMsg.Buffer + 3) & ~ 0x3);
6361         *(( HRESULT __RPC_FAR * )_StubMsg.Buffer)++ = _RetVal;
6362         
6363         }
6364     RpcFinally
6365         {
6366         NdrPointerFree( &_StubMsg,
6367                         (unsigned char __RPC_FAR *)pCustData,
6368                         &__MIDL_TypeFormatString.Format[1748] );
6369         
6370         }
6371     RpcEndFinally
6372     _pRpcMessage->BufferLength = 
6373         (unsigned int)((long)_StubMsg.Buffer - (long)_pRpcMessage->Buffer);
6374     
6375 }
6376
6377
6378 HRESULT STDMETHODCALLTYPE ITypeInfo2_GetAllFuncCustData_Proxy( 
6379     ITypeInfo2 __RPC_FAR * This,
6380     /* [in] */ UINT index,
6381     /* [out] */ CUSTDATA __RPC_FAR *pCustData)
6382 {
6383
6384     HRESULT _RetVal;
6385     
6386     RPC_MESSAGE _RpcMessage;
6387     
6388     MIDL_STUB_MESSAGE _StubMsg;
6389     
6390     if(pCustData)
6391         {
6392         MIDL_memset(
6393                pCustData,
6394                0,
6395                sizeof( CUSTDATA  ));
6396         }
6397     RpcTryExcept
6398         {
6399         NdrProxyInitialize(
6400                       ( void __RPC_FAR *  )This,
6401                       ( PRPC_MESSAGE  )&_RpcMessage,
6402                       ( PMIDL_STUB_MESSAGE  )&_StubMsg,
6403                       ( PMIDL_STUB_DESC  )&Object_StubDesc,
6404                       33);
6405         
6406         
6407         
6408         if(!pCustData)
6409             {
6410             RpcRaiseException(RPC_X_NULL_REF_POINTER);
6411             }
6412         RpcTryFinally
6413             {
6414             
6415             _StubMsg.BufferLength = 4U;
6416             NdrProxyGetBuffer(This, &_StubMsg);
6417             *(( UINT __RPC_FAR * )_StubMsg.Buffer)++ = index;
6418             
6419             NdrProxySendReceive(This, &_StubMsg);
6420             
6421             if ( (_RpcMessage.DataRepresentation & 0X0000FFFFUL) != NDR_LOCAL_DATA_REPRESENTATION )
6422                 NdrConvert( (PMIDL_STUB_MESSAGE) &_StubMsg, (PFORMAT_STRING) &__MIDL_ProcFormatString.Format[360] );
6423             
6424             NdrComplexStructUnmarshall( (PMIDL_STUB_MESSAGE) &_StubMsg,
6425                                         (unsigned char __RPC_FAR * __RPC_FAR *)&pCustData,
6426                                         (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[1788],
6427                                         (unsigned char)0 );
6428             
6429             _StubMsg.Buffer = (unsigned char __RPC_FAR *)(((long)_StubMsg.Buffer + 3) & ~ 0x3);
6430             _RetVal = *(( HRESULT __RPC_FAR * )_StubMsg.Buffer)++;
6431             
6432             }
6433         RpcFinally
6434             {
6435             NdrProxyFreeBuffer(This, &_StubMsg);
6436             
6437             }
6438         RpcEndFinally
6439         
6440         }
6441     RpcExcept(_StubMsg.dwStubPhase != PROXY_SENDRECEIVE)
6442         {
6443         NdrClearOutParameters(
6444                          ( PMIDL_STUB_MESSAGE  )&_StubMsg,
6445                          ( PFORMAT_STRING  )&__MIDL_TypeFormatString.Format[1748],
6446                          ( void __RPC_FAR * )pCustData);
6447         _RetVal = NdrProxyErrorHandler(RpcExceptionCode());
6448         }
6449     RpcEndExcept
6450     return _RetVal;
6451 }
6452
6453 void __RPC_STUB ITypeInfo2_GetAllFuncCustData_Stub(
6454     IRpcStubBuffer *This,
6455     IRpcChannelBuffer *_pRpcChannelBuffer,
6456     PRPC_MESSAGE _pRpcMessage,
6457     DWORD *_pdwStubPhase)
6458 {
6459     HRESULT _RetVal;
6460     MIDL_STUB_MESSAGE _StubMsg;
6461     CUSTDATA _pCustDataM;
6462     UINT index;
6463     CUSTDATA __RPC_FAR *pCustData;
6464     
6465 NdrStubInitialize(
6466                      _pRpcMessage,
6467                      &_StubMsg,
6468                      &Object_StubDesc,
6469                      _pRpcChannelBuffer);
6470     ( CUSTDATA __RPC_FAR * )pCustData = 0;
6471     RpcTryFinally
6472         {
6473         if ( (_pRpcMessage->DataRepresentation & 0X0000FFFFUL) != NDR_LOCAL_DATA_REPRESENTATION )
6474             NdrConvert( (PMIDL_STUB_MESSAGE) &_StubMsg, (PFORMAT_STRING) &__MIDL_ProcFormatString.Format[360] );
6475         
6476         index = *(( UINT __RPC_FAR * )_StubMsg.Buffer)++;
6477         
6478         pCustData = &_pCustDataM;
6479         pCustData -> prgCustData = 0;
6480         
6481         *_pdwStubPhase = STUB_CALL_SERVER;
6482         _RetVal = (((ITypeInfo2*) ((CStdStubBuffer *)This)->pvServerObject)->lpVtbl) -> GetAllFuncCustData(
6483                       (ITypeInfo2 *) ((CStdStubBuffer *)This)->pvServerObject,
6484                       index,
6485                       pCustData);
6486         
6487         *_pdwStubPhase = STUB_MARSHAL;
6488         
6489         _StubMsg.BufferLength = 0U + 11U;
6490         NdrComplexStructBufferSize( (PMIDL_STUB_MESSAGE) &_StubMsg,
6491                                     (unsigned char __RPC_FAR *)pCustData,
6492                                     (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[1788] );
6493         
6494         _StubMsg.BufferLength += 16;
6495         
6496         NdrStubGetBuffer(This, _pRpcChannelBuffer, &_StubMsg);
6497         NdrComplexStructMarshall( (PMIDL_STUB_MESSAGE)& _StubMsg,
6498                                   (unsigned char __RPC_FAR *)pCustData,
6499                                   (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[1788] );
6500         
6501         _StubMsg.Buffer = (unsigned char __RPC_FAR *)(((long)_StubMsg.Buffer + 3) & ~ 0x3);
6502         *(( HRESULT __RPC_FAR * )_StubMsg.Buffer)++ = _RetVal;
6503         
6504         }
6505     RpcFinally
6506         {
6507         NdrPointerFree( &_StubMsg,
6508                         (unsigned char __RPC_FAR *)pCustData,
6509                         &__MIDL_TypeFormatString.Format[1748] );
6510         
6511         }
6512     RpcEndFinally
6513     _pRpcMessage->BufferLength = 
6514         (unsigned int)((long)_StubMsg.Buffer - (long)_pRpcMessage->Buffer);
6515     
6516 }
6517
6518
6519 HRESULT STDMETHODCALLTYPE ITypeInfo2_GetAllParamCustData_Proxy( 
6520     ITypeInfo2 __RPC_FAR * This,
6521     /* [in] */ UINT indexFunc,
6522     /* [in] */ UINT indexParam,
6523     /* [out] */ CUSTDATA __RPC_FAR *pCustData)
6524 {
6525
6526     HRESULT _RetVal;
6527     
6528     RPC_MESSAGE _RpcMessage;
6529     
6530     MIDL_STUB_MESSAGE _StubMsg;
6531     
6532     if(pCustData)
6533         {
6534         MIDL_memset(
6535                pCustData,
6536                0,
6537                sizeof( CUSTDATA  ));
6538         }
6539     RpcTryExcept
6540         {
6541         NdrProxyInitialize(
6542                       ( void __RPC_FAR *  )This,
6543                       ( PRPC_MESSAGE  )&_RpcMessage,
6544                       ( PMIDL_STUB_MESSAGE  )&_StubMsg,
6545                       ( PMIDL_STUB_DESC  )&Object_StubDesc,
6546                       34);
6547         
6548         
6549         
6550         if(!pCustData)
6551             {
6552             RpcRaiseException(RPC_X_NULL_REF_POINTER);
6553             }
6554         RpcTryFinally
6555             {
6556             
6557             _StubMsg.BufferLength = 4U + 4U;
6558             NdrProxyGetBuffer(This, &_StubMsg);
6559             *(( UINT __RPC_FAR * )_StubMsg.Buffer)++ = indexFunc;
6560             
6561             *(( UINT __RPC_FAR * )_StubMsg.Buffer)++ = indexParam;
6562             
6563             NdrProxySendReceive(This, &_StubMsg);
6564             
6565             if ( (_RpcMessage.DataRepresentation & 0X0000FFFFUL) != NDR_LOCAL_DATA_REPRESENTATION )
6566                 NdrConvert( (PMIDL_STUB_MESSAGE) &_StubMsg, (PFORMAT_STRING) &__MIDL_ProcFormatString.Format[368] );
6567             
6568             NdrComplexStructUnmarshall( (PMIDL_STUB_MESSAGE) &_StubMsg,
6569                                         (unsigned char __RPC_FAR * __RPC_FAR *)&pCustData,
6570                                         (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[1788],
6571                                         (unsigned char)0 );
6572             
6573             _StubMsg.Buffer = (unsigned char __RPC_FAR *)(((long)_StubMsg.Buffer + 3) & ~ 0x3);
6574             _RetVal = *(( HRESULT __RPC_FAR * )_StubMsg.Buffer)++;
6575             
6576             }
6577         RpcFinally
6578             {
6579             NdrProxyFreeBuffer(This, &_StubMsg);
6580             
6581             }
6582         RpcEndFinally
6583         
6584         }
6585     RpcExcept(_StubMsg.dwStubPhase != PROXY_SENDRECEIVE)
6586         {
6587         NdrClearOutParameters(
6588                          ( PMIDL_STUB_MESSAGE  )&_StubMsg,
6589                          ( PFORMAT_STRING  )&__MIDL_TypeFormatString.Format[1748],
6590                          ( void __RPC_FAR * )pCustData);
6591         _RetVal = NdrProxyErrorHandler(RpcExceptionCode());
6592         }
6593     RpcEndExcept
6594     return _RetVal;
6595 }
6596
6597 void __RPC_STUB ITypeInfo2_GetAllParamCustData_Stub(
6598     IRpcStubBuffer *This,
6599     IRpcChannelBuffer *_pRpcChannelBuffer,
6600     PRPC_MESSAGE _pRpcMessage,
6601     DWORD *_pdwStubPhase)
6602 {
6603     HRESULT _RetVal;
6604     MIDL_STUB_MESSAGE _StubMsg;
6605     CUSTDATA _pCustDataM;
6606     UINT indexFunc;
6607     UINT indexParam;
6608     CUSTDATA __RPC_FAR *pCustData;
6609     
6610 NdrStubInitialize(
6611                      _pRpcMessage,
6612                      &_StubMsg,
6613                      &Object_StubDesc,
6614                      _pRpcChannelBuffer);
6615     ( CUSTDATA __RPC_FAR * )pCustData = 0;
6616     RpcTryFinally
6617         {
6618         if ( (_pRpcMessage->DataRepresentation & 0X0000FFFFUL) != NDR_LOCAL_DATA_REPRESENTATION )
6619             NdrConvert( (PMIDL_STUB_MESSAGE) &_StubMsg, (PFORMAT_STRING) &__MIDL_ProcFormatString.Format[368] );
6620         
6621         indexFunc = *(( UINT __RPC_FAR * )_StubMsg.Buffer)++;
6622         
6623         indexParam = *(( UINT __RPC_FAR * )_StubMsg.Buffer)++;
6624         
6625         pCustData = &_pCustDataM;
6626         pCustData -> prgCustData = 0;
6627         
6628         *_pdwStubPhase = STUB_CALL_SERVER;
6629         _RetVal = (((ITypeInfo2*) ((CStdStubBuffer *)This)->pvServerObject)->lpVtbl) -> GetAllParamCustData(
6630                        (ITypeInfo2 *) ((CStdStubBuffer *)This)->pvServerObject,
6631                        indexFunc,
6632                        indexParam,
6633                        pCustData);
6634         
6635         *_pdwStubPhase = STUB_MARSHAL;
6636         
6637         _StubMsg.BufferLength = 0U + 11U;
6638         NdrComplexStructBufferSize( (PMIDL_STUB_MESSAGE) &_StubMsg,
6639                                     (unsigned char __RPC_FAR *)pCustData,
6640                                     (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[1788] );
6641         
6642         _StubMsg.BufferLength += 16;
6643         
6644         NdrStubGetBuffer(This, _pRpcChannelBuffer, &_StubMsg);
6645         NdrComplexStructMarshall( (PMIDL_STUB_MESSAGE)& _StubMsg,
6646                                   (unsigned char __RPC_FAR *)pCustData,
6647                                   (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[1788] );
6648         
6649         _StubMsg.Buffer = (unsigned char __RPC_FAR *)(((long)_StubMsg.Buffer + 3) & ~ 0x3);
6650         *(( HRESULT __RPC_FAR * )_StubMsg.Buffer)++ = _RetVal;
6651         
6652         }
6653     RpcFinally
6654         {
6655         NdrPointerFree( &_StubMsg,
6656                         (unsigned char __RPC_FAR *)pCustData,
6657                         &__MIDL_TypeFormatString.Format[1748] );
6658         
6659         }
6660     RpcEndFinally
6661     _pRpcMessage->BufferLength = 
6662         (unsigned int)((long)_StubMsg.Buffer - (long)_pRpcMessage->Buffer);
6663     
6664 }
6665
6666
6667 HRESULT STDMETHODCALLTYPE ITypeInfo2_GetAllVarCustData_Proxy( 
6668     ITypeInfo2 __RPC_FAR * This,
6669     /* [in] */ UINT index,
6670     /* [out] */ CUSTDATA __RPC_FAR *pCustData)
6671 {
6672
6673     HRESULT _RetVal;
6674     
6675     RPC_MESSAGE _RpcMessage;
6676     
6677     MIDL_STUB_MESSAGE _StubMsg;
6678     
6679     if(pCustData)
6680         {
6681         MIDL_memset(
6682                pCustData,
6683                0,
6684                sizeof( CUSTDATA  ));
6685         }
6686     RpcTryExcept
6687         {
6688         NdrProxyInitialize(
6689                       ( void __RPC_FAR *  )This,
6690                       ( PRPC_MESSAGE  )&_RpcMessage,
6691                       ( PMIDL_STUB_MESSAGE  )&_StubMsg,
6692                       ( PMIDL_STUB_DESC  )&Object_StubDesc,
6693                       35);
6694         
6695         
6696         
6697         if(!pCustData)
6698             {
6699             RpcRaiseException(RPC_X_NULL_REF_POINTER);
6700             }
6701         RpcTryFinally
6702             {
6703             
6704             _StubMsg.BufferLength = 4U;
6705             NdrProxyGetBuffer(This, &_StubMsg);
6706             *(( UINT __RPC_FAR * )_StubMsg.Buffer)++ = index;
6707             
6708             NdrProxySendReceive(This, &_StubMsg);
6709             
6710             if ( (_RpcMessage.DataRepresentation & 0X0000FFFFUL) != NDR_LOCAL_DATA_REPRESENTATION )
6711                 NdrConvert( (PMIDL_STUB_MESSAGE) &_StubMsg, (PFORMAT_STRING) &__MIDL_ProcFormatString.Format[360] );
6712             
6713             NdrComplexStructUnmarshall( (PMIDL_STUB_MESSAGE) &_StubMsg,
6714                                         (unsigned char __RPC_FAR * __RPC_FAR *)&pCustData,
6715                                         (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[1788],
6716                                         (unsigned char)0 );
6717             
6718             _StubMsg.Buffer = (unsigned char __RPC_FAR *)(((long)_StubMsg.Buffer + 3) & ~ 0x3);
6719             _RetVal = *(( HRESULT __RPC_FAR * )_StubMsg.Buffer)++;
6720             
6721             }
6722         RpcFinally
6723             {
6724             NdrProxyFreeBuffer(This, &_StubMsg);
6725             
6726             }
6727         RpcEndFinally
6728         
6729         }
6730     RpcExcept(_StubMsg.dwStubPhase != PROXY_SENDRECEIVE)
6731         {
6732         NdrClearOutParameters(
6733                          ( PMIDL_STUB_MESSAGE  )&_StubMsg,
6734                          ( PFORMAT_STRING  )&__MIDL_TypeFormatString.Format[1748],
6735                          ( void __RPC_FAR * )pCustData);
6736         _RetVal = NdrProxyErrorHandler(RpcExceptionCode());
6737         }
6738     RpcEndExcept
6739     return _RetVal;
6740 }
6741
6742 void __RPC_STUB ITypeInfo2_GetAllVarCustData_Stub(
6743     IRpcStubBuffer *This,
6744     IRpcChannelBuffer *_pRpcChannelBuffer,
6745     PRPC_MESSAGE _pRpcMessage,
6746     DWORD *_pdwStubPhase)
6747 {
6748     HRESULT _RetVal;
6749     MIDL_STUB_MESSAGE _StubMsg;
6750     CUSTDATA _pCustDataM;
6751     UINT index;
6752     CUSTDATA __RPC_FAR *pCustData;
6753     
6754 NdrStubInitialize(
6755                      _pRpcMessage,
6756                      &_StubMsg,
6757                      &Object_StubDesc,
6758                      _pRpcChannelBuffer);
6759     ( CUSTDATA __RPC_FAR * )pCustData = 0;
6760     RpcTryFinally
6761         {
6762         if ( (_pRpcMessage->DataRepresentation & 0X0000FFFFUL) != NDR_LOCAL_DATA_REPRESENTATION )
6763             NdrConvert( (PMIDL_STUB_MESSAGE) &_StubMsg, (PFORMAT_STRING) &__MIDL_ProcFormatString.Format[360] );
6764         
6765         index = *(( UINT __RPC_FAR * )_StubMsg.Buffer)++;
6766         
6767         pCustData = &_pCustDataM;
6768         pCustData -> prgCustData = 0;
6769         
6770         *_pdwStubPhase = STUB_CALL_SERVER;
6771         _RetVal = (((ITypeInfo2*) ((CStdStubBuffer *)This)->pvServerObject)->lpVtbl) -> GetAllVarCustData(
6772                      (ITypeInfo2 *) ((CStdStubBuffer *)This)->pvServerObject,
6773                      index,
6774                      pCustData);
6775         
6776         *_pdwStubPhase = STUB_MARSHAL;
6777         
6778         _StubMsg.BufferLength = 0U + 11U;
6779         NdrComplexStructBufferSize( (PMIDL_STUB_MESSAGE) &_StubMsg,
6780                                     (unsigned char __RPC_FAR *)pCustData,
6781                                     (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[1788] );
6782         
6783         _StubMsg.BufferLength += 16;
6784         
6785         NdrStubGetBuffer(This, _pRpcChannelBuffer, &_StubMsg);
6786         NdrComplexStructMarshall( (PMIDL_STUB_MESSAGE)& _StubMsg,
6787                                   (unsigned char __RPC_FAR *)pCustData,
6788                                   (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[1788] );
6789         
6790         _StubMsg.Buffer = (unsigned char __RPC_FAR *)(((long)_StubMsg.Buffer + 3) & ~ 0x3);
6791         *(( HRESULT __RPC_FAR * )_StubMsg.Buffer)++ = _RetVal;
6792         
6793         }
6794     RpcFinally
6795         {
6796         NdrPointerFree( &_StubMsg,
6797                         (unsigned char __RPC_FAR *)pCustData,
6798                         &__MIDL_TypeFormatString.Format[1748] );
6799         
6800         }
6801     RpcEndFinally
6802     _pRpcMessage->BufferLength = 
6803         (unsigned int)((long)_StubMsg.Buffer - (long)_pRpcMessage->Buffer);
6804     
6805 }
6806
6807
6808 HRESULT STDMETHODCALLTYPE ITypeInfo2_GetAllImplTypeCustData_Proxy( 
6809     ITypeInfo2 __RPC_FAR * This,
6810     /* [in] */ UINT index,
6811     /* [out] */ CUSTDATA __RPC_FAR *pCustData)
6812 {
6813
6814     HRESULT _RetVal;
6815     
6816     RPC_MESSAGE _RpcMessage;
6817     
6818     MIDL_STUB_MESSAGE _StubMsg;
6819     
6820     if(pCustData)
6821         {
6822         MIDL_memset(
6823                pCustData,
6824                0,
6825                sizeof( CUSTDATA  ));
6826         }
6827     RpcTryExcept
6828         {
6829         NdrProxyInitialize(
6830                       ( void __RPC_FAR *  )This,
6831                       ( PRPC_MESSAGE  )&_RpcMessage,
6832                       ( PMIDL_STUB_MESSAGE  )&_StubMsg,
6833                       ( PMIDL_STUB_DESC  )&Object_StubDesc,
6834                       36);
6835         
6836         
6837         
6838         if(!pCustData)
6839             {
6840             RpcRaiseException(RPC_X_NULL_REF_POINTER);
6841             }
6842         RpcTryFinally
6843             {
6844             
6845             _StubMsg.BufferLength = 4U;
6846             NdrProxyGetBuffer(This, &_StubMsg);
6847             *(( UINT __RPC_FAR * )_StubMsg.Buffer)++ = index;
6848             
6849             NdrProxySendReceive(This, &_StubMsg);
6850             
6851             if ( (_RpcMessage.DataRepresentation & 0X0000FFFFUL) != NDR_LOCAL_DATA_REPRESENTATION )
6852                 NdrConvert( (PMIDL_STUB_MESSAGE) &_StubMsg, (PFORMAT_STRING) &__MIDL_ProcFormatString.Format[360] );
6853             
6854             NdrComplexStructUnmarshall( (PMIDL_STUB_MESSAGE) &_StubMsg,
6855                                         (unsigned char __RPC_FAR * __RPC_FAR *)&pCustData,
6856                                         (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[1788],
6857                                         (unsigned char)0 );
6858             
6859             _StubMsg.Buffer = (unsigned char __RPC_FAR *)(((long)_StubMsg.Buffer + 3) & ~ 0x3);
6860             _RetVal = *(( HRESULT __RPC_FAR * )_StubMsg.Buffer)++;
6861             
6862             }
6863         RpcFinally
6864             {
6865             NdrProxyFreeBuffer(This, &_StubMsg);
6866             
6867             }
6868         RpcEndFinally
6869         
6870         }
6871     RpcExcept(_StubMsg.dwStubPhase != PROXY_SENDRECEIVE)
6872         {
6873         NdrClearOutParameters(
6874                          ( PMIDL_STUB_MESSAGE  )&_StubMsg,
6875                          ( PFORMAT_STRING  )&__MIDL_TypeFormatString.Format[1748],
6876                          ( void __RPC_FAR * )pCustData);
6877         _RetVal = NdrProxyErrorHandler(RpcExceptionCode());
6878         }
6879     RpcEndExcept
6880     return _RetVal;
6881 }
6882
6883 void __RPC_STUB ITypeInfo2_GetAllImplTypeCustData_Stub(
6884     IRpcStubBuffer *This,
6885     IRpcChannelBuffer *_pRpcChannelBuffer,
6886     PRPC_MESSAGE _pRpcMessage,
6887     DWORD *_pdwStubPhase)
6888 {
6889     HRESULT _RetVal;
6890     MIDL_STUB_MESSAGE _StubMsg;
6891     CUSTDATA _pCustDataM;
6892     UINT index;
6893     CUSTDATA __RPC_FAR *pCustData;
6894     
6895 NdrStubInitialize(
6896                      _pRpcMessage,
6897                      &_StubMsg,
6898                      &Object_StubDesc,
6899                      _pRpcChannelBuffer);
6900     ( CUSTDATA __RPC_FAR * )pCustData = 0;
6901     RpcTryFinally
6902         {
6903         if ( (_pRpcMessage->DataRepresentation & 0X0000FFFFUL) != NDR_LOCAL_DATA_REPRESENTATION )
6904             NdrConvert( (PMIDL_STUB_MESSAGE) &_StubMsg, (PFORMAT_STRING) &__MIDL_ProcFormatString.Format[360] );
6905         
6906         index = *(( UINT __RPC_FAR * )_StubMsg.Buffer)++;
6907         
6908         pCustData = &_pCustDataM;
6909         pCustData -> prgCustData = 0;
6910         
6911         *_pdwStubPhase = STUB_CALL_SERVER;
6912         _RetVal = (((ITypeInfo2*) ((CStdStubBuffer *)This)->pvServerObject)->lpVtbl) -> GetAllImplTypeCustData(
6913                           (ITypeInfo2 *) ((CStdStubBuffer *)This)->pvServerObject,
6914                           index,
6915                           pCustData);
6916         
6917         *_pdwStubPhase = STUB_MARSHAL;
6918         
6919         _StubMsg.BufferLength = 0U + 11U;
6920         NdrComplexStructBufferSize( (PMIDL_STUB_MESSAGE) &_StubMsg,
6921                                     (unsigned char __RPC_FAR *)pCustData,
6922                                     (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[1788] );
6923         
6924         _StubMsg.BufferLength += 16;
6925         
6926         NdrStubGetBuffer(This, _pRpcChannelBuffer, &_StubMsg);
6927         NdrComplexStructMarshall( (PMIDL_STUB_MESSAGE)& _StubMsg,
6928                                   (unsigned char __RPC_FAR *)pCustData,
6929                                   (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[1788] );
6930         
6931         _StubMsg.Buffer = (unsigned char __RPC_FAR *)(((long)_StubMsg.Buffer + 3) & ~ 0x3);
6932         *(( HRESULT __RPC_FAR * )_StubMsg.Buffer)++ = _RetVal;
6933         
6934         }
6935     RpcFinally
6936         {
6937         NdrPointerFree( &_StubMsg,
6938                         (unsigned char __RPC_FAR *)pCustData,
6939                         &__MIDL_TypeFormatString.Format[1748] );
6940         
6941         }
6942     RpcEndFinally
6943     _pRpcMessage->BufferLength = 
6944         (unsigned int)((long)_StubMsg.Buffer - (long)_pRpcMessage->Buffer);
6945     
6946 }
6947
6948 const CINTERFACE_PROXY_VTABLE(37) _ITypeInfo2ProxyVtbl = 
6949 {
6950     { &IID_ITypeInfo2 },
6951     {
6952         IUnknown_QueryInterface_Proxy,
6953         IUnknown_AddRef_Proxy,
6954         IUnknown_Release_Proxy ,
6955         ITypeInfo_GetTypeAttr_Proxy ,
6956         ITypeInfo_GetTypeComp_Proxy ,
6957         ITypeInfo_GetFuncDesc_Proxy ,
6958         ITypeInfo_GetVarDesc_Proxy ,
6959         ITypeInfo_GetNames_Proxy ,
6960         ITypeInfo_GetRefTypeOfImplType_Proxy ,
6961         ITypeInfo_GetImplTypeFlags_Proxy ,
6962         ITypeInfo_GetIDsOfNames_Proxy ,
6963         ITypeInfo_Invoke_Proxy ,
6964         ITypeInfo_GetDocumentation_Proxy ,
6965         ITypeInfo_GetDllEntry_Proxy ,
6966         ITypeInfo_GetRefTypeInfo_Proxy ,
6967         ITypeInfo_AddressOfMember_Proxy ,
6968         ITypeInfo_CreateInstance_Proxy ,
6969         ITypeInfo_GetMops_Proxy ,
6970         ITypeInfo_GetContainingTypeLib_Proxy ,
6971         ITypeInfo_ReleaseTypeAttr_Proxy ,
6972         ITypeInfo_ReleaseFuncDesc_Proxy ,
6973         ITypeInfo_ReleaseVarDesc_Proxy ,
6974         ITypeInfo2_GetTypeKind_Proxy ,
6975         ITypeInfo2_GetTypeFlags_Proxy ,
6976         ITypeInfo2_GetFuncIndexOfMemId_Proxy ,
6977         ITypeInfo2_GetVarIndexOfMemId_Proxy ,
6978         ITypeInfo2_GetCustData_Proxy ,
6979         ITypeInfo2_GetFuncCustData_Proxy ,
6980         ITypeInfo2_GetParamCustData_Proxy ,
6981         ITypeInfo2_GetVarCustData_Proxy ,
6982         ITypeInfo2_GetImplTypeCustData_Proxy ,
6983         ITypeInfo2_GetDocumentation2_Proxy ,
6984         ITypeInfo2_GetAllCustData_Proxy ,
6985         ITypeInfo2_GetAllFuncCustData_Proxy ,
6986         ITypeInfo2_GetAllParamCustData_Proxy ,
6987         ITypeInfo2_GetAllVarCustData_Proxy ,
6988         ITypeInfo2_GetAllImplTypeCustData_Proxy
6989     }
6990 };
6991
6992
6993 static const PRPC_STUB_FUNCTION ITypeInfo2_table[] =
6994 {
6995     ITypeInfo_RemoteGetTypeAttr_Stub,
6996     ITypeInfo_GetTypeComp_Stub,
6997     ITypeInfo_RemoteGetFuncDesc_Stub,
6998     ITypeInfo_RemoteGetVarDesc_Stub,
6999     ITypeInfo_RemoteGetNames_Stub,
7000     ITypeInfo_GetRefTypeOfImplType_Stub,
7001     ITypeInfo_GetImplTypeFlags_Stub,
7002     ITypeInfo_LocalGetIDsOfNames_Stub,
7003     ITypeInfo_LocalInvoke_Stub,
7004     ITypeInfo_RemoteGetDocumentation_Stub,
7005     ITypeInfo_RemoteGetDllEntry_Stub,
7006     ITypeInfo_GetRefTypeInfo_Stub,
7007     ITypeInfo_LocalAddressOfMember_Stub,
7008     ITypeInfo_RemoteCreateInstance_Stub,
7009     ITypeInfo_GetMops_Stub,
7010     ITypeInfo_RemoteGetContainingTypeLib_Stub,
7011     ITypeInfo_LocalReleaseTypeAttr_Stub,
7012     ITypeInfo_LocalReleaseFuncDesc_Stub,
7013     ITypeInfo_LocalReleaseVarDesc_Stub,
7014     ITypeInfo2_GetTypeKind_Stub,
7015     ITypeInfo2_GetTypeFlags_Stub,
7016     ITypeInfo2_GetFuncIndexOfMemId_Stub,
7017     ITypeInfo2_GetVarIndexOfMemId_Stub,
7018     ITypeInfo2_GetCustData_Stub,
7019     ITypeInfo2_GetFuncCustData_Stub,
7020     ITypeInfo2_GetParamCustData_Stub,
7021     ITypeInfo2_GetVarCustData_Stub,
7022     ITypeInfo2_GetImplTypeCustData_Stub,
7023     ITypeInfo2_RemoteGetDocumentation2_Stub,
7024     ITypeInfo2_GetAllCustData_Stub,
7025     ITypeInfo2_GetAllFuncCustData_Stub,
7026     ITypeInfo2_GetAllParamCustData_Stub,
7027     ITypeInfo2_GetAllVarCustData_Stub,
7028     ITypeInfo2_GetAllImplTypeCustData_Stub
7029 };
7030
7031 const CInterfaceStubVtbl _ITypeInfo2StubVtbl =
7032 {
7033     {
7034         &IID_ITypeInfo2,
7035         0,
7036         37,
7037         &ITypeInfo2_table[-3]
7038     },
7039     { CStdStubBuffer_METHODS }
7040 };
7041
7042
7043 /* Object interface: ITypeLib, ver. 0.0,
7044    GUID={0x00020402,0x0000,0x0000,{0xC0,0x00,0x00,0x00,0x00,0x00,0x00,0x46}} */
7045
7046
7047 extern const MIDL_STUB_DESC Object_StubDesc;
7048
7049
7050 /* [call_as] */ HRESULT STDMETHODCALLTYPE ITypeLib_RemoteGetTypeInfoCount_Proxy( 
7051     ITypeLib __RPC_FAR * This,
7052     /* [out] */ UINT __RPC_FAR *pcTInfo)
7053 {
7054
7055     HRESULT _RetVal;
7056     
7057     RPC_MESSAGE _RpcMessage;
7058     
7059     MIDL_STUB_MESSAGE _StubMsg;
7060     
7061     RpcTryExcept
7062         {
7063         NdrProxyInitialize(
7064                       ( void __RPC_FAR *  )This,
7065                       ( PRPC_MESSAGE  )&_RpcMessage,
7066                       ( PMIDL_STUB_MESSAGE  )&_StubMsg,
7067                       ( PMIDL_STUB_DESC  )&Object_StubDesc,
7068                       3);
7069         
7070         
7071         
7072         if(!pcTInfo)
7073             {
7074             RpcRaiseException(RPC_X_NULL_REF_POINTER);
7075             }
7076         RpcTryFinally
7077             {
7078             
7079             _StubMsg.BufferLength = 0U;
7080             NdrProxyGetBuffer(This, &_StubMsg);
7081             NdrProxySendReceive(This, &_StubMsg);
7082             
7083             if ( (_RpcMessage.DataRepresentation & 0X0000FFFFUL) != NDR_LOCAL_DATA_REPRESENTATION )
7084                 NdrConvert( (PMIDL_STUB_MESSAGE) &_StubMsg, (PFORMAT_STRING) &__MIDL_ProcFormatString.Format[0] );
7085             
7086             *pcTInfo = *(( UINT __RPC_FAR * )_StubMsg.Buffer)++;
7087             
7088             _RetVal = *(( HRESULT __RPC_FAR * )_StubMsg.Buffer)++;
7089             
7090             }
7091         RpcFinally
7092             {
7093             NdrProxyFreeBuffer(This, &_StubMsg);
7094             
7095             }
7096         RpcEndFinally
7097         
7098         }
7099     RpcExcept(_StubMsg.dwStubPhase != PROXY_SENDRECEIVE)
7100         {
7101         NdrClearOutParameters(
7102                          ( PMIDL_STUB_MESSAGE  )&_StubMsg,
7103                          ( PFORMAT_STRING  )&__MIDL_TypeFormatString.Format[2],
7104                          ( void __RPC_FAR * )pcTInfo);
7105         _RetVal = NdrProxyErrorHandler(RpcExceptionCode());
7106         }
7107     RpcEndExcept
7108     return _RetVal;
7109 }
7110
7111 void __RPC_STUB ITypeLib_RemoteGetTypeInfoCount_Stub(
7112     IRpcStubBuffer *This,
7113     IRpcChannelBuffer *_pRpcChannelBuffer,
7114     PRPC_MESSAGE _pRpcMessage,
7115     DWORD *_pdwStubPhase)
7116 {
7117     UINT _M61;
7118     HRESULT _RetVal;
7119     MIDL_STUB_MESSAGE _StubMsg;
7120     UINT __RPC_FAR *pcTInfo;
7121     
7122 NdrStubInitialize(
7123                      _pRpcMessage,
7124                      &_StubMsg,
7125                      &Object_StubDesc,
7126                      _pRpcChannelBuffer);
7127     ( UINT __RPC_FAR * )pcTInfo = 0;
7128     RpcTryFinally
7129         {
7130         pcTInfo = &_M61;
7131         
7132         *_pdwStubPhase = STUB_CALL_SERVER;
7133         
7134         
7135         _RetVal = ITypeLib_GetTypeInfoCount_Stub((ITypeLib *) ((CStdStubBuffer *)This)->pvServerObject,pcTInfo);
7136         
7137         *_pdwStubPhase = STUB_MARSHAL;
7138         
7139         _StubMsg.BufferLength = 4U + 4U;
7140         NdrStubGetBuffer(This, _pRpcChannelBuffer, &_StubMsg);
7141         *(( UINT __RPC_FAR * )_StubMsg.Buffer)++ = *pcTInfo;
7142         
7143         *(( HRESULT __RPC_FAR * )_StubMsg.Buffer)++ = _RetVal;
7144         
7145         }
7146     RpcFinally
7147         {
7148         }
7149     RpcEndFinally
7150     _pRpcMessage->BufferLength = 
7151         (unsigned int)((long)_StubMsg.Buffer - (long)_pRpcMessage->Buffer);
7152     
7153 }
7154
7155
7156 HRESULT STDMETHODCALLTYPE ITypeLib_GetTypeInfo_Proxy( 
7157     ITypeLib __RPC_FAR * This,
7158     /* [in] */ UINT index,
7159     /* [out] */ ITypeInfo __RPC_FAR *__RPC_FAR *ppTInfo)
7160 {
7161
7162     HRESULT _RetVal;
7163     
7164     RPC_MESSAGE _RpcMessage;
7165     
7166     MIDL_STUB_MESSAGE _StubMsg;
7167     
7168     if(ppTInfo)
7169         {
7170         MIDL_memset(
7171                ppTInfo,
7172                0,
7173                sizeof( ITypeInfo __RPC_FAR *__RPC_FAR * ));
7174         }
7175     RpcTryExcept
7176         {
7177         NdrProxyInitialize(
7178                       ( void __RPC_FAR *  )This,
7179                       ( PRPC_MESSAGE  )&_RpcMessage,
7180                       ( PMIDL_STUB_MESSAGE  )&_StubMsg,
7181                       ( PMIDL_STUB_DESC  )&Object_StubDesc,
7182                       4);
7183         
7184         
7185         
7186         if(!ppTInfo)
7187             {
7188             RpcRaiseException(RPC_X_NULL_REF_POINTER);
7189             }
7190         RpcTryFinally
7191             {
7192             
7193             _StubMsg.BufferLength = 4U;
7194             NdrProxyGetBuffer(This, &_StubMsg);
7195             *(( UINT __RPC_FAR * )_StubMsg.Buffer)++ = index;
7196             
7197             NdrProxySendReceive(This, &_StubMsg);
7198             
7199             if ( (_RpcMessage.DataRepresentation & 0X0000FFFFUL) != NDR_LOCAL_DATA_REPRESENTATION )
7200                 NdrConvert( (PMIDL_STUB_MESSAGE) &_StubMsg, (PFORMAT_STRING) &__MIDL_ProcFormatString.Format[246] );
7201             
7202             NdrPointerUnmarshall( (PMIDL_STUB_MESSAGE) &_StubMsg,
7203                                   (unsigned char __RPC_FAR * __RPC_FAR *)&ppTInfo,
7204                                   (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[6],
7205                                   (unsigned char)0 );
7206             
7207             _StubMsg.Buffer = (unsigned char __RPC_FAR *)(((long)_StubMsg.Buffer + 3) & ~ 0x3);
7208             _RetVal = *(( HRESULT __RPC_FAR * )_StubMsg.Buffer)++;
7209             
7210             }
7211         RpcFinally
7212             {
7213             NdrProxyFreeBuffer(This, &_StubMsg);
7214             
7215             }
7216         RpcEndFinally
7217         
7218         }
7219     RpcExcept(_StubMsg.dwStubPhase != PROXY_SENDRECEIVE)
7220         {
7221         NdrClearOutParameters(
7222                          ( PMIDL_STUB_MESSAGE  )&_StubMsg,
7223                          ( PFORMAT_STRING  )&__MIDL_TypeFormatString.Format[6],
7224                          ( void __RPC_FAR * )ppTInfo);
7225         _RetVal = NdrProxyErrorHandler(RpcExceptionCode());
7226         }
7227     RpcEndExcept
7228     return _RetVal;
7229 }
7230
7231 void __RPC_STUB ITypeLib_GetTypeInfo_Stub(
7232     IRpcStubBuffer *This,
7233     IRpcChannelBuffer *_pRpcChannelBuffer,
7234     PRPC_MESSAGE _pRpcMessage,
7235     DWORD *_pdwStubPhase)
7236 {
7237     ITypeInfo __RPC_FAR *_M62;
7238     HRESULT _RetVal;
7239     MIDL_STUB_MESSAGE _StubMsg;
7240     UINT index;
7241     ITypeInfo __RPC_FAR *__RPC_FAR *ppTInfo;
7242     
7243 NdrStubInitialize(
7244                      _pRpcMessage,
7245                      &_StubMsg,
7246                      &Object_StubDesc,
7247                      _pRpcChannelBuffer);
7248     ( ITypeInfo __RPC_FAR *__RPC_FAR * )ppTInfo = 0;
7249     RpcTryFinally
7250         {
7251         if ( (_pRpcMessage->DataRepresentation & 0X0000FFFFUL) != NDR_LOCAL_DATA_REPRESENTATION )
7252             NdrConvert( (PMIDL_STUB_MESSAGE) &_StubMsg, (PFORMAT_STRING) &__MIDL_ProcFormatString.Format[246] );
7253         
7254         index = *(( UINT __RPC_FAR * )_StubMsg.Buffer)++;
7255         
7256         ppTInfo = &_M62;
7257         _M62 = 0;
7258         
7259         *_pdwStubPhase = STUB_CALL_SERVER;
7260         _RetVal = (((ITypeLib*) ((CStdStubBuffer *)This)->pvServerObject)->lpVtbl) -> GetTypeInfo(
7261                (ITypeLib *) ((CStdStubBuffer *)This)->pvServerObject,
7262                index,
7263                ppTInfo);
7264         
7265         *_pdwStubPhase = STUB_MARSHAL;
7266         
7267         _StubMsg.BufferLength = 0U + 4U;
7268         NdrPointerBufferSize( (PMIDL_STUB_MESSAGE) &_StubMsg,
7269                               (unsigned char __RPC_FAR *)ppTInfo,
7270                               (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[6] );
7271         
7272         _StubMsg.BufferLength += 16;
7273         
7274         NdrStubGetBuffer(This, _pRpcChannelBuffer, &_StubMsg);
7275         NdrPointerMarshall( (PMIDL_STUB_MESSAGE)& _StubMsg,
7276                             (unsigned char __RPC_FAR *)ppTInfo,
7277                             (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[6] );
7278         
7279         _StubMsg.Buffer = (unsigned char __RPC_FAR *)(((long)_StubMsg.Buffer + 3) & ~ 0x3);
7280         *(( HRESULT __RPC_FAR * )_StubMsg.Buffer)++ = _RetVal;
7281         
7282         }
7283     RpcFinally
7284         {
7285         NdrPointerFree( &_StubMsg,
7286                         (unsigned char __RPC_FAR *)ppTInfo,
7287                         &__MIDL_TypeFormatString.Format[6] );
7288         
7289         }
7290     RpcEndFinally
7291     _pRpcMessage->BufferLength = 
7292         (unsigned int)((long)_StubMsg.Buffer - (long)_pRpcMessage->Buffer);
7293     
7294 }
7295
7296
7297 HRESULT STDMETHODCALLTYPE ITypeLib_GetTypeInfoType_Proxy( 
7298     ITypeLib __RPC_FAR * This,
7299     /* [in] */ UINT index,
7300     /* [out] */ TYPEKIND __RPC_FAR *pTKind)
7301 {
7302
7303     HRESULT _RetVal;
7304     
7305     RPC_MESSAGE _RpcMessage;
7306     
7307     MIDL_STUB_MESSAGE _StubMsg;
7308     
7309     RpcTryExcept
7310         {
7311         NdrProxyInitialize(
7312                       ( void __RPC_FAR *  )This,
7313                       ( PRPC_MESSAGE  )&_RpcMessage,
7314                       ( PMIDL_STUB_MESSAGE  )&_StubMsg,
7315                       ( PMIDL_STUB_DESC  )&Object_StubDesc,
7316                       5);
7317         
7318         
7319         
7320         if(!pTKind)
7321             {
7322             RpcRaiseException(RPC_X_NULL_REF_POINTER);
7323             }
7324         RpcTryFinally
7325             {
7326             
7327             _StubMsg.BufferLength = 4U;
7328             NdrProxyGetBuffer(This, &_StubMsg);
7329             *(( UINT __RPC_FAR * )_StubMsg.Buffer)++ = index;
7330             
7331             NdrProxySendReceive(This, &_StubMsg);
7332             
7333             if ( (_RpcMessage.DataRepresentation & 0X0000FFFFUL) != NDR_LOCAL_DATA_REPRESENTATION )
7334                 NdrConvert( (PMIDL_STUB_MESSAGE) &_StubMsg, (PFORMAT_STRING) &__MIDL_ProcFormatString.Format[378] );
7335             
7336             NdrPointerUnmarshall( (PMIDL_STUB_MESSAGE) &_StubMsg,
7337                                   (unsigned char __RPC_FAR * __RPC_FAR *)&pTKind,
7338                                   (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[1250],
7339                                   (unsigned char)0 );
7340             
7341             _RetVal = *(( HRESULT __RPC_FAR * )_StubMsg.Buffer)++;
7342             
7343             }
7344         RpcFinally
7345             {
7346             NdrProxyFreeBuffer(This, &_StubMsg);
7347             
7348             }
7349         RpcEndFinally
7350         
7351         }
7352     RpcExcept(_StubMsg.dwStubPhase != PROXY_SENDRECEIVE)
7353         {
7354         NdrClearOutParameters(
7355                          ( PMIDL_STUB_MESSAGE  )&_StubMsg,
7356                          ( PFORMAT_STRING  )&__MIDL_TypeFormatString.Format[1250],
7357                          ( void __RPC_FAR * )pTKind);
7358         _RetVal = NdrProxyErrorHandler(RpcExceptionCode());
7359         }
7360     RpcEndExcept
7361     return _RetVal;
7362 }
7363
7364 void __RPC_STUB ITypeLib_GetTypeInfoType_Stub(
7365     IRpcStubBuffer *This,
7366     IRpcChannelBuffer *_pRpcChannelBuffer,
7367     PRPC_MESSAGE _pRpcMessage,
7368     DWORD *_pdwStubPhase)
7369 {
7370     TYPEKIND _M63;
7371     HRESULT _RetVal;
7372     MIDL_STUB_MESSAGE _StubMsg;
7373     UINT index;
7374     TYPEKIND __RPC_FAR *pTKind;
7375     
7376 NdrStubInitialize(
7377                      _pRpcMessage,
7378                      &_StubMsg,
7379                      &Object_StubDesc,
7380                      _pRpcChannelBuffer);
7381     ( TYPEKIND __RPC_FAR * )pTKind = 0;
7382     RpcTryFinally
7383         {
7384         if ( (_pRpcMessage->DataRepresentation & 0X0000FFFFUL) != NDR_LOCAL_DATA_REPRESENTATION )
7385             NdrConvert( (PMIDL_STUB_MESSAGE) &_StubMsg, (PFORMAT_STRING) &__MIDL_ProcFormatString.Format[378] );
7386         
7387         index = *(( UINT __RPC_FAR * )_StubMsg.Buffer)++;
7388         
7389         pTKind = &_M63;
7390         
7391         *_pdwStubPhase = STUB_CALL_SERVER;
7392         _RetVal = (((ITypeLib*) ((CStdStubBuffer *)This)->pvServerObject)->lpVtbl) -> GetTypeInfoType(
7393                    (ITypeLib *) ((CStdStubBuffer *)This)->pvServerObject,
7394                    index,
7395                    pTKind);
7396         
7397         *_pdwStubPhase = STUB_MARSHAL;
7398         
7399         _StubMsg.BufferLength = 4U + 4U;
7400         NdrStubGetBuffer(This, _pRpcChannelBuffer, &_StubMsg);
7401         NdrPointerMarshall( (PMIDL_STUB_MESSAGE)& _StubMsg,
7402                             (unsigned char __RPC_FAR *)pTKind,
7403                             (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[1250] );
7404         
7405         *(( HRESULT __RPC_FAR * )_StubMsg.Buffer)++ = _RetVal;
7406         
7407         }
7408     RpcFinally
7409         {
7410         }
7411     RpcEndFinally
7412     _pRpcMessage->BufferLength = 
7413         (unsigned int)((long)_StubMsg.Buffer - (long)_pRpcMessage->Buffer);
7414     
7415 }
7416
7417
7418 HRESULT STDMETHODCALLTYPE ITypeLib_GetTypeInfoOfGuid_Proxy( 
7419     ITypeLib __RPC_FAR * This,
7420     /* [in] */ REFGUID guid,
7421     /* [out] */ ITypeInfo __RPC_FAR *__RPC_FAR *ppTinfo)
7422 {
7423
7424     HRESULT _RetVal;
7425     
7426     RPC_MESSAGE _RpcMessage;
7427     
7428     MIDL_STUB_MESSAGE _StubMsg;
7429     
7430     if(ppTinfo)
7431         {
7432         MIDL_memset(
7433                ppTinfo,
7434                0,
7435                sizeof( ITypeInfo __RPC_FAR *__RPC_FAR * ));
7436         }
7437     RpcTryExcept
7438         {
7439         NdrProxyInitialize(
7440                       ( void __RPC_FAR *  )This,
7441                       ( PRPC_MESSAGE  )&_RpcMessage,
7442                       ( PMIDL_STUB_MESSAGE  )&_StubMsg,
7443                       ( PMIDL_STUB_DESC  )&Object_StubDesc,
7444                       6);
7445         
7446         
7447         
7448         if(!guid)
7449             {
7450             RpcRaiseException(RPC_X_NULL_REF_POINTER);
7451             }
7452         if(!ppTinfo)
7453             {
7454             RpcRaiseException(RPC_X_NULL_REF_POINTER);
7455             }
7456         RpcTryFinally
7457             {
7458             
7459             _StubMsg.BufferLength = 0U;
7460             NdrSimpleStructBufferSize( (PMIDL_STUB_MESSAGE) &_StubMsg,
7461                                        (unsigned char __RPC_FAR *)guid,
7462                                        (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[38] );
7463             
7464             NdrProxyGetBuffer(This, &_StubMsg);
7465             NdrSimpleStructMarshall( (PMIDL_STUB_MESSAGE)& _StubMsg,
7466                                      (unsigned char __RPC_FAR *)guid,
7467                                      (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[38] );
7468             
7469             NdrProxySendReceive(This, &_StubMsg);
7470             
7471             if ( (_RpcMessage.DataRepresentation & 0X0000FFFFUL) != NDR_LOCAL_DATA_REPRESENTATION )
7472                 NdrConvert( (PMIDL_STUB_MESSAGE) &_StubMsg, (PFORMAT_STRING) &__MIDL_ProcFormatString.Format[386] );
7473             
7474             NdrPointerUnmarshall( (PMIDL_STUB_MESSAGE) &_StubMsg,
7475                                   (unsigned char __RPC_FAR * __RPC_FAR *)&ppTinfo,
7476                                   (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[6],
7477                                   (unsigned char)0 );
7478             
7479             _StubMsg.Buffer = (unsigned char __RPC_FAR *)(((long)_StubMsg.Buffer + 3) & ~ 0x3);
7480             _RetVal = *(( HRESULT __RPC_FAR * )_StubMsg.Buffer)++;
7481             
7482             }
7483         RpcFinally
7484             {
7485             NdrProxyFreeBuffer(This, &_StubMsg);
7486             
7487             }
7488         RpcEndFinally
7489         
7490         }
7491     RpcExcept(_StubMsg.dwStubPhase != PROXY_SENDRECEIVE)
7492         {
7493         NdrClearOutParameters(
7494                          ( PMIDL_STUB_MESSAGE  )&_StubMsg,
7495                          ( PFORMAT_STRING  )&__MIDL_TypeFormatString.Format[6],
7496                          ( void __RPC_FAR * )ppTinfo);
7497         _RetVal = NdrProxyErrorHandler(RpcExceptionCode());
7498         }
7499     RpcEndExcept
7500     return _RetVal;
7501 }
7502
7503 void __RPC_STUB ITypeLib_GetTypeInfoOfGuid_Stub(
7504     IRpcStubBuffer *This,
7505     IRpcChannelBuffer *_pRpcChannelBuffer,
7506     PRPC_MESSAGE _pRpcMessage,
7507     DWORD *_pdwStubPhase)
7508 {
7509     ITypeInfo __RPC_FAR *_M64;
7510     HRESULT _RetVal;
7511     MIDL_STUB_MESSAGE _StubMsg;
7512     REFGUID guid = 0;
7513     ITypeInfo __RPC_FAR *__RPC_FAR *ppTinfo;
7514     
7515 NdrStubInitialize(
7516                      _pRpcMessage,
7517                      &_StubMsg,
7518                      &Object_StubDesc,
7519                      _pRpcChannelBuffer);
7520     ( ITypeInfo __RPC_FAR *__RPC_FAR * )ppTinfo = 0;
7521     RpcTryFinally
7522         {
7523         if ( (_pRpcMessage->DataRepresentation & 0X0000FFFFUL) != NDR_LOCAL_DATA_REPRESENTATION )
7524             NdrConvert( (PMIDL_STUB_MESSAGE) &_StubMsg, (PFORMAT_STRING) &__MIDL_ProcFormatString.Format[386] );
7525         
7526         NdrSimpleStructUnmarshall( (PMIDL_STUB_MESSAGE) &_StubMsg,
7527                                    (unsigned char __RPC_FAR * __RPC_FAR *)&guid,
7528                                    (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[38],
7529                                    (unsigned char)0 );
7530         
7531         ppTinfo = &_M64;
7532         _M64 = 0;
7533         
7534         *_pdwStubPhase = STUB_CALL_SERVER;
7535         _RetVal = (((ITypeLib*) ((CStdStubBuffer *)This)->pvServerObject)->lpVtbl) -> GetTypeInfoOfGuid(
7536                      (ITypeLib *) ((CStdStubBuffer *)This)->pvServerObject,
7537                      guid,
7538                      ppTinfo);
7539         
7540         *_pdwStubPhase = STUB_MARSHAL;
7541         
7542         _StubMsg.BufferLength = 0U + 4U;
7543         NdrPointerBufferSize( (PMIDL_STUB_MESSAGE) &_StubMsg,
7544                               (unsigned char __RPC_FAR *)ppTinfo,
7545                               (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[6] );
7546         
7547         _StubMsg.BufferLength += 16;
7548         
7549         NdrStubGetBuffer(This, _pRpcChannelBuffer, &_StubMsg);
7550         NdrPointerMarshall( (PMIDL_STUB_MESSAGE)& _StubMsg,
7551                             (unsigned char __RPC_FAR *)ppTinfo,
7552                             (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[6] );
7553         
7554         _StubMsg.Buffer = (unsigned char __RPC_FAR *)(((long)_StubMsg.Buffer + 3) & ~ 0x3);
7555         *(( HRESULT __RPC_FAR * )_StubMsg.Buffer)++ = _RetVal;
7556         
7557         }
7558     RpcFinally
7559         {
7560         NdrPointerFree( &_StubMsg,
7561                         (unsigned char __RPC_FAR *)ppTinfo,
7562                         &__MIDL_TypeFormatString.Format[6] );
7563         
7564         }
7565     RpcEndFinally
7566     _pRpcMessage->BufferLength = 
7567         (unsigned int)((long)_StubMsg.Buffer - (long)_pRpcMessage->Buffer);
7568     
7569 }
7570
7571
7572 /* [call_as] */ HRESULT STDMETHODCALLTYPE ITypeLib_RemoteGetLibAttr_Proxy( 
7573     ITypeLib __RPC_FAR * This,
7574     /* [out] */ LPTLIBATTR __RPC_FAR *ppTLibAttr,
7575     /* [out] */ CLEANLOCALSTORAGE __RPC_FAR *pDummy)
7576 {
7577
7578     HRESULT _RetVal;
7579     
7580     RPC_MESSAGE _RpcMessage;
7581     
7582     MIDL_STUB_MESSAGE _StubMsg;
7583     
7584     if(ppTLibAttr)
7585         {
7586         *ppTLibAttr = 0;
7587         }
7588     if(pDummy)
7589         {
7590         MIDL_memset(
7591                pDummy,
7592                0,
7593                sizeof( CLEANLOCALSTORAGE  ));
7594         }
7595     RpcTryExcept
7596         {
7597         NdrProxyInitialize(
7598                       ( void __RPC_FAR *  )This,
7599                       ( PRPC_MESSAGE  )&_RpcMessage,
7600                       ( PMIDL_STUB_MESSAGE  )&_StubMsg,
7601                       ( PMIDL_STUB_DESC  )&Object_StubDesc,
7602                       7);
7603         
7604         
7605         
7606         if(!ppTLibAttr)
7607             {
7608             RpcRaiseException(RPC_X_NULL_REF_POINTER);
7609             }
7610         if(!pDummy)
7611             {
7612             RpcRaiseException(RPC_X_NULL_REF_POINTER);
7613             }
7614         RpcTryFinally
7615             {
7616             
7617             _StubMsg.BufferLength = 0U;
7618             NdrProxyGetBuffer(This, &_StubMsg);
7619             NdrProxySendReceive(This, &_StubMsg);
7620             
7621             if ( (_RpcMessage.DataRepresentation & 0X0000FFFFUL) != NDR_LOCAL_DATA_REPRESENTATION )
7622                 NdrConvert( (PMIDL_STUB_MESSAGE) &_StubMsg, (PFORMAT_STRING) &__MIDL_ProcFormatString.Format[396] );
7623             
7624             NdrPointerUnmarshall( (PMIDL_STUB_MESSAGE) &_StubMsg,
7625                                   (unsigned char __RPC_FAR * __RPC_FAR *)&ppTLibAttr,
7626                                   (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[1804],
7627                                   (unsigned char)0 );
7628             
7629             NdrUserMarshalUnmarshall( (PMIDL_STUB_MESSAGE) &_StubMsg,
7630                                       (unsigned char __RPC_FAR * __RPC_FAR *)&pDummy,
7631                                       (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[1838],
7632                                       (unsigned char)0 );
7633             
7634             _StubMsg.Buffer = (unsigned char __RPC_FAR *)(((long)_StubMsg.Buffer + 3) & ~ 0x3);
7635             _RetVal = *(( HRESULT __RPC_FAR * )_StubMsg.Buffer)++;
7636             
7637             }
7638         RpcFinally
7639             {
7640             NdrProxyFreeBuffer(This, &_StubMsg);
7641             
7642             }
7643         RpcEndFinally
7644         
7645         }
7646     RpcExcept(_StubMsg.dwStubPhase != PROXY_SENDRECEIVE)
7647         {
7648         NdrClearOutParameters(
7649                          ( PMIDL_STUB_MESSAGE  )&_StubMsg,
7650                          ( PFORMAT_STRING  )&__MIDL_TypeFormatString.Format[1804],
7651                          ( void __RPC_FAR * )ppTLibAttr);
7652         NdrClearOutParameters(
7653                          ( PMIDL_STUB_MESSAGE  )&_StubMsg,
7654                          ( PFORMAT_STRING  )&__MIDL_TypeFormatString.Format[1832],
7655                          ( void __RPC_FAR * )pDummy);
7656         _RetVal = NdrProxyErrorHandler(RpcExceptionCode());
7657         }
7658     RpcEndExcept
7659     return _RetVal;
7660 }
7661
7662 void __RPC_STUB ITypeLib_RemoteGetLibAttr_Stub(
7663     IRpcStubBuffer *This,
7664     IRpcChannelBuffer *_pRpcChannelBuffer,
7665     PRPC_MESSAGE _pRpcMessage,
7666     DWORD *_pdwStubPhase)
7667 {
7668     LPTLIBATTR _M65;
7669     CLEANLOCALSTORAGE _M66;
7670     HRESULT _RetVal;
7671     MIDL_STUB_MESSAGE _StubMsg;
7672     CLEANLOCALSTORAGE __RPC_FAR *pDummy;
7673     LPTLIBATTR __RPC_FAR *ppTLibAttr;
7674     
7675 NdrStubInitialize(
7676                      _pRpcMessage,
7677                      &_StubMsg,
7678                      &Object_StubDesc,
7679                      _pRpcChannelBuffer);
7680     ( LPTLIBATTR __RPC_FAR * )ppTLibAttr = 0;
7681     ( CLEANLOCALSTORAGE __RPC_FAR * )pDummy = 0;
7682     RpcTryFinally
7683         {
7684         ppTLibAttr = &_M65;
7685         _M65 = 0;
7686         pDummy = &_M66;
7687         MIDL_memset(
7688                pDummy,
7689                0,
7690                sizeof( CLEANLOCALSTORAGE  ));
7691         
7692         *_pdwStubPhase = STUB_CALL_SERVER;
7693         
7694         
7695         _RetVal = ITypeLib_GetLibAttr_Stub(
7696                                    (ITypeLib *) ((CStdStubBuffer *)This)->pvServerObject,
7697                                    ppTLibAttr,
7698                                    pDummy);
7699         
7700         *_pdwStubPhase = STUB_MARSHAL;
7701         
7702         _StubMsg.BufferLength = 8U + 11U + 7U;
7703         NdrPointerBufferSize( (PMIDL_STUB_MESSAGE) &_StubMsg,
7704                               (unsigned char __RPC_FAR *)ppTLibAttr,
7705                               (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[1804] );
7706         
7707         _StubMsg.BufferLength += 16;
7708         
7709         NdrStubGetBuffer(This, _pRpcChannelBuffer, &_StubMsg);
7710         NdrPointerMarshall( (PMIDL_STUB_MESSAGE)& _StubMsg,
7711                             (unsigned char __RPC_FAR *)ppTLibAttr,
7712                             (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[1804] );
7713         
7714         NdrUserMarshalMarshall( (PMIDL_STUB_MESSAGE)& _StubMsg,
7715                                 (unsigned char __RPC_FAR *)pDummy,
7716                                 (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[1838] );
7717         
7718         _StubMsg.Buffer = (unsigned char __RPC_FAR *)(((long)_StubMsg.Buffer + 3) & ~ 0x3);
7719         *(( HRESULT __RPC_FAR * )_StubMsg.Buffer)++ = _RetVal;
7720         
7721         }
7722     RpcFinally
7723         {
7724         NdrPointerFree( &_StubMsg,
7725                         (unsigned char __RPC_FAR *)ppTLibAttr,
7726                         &__MIDL_TypeFormatString.Format[1804] );
7727         
7728         NdrPointerFree( &_StubMsg,
7729                         (unsigned char __RPC_FAR *)pDummy,
7730                         &__MIDL_TypeFormatString.Format[1832] );
7731         
7732         }
7733     RpcEndFinally
7734     _pRpcMessage->BufferLength = 
7735         (unsigned int)((long)_StubMsg.Buffer - (long)_pRpcMessage->Buffer);
7736     
7737 }
7738
7739
7740 HRESULT STDMETHODCALLTYPE ITypeLib_GetTypeComp_Proxy( 
7741     ITypeLib __RPC_FAR * This,
7742     /* [out] */ ITypeComp __RPC_FAR *__RPC_FAR *ppTComp)
7743 {
7744
7745     HRESULT _RetVal;
7746     
7747     RPC_MESSAGE _RpcMessage;
7748     
7749     MIDL_STUB_MESSAGE _StubMsg;
7750     
7751     if(ppTComp)
7752         {
7753         MIDL_memset(
7754                ppTComp,
7755                0,
7756                sizeof( ITypeComp __RPC_FAR *__RPC_FAR * ));
7757         }
7758     RpcTryExcept
7759         {
7760         NdrProxyInitialize(
7761                       ( void __RPC_FAR *  )This,
7762                       ( PRPC_MESSAGE  )&_RpcMessage,
7763                       ( PMIDL_STUB_MESSAGE  )&_StubMsg,
7764                       ( PMIDL_STUB_DESC  )&Object_StubDesc,
7765                       8);
7766         
7767         
7768         
7769         if(!ppTComp)
7770             {
7771             RpcRaiseException(RPC_X_NULL_REF_POINTER);
7772             }
7773         RpcTryFinally
7774             {
7775             
7776             _StubMsg.BufferLength = 0U;
7777             NdrProxyGetBuffer(This, &_StubMsg);
7778             NdrProxySendReceive(This, &_StubMsg);
7779             
7780             if ( (_RpcMessage.DataRepresentation & 0X0000FFFFUL) != NDR_LOCAL_DATA_REPRESENTATION )
7781                 NdrConvert( (PMIDL_STUB_MESSAGE) &_StubMsg, (PFORMAT_STRING) &__MIDL_ProcFormatString.Format[152] );
7782             
7783             NdrPointerUnmarshall( (PMIDL_STUB_MESSAGE) &_StubMsg,
7784                                   (unsigned char __RPC_FAR * __RPC_FAR *)&ppTComp,
7785                                   (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[1540],
7786                                   (unsigned char)0 );
7787             
7788             _StubMsg.Buffer = (unsigned char __RPC_FAR *)(((long)_StubMsg.Buffer + 3) & ~ 0x3);
7789             _RetVal = *(( HRESULT __RPC_FAR * )_StubMsg.Buffer)++;
7790             
7791             }
7792         RpcFinally
7793             {
7794             NdrProxyFreeBuffer(This, &_StubMsg);
7795             
7796             }
7797         RpcEndFinally
7798         
7799         }
7800     RpcExcept(_StubMsg.dwStubPhase != PROXY_SENDRECEIVE)
7801         {
7802         NdrClearOutParameters(
7803                          ( PMIDL_STUB_MESSAGE  )&_StubMsg,
7804                          ( PFORMAT_STRING  )&__MIDL_TypeFormatString.Format[1540],
7805                          ( void __RPC_FAR * )ppTComp);
7806         _RetVal = NdrProxyErrorHandler(RpcExceptionCode());
7807         }
7808     RpcEndExcept
7809     return _RetVal;
7810 }
7811
7812 void __RPC_STUB ITypeLib_GetTypeComp_Stub(
7813     IRpcStubBuffer *This,
7814     IRpcChannelBuffer *_pRpcChannelBuffer,
7815     PRPC_MESSAGE _pRpcMessage,
7816     DWORD *_pdwStubPhase)
7817 {
7818     ITypeComp __RPC_FAR *_M67;
7819     HRESULT _RetVal;
7820     MIDL_STUB_MESSAGE _StubMsg;
7821     ITypeComp __RPC_FAR *__RPC_FAR *ppTComp;
7822     
7823 NdrStubInitialize(
7824                      _pRpcMessage,
7825                      &_StubMsg,
7826                      &Object_StubDesc,
7827                      _pRpcChannelBuffer);
7828     ( ITypeComp __RPC_FAR *__RPC_FAR * )ppTComp = 0;
7829     RpcTryFinally
7830         {
7831         ppTComp = &_M67;
7832         _M67 = 0;
7833         
7834         *_pdwStubPhase = STUB_CALL_SERVER;
7835         _RetVal = (((ITypeLib*) ((CStdStubBuffer *)This)->pvServerObject)->lpVtbl) -> GetTypeComp((ITypeLib *) ((CStdStubBuffer *)This)->pvServerObject,ppTComp);
7836         
7837         *_pdwStubPhase = STUB_MARSHAL;
7838         
7839         _StubMsg.BufferLength = 0U + 4U;
7840         NdrPointerBufferSize( (PMIDL_STUB_MESSAGE) &_StubMsg,
7841                               (unsigned char __RPC_FAR *)ppTComp,
7842                               (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[1540] );
7843         
7844         _StubMsg.BufferLength += 16;
7845         
7846         NdrStubGetBuffer(This, _pRpcChannelBuffer, &_StubMsg);
7847         NdrPointerMarshall( (PMIDL_STUB_MESSAGE)& _StubMsg,
7848                             (unsigned char __RPC_FAR *)ppTComp,
7849                             (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[1540] );
7850         
7851         _StubMsg.Buffer = (unsigned char __RPC_FAR *)(((long)_StubMsg.Buffer + 3) & ~ 0x3);
7852         *(( HRESULT __RPC_FAR * )_StubMsg.Buffer)++ = _RetVal;
7853         
7854         }
7855     RpcFinally
7856         {
7857         NdrPointerFree( &_StubMsg,
7858                         (unsigned char __RPC_FAR *)ppTComp,
7859                         &__MIDL_TypeFormatString.Format[1540] );
7860         
7861         }
7862     RpcEndFinally
7863     _pRpcMessage->BufferLength = 
7864         (unsigned int)((long)_StubMsg.Buffer - (long)_pRpcMessage->Buffer);
7865     
7866 }
7867
7868
7869 /* [call_as] */ HRESULT STDMETHODCALLTYPE ITypeLib_RemoteGetDocumentation_Proxy( 
7870     ITypeLib __RPC_FAR * This,
7871     /* [in] */ INT index,
7872     /* [in] */ DWORD refPtrFlags,
7873     /* [out] */ BSTR __RPC_FAR *pBstrName,
7874     /* [out] */ BSTR __RPC_FAR *pBstrDocString,
7875     /* [out] */ DWORD __RPC_FAR *pdwHelpContext,
7876     /* [out] */ BSTR __RPC_FAR *pBstrHelpFile)
7877 {
7878
7879     HRESULT _RetVal;
7880     
7881     RPC_MESSAGE _RpcMessage;
7882     
7883     MIDL_STUB_MESSAGE _StubMsg;
7884     
7885     if(pBstrName)
7886         {
7887         MIDL_memset(
7888                pBstrName,
7889                0,
7890                sizeof( BSTR  ));
7891         }
7892     if(pBstrDocString)
7893         {
7894         MIDL_memset(
7895                pBstrDocString,
7896                0,
7897                sizeof( BSTR  ));
7898         }
7899     if(pBstrHelpFile)
7900         {
7901         MIDL_memset(
7902                pBstrHelpFile,
7903                0,
7904                sizeof( BSTR  ));
7905         }
7906     RpcTryExcept
7907         {
7908         NdrProxyInitialize(
7909                       ( void __RPC_FAR *  )This,
7910                       ( PRPC_MESSAGE  )&_RpcMessage,
7911                       ( PMIDL_STUB_MESSAGE  )&_StubMsg,
7912                       ( PMIDL_STUB_DESC  )&Object_StubDesc,
7913                       9);
7914         
7915         
7916         
7917         if(!pBstrName)
7918             {
7919             RpcRaiseException(RPC_X_NULL_REF_POINTER);
7920             }
7921         if(!pBstrDocString)
7922             {
7923             RpcRaiseException(RPC_X_NULL_REF_POINTER);
7924             }
7925         if(!pdwHelpContext)
7926             {
7927             RpcRaiseException(RPC_X_NULL_REF_POINTER);
7928             }
7929         if(!pBstrHelpFile)
7930             {
7931             RpcRaiseException(RPC_X_NULL_REF_POINTER);
7932             }
7933         RpcTryFinally
7934             {
7935             
7936             _StubMsg.BufferLength = 4U + 4U;
7937             NdrProxyGetBuffer(This, &_StubMsg);
7938             *(( INT __RPC_FAR * )_StubMsg.Buffer)++ = index;
7939             
7940             *(( DWORD __RPC_FAR * )_StubMsg.Buffer)++ = refPtrFlags;
7941             
7942             NdrProxySendReceive(This, &_StubMsg);
7943             
7944             if ( (_RpcMessage.DataRepresentation & 0X0000FFFFUL) != NDR_LOCAL_DATA_REPRESENTATION )
7945                 NdrConvert( (PMIDL_STUB_MESSAGE) &_StubMsg, (PFORMAT_STRING) &__MIDL_ProcFormatString.Format[204] );
7946             
7947             NdrUserMarshalUnmarshall( (PMIDL_STUB_MESSAGE) &_StubMsg,
7948                                       (unsigned char __RPC_FAR * __RPC_FAR *)&pBstrName,
7949                                       (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[1128],
7950                                       (unsigned char)0 );
7951             
7952             NdrUserMarshalUnmarshall( (PMIDL_STUB_MESSAGE) &_StubMsg,
7953                                       (unsigned char __RPC_FAR * __RPC_FAR *)&pBstrDocString,
7954                                       (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[1128],
7955                                       (unsigned char)0 );
7956             
7957             _StubMsg.Buffer = (unsigned char __RPC_FAR *)(((long)_StubMsg.Buffer + 3) & ~ 0x3);
7958             *pdwHelpContext = *(( DWORD __RPC_FAR * )_StubMsg.Buffer)++;
7959             
7960             NdrUserMarshalUnmarshall( (PMIDL_STUB_MESSAGE) &_StubMsg,
7961                                       (unsigned char __RPC_FAR * __RPC_FAR *)&pBstrHelpFile,
7962                                       (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[1128],
7963                                       (unsigned char)0 );
7964             
7965             _StubMsg.Buffer = (unsigned char __RPC_FAR *)(((long)_StubMsg.Buffer + 3) & ~ 0x3);
7966             _RetVal = *(( HRESULT __RPC_FAR * )_StubMsg.Buffer)++;
7967             
7968             }
7969         RpcFinally
7970             {
7971             NdrProxyFreeBuffer(This, &_StubMsg);
7972             
7973             }
7974         RpcEndFinally
7975         
7976         }
7977     RpcExcept(_StubMsg.dwStubPhase != PROXY_SENDRECEIVE)
7978         {
7979         NdrClearOutParameters(
7980                          ( PMIDL_STUB_MESSAGE  )&_StubMsg,
7981                          ( PFORMAT_STRING  )&__MIDL_TypeFormatString.Format[1708],
7982                          ( void __RPC_FAR * )pBstrName);
7983         NdrClearOutParameters(
7984                          ( PMIDL_STUB_MESSAGE  )&_StubMsg,
7985                          ( PFORMAT_STRING  )&__MIDL_TypeFormatString.Format[1708],
7986                          ( void __RPC_FAR * )pBstrDocString);
7987         NdrClearOutParameters(
7988                          ( PMIDL_STUB_MESSAGE  )&_StubMsg,
7989                          ( PFORMAT_STRING  )&__MIDL_TypeFormatString.Format[2],
7990                          ( void __RPC_FAR * )pdwHelpContext);
7991         NdrClearOutParameters(
7992                          ( PMIDL_STUB_MESSAGE  )&_StubMsg,
7993                          ( PFORMAT_STRING  )&__MIDL_TypeFormatString.Format[1708],
7994                          ( void __RPC_FAR * )pBstrHelpFile);
7995         _RetVal = NdrProxyErrorHandler(RpcExceptionCode());
7996         }
7997     RpcEndExcept
7998     return _RetVal;
7999 }
8000
8001 void __RPC_STUB ITypeLib_RemoteGetDocumentation_Stub(
8002     IRpcStubBuffer *This,
8003     IRpcChannelBuffer *_pRpcChannelBuffer,
8004     PRPC_MESSAGE _pRpcMessage,
8005     DWORD *_pdwStubPhase)
8006 {
8007     BSTR _M68;
8008     BSTR _M69;
8009     DWORD _M70;
8010     BSTR _M71;
8011     HRESULT _RetVal;
8012     MIDL_STUB_MESSAGE _StubMsg;
8013     INT index;
8014     BSTR __RPC_FAR *pBstrDocString;
8015     BSTR __RPC_FAR *pBstrHelpFile;
8016     BSTR __RPC_FAR *pBstrName;
8017     DWORD __RPC_FAR *pdwHelpContext;
8018     DWORD refPtrFlags;
8019     
8020 NdrStubInitialize(
8021                      _pRpcMessage,
8022                      &_StubMsg,
8023                      &Object_StubDesc,
8024                      _pRpcChannelBuffer);
8025     ( BSTR __RPC_FAR * )pBstrName = 0;
8026     ( BSTR __RPC_FAR * )pBstrDocString = 0;
8027     ( DWORD __RPC_FAR * )pdwHelpContext = 0;
8028     ( BSTR __RPC_FAR * )pBstrHelpFile = 0;
8029     RpcTryFinally
8030         {
8031         if ( (_pRpcMessage->DataRepresentation & 0X0000FFFFUL) != NDR_LOCAL_DATA_REPRESENTATION )
8032             NdrConvert( (PMIDL_STUB_MESSAGE) &_StubMsg, (PFORMAT_STRING) &__MIDL_ProcFormatString.Format[204] );
8033         
8034         index = *(( INT __RPC_FAR * )_StubMsg.Buffer)++;
8035         
8036         refPtrFlags = *(( DWORD __RPC_FAR * )_StubMsg.Buffer)++;
8037         
8038         pBstrName = &_M68;
8039         MIDL_memset(
8040                pBstrName,
8041                0,
8042                sizeof( BSTR  ));
8043         pBstrDocString = &_M69;
8044         MIDL_memset(
8045                pBstrDocString,
8046                0,
8047                sizeof( BSTR  ));
8048         pdwHelpContext = &_M70;
8049         pBstrHelpFile = &_M71;
8050         MIDL_memset(
8051                pBstrHelpFile,
8052                0,
8053                sizeof( BSTR  ));
8054         
8055         *_pdwStubPhase = STUB_CALL_SERVER;
8056         
8057         
8058         _RetVal = ITypeLib_GetDocumentation_Stub(
8059                                          (ITypeLib *) ((CStdStubBuffer *)This)->pvServerObject,
8060                                          index,
8061                                          refPtrFlags,
8062                                          pBstrName,
8063                                          pBstrDocString,
8064                                          pdwHelpContext,
8065                                          pBstrHelpFile);
8066         
8067         *_pdwStubPhase = STUB_MARSHAL;
8068         
8069         _StubMsg.BufferLength = 8U + 15U + 11U + 11U + 11U;
8070         NdrUserMarshalBufferSize( (PMIDL_STUB_MESSAGE) &_StubMsg,
8071                                   (unsigned char __RPC_FAR *)pBstrName,
8072                                   (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[1128] );
8073         
8074         NdrUserMarshalBufferSize( (PMIDL_STUB_MESSAGE) &_StubMsg,
8075                                   (unsigned char __RPC_FAR *)pBstrDocString,
8076                                   (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[1128] );
8077         
8078         NdrUserMarshalBufferSize( (PMIDL_STUB_MESSAGE) &_StubMsg,
8079                                   (unsigned char __RPC_FAR *)pBstrHelpFile,
8080                                   (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[1128] );
8081         
8082         _StubMsg.BufferLength += 16;
8083         
8084         NdrStubGetBuffer(This, _pRpcChannelBuffer, &_StubMsg);
8085         NdrUserMarshalMarshall( (PMIDL_STUB_MESSAGE)& _StubMsg,
8086                                 (unsigned char __RPC_FAR *)pBstrName,
8087                                 (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[1128] );
8088         
8089         NdrUserMarshalMarshall( (PMIDL_STUB_MESSAGE)& _StubMsg,
8090                                 (unsigned char __RPC_FAR *)pBstrDocString,
8091                                 (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[1128] );
8092         
8093         _StubMsg.Buffer = (unsigned char __RPC_FAR *)(((long)_StubMsg.Buffer + 3) & ~ 0x3);
8094         *(( DWORD __RPC_FAR * )_StubMsg.Buffer)++ = *pdwHelpContext;
8095         
8096         NdrUserMarshalMarshall( (PMIDL_STUB_MESSAGE)& _StubMsg,
8097                                 (unsigned char __RPC_FAR *)pBstrHelpFile,
8098                                 (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[1128] );
8099         
8100         _StubMsg.Buffer = (unsigned char __RPC_FAR *)(((long)_StubMsg.Buffer + 3) & ~ 0x3);
8101         *(( HRESULT __RPC_FAR * )_StubMsg.Buffer)++ = _RetVal;
8102         
8103         }
8104     RpcFinally
8105         {
8106         NdrPointerFree( &_StubMsg,
8107                         (unsigned char __RPC_FAR *)pBstrName,
8108                         &__MIDL_TypeFormatString.Format[1708] );
8109         
8110         NdrPointerFree( &_StubMsg,
8111                         (unsigned char __RPC_FAR *)pBstrDocString,
8112                         &__MIDL_TypeFormatString.Format[1708] );
8113         
8114         NdrPointerFree( &_StubMsg,
8115                         (unsigned char __RPC_FAR *)pBstrHelpFile,
8116                         &__MIDL_TypeFormatString.Format[1708] );
8117         
8118         }
8119     RpcEndFinally
8120     _pRpcMessage->BufferLength = 
8121         (unsigned int)((long)_StubMsg.Buffer - (long)_pRpcMessage->Buffer);
8122     
8123 }
8124
8125
8126 /* [call_as] */ HRESULT STDMETHODCALLTYPE ITypeLib_RemoteIsName_Proxy( 
8127     ITypeLib __RPC_FAR * This,
8128     /* [in] */ LPOLESTR szNameBuf,
8129     /* [in] */ ULONG lHashVal,
8130     /* [out] */ BOOL __RPC_FAR *pfName,
8131     /* [out] */ BSTR __RPC_FAR *pBstrLibName)
8132 {
8133
8134     HRESULT _RetVal;
8135     
8136     RPC_MESSAGE _RpcMessage;
8137     
8138     MIDL_STUB_MESSAGE _StubMsg;
8139     
8140     if(pBstrLibName)
8141         {
8142         MIDL_memset(
8143                pBstrLibName,
8144                0,
8145                sizeof( BSTR  ));
8146         }
8147     RpcTryExcept
8148         {
8149         NdrProxyInitialize(
8150                       ( void __RPC_FAR *  )This,
8151                       ( PRPC_MESSAGE  )&_RpcMessage,
8152                       ( PMIDL_STUB_MESSAGE  )&_StubMsg,
8153                       ( PMIDL_STUB_DESC  )&Object_StubDesc,
8154                       10);
8155         
8156         
8157         
8158         if(!szNameBuf)
8159             {
8160             RpcRaiseException(RPC_X_NULL_REF_POINTER);
8161             }
8162         if(!pfName)
8163             {
8164             RpcRaiseException(RPC_X_NULL_REF_POINTER);
8165             }
8166         if(!pBstrLibName)
8167             {
8168             RpcRaiseException(RPC_X_NULL_REF_POINTER);
8169             }
8170         RpcTryFinally
8171             {
8172             
8173             _StubMsg.BufferLength = 12U + 10U;
8174             NdrConformantStringBufferSize( (PMIDL_STUB_MESSAGE) &_StubMsg,
8175                                            (unsigned char __RPC_FAR *)szNameBuf,
8176                                            (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[1248] );
8177             
8178             NdrProxyGetBuffer(This, &_StubMsg);
8179             NdrConformantStringMarshall( (PMIDL_STUB_MESSAGE)& _StubMsg,
8180                                          (unsigned char __RPC_FAR *)szNameBuf,
8181                                          (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[1248] );
8182             
8183             _StubMsg.Buffer = (unsigned char __RPC_FAR *)(((long)_StubMsg.Buffer + 3) & ~ 0x3);
8184             *(( ULONG __RPC_FAR * )_StubMsg.Buffer)++ = lHashVal;
8185             
8186             NdrProxySendReceive(This, &_StubMsg);
8187             
8188             if ( (_RpcMessage.DataRepresentation & 0X0000FFFFUL) != NDR_LOCAL_DATA_REPRESENTATION )
8189                 NdrConvert( (PMIDL_STUB_MESSAGE) &_StubMsg, (PFORMAT_STRING) &__MIDL_ProcFormatString.Format[406] );
8190             
8191             *pfName = *(( BOOL __RPC_FAR * )_StubMsg.Buffer)++;
8192             
8193             NdrUserMarshalUnmarshall( (PMIDL_STUB_MESSAGE) &_StubMsg,
8194                                       (unsigned char __RPC_FAR * __RPC_FAR *)&pBstrLibName,
8195                                       (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[1128],
8196                                       (unsigned char)0 );
8197             
8198             _StubMsg.Buffer = (unsigned char __RPC_FAR *)(((long)_StubMsg.Buffer + 3) & ~ 0x3);
8199             _RetVal = *(( HRESULT __RPC_FAR * )_StubMsg.Buffer)++;
8200             
8201             }
8202         RpcFinally
8203             {
8204             NdrProxyFreeBuffer(This, &_StubMsg);
8205             
8206             }
8207         RpcEndFinally
8208         
8209         }
8210     RpcExcept(_StubMsg.dwStubPhase != PROXY_SENDRECEIVE)
8211         {
8212         NdrClearOutParameters(
8213                          ( PMIDL_STUB_MESSAGE  )&_StubMsg,
8214                          ( PFORMAT_STRING  )&__MIDL_TypeFormatString.Format[2],
8215                          ( void __RPC_FAR * )pfName);
8216         NdrClearOutParameters(
8217                          ( PMIDL_STUB_MESSAGE  )&_StubMsg,
8218                          ( PFORMAT_STRING  )&__MIDL_TypeFormatString.Format[1708],
8219                          ( void __RPC_FAR * )pBstrLibName);
8220         _RetVal = NdrProxyErrorHandler(RpcExceptionCode());
8221         }
8222     RpcEndExcept
8223     return _RetVal;
8224 }
8225
8226 void __RPC_STUB ITypeLib_RemoteIsName_Stub(
8227     IRpcStubBuffer *This,
8228     IRpcChannelBuffer *_pRpcChannelBuffer,
8229     PRPC_MESSAGE _pRpcMessage,
8230     DWORD *_pdwStubPhase)
8231 {
8232     BOOL _M74;
8233     BSTR _M75;
8234     HRESULT _RetVal;
8235     MIDL_STUB_MESSAGE _StubMsg;
8236     ULONG lHashVal;
8237     BSTR __RPC_FAR *pBstrLibName;
8238     BOOL __RPC_FAR *pfName;
8239     LPOLESTR szNameBuf;
8240     
8241 NdrStubInitialize(
8242                      _pRpcMessage,
8243                      &_StubMsg,
8244                      &Object_StubDesc,
8245                      _pRpcChannelBuffer);
8246     ( LPOLESTR  )szNameBuf = 0;
8247     ( BOOL __RPC_FAR * )pfName = 0;
8248     ( BSTR __RPC_FAR * )pBstrLibName = 0;
8249     RpcTryFinally
8250         {
8251         if ( (_pRpcMessage->DataRepresentation & 0X0000FFFFUL) != NDR_LOCAL_DATA_REPRESENTATION )
8252             NdrConvert( (PMIDL_STUB_MESSAGE) &_StubMsg, (PFORMAT_STRING) &__MIDL_ProcFormatString.Format[406] );
8253         
8254         NdrConformantStringUnmarshall( (PMIDL_STUB_MESSAGE) &_StubMsg,
8255                                        (unsigned char __RPC_FAR * __RPC_FAR *)&szNameBuf,
8256                                        (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[1248],
8257                                        (unsigned char)0 );
8258         
8259         _StubMsg.Buffer = (unsigned char __RPC_FAR *)(((long)_StubMsg.Buffer + 3) & ~ 0x3);
8260         lHashVal = *(( ULONG __RPC_FAR * )_StubMsg.Buffer)++;
8261         
8262         pfName = &_M74;
8263         pBstrLibName = &_M75;
8264         MIDL_memset(
8265                pBstrLibName,
8266                0,
8267                sizeof( BSTR  ));
8268         
8269         *_pdwStubPhase = STUB_CALL_SERVER;
8270         
8271         
8272         _RetVal = ITypeLib_IsName_Stub(
8273                                (ITypeLib *) ((CStdStubBuffer *)This)->pvServerObject,
8274                                szNameBuf,
8275                                lHashVal,
8276                                pfName,
8277                                pBstrLibName);
8278         
8279         *_pdwStubPhase = STUB_MARSHAL;
8280         
8281         _StubMsg.BufferLength = 4U + 4U + 11U;
8282         NdrUserMarshalBufferSize( (PMIDL_STUB_MESSAGE) &_StubMsg,
8283                                   (unsigned char __RPC_FAR *)pBstrLibName,
8284                                   (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[1128] );
8285         
8286         _StubMsg.BufferLength += 16;
8287         
8288         NdrStubGetBuffer(This, _pRpcChannelBuffer, &_StubMsg);
8289         *(( BOOL __RPC_FAR * )_StubMsg.Buffer)++ = *pfName;
8290         
8291         NdrUserMarshalMarshall( (PMIDL_STUB_MESSAGE)& _StubMsg,
8292                                 (unsigned char __RPC_FAR *)pBstrLibName,
8293                                 (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[1128] );
8294         
8295         _StubMsg.Buffer = (unsigned char __RPC_FAR *)(((long)_StubMsg.Buffer + 3) & ~ 0x3);
8296         *(( HRESULT __RPC_FAR * )_StubMsg.Buffer)++ = _RetVal;
8297         
8298         }
8299     RpcFinally
8300         {
8301         NdrPointerFree( &_StubMsg,
8302                         (unsigned char __RPC_FAR *)pBstrLibName,
8303                         &__MIDL_TypeFormatString.Format[1708] );
8304         
8305         }
8306     RpcEndFinally
8307     _pRpcMessage->BufferLength = 
8308         (unsigned int)((long)_StubMsg.Buffer - (long)_pRpcMessage->Buffer);
8309     
8310 }
8311
8312
8313 /* [call_as] */ HRESULT STDMETHODCALLTYPE ITypeLib_RemoteFindName_Proxy( 
8314     ITypeLib __RPC_FAR * This,
8315     /* [in] */ LPOLESTR szNameBuf,
8316     /* [in] */ ULONG lHashVal,
8317     /* [length_is][size_is][out] */ ITypeInfo __RPC_FAR *__RPC_FAR *ppTInfo,
8318     /* [length_is][size_is][out] */ MEMBERID __RPC_FAR *rgMemId,
8319     /* [out][in] */ USHORT __RPC_FAR *pcFound,
8320     /* [out] */ BSTR __RPC_FAR *pBstrLibName)
8321 {
8322
8323     HRESULT _RetVal;
8324     
8325     RPC_MESSAGE _RpcMessage;
8326     
8327     MIDL_STUB_MESSAGE _StubMsg;
8328     
8329     if(ppTInfo)
8330         {
8331         MIDL_memset(
8332                ppTInfo,
8333                0,
8334                *pcFound * sizeof( ITypeInfo __RPC_FAR *__RPC_FAR * ));
8335         }
8336     if(pBstrLibName)
8337         {
8338         MIDL_memset(
8339                pBstrLibName,
8340                0,
8341                sizeof( BSTR  ));
8342         }
8343     RpcTryExcept
8344         {
8345         NdrProxyInitialize(
8346                       ( void __RPC_FAR *  )This,
8347                       ( PRPC_MESSAGE  )&_RpcMessage,
8348                       ( PMIDL_STUB_MESSAGE  )&_StubMsg,
8349                       ( PMIDL_STUB_DESC  )&Object_StubDesc,
8350                       11);
8351         
8352         
8353         
8354         if(!szNameBuf)
8355             {
8356             RpcRaiseException(RPC_X_NULL_REF_POINTER);
8357             }
8358         if(!ppTInfo)
8359             {
8360             RpcRaiseException(RPC_X_NULL_REF_POINTER);
8361             }
8362         if(!rgMemId)
8363             {
8364             RpcRaiseException(RPC_X_NULL_REF_POINTER);
8365             }
8366         if(!pcFound)
8367             {
8368             RpcRaiseException(RPC_X_NULL_REF_POINTER);
8369             }
8370         if(!pBstrLibName)
8371             {
8372             RpcRaiseException(RPC_X_NULL_REF_POINTER);
8373             }
8374         RpcTryFinally
8375             {
8376             
8377             _StubMsg.BufferLength = 12U + 10U + 4U;
8378             NdrConformantStringBufferSize( (PMIDL_STUB_MESSAGE) &_StubMsg,
8379                                            (unsigned char __RPC_FAR *)szNameBuf,
8380                                            (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[1248] );
8381             
8382             NdrProxyGetBuffer(This, &_StubMsg);
8383             NdrConformantStringMarshall( (PMIDL_STUB_MESSAGE)& _StubMsg,
8384                                          (unsigned char __RPC_FAR *)szNameBuf,
8385                                          (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[1248] );
8386             
8387             _StubMsg.Buffer = (unsigned char __RPC_FAR *)(((long)_StubMsg.Buffer + 3) & ~ 0x3);
8388             *(( ULONG __RPC_FAR * )_StubMsg.Buffer)++ = lHashVal;
8389             
8390             *(( USHORT __RPC_FAR * )_StubMsg.Buffer)++ = *pcFound;
8391             
8392             NdrProxySendReceive(This, &_StubMsg);
8393             
8394             if ( (_RpcMessage.DataRepresentation & 0X0000FFFFUL) != NDR_LOCAL_DATA_REPRESENTATION )
8395                 NdrConvert( (PMIDL_STUB_MESSAGE) &_StubMsg, (PFORMAT_STRING) &__MIDL_ProcFormatString.Format[422] );
8396             
8397             NdrComplexArrayUnmarshall( (PMIDL_STUB_MESSAGE) &_StubMsg,
8398                                        (unsigned char __RPC_FAR * __RPC_FAR *)&ppTInfo,
8399                                        (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[1852],
8400                                        (unsigned char)0 );
8401             
8402             NdrConformantVaryingArrayUnmarshall( (PMIDL_STUB_MESSAGE) &_StubMsg,
8403                                                  (unsigned char __RPC_FAR * __RPC_FAR *)&rgMemId,
8404                                                  (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[1874],
8405                                                  (unsigned char)0 );
8406             
8407             *pcFound = *(( USHORT __RPC_FAR * )_StubMsg.Buffer)++;
8408             
8409             NdrUserMarshalUnmarshall( (PMIDL_STUB_MESSAGE) &_StubMsg,
8410                                       (unsigned char __RPC_FAR * __RPC_FAR *)&pBstrLibName,
8411                                       (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[1128],
8412                                       (unsigned char)0 );
8413             
8414             _StubMsg.Buffer = (unsigned char __RPC_FAR *)(((long)_StubMsg.Buffer + 3) & ~ 0x3);
8415             _RetVal = *(( HRESULT __RPC_FAR * )_StubMsg.Buffer)++;
8416             
8417             }
8418         RpcFinally
8419             {
8420             NdrProxyFreeBuffer(This, &_StubMsg);
8421             
8422             }
8423         RpcEndFinally
8424         
8425         }
8426     RpcExcept(_StubMsg.dwStubPhase != PROXY_SENDRECEIVE)
8427         {
8428         _StubMsg.MaxCount = pcFound ? *pcFound : 0;
8429         _StubMsg.Offset = 0;
8430         _StubMsg.ActualCount = _StubMsg.MaxCount;
8431         
8432         NdrClearOutParameters(
8433                          ( PMIDL_STUB_MESSAGE  )&_StubMsg,
8434                          ( PFORMAT_STRING  )&__MIDL_TypeFormatString.Format[1848],
8435                          ( void __RPC_FAR * )ppTInfo);
8436         _StubMsg.MaxCount = pcFound ? *pcFound : 0;
8437         _StubMsg.Offset = 0;
8438         _StubMsg.ActualCount = _StubMsg.MaxCount;
8439         
8440         NdrClearOutParameters(
8441                          ( PMIDL_STUB_MESSAGE  )&_StubMsg,
8442                          ( PFORMAT_STRING  )&__MIDL_TypeFormatString.Format[1870],
8443                          ( void __RPC_FAR * )rgMemId);
8444         NdrClearOutParameters(
8445                          ( PMIDL_STUB_MESSAGE  )&_StubMsg,
8446                          ( PFORMAT_STRING  )&__MIDL_TypeFormatString.Format[1888],
8447                          ( void __RPC_FAR * )pcFound);
8448         NdrClearOutParameters(
8449                          ( PMIDL_STUB_MESSAGE  )&_StubMsg,
8450                          ( PFORMAT_STRING  )&__MIDL_TypeFormatString.Format[1708],
8451                          ( void __RPC_FAR * )pBstrLibName);
8452         _RetVal = NdrProxyErrorHandler(RpcExceptionCode());
8453         }
8454     RpcEndExcept
8455     return _RetVal;
8456 }
8457
8458 void __RPC_STUB ITypeLib_RemoteFindName_Stub(
8459     IRpcStubBuffer *This,
8460     IRpcChannelBuffer *_pRpcChannelBuffer,
8461     PRPC_MESSAGE _pRpcMessage,
8462     DWORD *_pdwStubPhase)
8463 {
8464     BSTR _M84;
8465     HRESULT _RetVal;
8466     MIDL_STUB_MESSAGE _StubMsg;
8467     ULONG lHashVal;
8468     BSTR __RPC_FAR *pBstrLibName;
8469     USHORT __RPC_FAR *pcFound;
8470     ITypeInfo __RPC_FAR *__RPC_FAR *ppTInfo;
8471     MEMBERID __RPC_FAR *rgMemId;
8472     LPOLESTR szNameBuf;
8473     
8474 NdrStubInitialize(
8475                      _pRpcMessage,
8476                      &_StubMsg,
8477                      &Object_StubDesc,
8478                      _pRpcChannelBuffer);
8479     ( LPOLESTR  )szNameBuf = 0;
8480     ( ITypeInfo __RPC_FAR *__RPC_FAR * )ppTInfo = 0;
8481     ( MEMBERID __RPC_FAR * )rgMemId = 0;
8482     ( USHORT __RPC_FAR * )pcFound = 0;
8483     ( BSTR __RPC_FAR * )pBstrLibName = 0;
8484     RpcTryFinally
8485         {
8486         if ( (_pRpcMessage->DataRepresentation & 0X0000FFFFUL) != NDR_LOCAL_DATA_REPRESENTATION )
8487             NdrConvert( (PMIDL_STUB_MESSAGE) &_StubMsg, (PFORMAT_STRING) &__MIDL_ProcFormatString.Format[422] );
8488         
8489         NdrConformantStringUnmarshall( (PMIDL_STUB_MESSAGE) &_StubMsg,
8490                                        (unsigned char __RPC_FAR * __RPC_FAR *)&szNameBuf,
8491                                        (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[1248],
8492                                        (unsigned char)0 );
8493         
8494         _StubMsg.Buffer = (unsigned char __RPC_FAR *)(((long)_StubMsg.Buffer + 3) & ~ 0x3);
8495         lHashVal = *(( ULONG __RPC_FAR * )_StubMsg.Buffer)++;
8496         
8497         pcFound = ( USHORT __RPC_FAR * )_StubMsg.Buffer;
8498         _StubMsg.Buffer += sizeof( USHORT  );
8499         
8500         ppTInfo = NdrAllocate(&_StubMsg,*pcFound * 4);
8501         rgMemId = NdrAllocate(&_StubMsg,*pcFound * 4);
8502         pBstrLibName = &_M84;
8503         MIDL_memset(
8504                pBstrLibName,
8505                0,
8506                sizeof( BSTR  ));
8507         
8508         *_pdwStubPhase = STUB_CALL_SERVER;
8509         
8510         
8511         _RetVal = ITypeLib_FindName_Stub(
8512                                  (ITypeLib *) ((CStdStubBuffer *)This)->pvServerObject,
8513                                  szNameBuf,
8514                                  lHashVal,
8515                                  ppTInfo,
8516                                  rgMemId,
8517                                  pcFound,
8518                                  pBstrLibName);
8519         
8520         *_pdwStubPhase = STUB_MARSHAL;
8521         
8522         _StubMsg.BufferLength = 12U + 15U + 4U + 14U + 11U;
8523         _StubMsg.MaxCount = pcFound ? *pcFound : 0;
8524         _StubMsg.Offset = 0;
8525         _StubMsg.ActualCount = pcFound ? *pcFound : 0;
8526         
8527         NdrComplexArrayBufferSize( (PMIDL_STUB_MESSAGE) &_StubMsg,
8528                                    (unsigned char __RPC_FAR *)ppTInfo,
8529                                    (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[1852] );
8530         
8531         _StubMsg.MaxCount = pcFound ? *pcFound : 0;
8532         _StubMsg.Offset = 0;
8533         _StubMsg.ActualCount = pcFound ? *pcFound : 0;
8534         
8535         NdrConformantVaryingArrayBufferSize( (PMIDL_STUB_MESSAGE) &_StubMsg,
8536                                              (unsigned char __RPC_FAR *)rgMemId,
8537                                              (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[1874] );
8538         
8539         NdrUserMarshalBufferSize( (PMIDL_STUB_MESSAGE) &_StubMsg,
8540                                   (unsigned char __RPC_FAR *)pBstrLibName,
8541                                   (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[1128] );
8542         
8543         _StubMsg.BufferLength += 16;
8544         
8545         NdrStubGetBuffer(This, _pRpcChannelBuffer, &_StubMsg);
8546         _StubMsg.MaxCount = pcFound ? *pcFound : 0;
8547         _StubMsg.Offset = 0;
8548         _StubMsg.ActualCount = pcFound ? *pcFound : 0;
8549         
8550         NdrComplexArrayMarshall( (PMIDL_STUB_MESSAGE)& _StubMsg,
8551                                  (unsigned char __RPC_FAR *)ppTInfo,
8552                                  (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[1852] );
8553         
8554         _StubMsg.MaxCount = pcFound ? *pcFound : 0;
8555         _StubMsg.Offset = 0;
8556         _StubMsg.ActualCount = pcFound ? *pcFound : 0;
8557         
8558         NdrConformantVaryingArrayMarshall( (PMIDL_STUB_MESSAGE)& _StubMsg,
8559                                            (unsigned char __RPC_FAR *)rgMemId,
8560                                            (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[1874] );
8561         
8562         *(( USHORT __RPC_FAR * )_StubMsg.Buffer)++ = *pcFound;
8563         
8564         NdrUserMarshalMarshall( (PMIDL_STUB_MESSAGE)& _StubMsg,
8565                                 (unsigned char __RPC_FAR *)pBstrLibName,
8566                                 (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[1128] );
8567         
8568         _StubMsg.Buffer = (unsigned char __RPC_FAR *)(((long)_StubMsg.Buffer + 3) & ~ 0x3);
8569         *(( HRESULT __RPC_FAR * )_StubMsg.Buffer)++ = _RetVal;
8570         
8571         }
8572     RpcFinally
8573         {
8574         _StubMsg.MaxCount = pcFound ? *pcFound : 0;
8575         _StubMsg.Offset = 0;
8576         _StubMsg.ActualCount = pcFound ? *pcFound : 0;
8577         
8578         NdrPointerFree( &_StubMsg,
8579                         (unsigned char __RPC_FAR *)ppTInfo,
8580                         &__MIDL_TypeFormatString.Format[1848] );
8581         
8582         _StubMsg.MaxCount = pcFound ? *pcFound : 0;
8583         _StubMsg.Offset = 0;
8584         _StubMsg.ActualCount = pcFound ? *pcFound : 0;
8585         
8586         NdrPointerFree( &_StubMsg,
8587                         (unsigned char __RPC_FAR *)rgMemId,
8588                         &__MIDL_TypeFormatString.Format[1870] );
8589         
8590         NdrPointerFree( &_StubMsg,
8591                         (unsigned char __RPC_FAR *)pBstrLibName,
8592                         &__MIDL_TypeFormatString.Format[1708] );
8593         
8594         }
8595     RpcEndFinally
8596     _pRpcMessage->BufferLength = 
8597         (unsigned int)((long)_StubMsg.Buffer - (long)_pRpcMessage->Buffer);
8598     
8599 }
8600
8601
8602 /* [call_as] */ HRESULT STDMETHODCALLTYPE ITypeLib_LocalReleaseTLibAttr_Proxy( 
8603     ITypeLib __RPC_FAR * This)
8604 {
8605
8606     HRESULT _RetVal;
8607     
8608     RPC_MESSAGE _RpcMessage;
8609     
8610     MIDL_STUB_MESSAGE _StubMsg;
8611     
8612     RpcTryExcept
8613         {
8614         NdrProxyInitialize(
8615                       ( void __RPC_FAR *  )This,
8616                       ( PRPC_MESSAGE  )&_RpcMessage,
8617                       ( PMIDL_STUB_MESSAGE  )&_StubMsg,
8618                       ( PMIDL_STUB_DESC  )&Object_StubDesc,
8619                       12);
8620         
8621         
8622         
8623         RpcTryFinally
8624             {
8625             
8626             _StubMsg.BufferLength = 0U;
8627             NdrProxyGetBuffer(This, &_StubMsg);
8628             NdrProxySendReceive(This, &_StubMsg);
8629             
8630             if ( (_RpcMessage.DataRepresentation & 0X0000FFFFUL) != NDR_LOCAL_DATA_REPRESENTATION )
8631                 NdrConvert( (PMIDL_STUB_MESSAGE) &_StubMsg, (PFORMAT_STRING) &__MIDL_ProcFormatString.Format[88] );
8632             
8633             _RetVal = *(( HRESULT __RPC_FAR * )_StubMsg.Buffer)++;
8634             
8635             }
8636         RpcFinally
8637             {
8638             NdrProxyFreeBuffer(This, &_StubMsg);
8639             
8640             }
8641         RpcEndFinally
8642         
8643         }
8644     RpcExcept(_StubMsg.dwStubPhase != PROXY_SENDRECEIVE)
8645         {
8646         _RetVal = NdrProxyErrorHandler(RpcExceptionCode());
8647         }
8648     RpcEndExcept
8649     return _RetVal;
8650 }
8651
8652 void __RPC_STUB ITypeLib_LocalReleaseTLibAttr_Stub(
8653     IRpcStubBuffer *This,
8654     IRpcChannelBuffer *_pRpcChannelBuffer,
8655     PRPC_MESSAGE _pRpcMessage,
8656     DWORD *_pdwStubPhase)
8657 {
8658     HRESULT _RetVal;
8659     MIDL_STUB_MESSAGE _StubMsg;
8660     
8661 NdrStubInitialize(
8662                      _pRpcMessage,
8663                      &_StubMsg,
8664                      &Object_StubDesc,
8665                      _pRpcChannelBuffer);
8666     RpcTryFinally
8667         {
8668         
8669         *_pdwStubPhase = STUB_CALL_SERVER;
8670         
8671         
8672         _RetVal = ITypeLib_ReleaseTLibAttr_Stub((ITypeLib *) ((CStdStubBuffer *)This)->pvServerObject);
8673         
8674         *_pdwStubPhase = STUB_MARSHAL;
8675         
8676         _StubMsg.BufferLength = 4U;
8677         NdrStubGetBuffer(This, _pRpcChannelBuffer, &_StubMsg);
8678         *(( HRESULT __RPC_FAR * )_StubMsg.Buffer)++ = _RetVal;
8679         
8680         }
8681     RpcFinally
8682         {
8683         }
8684     RpcEndFinally
8685     _pRpcMessage->BufferLength = 
8686         (unsigned int)((long)_StubMsg.Buffer - (long)_pRpcMessage->Buffer);
8687     
8688 }
8689
8690 const CINTERFACE_PROXY_VTABLE(13) _ITypeLibProxyVtbl = 
8691 {
8692     { &IID_ITypeLib },
8693     {
8694         IUnknown_QueryInterface_Proxy,
8695         IUnknown_AddRef_Proxy,
8696         IUnknown_Release_Proxy ,
8697         ITypeLib_GetTypeInfoCount_Proxy ,
8698         ITypeLib_GetTypeInfo_Proxy ,
8699         ITypeLib_GetTypeInfoType_Proxy ,
8700         ITypeLib_GetTypeInfoOfGuid_Proxy ,
8701         ITypeLib_GetLibAttr_Proxy ,
8702         ITypeLib_GetTypeComp_Proxy ,
8703         ITypeLib_GetDocumentation_Proxy ,
8704         ITypeLib_IsName_Proxy ,
8705         ITypeLib_FindName_Proxy ,
8706         ITypeLib_ReleaseTLibAttr_Proxy
8707     }
8708 };
8709
8710
8711 static const PRPC_STUB_FUNCTION ITypeLib_table[] =
8712 {
8713     ITypeLib_RemoteGetTypeInfoCount_Stub,
8714     ITypeLib_GetTypeInfo_Stub,
8715     ITypeLib_GetTypeInfoType_Stub,
8716     ITypeLib_GetTypeInfoOfGuid_Stub,
8717     ITypeLib_RemoteGetLibAttr_Stub,
8718     ITypeLib_GetTypeComp_Stub,
8719     ITypeLib_RemoteGetDocumentation_Stub,
8720     ITypeLib_RemoteIsName_Stub,
8721     ITypeLib_RemoteFindName_Stub,
8722     ITypeLib_LocalReleaseTLibAttr_Stub
8723 };
8724
8725 const CInterfaceStubVtbl _ITypeLibStubVtbl =
8726 {
8727     {
8728         &IID_ITypeLib,
8729         0,
8730         13,
8731         &ITypeLib_table[-3]
8732     },
8733     { CStdStubBuffer_METHODS }
8734 };
8735
8736
8737 /* Object interface: ITypeLib2, ver. 0.0,
8738    GUID={0x00020411,0x0000,0x0000,{0xC0,0x00,0x00,0x00,0x00,0x00,0x00,0x46}} */
8739
8740
8741 extern const MIDL_STUB_DESC Object_StubDesc;
8742
8743
8744 HRESULT STDMETHODCALLTYPE ITypeLib2_GetCustData_Proxy( 
8745     ITypeLib2 __RPC_FAR * This,
8746     /* [in] */ REFGUID guid,
8747     /* [out] */ VARIANT __RPC_FAR *pVarVal)
8748 {
8749
8750     HRESULT _RetVal;
8751     
8752     RPC_MESSAGE _RpcMessage;
8753     
8754     MIDL_STUB_MESSAGE _StubMsg;
8755     
8756     if(pVarVal)
8757         {
8758         MIDL_memset(
8759                pVarVal,
8760                0,
8761                sizeof( VARIANT  ));
8762         }
8763     RpcTryExcept
8764         {
8765         NdrProxyInitialize(
8766                       ( void __RPC_FAR *  )This,
8767                       ( PRPC_MESSAGE  )&_RpcMessage,
8768                       ( PMIDL_STUB_MESSAGE  )&_StubMsg,
8769                       ( PMIDL_STUB_DESC  )&Object_StubDesc,
8770                       13);
8771         
8772         
8773         
8774         if(!guid)
8775             {
8776             RpcRaiseException(RPC_X_NULL_REF_POINTER);
8777             }
8778         if(!pVarVal)
8779             {
8780             RpcRaiseException(RPC_X_NULL_REF_POINTER);
8781             }
8782         RpcTryFinally
8783             {
8784             
8785             _StubMsg.BufferLength = 0U;
8786             NdrSimpleStructBufferSize( (PMIDL_STUB_MESSAGE) &_StubMsg,
8787                                        (unsigned char __RPC_FAR *)guid,
8788                                        (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[38] );
8789             
8790             NdrProxyGetBuffer(This, &_StubMsg);
8791             NdrSimpleStructMarshall( (PMIDL_STUB_MESSAGE)& _StubMsg,
8792                                      (unsigned char __RPC_FAR *)guid,
8793                                      (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[38] );
8794             
8795             NdrProxySendReceive(This, &_StubMsg);
8796             
8797             if ( (_RpcMessage.DataRepresentation & 0X0000FFFFUL) != NDR_LOCAL_DATA_REPRESENTATION )
8798                 NdrConvert( (PMIDL_STUB_MESSAGE) &_StubMsg, (PFORMAT_STRING) &__MIDL_ProcFormatString.Format[298] );
8799             
8800             NdrUserMarshalUnmarshall( (PMIDL_STUB_MESSAGE) &_StubMsg,
8801                                       (unsigned char __RPC_FAR * __RPC_FAR *)&pVarVal,
8802                                       (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[1110],
8803                                       (unsigned char)0 );
8804             
8805             _StubMsg.Buffer = (unsigned char __RPC_FAR *)(((long)_StubMsg.Buffer + 3) & ~ 0x3);
8806             _RetVal = *(( HRESULT __RPC_FAR * )_StubMsg.Buffer)++;
8807             
8808             }
8809         RpcFinally
8810             {
8811             NdrProxyFreeBuffer(This, &_StubMsg);
8812             
8813             }
8814         RpcEndFinally
8815         
8816         }
8817     RpcExcept(_StubMsg.dwStubPhase != PROXY_SENDRECEIVE)
8818         {
8819         NdrClearOutParameters(
8820                          ( PMIDL_STUB_MESSAGE  )&_StubMsg,
8821                          ( PFORMAT_STRING  )&__MIDL_TypeFormatString.Format[1102],
8822                          ( void __RPC_FAR * )pVarVal);
8823         _RetVal = NdrProxyErrorHandler(RpcExceptionCode());
8824         }
8825     RpcEndExcept
8826     return _RetVal;
8827 }
8828
8829 void __RPC_STUB ITypeLib2_GetCustData_Stub(
8830     IRpcStubBuffer *This,
8831     IRpcChannelBuffer *_pRpcChannelBuffer,
8832     PRPC_MESSAGE _pRpcMessage,
8833     DWORD *_pdwStubPhase)
8834 {
8835     VARIANT _M85;
8836     HRESULT _RetVal;
8837     MIDL_STUB_MESSAGE _StubMsg;
8838     REFGUID guid = 0;
8839     VARIANT __RPC_FAR *pVarVal;
8840     
8841 NdrStubInitialize(
8842                      _pRpcMessage,
8843                      &_StubMsg,
8844                      &Object_StubDesc,
8845                      _pRpcChannelBuffer);
8846     ( VARIANT __RPC_FAR * )pVarVal = 0;
8847     RpcTryFinally
8848         {
8849         if ( (_pRpcMessage->DataRepresentation & 0X0000FFFFUL) != NDR_LOCAL_DATA_REPRESENTATION )
8850             NdrConvert( (PMIDL_STUB_MESSAGE) &_StubMsg, (PFORMAT_STRING) &__MIDL_ProcFormatString.Format[298] );
8851         
8852         NdrSimpleStructUnmarshall( (PMIDL_STUB_MESSAGE) &_StubMsg,
8853                                    (unsigned char __RPC_FAR * __RPC_FAR *)&guid,
8854                                    (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[38],
8855                                    (unsigned char)0 );
8856         
8857         pVarVal = &_M85;
8858         MIDL_memset(
8859                pVarVal,
8860                0,
8861                sizeof( VARIANT  ));
8862         
8863         *_pdwStubPhase = STUB_CALL_SERVER;
8864         _RetVal = (((ITypeLib2*) ((CStdStubBuffer *)This)->pvServerObject)->lpVtbl) -> GetCustData(
8865                (ITypeLib2 *) ((CStdStubBuffer *)This)->pvServerObject,
8866                guid,
8867                pVarVal);
8868         
8869         *_pdwStubPhase = STUB_MARSHAL;
8870         
8871         _StubMsg.BufferLength = 8U + 11U;
8872         NdrUserMarshalBufferSize( (PMIDL_STUB_MESSAGE) &_StubMsg,
8873                                   (unsigned char __RPC_FAR *)pVarVal,
8874                                   (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[1110] );
8875         
8876         _StubMsg.BufferLength += 16;
8877         
8878         NdrStubGetBuffer(This, _pRpcChannelBuffer, &_StubMsg);
8879         NdrUserMarshalMarshall( (PMIDL_STUB_MESSAGE)& _StubMsg,
8880                                 (unsigned char __RPC_FAR *)pVarVal,
8881                                 (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[1110] );
8882         
8883         _StubMsg.Buffer = (unsigned char __RPC_FAR *)(((long)_StubMsg.Buffer + 3) & ~ 0x3);
8884         *(( HRESULT __RPC_FAR * )_StubMsg.Buffer)++ = _RetVal;
8885         
8886         }
8887     RpcFinally
8888         {
8889         NdrPointerFree( &_StubMsg,
8890                         (unsigned char __RPC_FAR *)pVarVal,
8891                         &__MIDL_TypeFormatString.Format[1102] );
8892         
8893         }
8894     RpcEndFinally
8895     _pRpcMessage->BufferLength = 
8896         (unsigned int)((long)_StubMsg.Buffer - (long)_pRpcMessage->Buffer);
8897     
8898 }
8899
8900
8901 /* [call_as] */ HRESULT STDMETHODCALLTYPE ITypeLib2_RemoteGetLibStatistics_Proxy( 
8902     ITypeLib2 __RPC_FAR * This,
8903     /* [out] */ ULONG __RPC_FAR *pcUniqueNames,
8904     /* [out] */ ULONG __RPC_FAR *pcchUniqueNames)
8905 {
8906
8907     HRESULT _RetVal;
8908     
8909     RPC_MESSAGE _RpcMessage;
8910     
8911     MIDL_STUB_MESSAGE _StubMsg;
8912     
8913     RpcTryExcept
8914         {
8915         NdrProxyInitialize(
8916                       ( void __RPC_FAR *  )This,
8917                       ( PRPC_MESSAGE  )&_RpcMessage,
8918                       ( PMIDL_STUB_MESSAGE  )&_StubMsg,
8919                       ( PMIDL_STUB_DESC  )&Object_StubDesc,
8920                       14);
8921         
8922         
8923         
8924         if(!pcUniqueNames)
8925             {
8926             RpcRaiseException(RPC_X_NULL_REF_POINTER);
8927             }
8928         if(!pcchUniqueNames)
8929             {
8930             RpcRaiseException(RPC_X_NULL_REF_POINTER);
8931             }
8932         RpcTryFinally
8933             {
8934             
8935             _StubMsg.BufferLength = 0U;
8936             NdrProxyGetBuffer(This, &_StubMsg);
8937             NdrProxySendReceive(This, &_StubMsg);
8938             
8939             if ( (_RpcMessage.DataRepresentation & 0X0000FFFFUL) != NDR_LOCAL_DATA_REPRESENTATION )
8940                 NdrConvert( (PMIDL_STUB_MESSAGE) &_StubMsg, (PFORMAT_STRING) &__MIDL_ProcFormatString.Format[446] );
8941             
8942             *pcUniqueNames = *(( ULONG __RPC_FAR * )_StubMsg.Buffer)++;
8943             
8944             *pcchUniqueNames = *(( ULONG __RPC_FAR * )_StubMsg.Buffer)++;
8945             
8946             _RetVal = *(( HRESULT __RPC_FAR * )_StubMsg.Buffer)++;
8947             
8948             }
8949         RpcFinally
8950             {
8951             NdrProxyFreeBuffer(This, &_StubMsg);
8952             
8953             }
8954         RpcEndFinally
8955         
8956         }
8957     RpcExcept(_StubMsg.dwStubPhase != PROXY_SENDRECEIVE)
8958         {
8959         NdrClearOutParameters(
8960                          ( PMIDL_STUB_MESSAGE  )&_StubMsg,
8961                          ( PFORMAT_STRING  )&__MIDL_TypeFormatString.Format[2],
8962                          ( void __RPC_FAR * )pcUniqueNames);
8963         NdrClearOutParameters(
8964                          ( PMIDL_STUB_MESSAGE  )&_StubMsg,
8965                          ( PFORMAT_STRING  )&__MIDL_TypeFormatString.Format[2],
8966                          ( void __RPC_FAR * )pcchUniqueNames);
8967         _RetVal = NdrProxyErrorHandler(RpcExceptionCode());
8968         }
8969     RpcEndExcept
8970     return _RetVal;
8971 }
8972
8973 void __RPC_STUB ITypeLib2_RemoteGetLibStatistics_Stub(
8974     IRpcStubBuffer *This,
8975     IRpcChannelBuffer *_pRpcChannelBuffer,
8976     PRPC_MESSAGE _pRpcMessage,
8977     DWORD *_pdwStubPhase)
8978 {
8979     ULONG _M86;
8980     ULONG _M87;
8981     HRESULT _RetVal;
8982     MIDL_STUB_MESSAGE _StubMsg;
8983     ULONG __RPC_FAR *pcUniqueNames;
8984     ULONG __RPC_FAR *pcchUniqueNames;
8985     
8986 NdrStubInitialize(
8987                      _pRpcMessage,
8988                      &_StubMsg,
8989                      &Object_StubDesc,
8990                      _pRpcChannelBuffer);
8991     ( ULONG __RPC_FAR * )pcUniqueNames = 0;
8992     ( ULONG __RPC_FAR * )pcchUniqueNames = 0;
8993     RpcTryFinally
8994         {
8995         pcUniqueNames = &_M86;
8996         pcchUniqueNames = &_M87;
8997         
8998         *_pdwStubPhase = STUB_CALL_SERVER;
8999         
9000         
9001         _RetVal = ITypeLib2_GetLibStatistics_Stub(
9002                                           (ITypeLib2 *) ((CStdStubBuffer *)This)->pvServerObject,
9003                                           pcUniqueNames,
9004                                           pcchUniqueNames);
9005         
9006         *_pdwStubPhase = STUB_MARSHAL;
9007         
9008         _StubMsg.BufferLength = 4U + 4U + 4U;
9009         NdrStubGetBuffer(This, _pRpcChannelBuffer, &_StubMsg);
9010         *(( ULONG __RPC_FAR * )_StubMsg.Buffer)++ = *pcUniqueNames;
9011         
9012         *(( ULONG __RPC_FAR * )_StubMsg.Buffer)++ = *pcchUniqueNames;
9013         
9014         *(( HRESULT __RPC_FAR * )_StubMsg.Buffer)++ = _RetVal;
9015         
9016         }
9017     RpcFinally
9018         {
9019         }
9020     RpcEndFinally
9021     _pRpcMessage->BufferLength = 
9022         (unsigned int)((long)_StubMsg.Buffer - (long)_pRpcMessage->Buffer);
9023     
9024 }
9025
9026
9027 /* [call_as] */ HRESULT STDMETHODCALLTYPE ITypeLib2_RemoteGetDocumentation2_Proxy( 
9028     ITypeLib2 __RPC_FAR * This,
9029     /* [in] */ INT index,
9030     /* [in] */ LCID lcid,
9031     /* [in] */ DWORD refPtrFlags,
9032     /* [out] */ BSTR __RPC_FAR *pbstrHelpString,
9033     /* [out] */ DWORD __RPC_FAR *pdwHelpStringContext,
9034     /* [out] */ BSTR __RPC_FAR *pbstrHelpStringDll)
9035 {
9036
9037     HRESULT _RetVal;
9038     
9039     RPC_MESSAGE _RpcMessage;
9040     
9041     MIDL_STUB_MESSAGE _StubMsg;
9042     
9043     if(pbstrHelpString)
9044         {
9045         MIDL_memset(
9046                pbstrHelpString,
9047                0,
9048                sizeof( BSTR  ));
9049         }
9050     if(pbstrHelpStringDll)
9051         {
9052         MIDL_memset(
9053                pbstrHelpStringDll,
9054                0,
9055                sizeof( BSTR  ));
9056         }
9057     RpcTryExcept
9058         {
9059         NdrProxyInitialize(
9060                       ( void __RPC_FAR *  )This,
9061                       ( PRPC_MESSAGE  )&_RpcMessage,
9062                       ( PMIDL_STUB_MESSAGE  )&_StubMsg,
9063                       ( PMIDL_STUB_DESC  )&Object_StubDesc,
9064                       15);
9065         
9066         
9067         
9068         if(!pbstrHelpString)
9069             {
9070             RpcRaiseException(RPC_X_NULL_REF_POINTER);
9071             }
9072         if(!pdwHelpStringContext)
9073             {
9074             RpcRaiseException(RPC_X_NULL_REF_POINTER);
9075             }
9076         if(!pbstrHelpStringDll)
9077             {
9078             RpcRaiseException(RPC_X_NULL_REF_POINTER);
9079             }
9080         RpcTryFinally
9081             {
9082             
9083             _StubMsg.BufferLength = 4U + 4U + 4U;
9084             NdrProxyGetBuffer(This, &_StubMsg);
9085             *(( INT __RPC_FAR * )_StubMsg.Buffer)++ = index;
9086             
9087             *(( LCID __RPC_FAR * )_StubMsg.Buffer)++ = lcid;
9088             
9089             *(( DWORD __RPC_FAR * )_StubMsg.Buffer)++ = refPtrFlags;
9090             
9091             NdrProxySendReceive(This, &_StubMsg);
9092             
9093             if ( (_RpcMessage.DataRepresentation & 0X0000FFFFUL) != NDR_LOCAL_DATA_REPRESENTATION )
9094                 NdrConvert( (PMIDL_STUB_MESSAGE) &_StubMsg, (PFORMAT_STRING) &__MIDL_ProcFormatString.Format[334] );
9095             
9096             NdrUserMarshalUnmarshall( (PMIDL_STUB_MESSAGE) &_StubMsg,
9097                                       (unsigned char __RPC_FAR * __RPC_FAR *)&pbstrHelpString,
9098                                       (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[1128],
9099                                       (unsigned char)0 );
9100             
9101             _StubMsg.Buffer = (unsigned char __RPC_FAR *)(((long)_StubMsg.Buffer + 3) & ~ 0x3);
9102             *pdwHelpStringContext = *(( DWORD __RPC_FAR * )_StubMsg.Buffer)++;
9103             
9104             NdrUserMarshalUnmarshall( (PMIDL_STUB_MESSAGE) &_StubMsg,
9105                                       (unsigned char __RPC_FAR * __RPC_FAR *)&pbstrHelpStringDll,
9106                                       (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[1128],
9107                                       (unsigned char)0 );
9108             
9109             _StubMsg.Buffer = (unsigned char __RPC_FAR *)(((long)_StubMsg.Buffer + 3) & ~ 0x3);
9110             _RetVal = *(( HRESULT __RPC_FAR * )_StubMsg.Buffer)++;
9111             
9112             }
9113         RpcFinally
9114             {
9115             NdrProxyFreeBuffer(This, &_StubMsg);
9116             
9117             }
9118         RpcEndFinally
9119         
9120         }
9121     RpcExcept(_StubMsg.dwStubPhase != PROXY_SENDRECEIVE)
9122         {
9123         NdrClearOutParameters(
9124                          ( PMIDL_STUB_MESSAGE  )&_StubMsg,
9125                          ( PFORMAT_STRING  )&__MIDL_TypeFormatString.Format[1708],
9126                          ( void __RPC_FAR * )pbstrHelpString);
9127         NdrClearOutParameters(
9128                          ( PMIDL_STUB_MESSAGE  )&_StubMsg,
9129                          ( PFORMAT_STRING  )&__MIDL_TypeFormatString.Format[2],
9130                          ( void __RPC_FAR * )pdwHelpStringContext);
9131         NdrClearOutParameters(
9132                          ( PMIDL_STUB_MESSAGE  )&_StubMsg,
9133                          ( PFORMAT_STRING  )&__MIDL_TypeFormatString.Format[1708],
9134                          ( void __RPC_FAR * )pbstrHelpStringDll);
9135         _RetVal = NdrProxyErrorHandler(RpcExceptionCode());
9136         }
9137     RpcEndExcept
9138     return _RetVal;
9139 }
9140
9141 void __RPC_STUB ITypeLib2_RemoteGetDocumentation2_Stub(
9142     IRpcStubBuffer *This,
9143     IRpcChannelBuffer *_pRpcChannelBuffer,
9144     PRPC_MESSAGE _pRpcMessage,
9145     DWORD *_pdwStubPhase)
9146 {
9147     BSTR _M88;
9148     DWORD _M89;
9149     BSTR _M90;
9150     HRESULT _RetVal;
9151     MIDL_STUB_MESSAGE _StubMsg;
9152     INT index;
9153     LCID lcid;
9154     BSTR __RPC_FAR *pbstrHelpString;
9155     BSTR __RPC_FAR *pbstrHelpStringDll;
9156     DWORD __RPC_FAR *pdwHelpStringContext;
9157     DWORD refPtrFlags;
9158     
9159 NdrStubInitialize(
9160                      _pRpcMessage,
9161                      &_StubMsg,
9162                      &Object_StubDesc,
9163                      _pRpcChannelBuffer);
9164     ( BSTR __RPC_FAR * )pbstrHelpString = 0;
9165     ( DWORD __RPC_FAR * )pdwHelpStringContext = 0;
9166     ( BSTR __RPC_FAR * )pbstrHelpStringDll = 0;
9167     RpcTryFinally
9168         {
9169         if ( (_pRpcMessage->DataRepresentation & 0X0000FFFFUL) != NDR_LOCAL_DATA_REPRESENTATION )
9170             NdrConvert( (PMIDL_STUB_MESSAGE) &_StubMsg, (PFORMAT_STRING) &__MIDL_ProcFormatString.Format[334] );
9171         
9172         index = *(( INT __RPC_FAR * )_StubMsg.Buffer)++;
9173         
9174         lcid = *(( LCID __RPC_FAR * )_StubMsg.Buffer)++;
9175         
9176         refPtrFlags = *(( DWORD __RPC_FAR * )_StubMsg.Buffer)++;
9177         
9178         pbstrHelpString = &_M88;
9179         MIDL_memset(
9180                pbstrHelpString,
9181                0,
9182                sizeof( BSTR  ));
9183         pdwHelpStringContext = &_M89;
9184         pbstrHelpStringDll = &_M90;
9185         MIDL_memset(
9186                pbstrHelpStringDll,
9187                0,
9188                sizeof( BSTR  ));
9189         
9190         *_pdwStubPhase = STUB_CALL_SERVER;
9191         
9192         
9193         _RetVal = ITypeLib2_GetDocumentation2_Stub(
9194                                            (ITypeLib2 *) ((CStdStubBuffer *)This)->pvServerObject,
9195                                            index,
9196                                            lcid,
9197                                            refPtrFlags,
9198                                            pbstrHelpString,
9199                                            pdwHelpStringContext,
9200                                            pbstrHelpStringDll);
9201         
9202         *_pdwStubPhase = STUB_MARSHAL;
9203         
9204         _StubMsg.BufferLength = 8U + 11U + 11U + 11U;
9205         NdrUserMarshalBufferSize( (PMIDL_STUB_MESSAGE) &_StubMsg,
9206                                   (unsigned char __RPC_FAR *)pbstrHelpString,
9207                                   (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[1128] );
9208         
9209         NdrUserMarshalBufferSize( (PMIDL_STUB_MESSAGE) &_StubMsg,
9210                                   (unsigned char __RPC_FAR *)pbstrHelpStringDll,
9211                                   (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[1128] );
9212         
9213         _StubMsg.BufferLength += 16;
9214         
9215         NdrStubGetBuffer(This, _pRpcChannelBuffer, &_StubMsg);
9216         NdrUserMarshalMarshall( (PMIDL_STUB_MESSAGE)& _StubMsg,
9217                                 (unsigned char __RPC_FAR *)pbstrHelpString,
9218                                 (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[1128] );
9219         
9220         _StubMsg.Buffer = (unsigned char __RPC_FAR *)(((long)_StubMsg.Buffer + 3) & ~ 0x3);
9221         *(( DWORD __RPC_FAR * )_StubMsg.Buffer)++ = *pdwHelpStringContext;
9222         
9223         NdrUserMarshalMarshall( (PMIDL_STUB_MESSAGE)& _StubMsg,
9224                                 (unsigned char __RPC_FAR *)pbstrHelpStringDll,
9225                                 (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[1128] );
9226         
9227         _StubMsg.Buffer = (unsigned char __RPC_FAR *)(((long)_StubMsg.Buffer + 3) & ~ 0x3);
9228         *(( HRESULT __RPC_FAR * )_StubMsg.Buffer)++ = _RetVal;
9229         
9230         }
9231     RpcFinally
9232         {
9233         NdrPointerFree( &_StubMsg,
9234                         (unsigned char __RPC_FAR *)pbstrHelpString,
9235                         &__MIDL_TypeFormatString.Format[1708] );
9236         
9237         NdrPointerFree( &_StubMsg,
9238                         (unsigned char __RPC_FAR *)pbstrHelpStringDll,
9239                         &__MIDL_TypeFormatString.Format[1708] );
9240         
9241         }
9242     RpcEndFinally
9243     _pRpcMessage->BufferLength = 
9244         (unsigned int)((long)_StubMsg.Buffer - (long)_pRpcMessage->Buffer);
9245     
9246 }
9247
9248
9249 HRESULT STDMETHODCALLTYPE ITypeLib2_GetAllCustData_Proxy( 
9250     ITypeLib2 __RPC_FAR * This,
9251     /* [out] */ CUSTDATA __RPC_FAR *pCustData)
9252 {
9253
9254     HRESULT _RetVal;
9255     
9256     RPC_MESSAGE _RpcMessage;
9257     
9258     MIDL_STUB_MESSAGE _StubMsg;
9259     
9260     if(pCustData)
9261         {
9262         MIDL_memset(
9263                pCustData,
9264                0,
9265                sizeof( CUSTDATA  ));
9266         }
9267     RpcTryExcept
9268         {
9269         NdrProxyInitialize(
9270                       ( void __RPC_FAR *  )This,
9271                       ( PRPC_MESSAGE  )&_RpcMessage,
9272                       ( PMIDL_STUB_MESSAGE  )&_StubMsg,
9273                       ( PMIDL_STUB_DESC  )&Object_StubDesc,
9274                       16);
9275         
9276         
9277         
9278         if(!pCustData)
9279             {
9280             RpcRaiseException(RPC_X_NULL_REF_POINTER);
9281             }
9282         RpcTryFinally
9283             {
9284             
9285             _StubMsg.BufferLength = 0U;
9286             NdrProxyGetBuffer(This, &_StubMsg);
9287             NdrProxySendReceive(This, &_StubMsg);
9288             
9289             if ( (_RpcMessage.DataRepresentation & 0X0000FFFFUL) != NDR_LOCAL_DATA_REPRESENTATION )
9290                 NdrConvert( (PMIDL_STUB_MESSAGE) &_StubMsg, (PFORMAT_STRING) &__MIDL_ProcFormatString.Format[354] );
9291             
9292             NdrComplexStructUnmarshall( (PMIDL_STUB_MESSAGE) &_StubMsg,
9293                                         (unsigned char __RPC_FAR * __RPC_FAR *)&pCustData,
9294                                         (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[1788],
9295                                         (unsigned char)0 );
9296             
9297             _StubMsg.Buffer = (unsigned char __RPC_FAR *)(((long)_StubMsg.Buffer + 3) & ~ 0x3);
9298             _RetVal = *(( HRESULT __RPC_FAR * )_StubMsg.Buffer)++;
9299             
9300             }
9301         RpcFinally
9302             {
9303             NdrProxyFreeBuffer(This, &_StubMsg);
9304             
9305             }
9306         RpcEndFinally
9307         
9308         }
9309     RpcExcept(_StubMsg.dwStubPhase != PROXY_SENDRECEIVE)
9310         {
9311         NdrClearOutParameters(
9312                          ( PMIDL_STUB_MESSAGE  )&_StubMsg,
9313                          ( PFORMAT_STRING  )&__MIDL_TypeFormatString.Format[1748],
9314                          ( void __RPC_FAR * )pCustData);
9315         _RetVal = NdrProxyErrorHandler(RpcExceptionCode());
9316         }
9317     RpcEndExcept
9318     return _RetVal;
9319 }
9320
9321 void __RPC_STUB ITypeLib2_GetAllCustData_Stub(
9322     IRpcStubBuffer *This,
9323     IRpcChannelBuffer *_pRpcChannelBuffer,
9324     PRPC_MESSAGE _pRpcMessage,
9325     DWORD *_pdwStubPhase)
9326 {
9327     HRESULT _RetVal;
9328     MIDL_STUB_MESSAGE _StubMsg;
9329     CUSTDATA _pCustDataM;
9330     CUSTDATA __RPC_FAR *pCustData;
9331     
9332 NdrStubInitialize(
9333                      _pRpcMessage,
9334                      &_StubMsg,
9335                      &Object_StubDesc,
9336                      _pRpcChannelBuffer);
9337     ( CUSTDATA __RPC_FAR * )pCustData = 0;
9338     RpcTryFinally
9339         {
9340         pCustData = &_pCustDataM;
9341         pCustData -> prgCustData = 0;
9342         
9343         *_pdwStubPhase = STUB_CALL_SERVER;
9344         _RetVal = (((ITypeLib2*) ((CStdStubBuffer *)This)->pvServerObject)->lpVtbl) -> GetAllCustData((ITypeLib2 *) ((CStdStubBuffer *)This)->pvServerObject,pCustData);
9345         
9346         *_pdwStubPhase = STUB_MARSHAL;
9347         
9348         _StubMsg.BufferLength = 0U + 11U;
9349         NdrComplexStructBufferSize( (PMIDL_STUB_MESSAGE) &_StubMsg,
9350                                     (unsigned char __RPC_FAR *)pCustData,
9351                                     (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[1788] );
9352         
9353         _StubMsg.BufferLength += 16;
9354         
9355         NdrStubGetBuffer(This, _pRpcChannelBuffer, &_StubMsg);
9356         NdrComplexStructMarshall( (PMIDL_STUB_MESSAGE)& _StubMsg,
9357                                   (unsigned char __RPC_FAR *)pCustData,
9358                                   (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[1788] );
9359         
9360         _StubMsg.Buffer = (unsigned char __RPC_FAR *)(((long)_StubMsg.Buffer + 3) & ~ 0x3);
9361         *(( HRESULT __RPC_FAR * )_StubMsg.Buffer)++ = _RetVal;
9362         
9363         }
9364     RpcFinally
9365         {
9366         NdrPointerFree( &_StubMsg,
9367                         (unsigned char __RPC_FAR *)pCustData,
9368                         &__MIDL_TypeFormatString.Format[1748] );
9369         
9370         }
9371     RpcEndFinally
9372     _pRpcMessage->BufferLength = 
9373         (unsigned int)((long)_StubMsg.Buffer - (long)_pRpcMessage->Buffer);
9374     
9375 }
9376
9377 const CINTERFACE_PROXY_VTABLE(17) _ITypeLib2ProxyVtbl = 
9378 {
9379     { &IID_ITypeLib2 },
9380     {
9381         IUnknown_QueryInterface_Proxy,
9382         IUnknown_AddRef_Proxy,
9383         IUnknown_Release_Proxy ,
9384         ITypeLib_GetTypeInfoCount_Proxy ,
9385         ITypeLib_GetTypeInfo_Proxy ,
9386         ITypeLib_GetTypeInfoType_Proxy ,
9387         ITypeLib_GetTypeInfoOfGuid_Proxy ,
9388         ITypeLib_GetLibAttr_Proxy ,
9389         ITypeLib_GetTypeComp_Proxy ,
9390         ITypeLib_GetDocumentation_Proxy ,
9391         ITypeLib_IsName_Proxy ,
9392         ITypeLib_FindName_Proxy ,
9393         ITypeLib_ReleaseTLibAttr_Proxy ,
9394         ITypeLib2_GetCustData_Proxy ,
9395         ITypeLib2_GetLibStatistics_Proxy ,
9396         ITypeLib2_GetDocumentation2_Proxy ,
9397         ITypeLib2_GetAllCustData_Proxy
9398     }
9399 };
9400
9401
9402 static const PRPC_STUB_FUNCTION ITypeLib2_table[] =
9403 {
9404     ITypeLib_RemoteGetTypeInfoCount_Stub,
9405     ITypeLib_GetTypeInfo_Stub,
9406     ITypeLib_GetTypeInfoType_Stub,
9407     ITypeLib_GetTypeInfoOfGuid_Stub,
9408     ITypeLib_RemoteGetLibAttr_Stub,
9409     ITypeLib_GetTypeComp_Stub,
9410     ITypeLib_RemoteGetDocumentation_Stub,
9411     ITypeLib_RemoteIsName_Stub,
9412     ITypeLib_RemoteFindName_Stub,
9413     ITypeLib_LocalReleaseTLibAttr_Stub,
9414     ITypeLib2_GetCustData_Stub,
9415     ITypeLib2_RemoteGetLibStatistics_Stub,
9416     ITypeLib2_RemoteGetDocumentation2_Stub,
9417     ITypeLib2_GetAllCustData_Stub
9418 };
9419
9420 const CInterfaceStubVtbl _ITypeLib2StubVtbl =
9421 {
9422     {
9423         &IID_ITypeLib2,
9424         0,
9425         17,
9426         &ITypeLib2_table[-3]
9427     },
9428     { CStdStubBuffer_METHODS }
9429 };
9430
9431
9432 /* Object interface: ITypeChangeEvents, ver. 0.0,
9433    GUID={0x00020410,0x0000,0x0000,{0xC0,0x00,0x00,0x00,0x00,0x00,0x00,0x46}} */
9434
9435
9436 /* Object interface: IErrorInfo, ver. 0.0,
9437    GUID={0x1CF2B120,0x547D,0x101B,{0x8E,0x65,0x08,0x00,0x2B,0x2B,0xD1,0x19}} */
9438
9439
9440 extern const MIDL_STUB_DESC Object_StubDesc;
9441
9442
9443 HRESULT STDMETHODCALLTYPE IErrorInfo_GetGUID_Proxy( 
9444     IErrorInfo __RPC_FAR * This,
9445     /* [out] */ GUID __RPC_FAR *pGUID)
9446 {
9447
9448     HRESULT _RetVal;
9449     
9450     RPC_MESSAGE _RpcMessage;
9451     
9452     MIDL_STUB_MESSAGE _StubMsg;
9453     
9454     if(pGUID)
9455         {
9456         MIDL_memset(
9457                pGUID,
9458                0,
9459                sizeof( IID  ));
9460         }
9461     RpcTryExcept
9462         {
9463         NdrProxyInitialize(
9464                       ( void __RPC_FAR *  )This,
9465                       ( PRPC_MESSAGE  )&_RpcMessage,
9466                       ( PMIDL_STUB_MESSAGE  )&_StubMsg,
9467                       ( PMIDL_STUB_DESC  )&Object_StubDesc,
9468                       3);
9469         
9470         
9471         
9472         if(!pGUID)
9473             {
9474             RpcRaiseException(RPC_X_NULL_REF_POINTER);
9475             }
9476         RpcTryFinally
9477             {
9478             
9479             _StubMsg.BufferLength = 0U;
9480             NdrProxyGetBuffer(This, &_StubMsg);
9481             NdrProxySendReceive(This, &_StubMsg);
9482             
9483             if ( (_RpcMessage.DataRepresentation & 0X0000FFFFUL) != NDR_LOCAL_DATA_REPRESENTATION )
9484                 NdrConvert( (PMIDL_STUB_MESSAGE) &_StubMsg, (PFORMAT_STRING) &__MIDL_ProcFormatString.Format[456] );
9485             
9486             NdrSimpleStructUnmarshall( (PMIDL_STUB_MESSAGE) &_StubMsg,
9487                                        (unsigned char __RPC_FAR * __RPC_FAR *)&pGUID,
9488                                        (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[38],
9489                                        (unsigned char)0 );
9490             
9491             _RetVal = *(( HRESULT __RPC_FAR * )_StubMsg.Buffer)++;
9492             
9493             }
9494         RpcFinally
9495             {
9496             NdrProxyFreeBuffer(This, &_StubMsg);
9497             
9498             }
9499         RpcEndFinally
9500         
9501         }
9502     RpcExcept(_StubMsg.dwStubPhase != PROXY_SENDRECEIVE)
9503         {
9504         NdrClearOutParameters(
9505                          ( PMIDL_STUB_MESSAGE  )&_StubMsg,
9506                          ( PFORMAT_STRING  )&__MIDL_TypeFormatString.Format[1892],
9507                          ( void __RPC_FAR * )pGUID);
9508         _RetVal = NdrProxyErrorHandler(RpcExceptionCode());
9509         }
9510     RpcEndExcept
9511     return _RetVal;
9512 }
9513
9514 void __RPC_STUB IErrorInfo_GetGUID_Stub(
9515     IRpcStubBuffer *This,
9516     IRpcChannelBuffer *_pRpcChannelBuffer,
9517     PRPC_MESSAGE _pRpcMessage,
9518     DWORD *_pdwStubPhase)
9519 {
9520     HRESULT _RetVal;
9521     MIDL_STUB_MESSAGE _StubMsg;
9522     IID _pGUIDM;
9523     GUID __RPC_FAR *pGUID;
9524     
9525 NdrStubInitialize(
9526                      _pRpcMessage,
9527                      &_StubMsg,
9528                      &Object_StubDesc,
9529                      _pRpcChannelBuffer);
9530     ( GUID __RPC_FAR * )pGUID = 0;
9531     RpcTryFinally
9532         {
9533         pGUID = &_pGUIDM;
9534         
9535         *_pdwStubPhase = STUB_CALL_SERVER;
9536         _RetVal = (((IErrorInfo*) ((CStdStubBuffer *)This)->pvServerObject)->lpVtbl) -> GetGUID((IErrorInfo *) ((CStdStubBuffer *)This)->pvServerObject,pGUID);
9537         
9538         *_pdwStubPhase = STUB_MARSHAL;
9539         
9540         _StubMsg.BufferLength = 0U + 11U;
9541         NdrSimpleStructBufferSize( (PMIDL_STUB_MESSAGE) &_StubMsg,
9542                                    (unsigned char __RPC_FAR *)pGUID,
9543                                    (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[38] );
9544         
9545         _StubMsg.BufferLength += 16;
9546         
9547         NdrStubGetBuffer(This, _pRpcChannelBuffer, &_StubMsg);
9548         NdrSimpleStructMarshall( (PMIDL_STUB_MESSAGE)& _StubMsg,
9549                                  (unsigned char __RPC_FAR *)pGUID,
9550                                  (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[38] );
9551         
9552         *(( HRESULT __RPC_FAR * )_StubMsg.Buffer)++ = _RetVal;
9553         
9554         }
9555     RpcFinally
9556         {
9557         }
9558     RpcEndFinally
9559     _pRpcMessage->BufferLength = 
9560         (unsigned int)((long)_StubMsg.Buffer - (long)_pRpcMessage->Buffer);
9561     
9562 }
9563
9564
9565 HRESULT STDMETHODCALLTYPE IErrorInfo_GetSource_Proxy( 
9566     IErrorInfo __RPC_FAR * This,
9567     /* [out] */ BSTR __RPC_FAR *pBstrSource)
9568 {
9569
9570     HRESULT _RetVal;
9571     
9572     RPC_MESSAGE _RpcMessage;
9573     
9574     MIDL_STUB_MESSAGE _StubMsg;
9575     
9576     if(pBstrSource)
9577         {
9578         MIDL_memset(
9579                pBstrSource,
9580                0,
9581                sizeof( BSTR  ));
9582         }
9583     RpcTryExcept
9584         {
9585         NdrProxyInitialize(
9586                       ( void __RPC_FAR *  )This,
9587                       ( PRPC_MESSAGE  )&_RpcMessage,
9588                       ( PMIDL_STUB_MESSAGE  )&_StubMsg,
9589                       ( PMIDL_STUB_DESC  )&Object_StubDesc,
9590                       4);
9591         
9592         
9593         
9594         if(!pBstrSource)
9595             {
9596             RpcRaiseException(RPC_X_NULL_REF_POINTER);
9597             }
9598         RpcTryFinally
9599             {
9600             
9601             _StubMsg.BufferLength = 0U;
9602             NdrProxyGetBuffer(This, &_StubMsg);
9603             NdrProxySendReceive(This, &_StubMsg);
9604             
9605             if ( (_RpcMessage.DataRepresentation & 0X0000FFFFUL) != NDR_LOCAL_DATA_REPRESENTATION )
9606                 NdrConvert( (PMIDL_STUB_MESSAGE) &_StubMsg, (PFORMAT_STRING) &__MIDL_ProcFormatString.Format[462] );
9607             
9608             NdrUserMarshalUnmarshall( (PMIDL_STUB_MESSAGE) &_StubMsg,
9609                                       (unsigned char __RPC_FAR * __RPC_FAR *)&pBstrSource,
9610                                       (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[1128],
9611                                       (unsigned char)0 );
9612             
9613             _StubMsg.Buffer = (unsigned char __RPC_FAR *)(((long)_StubMsg.Buffer + 3) & ~ 0x3);
9614             _RetVal = *(( HRESULT __RPC_FAR * )_StubMsg.Buffer)++;
9615             
9616             }
9617         RpcFinally
9618             {
9619             NdrProxyFreeBuffer(This, &_StubMsg);
9620             
9621             }
9622         RpcEndFinally
9623         
9624         }
9625     RpcExcept(_StubMsg.dwStubPhase != PROXY_SENDRECEIVE)
9626         {
9627         NdrClearOutParameters(
9628                          ( PMIDL_STUB_MESSAGE  )&_StubMsg,
9629                          ( PFORMAT_STRING  )&__MIDL_TypeFormatString.Format[1708],
9630                          ( void __RPC_FAR * )pBstrSource);
9631         _RetVal = NdrProxyErrorHandler(RpcExceptionCode());
9632         }
9633     RpcEndExcept
9634     return _RetVal;
9635 }
9636
9637 void __RPC_STUB IErrorInfo_GetSource_Stub(
9638     IRpcStubBuffer *This,
9639     IRpcChannelBuffer *_pRpcChannelBuffer,
9640     PRPC_MESSAGE _pRpcMessage,
9641     DWORD *_pdwStubPhase)
9642 {
9643     BSTR _M91;
9644     HRESULT _RetVal;
9645     MIDL_STUB_MESSAGE _StubMsg;
9646     BSTR __RPC_FAR *pBstrSource;
9647     
9648 NdrStubInitialize(
9649                      _pRpcMessage,
9650                      &_StubMsg,
9651                      &Object_StubDesc,
9652                      _pRpcChannelBuffer);
9653     ( BSTR __RPC_FAR * )pBstrSource = 0;
9654     RpcTryFinally
9655         {
9656         pBstrSource = &_M91;
9657         MIDL_memset(
9658                pBstrSource,
9659                0,
9660                sizeof( BSTR  ));
9661         
9662         *_pdwStubPhase = STUB_CALL_SERVER;
9663         _RetVal = (((IErrorInfo*) ((CStdStubBuffer *)This)->pvServerObject)->lpVtbl) -> GetSource((IErrorInfo *) ((CStdStubBuffer *)This)->pvServerObject,pBstrSource);
9664         
9665         *_pdwStubPhase = STUB_MARSHAL;
9666         
9667         _StubMsg.BufferLength = 8U + 11U;
9668         NdrUserMarshalBufferSize( (PMIDL_STUB_MESSAGE) &_StubMsg,
9669                                   (unsigned char __RPC_FAR *)pBstrSource,
9670                                   (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[1128] );
9671         
9672         _StubMsg.BufferLength += 16;
9673         
9674         NdrStubGetBuffer(This, _pRpcChannelBuffer, &_StubMsg);
9675         NdrUserMarshalMarshall( (PMIDL_STUB_MESSAGE)& _StubMsg,
9676                                 (unsigned char __RPC_FAR *)pBstrSource,
9677                                 (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[1128] );
9678         
9679         _StubMsg.Buffer = (unsigned char __RPC_FAR *)(((long)_StubMsg.Buffer + 3) & ~ 0x3);
9680         *(( HRESULT __RPC_FAR * )_StubMsg.Buffer)++ = _RetVal;
9681         
9682         }
9683     RpcFinally
9684         {
9685         NdrPointerFree( &_StubMsg,
9686                         (unsigned char __RPC_FAR *)pBstrSource,
9687                         &__MIDL_TypeFormatString.Format[1708] );
9688         
9689         }
9690     RpcEndFinally
9691     _pRpcMessage->BufferLength = 
9692         (unsigned int)((long)_StubMsg.Buffer - (long)_pRpcMessage->Buffer);
9693     
9694 }
9695
9696
9697 HRESULT STDMETHODCALLTYPE IErrorInfo_GetDescription_Proxy( 
9698     IErrorInfo __RPC_FAR * This,
9699     /* [out] */ BSTR __RPC_FAR *pBstrDescription)
9700 {
9701
9702     HRESULT _RetVal;
9703     
9704     RPC_MESSAGE _RpcMessage;
9705     
9706     MIDL_STUB_MESSAGE _StubMsg;
9707     
9708     if(pBstrDescription)
9709         {
9710         MIDL_memset(
9711                pBstrDescription,
9712                0,
9713                sizeof( BSTR  ));
9714         }
9715     RpcTryExcept
9716         {
9717         NdrProxyInitialize(
9718                       ( void __RPC_FAR *  )This,
9719                       ( PRPC_MESSAGE  )&_RpcMessage,
9720                       ( PMIDL_STUB_MESSAGE  )&_StubMsg,
9721                       ( PMIDL_STUB_DESC  )&Object_StubDesc,
9722                       5);
9723         
9724         
9725         
9726         if(!pBstrDescription)
9727             {
9728             RpcRaiseException(RPC_X_NULL_REF_POINTER);
9729             }
9730         RpcTryFinally
9731             {
9732             
9733             _StubMsg.BufferLength = 0U;
9734             NdrProxyGetBuffer(This, &_StubMsg);
9735             NdrProxySendReceive(This, &_StubMsg);
9736             
9737             if ( (_RpcMessage.DataRepresentation & 0X0000FFFFUL) != NDR_LOCAL_DATA_REPRESENTATION )
9738                 NdrConvert( (PMIDL_STUB_MESSAGE) &_StubMsg, (PFORMAT_STRING) &__MIDL_ProcFormatString.Format[462] );
9739             
9740             NdrUserMarshalUnmarshall( (PMIDL_STUB_MESSAGE) &_StubMsg,
9741                                       (unsigned char __RPC_FAR * __RPC_FAR *)&pBstrDescription,
9742                                       (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[1128],
9743                                       (unsigned char)0 );
9744             
9745             _StubMsg.Buffer = (unsigned char __RPC_FAR *)(((long)_StubMsg.Buffer + 3) & ~ 0x3);
9746             _RetVal = *(( HRESULT __RPC_FAR * )_StubMsg.Buffer)++;
9747             
9748             }
9749         RpcFinally
9750             {
9751             NdrProxyFreeBuffer(This, &_StubMsg);
9752             
9753             }
9754         RpcEndFinally
9755         
9756         }
9757     RpcExcept(_StubMsg.dwStubPhase != PROXY_SENDRECEIVE)
9758         {
9759         NdrClearOutParameters(
9760                          ( PMIDL_STUB_MESSAGE  )&_StubMsg,
9761                          ( PFORMAT_STRING  )&__MIDL_TypeFormatString.Format[1708],
9762                          ( void __RPC_FAR * )pBstrDescription);
9763         _RetVal = NdrProxyErrorHandler(RpcExceptionCode());
9764         }
9765     RpcEndExcept
9766     return _RetVal;
9767 }
9768
9769 void __RPC_STUB IErrorInfo_GetDescription_Stub(
9770     IRpcStubBuffer *This,
9771     IRpcChannelBuffer *_pRpcChannelBuffer,
9772     PRPC_MESSAGE _pRpcMessage,
9773     DWORD *_pdwStubPhase)
9774 {
9775     BSTR _M92;
9776     HRESULT _RetVal;
9777     MIDL_STUB_MESSAGE _StubMsg;
9778     BSTR __RPC_FAR *pBstrDescription;
9779     
9780 NdrStubInitialize(
9781                      _pRpcMessage,
9782                      &_StubMsg,
9783                      &Object_StubDesc,
9784                      _pRpcChannelBuffer);
9785     ( BSTR __RPC_FAR * )pBstrDescription = 0;
9786     RpcTryFinally
9787         {
9788         pBstrDescription = &_M92;
9789         MIDL_memset(
9790                pBstrDescription,
9791                0,
9792                sizeof( BSTR  ));
9793         
9794         *_pdwStubPhase = STUB_CALL_SERVER;
9795         _RetVal = (((IErrorInfo*) ((CStdStubBuffer *)This)->pvServerObject)->lpVtbl) -> GetDescription((IErrorInfo *) ((CStdStubBuffer *)This)->pvServerObject,pBstrDescription);
9796         
9797         *_pdwStubPhase = STUB_MARSHAL;
9798         
9799         _StubMsg.BufferLength = 8U + 11U;
9800         NdrUserMarshalBufferSize( (PMIDL_STUB_MESSAGE) &_StubMsg,
9801                                   (unsigned char __RPC_FAR *)pBstrDescription,
9802                                   (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[1128] );
9803         
9804         _StubMsg.BufferLength += 16;
9805         
9806         NdrStubGetBuffer(This, _pRpcChannelBuffer, &_StubMsg);
9807         NdrUserMarshalMarshall( (PMIDL_STUB_MESSAGE)& _StubMsg,
9808                                 (unsigned char __RPC_FAR *)pBstrDescription,
9809                                 (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[1128] );
9810         
9811         _StubMsg.Buffer = (unsigned char __RPC_FAR *)(((long)_StubMsg.Buffer + 3) & ~ 0x3);
9812         *(( HRESULT __RPC_FAR * )_StubMsg.Buffer)++ = _RetVal;
9813         
9814         }
9815     RpcFinally
9816         {
9817         NdrPointerFree( &_StubMsg,
9818                         (unsigned char __RPC_FAR *)pBstrDescription,
9819                         &__MIDL_TypeFormatString.Format[1708] );
9820         
9821         }
9822     RpcEndFinally
9823     _pRpcMessage->BufferLength = 
9824         (unsigned int)((long)_StubMsg.Buffer - (long)_pRpcMessage->Buffer);
9825     
9826 }
9827
9828
9829 HRESULT STDMETHODCALLTYPE IErrorInfo_GetHelpFile_Proxy( 
9830     IErrorInfo __RPC_FAR * This,
9831     /* [out] */ BSTR __RPC_FAR *pBstrHelpFile)
9832 {
9833
9834     HRESULT _RetVal;
9835     
9836     RPC_MESSAGE _RpcMessage;
9837     
9838     MIDL_STUB_MESSAGE _StubMsg;
9839     
9840     if(pBstrHelpFile)
9841         {
9842         MIDL_memset(
9843                pBstrHelpFile,
9844                0,
9845                sizeof( BSTR  ));
9846         }
9847     RpcTryExcept
9848         {
9849         NdrProxyInitialize(
9850                       ( void __RPC_FAR *  )This,
9851                       ( PRPC_MESSAGE  )&_RpcMessage,
9852                       ( PMIDL_STUB_MESSAGE  )&_StubMsg,
9853                       ( PMIDL_STUB_DESC  )&Object_StubDesc,
9854                       6);
9855         
9856         
9857         
9858         if(!pBstrHelpFile)
9859             {
9860             RpcRaiseException(RPC_X_NULL_REF_POINTER);
9861             }
9862         RpcTryFinally
9863             {
9864             
9865             _StubMsg.BufferLength = 0U;
9866             NdrProxyGetBuffer(This, &_StubMsg);
9867             NdrProxySendReceive(This, &_StubMsg);
9868             
9869             if ( (_RpcMessage.DataRepresentation & 0X0000FFFFUL) != NDR_LOCAL_DATA_REPRESENTATION )
9870                 NdrConvert( (PMIDL_STUB_MESSAGE) &_StubMsg, (PFORMAT_STRING) &__MIDL_ProcFormatString.Format[462] );
9871             
9872             NdrUserMarshalUnmarshall( (PMIDL_STUB_MESSAGE) &_StubMsg,
9873                                       (unsigned char __RPC_FAR * __RPC_FAR *)&pBstrHelpFile,
9874                                       (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[1128],
9875                                       (unsigned char)0 );
9876             
9877             _StubMsg.Buffer = (unsigned char __RPC_FAR *)(((long)_StubMsg.Buffer + 3) & ~ 0x3);
9878             _RetVal = *(( HRESULT __RPC_FAR * )_StubMsg.Buffer)++;
9879             
9880             }
9881         RpcFinally
9882             {
9883             NdrProxyFreeBuffer(This, &_StubMsg);
9884             
9885             }
9886         RpcEndFinally
9887         
9888         }
9889     RpcExcept(_StubMsg.dwStubPhase != PROXY_SENDRECEIVE)
9890         {
9891         NdrClearOutParameters(
9892                          ( PMIDL_STUB_MESSAGE  )&_StubMsg,
9893                          ( PFORMAT_STRING  )&__MIDL_TypeFormatString.Format[1708],
9894                          ( void __RPC_FAR * )pBstrHelpFile);
9895         _RetVal = NdrProxyErrorHandler(RpcExceptionCode());
9896         }
9897     RpcEndExcept
9898     return _RetVal;
9899 }
9900
9901 void __RPC_STUB IErrorInfo_GetHelpFile_Stub(
9902     IRpcStubBuffer *This,
9903     IRpcChannelBuffer *_pRpcChannelBuffer,
9904     PRPC_MESSAGE _pRpcMessage,
9905     DWORD *_pdwStubPhase)
9906 {
9907     BSTR _M93;
9908     HRESULT _RetVal;
9909     MIDL_STUB_MESSAGE _StubMsg;
9910     BSTR __RPC_FAR *pBstrHelpFile;
9911     
9912 NdrStubInitialize(
9913                      _pRpcMessage,
9914                      &_StubMsg,
9915                      &Object_StubDesc,
9916                      _pRpcChannelBuffer);
9917     ( BSTR __RPC_FAR * )pBstrHelpFile = 0;
9918     RpcTryFinally
9919         {
9920         pBstrHelpFile = &_M93;
9921         MIDL_memset(
9922                pBstrHelpFile,
9923                0,
9924                sizeof( BSTR  ));
9925         
9926         *_pdwStubPhase = STUB_CALL_SERVER;
9927         _RetVal = (((IErrorInfo*) ((CStdStubBuffer *)This)->pvServerObject)->lpVtbl) -> GetHelpFile((IErrorInfo *) ((CStdStubBuffer *)This)->pvServerObject,pBstrHelpFile);
9928         
9929         *_pdwStubPhase = STUB_MARSHAL;
9930         
9931         _StubMsg.BufferLength = 8U + 11U;
9932         NdrUserMarshalBufferSize( (PMIDL_STUB_MESSAGE) &_StubMsg,
9933                                   (unsigned char __RPC_FAR *)pBstrHelpFile,
9934                                   (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[1128] );
9935         
9936         _StubMsg.BufferLength += 16;
9937         
9938         NdrStubGetBuffer(This, _pRpcChannelBuffer, &_StubMsg);
9939         NdrUserMarshalMarshall( (PMIDL_STUB_MESSAGE)& _StubMsg,
9940                                 (unsigned char __RPC_FAR *)pBstrHelpFile,
9941                                 (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[1128] );
9942         
9943         _StubMsg.Buffer = (unsigned char __RPC_FAR *)(((long)_StubMsg.Buffer + 3) & ~ 0x3);
9944         *(( HRESULT __RPC_FAR * )_StubMsg.Buffer)++ = _RetVal;
9945         
9946         }
9947     RpcFinally
9948         {
9949         NdrPointerFree( &_StubMsg,
9950                         (unsigned char __RPC_FAR *)pBstrHelpFile,
9951                         &__MIDL_TypeFormatString.Format[1708] );
9952         
9953         }
9954     RpcEndFinally
9955     _pRpcMessage->BufferLength = 
9956         (unsigned int)((long)_StubMsg.Buffer - (long)_pRpcMessage->Buffer);
9957     
9958 }
9959
9960
9961 HRESULT STDMETHODCALLTYPE IErrorInfo_GetHelpContext_Proxy( 
9962     IErrorInfo __RPC_FAR * This,
9963     /* [out] */ DWORD __RPC_FAR *pdwHelpContext)
9964 {
9965
9966     HRESULT _RetVal;
9967     
9968     RPC_MESSAGE _RpcMessage;
9969     
9970     MIDL_STUB_MESSAGE _StubMsg;
9971     
9972     RpcTryExcept
9973         {
9974         NdrProxyInitialize(
9975                       ( void __RPC_FAR *  )This,
9976                       ( PRPC_MESSAGE  )&_RpcMessage,
9977                       ( PMIDL_STUB_MESSAGE  )&_StubMsg,
9978                       ( PMIDL_STUB_DESC  )&Object_StubDesc,
9979                       7);
9980         
9981         
9982         
9983         if(!pdwHelpContext)
9984             {
9985             RpcRaiseException(RPC_X_NULL_REF_POINTER);
9986             }
9987         RpcTryFinally
9988             {
9989             
9990             _StubMsg.BufferLength = 0U;
9991             NdrProxyGetBuffer(This, &_StubMsg);
9992             NdrProxySendReceive(This, &_StubMsg);
9993             
9994             if ( (_RpcMessage.DataRepresentation & 0X0000FFFFUL) != NDR_LOCAL_DATA_REPRESENTATION )
9995                 NdrConvert( (PMIDL_STUB_MESSAGE) &_StubMsg, (PFORMAT_STRING) &__MIDL_ProcFormatString.Format[0] );
9996             
9997             *pdwHelpContext = *(( DWORD __RPC_FAR * )_StubMsg.Buffer)++;
9998             
9999             _RetVal = *(( HRESULT __RPC_FAR * )_StubMsg.Buffer)++;
10000             
10001             }
10002         RpcFinally
10003             {
10004             NdrProxyFreeBuffer(This, &_StubMsg);
10005             
10006             }
10007         RpcEndFinally
10008         
10009         }
10010     RpcExcept(_StubMsg.dwStubPhase != PROXY_SENDRECEIVE)
10011         {
10012         NdrClearOutParameters(
10013                          ( PMIDL_STUB_MESSAGE  )&_StubMsg,
10014                          ( PFORMAT_STRING  )&__MIDL_TypeFormatString.Format[2],
10015                          ( void __RPC_FAR * )pdwHelpContext);
10016         _RetVal = NdrProxyErrorHandler(RpcExceptionCode());
10017         }
10018     RpcEndExcept
10019     return _RetVal;
10020 }
10021
10022 void __RPC_STUB IErrorInfo_GetHelpContext_Stub(
10023     IRpcStubBuffer *This,
10024     IRpcChannelBuffer *_pRpcChannelBuffer,
10025     PRPC_MESSAGE _pRpcMessage,
10026     DWORD *_pdwStubPhase)
10027 {
10028     DWORD _M94;
10029     HRESULT _RetVal;
10030     MIDL_STUB_MESSAGE _StubMsg;
10031     DWORD __RPC_FAR *pdwHelpContext;
10032     
10033 NdrStubInitialize(
10034                      _pRpcMessage,
10035                      &_StubMsg,
10036                      &Object_StubDesc,
10037                      _pRpcChannelBuffer);
10038     ( DWORD __RPC_FAR * )pdwHelpContext = 0;
10039     RpcTryFinally
10040         {
10041         pdwHelpContext = &_M94;
10042         
10043         *_pdwStubPhase = STUB_CALL_SERVER;
10044         _RetVal = (((IErrorInfo*) ((CStdStubBuffer *)This)->pvServerObject)->lpVtbl) -> GetHelpContext((IErrorInfo *) ((CStdStubBuffer *)This)->pvServerObject,pdwHelpContext);
10045         
10046         *_pdwStubPhase = STUB_MARSHAL;
10047         
10048         _StubMsg.BufferLength = 4U + 4U;
10049         NdrStubGetBuffer(This, _pRpcChannelBuffer, &_StubMsg);
10050         *(( DWORD __RPC_FAR * )_StubMsg.Buffer)++ = *pdwHelpContext;
10051         
10052         *(( HRESULT __RPC_FAR * )_StubMsg.Buffer)++ = _RetVal;
10053         
10054         }
10055     RpcFinally
10056         {
10057         }
10058     RpcEndFinally
10059     _pRpcMessage->BufferLength = 
10060         (unsigned int)((long)_StubMsg.Buffer - (long)_pRpcMessage->Buffer);
10061     
10062 }
10063
10064 const CINTERFACE_PROXY_VTABLE(8) _IErrorInfoProxyVtbl = 
10065 {
10066     { &IID_IErrorInfo },
10067     {
10068         IUnknown_QueryInterface_Proxy,
10069         IUnknown_AddRef_Proxy,
10070         IUnknown_Release_Proxy ,
10071         IErrorInfo_GetGUID_Proxy ,
10072         IErrorInfo_GetSource_Proxy ,
10073         IErrorInfo_GetDescription_Proxy ,
10074         IErrorInfo_GetHelpFile_Proxy ,
10075         IErrorInfo_GetHelpContext_Proxy
10076     }
10077 };
10078
10079
10080 static const PRPC_STUB_FUNCTION IErrorInfo_table[] =
10081 {
10082     IErrorInfo_GetGUID_Stub,
10083     IErrorInfo_GetSource_Stub,
10084     IErrorInfo_GetDescription_Stub,
10085     IErrorInfo_GetHelpFile_Stub,
10086     IErrorInfo_GetHelpContext_Stub
10087 };
10088
10089 const CInterfaceStubVtbl _IErrorInfoStubVtbl =
10090 {
10091     {
10092         &IID_IErrorInfo,
10093         0,
10094         8,
10095         &IErrorInfo_table[-3]
10096     },
10097     { CStdStubBuffer_METHODS }
10098 };
10099
10100
10101 /* Object interface: ICreateErrorInfo, ver. 0.0,
10102    GUID={0x22F03340,0x547D,0x101B,{0x8E,0x65,0x08,0x00,0x2B,0x2B,0xD1,0x19}} */
10103
10104
10105 extern const MIDL_STUB_DESC Object_StubDesc;
10106
10107
10108 HRESULT STDMETHODCALLTYPE ICreateErrorInfo_SetGUID_Proxy( 
10109     ICreateErrorInfo __RPC_FAR * This,
10110     /* [in] */ REFGUID rguid)
10111 {
10112
10113     HRESULT _RetVal;
10114     
10115     RPC_MESSAGE _RpcMessage;
10116     
10117     MIDL_STUB_MESSAGE _StubMsg;
10118     
10119     RpcTryExcept
10120         {
10121         NdrProxyInitialize(
10122                       ( void __RPC_FAR *  )This,
10123                       ( PRPC_MESSAGE  )&_RpcMessage,
10124                       ( PMIDL_STUB_MESSAGE  )&_StubMsg,
10125                       ( PMIDL_STUB_DESC  )&Object_StubDesc,
10126                       3);
10127         
10128         
10129         
10130         if(!rguid)
10131             {
10132             RpcRaiseException(RPC_X_NULL_REF_POINTER);
10133             }
10134         RpcTryFinally
10135             {
10136             
10137             _StubMsg.BufferLength = 0U;
10138             NdrSimpleStructBufferSize( (PMIDL_STUB_MESSAGE) &_StubMsg,
10139                                        (unsigned char __RPC_FAR *)rguid,
10140                                        (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[38] );
10141             
10142             NdrProxyGetBuffer(This, &_StubMsg);
10143             NdrSimpleStructMarshall( (PMIDL_STUB_MESSAGE)& _StubMsg,
10144                                      (unsigned char __RPC_FAR *)rguid,
10145                                      (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[38] );
10146             
10147             NdrProxySendReceive(This, &_StubMsg);
10148             
10149             if ( (_RpcMessage.DataRepresentation & 0X0000FFFFUL) != NDR_LOCAL_DATA_REPRESENTATION )
10150                 NdrConvert( (PMIDL_STUB_MESSAGE) &_StubMsg, (PFORMAT_STRING) &__MIDL_ProcFormatString.Format[468] );
10151             
10152             _RetVal = *(( HRESULT __RPC_FAR * )_StubMsg.Buffer)++;
10153             
10154             }
10155         RpcFinally
10156             {
10157             NdrProxyFreeBuffer(This, &_StubMsg);
10158             
10159             }
10160         RpcEndFinally
10161         
10162         }
10163     RpcExcept(_StubMsg.dwStubPhase != PROXY_SENDRECEIVE)
10164         {
10165         _RetVal = NdrProxyErrorHandler(RpcExceptionCode());
10166         }
10167     RpcEndExcept
10168     return _RetVal;
10169 }
10170
10171 void __RPC_STUB ICreateErrorInfo_SetGUID_Stub(
10172     IRpcStubBuffer *This,
10173     IRpcChannelBuffer *_pRpcChannelBuffer,
10174     PRPC_MESSAGE _pRpcMessage,
10175     DWORD *_pdwStubPhase)
10176 {
10177     HRESULT _RetVal;
10178     MIDL_STUB_MESSAGE _StubMsg;
10179     REFGUID rguid = 0;
10180     
10181 NdrStubInitialize(
10182                      _pRpcMessage,
10183                      &_StubMsg,
10184                      &Object_StubDesc,
10185                      _pRpcChannelBuffer);
10186     RpcTryFinally
10187         {
10188         if ( (_pRpcMessage->DataRepresentation & 0X0000FFFFUL) != NDR_LOCAL_DATA_REPRESENTATION )
10189             NdrConvert( (PMIDL_STUB_MESSAGE) &_StubMsg, (PFORMAT_STRING) &__MIDL_ProcFormatString.Format[468] );
10190         
10191         NdrSimpleStructUnmarshall( (PMIDL_STUB_MESSAGE) &_StubMsg,
10192                                    (unsigned char __RPC_FAR * __RPC_FAR *)&rguid,
10193                                    (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[38],
10194                                    (unsigned char)0 );
10195         
10196         
10197         *_pdwStubPhase = STUB_CALL_SERVER;
10198         _RetVal = (((ICreateErrorInfo*) ((CStdStubBuffer *)This)->pvServerObject)->lpVtbl) -> SetGUID((ICreateErrorInfo *) ((CStdStubBuffer *)This)->pvServerObject,rguid);
10199         
10200         *_pdwStubPhase = STUB_MARSHAL;
10201         
10202         _StubMsg.BufferLength = 4U;
10203         NdrStubGetBuffer(This, _pRpcChannelBuffer, &_StubMsg);
10204         *(( HRESULT __RPC_FAR * )_StubMsg.Buffer)++ = _RetVal;
10205         
10206         }
10207     RpcFinally
10208         {
10209         }
10210     RpcEndFinally
10211     _pRpcMessage->BufferLength = 
10212         (unsigned int)((long)_StubMsg.Buffer - (long)_pRpcMessage->Buffer);
10213     
10214 }
10215
10216
10217 HRESULT STDMETHODCALLTYPE ICreateErrorInfo_SetSource_Proxy( 
10218     ICreateErrorInfo __RPC_FAR * This,
10219     /* [in] */ LPOLESTR szSource)
10220 {
10221
10222     HRESULT _RetVal;
10223     
10224     RPC_MESSAGE _RpcMessage;
10225     
10226     MIDL_STUB_MESSAGE _StubMsg;
10227     
10228     RpcTryExcept
10229         {
10230         NdrProxyInitialize(
10231                       ( void __RPC_FAR *  )This,
10232                       ( PRPC_MESSAGE  )&_RpcMessage,
10233                       ( PMIDL_STUB_MESSAGE  )&_StubMsg,
10234                       ( PMIDL_STUB_DESC  )&Object_StubDesc,
10235                       4);
10236         
10237         
10238         
10239         if(!szSource)
10240             {
10241             RpcRaiseException(RPC_X_NULL_REF_POINTER);
10242             }
10243         RpcTryFinally
10244             {
10245             
10246             _StubMsg.BufferLength = 12U;
10247             NdrConformantStringBufferSize( (PMIDL_STUB_MESSAGE) &_StubMsg,
10248                                            (unsigned char __RPC_FAR *)szSource,
10249                                            (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[1248] );
10250             
10251             NdrProxyGetBuffer(This, &_StubMsg);
10252             NdrConformantStringMarshall( (PMIDL_STUB_MESSAGE)& _StubMsg,
10253                                          (unsigned char __RPC_FAR *)szSource,
10254                                          (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[1248] );
10255             
10256             NdrProxySendReceive(This, &_StubMsg);
10257             
10258             if ( (_RpcMessage.DataRepresentation & 0X0000FFFFUL) != NDR_LOCAL_DATA_REPRESENTATION )
10259                 NdrConvert( (PMIDL_STUB_MESSAGE) &_StubMsg, (PFORMAT_STRING) &__MIDL_ProcFormatString.Format[474] );
10260             
10261             _RetVal = *(( HRESULT __RPC_FAR * )_StubMsg.Buffer)++;
10262             
10263             }
10264         RpcFinally
10265             {
10266             NdrProxyFreeBuffer(This, &_StubMsg);
10267             
10268             }
10269         RpcEndFinally
10270         
10271         }
10272     RpcExcept(_StubMsg.dwStubPhase != PROXY_SENDRECEIVE)
10273         {
10274         _RetVal = NdrProxyErrorHandler(RpcExceptionCode());
10275         }
10276     RpcEndExcept
10277     return _RetVal;
10278 }
10279
10280 void __RPC_STUB ICreateErrorInfo_SetSource_Stub(
10281     IRpcStubBuffer *This,
10282     IRpcChannelBuffer *_pRpcChannelBuffer,
10283     PRPC_MESSAGE _pRpcMessage,
10284     DWORD *_pdwStubPhase)
10285 {
10286     HRESULT _RetVal;
10287     MIDL_STUB_MESSAGE _StubMsg;
10288     LPOLESTR szSource;
10289     
10290 NdrStubInitialize(
10291                      _pRpcMessage,
10292                      &_StubMsg,
10293                      &Object_StubDesc,
10294                      _pRpcChannelBuffer);
10295     ( LPOLESTR  )szSource = 0;
10296     RpcTryFinally
10297         {
10298         if ( (_pRpcMessage->DataRepresentation & 0X0000FFFFUL) != NDR_LOCAL_DATA_REPRESENTATION )
10299             NdrConvert( (PMIDL_STUB_MESSAGE) &_StubMsg, (PFORMAT_STRING) &__MIDL_ProcFormatString.Format[474] );
10300         
10301         NdrConformantStringUnmarshall( (PMIDL_STUB_MESSAGE) &_StubMsg,
10302                                        (unsigned char __RPC_FAR * __RPC_FAR *)&szSource,
10303                                        (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[1248],
10304                                        (unsigned char)0 );
10305         
10306         
10307         *_pdwStubPhase = STUB_CALL_SERVER;
10308         _RetVal = (((ICreateErrorInfo*) ((CStdStubBuffer *)This)->pvServerObject)->lpVtbl) -> SetSource((ICreateErrorInfo *) ((CStdStubBuffer *)This)->pvServerObject,szSource);
10309         
10310         *_pdwStubPhase = STUB_MARSHAL;
10311         
10312         _StubMsg.BufferLength = 4U;
10313         _StubMsg.BufferLength += 16;
10314         
10315         NdrStubGetBuffer(This, _pRpcChannelBuffer, &_StubMsg);
10316         *(( HRESULT __RPC_FAR * )_StubMsg.Buffer)++ = _RetVal;
10317         
10318         }
10319     RpcFinally
10320         {
10321         }
10322     RpcEndFinally
10323     _pRpcMessage->BufferLength = 
10324         (unsigned int)((long)_StubMsg.Buffer - (long)_pRpcMessage->Buffer);
10325     
10326 }
10327
10328
10329 HRESULT STDMETHODCALLTYPE ICreateErrorInfo_SetDescription_Proxy( 
10330     ICreateErrorInfo __RPC_FAR * This,
10331     /* [in] */ LPOLESTR szDescription)
10332 {
10333
10334     HRESULT _RetVal;
10335     
10336     RPC_MESSAGE _RpcMessage;
10337     
10338     MIDL_STUB_MESSAGE _StubMsg;
10339     
10340     RpcTryExcept
10341         {
10342         NdrProxyInitialize(
10343                       ( void __RPC_FAR *  )This,
10344                       ( PRPC_MESSAGE  )&_RpcMessage,
10345                       ( PMIDL_STUB_MESSAGE  )&_StubMsg,
10346                       ( PMIDL_STUB_DESC  )&Object_StubDesc,
10347                       5);
10348         
10349         
10350         
10351         if(!szDescription)
10352             {
10353             RpcRaiseException(RPC_X_NULL_REF_POINTER);
10354             }
10355         RpcTryFinally
10356             {
10357             
10358             _StubMsg.BufferLength = 12U;
10359             NdrConformantStringBufferSize( (PMIDL_STUB_MESSAGE) &_StubMsg,
10360                                            (unsigned char __RPC_FAR *)szDescription,
10361                                            (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[1248] );
10362             
10363             NdrProxyGetBuffer(This, &_StubMsg);
10364             NdrConformantStringMarshall( (PMIDL_STUB_MESSAGE)& _StubMsg,
10365                                          (unsigned char __RPC_FAR *)szDescription,
10366                                          (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[1248] );
10367             
10368             NdrProxySendReceive(This, &_StubMsg);
10369             
10370             if ( (_RpcMessage.DataRepresentation & 0X0000FFFFUL) != NDR_LOCAL_DATA_REPRESENTATION )
10371                 NdrConvert( (PMIDL_STUB_MESSAGE) &_StubMsg, (PFORMAT_STRING) &__MIDL_ProcFormatString.Format[474] );
10372             
10373             _RetVal = *(( HRESULT __RPC_FAR * )_StubMsg.Buffer)++;
10374             
10375             }
10376         RpcFinally
10377             {
10378             NdrProxyFreeBuffer(This, &_StubMsg);
10379             
10380             }
10381         RpcEndFinally
10382         
10383         }
10384     RpcExcept(_StubMsg.dwStubPhase != PROXY_SENDRECEIVE)
10385         {
10386         _RetVal = NdrProxyErrorHandler(RpcExceptionCode());
10387         }
10388     RpcEndExcept
10389     return _RetVal;
10390 }
10391
10392 void __RPC_STUB ICreateErrorInfo_SetDescription_Stub(
10393     IRpcStubBuffer *This,
10394     IRpcChannelBuffer *_pRpcChannelBuffer,
10395     PRPC_MESSAGE _pRpcMessage,
10396     DWORD *_pdwStubPhase)
10397 {
10398     HRESULT _RetVal;
10399     MIDL_STUB_MESSAGE _StubMsg;
10400     LPOLESTR szDescription;
10401     
10402 NdrStubInitialize(
10403                      _pRpcMessage,
10404                      &_StubMsg,
10405                      &Object_StubDesc,
10406                      _pRpcChannelBuffer);
10407     ( LPOLESTR  )szDescription = 0;
10408     RpcTryFinally
10409         {
10410         if ( (_pRpcMessage->DataRepresentation & 0X0000FFFFUL) != NDR_LOCAL_DATA_REPRESENTATION )
10411             NdrConvert( (PMIDL_STUB_MESSAGE) &_StubMsg, (PFORMAT_STRING) &__MIDL_ProcFormatString.Format[474] );
10412         
10413         NdrConformantStringUnmarshall( (PMIDL_STUB_MESSAGE) &_StubMsg,
10414                                        (unsigned char __RPC_FAR * __RPC_FAR *)&szDescription,
10415                                        (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[1248],
10416                                        (unsigned char)0 );
10417         
10418         
10419         *_pdwStubPhase = STUB_CALL_SERVER;
10420         _RetVal = (((ICreateErrorInfo*) ((CStdStubBuffer *)This)->pvServerObject)->lpVtbl) -> SetDescription((ICreateErrorInfo *) ((CStdStubBuffer *)This)->pvServerObject,szDescription);
10421         
10422         *_pdwStubPhase = STUB_MARSHAL;
10423         
10424         _StubMsg.BufferLength = 4U;
10425         _StubMsg.BufferLength += 16;
10426         
10427         NdrStubGetBuffer(This, _pRpcChannelBuffer, &_StubMsg);
10428         *(( HRESULT __RPC_FAR * )_StubMsg.Buffer)++ = _RetVal;
10429         
10430         }
10431     RpcFinally
10432         {
10433         }
10434     RpcEndFinally
10435     _pRpcMessage->BufferLength = 
10436         (unsigned int)((long)_StubMsg.Buffer - (long)_pRpcMessage->Buffer);
10437     
10438 }
10439
10440
10441 HRESULT STDMETHODCALLTYPE ICreateErrorInfo_SetHelpFile_Proxy( 
10442     ICreateErrorInfo __RPC_FAR * This,
10443     /* [in] */ LPOLESTR szHelpFile)
10444 {
10445
10446     HRESULT _RetVal;
10447     
10448     RPC_MESSAGE _RpcMessage;
10449     
10450     MIDL_STUB_MESSAGE _StubMsg;
10451     
10452     RpcTryExcept
10453         {
10454         NdrProxyInitialize(
10455                       ( void __RPC_FAR *  )This,
10456                       ( PRPC_MESSAGE  )&_RpcMessage,
10457                       ( PMIDL_STUB_MESSAGE  )&_StubMsg,
10458                       ( PMIDL_STUB_DESC  )&Object_StubDesc,
10459                       6);
10460         
10461         
10462         
10463         if(!szHelpFile)
10464             {
10465             RpcRaiseException(RPC_X_NULL_REF_POINTER);
10466             }
10467         RpcTryFinally
10468             {
10469             
10470             _StubMsg.BufferLength = 12U;
10471             NdrConformantStringBufferSize( (PMIDL_STUB_MESSAGE) &_StubMsg,
10472                                            (unsigned char __RPC_FAR *)szHelpFile,
10473                                            (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[1248] );
10474             
10475             NdrProxyGetBuffer(This, &_StubMsg);
10476             NdrConformantStringMarshall( (PMIDL_STUB_MESSAGE)& _StubMsg,
10477                                          (unsigned char __RPC_FAR *)szHelpFile,
10478                                          (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[1248] );
10479             
10480             NdrProxySendReceive(This, &_StubMsg);
10481             
10482             if ( (_RpcMessage.DataRepresentation & 0X0000FFFFUL) != NDR_LOCAL_DATA_REPRESENTATION )
10483                 NdrConvert( (PMIDL_STUB_MESSAGE) &_StubMsg, (PFORMAT_STRING) &__MIDL_ProcFormatString.Format[474] );
10484             
10485             _RetVal = *(( HRESULT __RPC_FAR * )_StubMsg.Buffer)++;
10486             
10487             }
10488         RpcFinally
10489             {
10490             NdrProxyFreeBuffer(This, &_StubMsg);
10491             
10492             }
10493         RpcEndFinally
10494         
10495         }
10496     RpcExcept(_StubMsg.dwStubPhase != PROXY_SENDRECEIVE)
10497         {
10498         _RetVal = NdrProxyErrorHandler(RpcExceptionCode());
10499         }
10500     RpcEndExcept
10501     return _RetVal;
10502 }
10503
10504 void __RPC_STUB ICreateErrorInfo_SetHelpFile_Stub(
10505     IRpcStubBuffer *This,
10506     IRpcChannelBuffer *_pRpcChannelBuffer,
10507     PRPC_MESSAGE _pRpcMessage,
10508     DWORD *_pdwStubPhase)
10509 {
10510     HRESULT _RetVal;
10511     MIDL_STUB_MESSAGE _StubMsg;
10512     LPOLESTR szHelpFile;
10513     
10514 NdrStubInitialize(
10515                      _pRpcMessage,
10516                      &_StubMsg,
10517                      &Object_StubDesc,
10518                      _pRpcChannelBuffer);
10519     ( LPOLESTR  )szHelpFile = 0;
10520     RpcTryFinally
10521         {
10522         if ( (_pRpcMessage->DataRepresentation & 0X0000FFFFUL) != NDR_LOCAL_DATA_REPRESENTATION )
10523             NdrConvert( (PMIDL_STUB_MESSAGE) &_StubMsg, (PFORMAT_STRING) &__MIDL_ProcFormatString.Format[474] );
10524         
10525         NdrConformantStringUnmarshall( (PMIDL_STUB_MESSAGE) &_StubMsg,
10526                                        (unsigned char __RPC_FAR * __RPC_FAR *)&szHelpFile,
10527                                        (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[1248],
10528                                        (unsigned char)0 );
10529         
10530         
10531         *_pdwStubPhase = STUB_CALL_SERVER;
10532         _RetVal = (((ICreateErrorInfo*) ((CStdStubBuffer *)This)->pvServerObject)->lpVtbl) -> SetHelpFile((ICreateErrorInfo *) ((CStdStubBuffer *)This)->pvServerObject,szHelpFile);
10533         
10534         *_pdwStubPhase = STUB_MARSHAL;
10535         
10536         _StubMsg.BufferLength = 4U;
10537         _StubMsg.BufferLength += 16;
10538         
10539         NdrStubGetBuffer(This, _pRpcChannelBuffer, &_StubMsg);
10540         *(( HRESULT __RPC_FAR * )_StubMsg.Buffer)++ = _RetVal;
10541         
10542         }
10543     RpcFinally
10544         {
10545         }
10546     RpcEndFinally
10547     _pRpcMessage->BufferLength = 
10548         (unsigned int)((long)_StubMsg.Buffer - (long)_pRpcMessage->Buffer);
10549     
10550 }
10551
10552
10553 HRESULT STDMETHODCALLTYPE ICreateErrorInfo_SetHelpContext_Proxy( 
10554     ICreateErrorInfo __RPC_FAR * This,
10555     /* [in] */ DWORD dwHelpContext)
10556 {
10557
10558     HRESULT _RetVal;
10559     
10560     RPC_MESSAGE _RpcMessage;
10561     
10562     MIDL_STUB_MESSAGE _StubMsg;
10563     
10564     RpcTryExcept
10565         {
10566         NdrProxyInitialize(
10567                       ( void __RPC_FAR *  )This,
10568                       ( PRPC_MESSAGE  )&_RpcMessage,
10569                       ( PMIDL_STUB_MESSAGE  )&_StubMsg,
10570                       ( PMIDL_STUB_DESC  )&Object_StubDesc,
10571                       7);
10572         
10573         
10574         
10575         RpcTryFinally
10576             {
10577             
10578             _StubMsg.BufferLength = 4U;
10579             NdrProxyGetBuffer(This, &_StubMsg);
10580             *(( DWORD __RPC_FAR * )_StubMsg.Buffer)++ = dwHelpContext;
10581             
10582             NdrProxySendReceive(This, &_StubMsg);
10583             
10584             if ( (_RpcMessage.DataRepresentation & 0X0000FFFFUL) != NDR_LOCAL_DATA_REPRESENTATION )
10585                 NdrConvert( (PMIDL_STUB_MESSAGE) &_StubMsg, (PFORMAT_STRING) &__MIDL_ProcFormatString.Format[84] );
10586             
10587             _RetVal = *(( HRESULT __RPC_FAR * )_StubMsg.Buffer)++;
10588             
10589             }
10590         RpcFinally
10591             {
10592             NdrProxyFreeBuffer(This, &_StubMsg);
10593             
10594             }
10595         RpcEndFinally
10596         
10597         }
10598     RpcExcept(_StubMsg.dwStubPhase != PROXY_SENDRECEIVE)
10599         {
10600         _RetVal = NdrProxyErrorHandler(RpcExceptionCode());
10601         }
10602     RpcEndExcept
10603     return _RetVal;
10604 }
10605
10606 void __RPC_STUB ICreateErrorInfo_SetHelpContext_Stub(
10607     IRpcStubBuffer *This,
10608     IRpcChannelBuffer *_pRpcChannelBuffer,
10609     PRPC_MESSAGE _pRpcMessage,
10610     DWORD *_pdwStubPhase)
10611 {
10612     HRESULT _RetVal;
10613     MIDL_STUB_MESSAGE _StubMsg;
10614     DWORD dwHelpContext;
10615     
10616 NdrStubInitialize(
10617                      _pRpcMessage,
10618                      &_StubMsg,
10619                      &Object_StubDesc,
10620                      _pRpcChannelBuffer);
10621     RpcTryFinally
10622         {
10623         if ( (_pRpcMessage->DataRepresentation & 0X0000FFFFUL) != NDR_LOCAL_DATA_REPRESENTATION )
10624             NdrConvert( (PMIDL_STUB_MESSAGE) &_StubMsg, (PFORMAT_STRING) &__MIDL_ProcFormatString.Format[84] );
10625         
10626         dwHelpContext = *(( DWORD __RPC_FAR * )_StubMsg.Buffer)++;
10627         
10628         
10629         *_pdwStubPhase = STUB_CALL_SERVER;
10630         _RetVal = (((ICreateErrorInfo*) ((CStdStubBuffer *)This)->pvServerObject)->lpVtbl) -> SetHelpContext((ICreateErrorInfo *) ((CStdStubBuffer *)This)->pvServerObject,dwHelpContext);
10631         
10632         *_pdwStubPhase = STUB_MARSHAL;
10633         
10634         _StubMsg.BufferLength = 4U;
10635         NdrStubGetBuffer(This, _pRpcChannelBuffer, &_StubMsg);
10636         *(( HRESULT __RPC_FAR * )_StubMsg.Buffer)++ = _RetVal;
10637         
10638         }
10639     RpcFinally
10640         {
10641         }
10642     RpcEndFinally
10643     _pRpcMessage->BufferLength = 
10644         (unsigned int)((long)_StubMsg.Buffer - (long)_pRpcMessage->Buffer);
10645     
10646 }
10647
10648 const CINTERFACE_PROXY_VTABLE(8) _ICreateErrorInfoProxyVtbl = 
10649 {
10650     { &IID_ICreateErrorInfo },
10651     {
10652         IUnknown_QueryInterface_Proxy,
10653         IUnknown_AddRef_Proxy,
10654         IUnknown_Release_Proxy ,
10655         ICreateErrorInfo_SetGUID_Proxy ,
10656         ICreateErrorInfo_SetSource_Proxy ,
10657         ICreateErrorInfo_SetDescription_Proxy ,
10658         ICreateErrorInfo_SetHelpFile_Proxy ,
10659         ICreateErrorInfo_SetHelpContext_Proxy
10660     }
10661 };
10662
10663
10664 static const PRPC_STUB_FUNCTION ICreateErrorInfo_table[] =
10665 {
10666     ICreateErrorInfo_SetGUID_Stub,
10667     ICreateErrorInfo_SetSource_Stub,
10668     ICreateErrorInfo_SetDescription_Stub,
10669     ICreateErrorInfo_SetHelpFile_Stub,
10670     ICreateErrorInfo_SetHelpContext_Stub
10671 };
10672
10673 const CInterfaceStubVtbl _ICreateErrorInfoStubVtbl =
10674 {
10675     {
10676         &IID_ICreateErrorInfo,
10677         0,
10678         8,
10679         &ICreateErrorInfo_table[-3]
10680     },
10681     { CStdStubBuffer_METHODS }
10682 };
10683
10684
10685 /* Object interface: ISupportErrorInfo, ver. 0.0,
10686    GUID={0xDF0B3D60,0x548F,0x101B,{0x8E,0x65,0x08,0x00,0x2B,0x2B,0xD1,0x19}} */
10687
10688
10689 extern const MIDL_STUB_DESC Object_StubDesc;
10690
10691
10692 HRESULT STDMETHODCALLTYPE ISupportErrorInfo_InterfaceSupportsErrorInfo_Proxy( 
10693     ISupportErrorInfo __RPC_FAR * This,
10694     /* [in] */ REFIID riid)
10695 {
10696
10697     HRESULT _RetVal;
10698     
10699     RPC_MESSAGE _RpcMessage;
10700     
10701     MIDL_STUB_MESSAGE _StubMsg;
10702     
10703     RpcTryExcept
10704         {
10705         NdrProxyInitialize(
10706                       ( void __RPC_FAR *  )This,
10707                       ( PRPC_MESSAGE  )&_RpcMessage,
10708                       ( PMIDL_STUB_MESSAGE  )&_StubMsg,
10709                       ( PMIDL_STUB_DESC  )&Object_StubDesc,
10710                       3);
10711         
10712         
10713         
10714         if(!riid)
10715             {
10716             RpcRaiseException(RPC_X_NULL_REF_POINTER);
10717             }
10718         RpcTryFinally
10719             {
10720             
10721             _StubMsg.BufferLength = 0U;
10722             NdrSimpleStructBufferSize( (PMIDL_STUB_MESSAGE) &_StubMsg,
10723                                        (unsigned char __RPC_FAR *)riid,
10724                                        (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[38] );
10725             
10726             NdrProxyGetBuffer(This, &_StubMsg);
10727             NdrSimpleStructMarshall( (PMIDL_STUB_MESSAGE)& _StubMsg,
10728                                      (unsigned char __RPC_FAR *)riid,
10729                                      (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[38] );
10730             
10731             NdrProxySendReceive(This, &_StubMsg);
10732             
10733             if ( (_RpcMessage.DataRepresentation & 0X0000FFFFUL) != NDR_LOCAL_DATA_REPRESENTATION )
10734                 NdrConvert( (PMIDL_STUB_MESSAGE) &_StubMsg, (PFORMAT_STRING) &__MIDL_ProcFormatString.Format[468] );
10735             
10736             _RetVal = *(( HRESULT __RPC_FAR * )_StubMsg.Buffer)++;
10737             
10738             }
10739         RpcFinally
10740             {
10741             NdrProxyFreeBuffer(This, &_StubMsg);
10742             
10743             }
10744         RpcEndFinally
10745         
10746         }
10747     RpcExcept(_StubMsg.dwStubPhase != PROXY_SENDRECEIVE)
10748         {
10749         _RetVal = NdrProxyErrorHandler(RpcExceptionCode());
10750         }
10751     RpcEndExcept
10752     return _RetVal;
10753 }
10754
10755 void __RPC_STUB ISupportErrorInfo_InterfaceSupportsErrorInfo_Stub(
10756     IRpcStubBuffer *This,
10757     IRpcChannelBuffer *_pRpcChannelBuffer,
10758     PRPC_MESSAGE _pRpcMessage,
10759     DWORD *_pdwStubPhase)
10760 {
10761     HRESULT _RetVal;
10762     MIDL_STUB_MESSAGE _StubMsg;
10763     IID* riid = 0;
10764     
10765 NdrStubInitialize(
10766                      _pRpcMessage,
10767                      &_StubMsg,
10768                      &Object_StubDesc,
10769                      _pRpcChannelBuffer);
10770     RpcTryFinally
10771         {
10772         if ( (_pRpcMessage->DataRepresentation & 0X0000FFFFUL) != NDR_LOCAL_DATA_REPRESENTATION )
10773             NdrConvert( (PMIDL_STUB_MESSAGE) &_StubMsg, (PFORMAT_STRING) &__MIDL_ProcFormatString.Format[468] );
10774         
10775         NdrSimpleStructUnmarshall( (PMIDL_STUB_MESSAGE) &_StubMsg,
10776                                    (unsigned char __RPC_FAR * __RPC_FAR *)&riid,
10777                                    (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[38],
10778                                    (unsigned char)0 );
10779         
10780         
10781         *_pdwStubPhase = STUB_CALL_SERVER;
10782         _RetVal = (((ISupportErrorInfo*) ((CStdStubBuffer *)This)->pvServerObject)->lpVtbl) -> InterfaceSupportsErrorInfo((ISupportErrorInfo *) ((CStdStubBuffer *)This)->pvServerObject,riid);
10783         
10784         *_pdwStubPhase = STUB_MARSHAL;
10785         
10786         _StubMsg.BufferLength = 4U;
10787         NdrStubGetBuffer(This, _pRpcChannelBuffer, &_StubMsg);
10788         *(( HRESULT __RPC_FAR * )_StubMsg.Buffer)++ = _RetVal;
10789         
10790         }
10791     RpcFinally
10792         {
10793         }
10794     RpcEndFinally
10795     _pRpcMessage->BufferLength = 
10796         (unsigned int)((long)_StubMsg.Buffer - (long)_pRpcMessage->Buffer);
10797     
10798 }
10799
10800 const CINTERFACE_PROXY_VTABLE(4) _ISupportErrorInfoProxyVtbl = 
10801 {
10802     { &IID_ISupportErrorInfo },
10803     {
10804         IUnknown_QueryInterface_Proxy,
10805         IUnknown_AddRef_Proxy,
10806         IUnknown_Release_Proxy ,
10807         ISupportErrorInfo_InterfaceSupportsErrorInfo_Proxy
10808     }
10809 };
10810
10811
10812 static const PRPC_STUB_FUNCTION ISupportErrorInfo_table[] =
10813 {
10814     ISupportErrorInfo_InterfaceSupportsErrorInfo_Stub
10815 };
10816
10817 const CInterfaceStubVtbl _ISupportErrorInfoStubVtbl =
10818 {
10819     {
10820         &IID_ISupportErrorInfo,
10821         0,
10822         4,
10823         &ISupportErrorInfo_table[-3]
10824     },
10825     { CStdStubBuffer_METHODS }
10826 };
10827
10828
10829 /* Object interface: ITypeFactory, ver. 0.0,
10830    GUID={0x0000002E,0x0000,0x0000,{0xC0,0x00,0x00,0x00,0x00,0x00,0x00,0x46}} */
10831
10832
10833 extern const MIDL_STUB_DESC Object_StubDesc;
10834
10835
10836 HRESULT STDMETHODCALLTYPE ITypeFactory_CreateFromTypeInfo_Proxy( 
10837     ITypeFactory __RPC_FAR * This,
10838     /* [in] */ ITypeInfo __RPC_FAR *pTypeInfo,
10839     /* [in] */ REFIID riid,
10840     /* [iid_is][out] */ IUnknown __RPC_FAR *__RPC_FAR *ppv)
10841 {
10842
10843     HRESULT _RetVal;
10844     
10845     RPC_MESSAGE _RpcMessage;
10846     
10847     MIDL_STUB_MESSAGE _StubMsg;
10848     
10849     if(ppv)
10850         {
10851         MIDL_memset(
10852                ppv,
10853                0,
10854                sizeof( IUnknown __RPC_FAR *__RPC_FAR * ));
10855         }
10856     RpcTryExcept
10857         {
10858         NdrProxyInitialize(
10859                       ( void __RPC_FAR *  )This,
10860                       ( PRPC_MESSAGE  )&_RpcMessage,
10861                       ( PMIDL_STUB_MESSAGE  )&_StubMsg,
10862                       ( PMIDL_STUB_DESC  )&Object_StubDesc,
10863                       3);
10864         
10865         
10866         
10867         if(!riid)
10868             {
10869             RpcRaiseException(RPC_X_NULL_REF_POINTER);
10870             }
10871         if(!ppv)
10872             {
10873             RpcRaiseException(RPC_X_NULL_REF_POINTER);
10874             }
10875         RpcTryFinally
10876             {
10877             
10878             _StubMsg.BufferLength = 0U + 0U;
10879             NdrInterfacePointerBufferSize( (PMIDL_STUB_MESSAGE) &_StubMsg,
10880                                            (unsigned char __RPC_FAR *)pTypeInfo,
10881                                            (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[10] );
10882             
10883             NdrSimpleStructBufferSize( (PMIDL_STUB_MESSAGE) &_StubMsg,
10884                                        (unsigned char __RPC_FAR *)riid,
10885                                        (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[38] );
10886             
10887             NdrProxyGetBuffer(This, &_StubMsg);
10888             NdrInterfacePointerMarshall( (PMIDL_STUB_MESSAGE)& _StubMsg,
10889                                          (unsigned char __RPC_FAR *)pTypeInfo,
10890                                          (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[10] );
10891             
10892             NdrSimpleStructMarshall( (PMIDL_STUB_MESSAGE)& _StubMsg,
10893                                      (unsigned char __RPC_FAR *)riid,
10894                                      (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[38] );
10895             
10896             NdrProxySendReceive(This, &_StubMsg);
10897             
10898             if ( (_RpcMessage.DataRepresentation & 0X0000FFFFUL) != NDR_LOCAL_DATA_REPRESENTATION )
10899                 NdrConvert( (PMIDL_STUB_MESSAGE) &_StubMsg, (PFORMAT_STRING) &__MIDL_ProcFormatString.Format[480] );
10900             
10901             NdrPointerUnmarshall( (PMIDL_STUB_MESSAGE) &_StubMsg,
10902                                   (unsigned char __RPC_FAR * __RPC_FAR *)&ppv,
10903                                   (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[1896],
10904                                   (unsigned char)0 );
10905             
10906             _StubMsg.Buffer = (unsigned char __RPC_FAR *)(((long)_StubMsg.Buffer + 3) & ~ 0x3);
10907             _RetVal = *(( HRESULT __RPC_FAR * )_StubMsg.Buffer)++;
10908             
10909             }
10910         RpcFinally
10911             {
10912             NdrProxyFreeBuffer(This, &_StubMsg);
10913             
10914             }
10915         RpcEndFinally
10916         
10917         }
10918     RpcExcept(_StubMsg.dwStubPhase != PROXY_SENDRECEIVE)
10919         {
10920         _StubMsg.MaxCount = (unsigned long) ( riid );
10921         
10922         NdrClearOutParameters(
10923                          ( PMIDL_STUB_MESSAGE  )&_StubMsg,
10924                          ( PFORMAT_STRING  )&__MIDL_TypeFormatString.Format[1896],
10925                          ( void __RPC_FAR * )ppv);
10926         _RetVal = NdrProxyErrorHandler(RpcExceptionCode());
10927         }
10928     RpcEndExcept
10929     return _RetVal;
10930 }
10931
10932 void __RPC_STUB ITypeFactory_CreateFromTypeInfo_Stub(
10933     IRpcStubBuffer *This,
10934     IRpcChannelBuffer *_pRpcChannelBuffer,
10935     PRPC_MESSAGE _pRpcMessage,
10936     DWORD *_pdwStubPhase)
10937 {
10938     IUnknown __RPC_FAR *__RPC_FAR *_M101;
10939     HRESULT _RetVal;
10940     MIDL_STUB_MESSAGE _StubMsg;
10941     ITypeInfo __RPC_FAR *pTypeInfo;
10942     IUnknown __RPC_FAR *__RPC_FAR *ppv;
10943     IID* riid = 0;
10944     
10945 NdrStubInitialize(
10946                      _pRpcMessage,
10947                      &_StubMsg,
10948                      &Object_StubDesc,
10949                      _pRpcChannelBuffer);
10950     pTypeInfo = 0;
10951     ( IUnknown __RPC_FAR *__RPC_FAR * )ppv = 0;
10952     RpcTryFinally
10953         {
10954         if ( (_pRpcMessage->DataRepresentation & 0X0000FFFFUL) != NDR_LOCAL_DATA_REPRESENTATION )
10955             NdrConvert( (PMIDL_STUB_MESSAGE) &_StubMsg, (PFORMAT_STRING) &__MIDL_ProcFormatString.Format[480] );
10956         
10957         NdrInterfacePointerUnmarshall( (PMIDL_STUB_MESSAGE) &_StubMsg,
10958                                        (unsigned char __RPC_FAR * __RPC_FAR *)&pTypeInfo,
10959                                        (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[10],
10960                                        (unsigned char)0 );
10961         
10962         NdrSimpleStructUnmarshall( (PMIDL_STUB_MESSAGE) &_StubMsg,
10963                                    (unsigned char __RPC_FAR * __RPC_FAR *)&riid,
10964                                    (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[38],
10965                                    (unsigned char)0 );
10966         
10967         ppv = (void *)&_M101;
10968         _M101 = 0;
10969         
10970         *_pdwStubPhase = STUB_CALL_SERVER;
10971         _RetVal = (((ITypeFactory*) ((CStdStubBuffer *)This)->pvServerObject)->lpVtbl) -> CreateFromTypeInfo(
10972                       (ITypeFactory *) ((CStdStubBuffer *)This)->pvServerObject,
10973                       pTypeInfo,
10974                       riid,
10975                       ppv);
10976         
10977         *_pdwStubPhase = STUB_MARSHAL;
10978         
10979         _StubMsg.BufferLength = 0U + 4U;
10980         _StubMsg.MaxCount = (unsigned long) ( riid );
10981         
10982         NdrPointerBufferSize( (PMIDL_STUB_MESSAGE) &_StubMsg,
10983                               (unsigned char __RPC_FAR *)ppv,
10984                               (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[1896] );
10985         
10986         _StubMsg.BufferLength += 16;
10987         
10988         NdrStubGetBuffer(This, _pRpcChannelBuffer, &_StubMsg);
10989         _StubMsg.MaxCount = (unsigned long) ( riid );
10990         
10991         NdrPointerMarshall( (PMIDL_STUB_MESSAGE)& _StubMsg,
10992                             (unsigned char __RPC_FAR *)ppv,
10993                             (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[1896] );
10994         
10995         _StubMsg.Buffer = (unsigned char __RPC_FAR *)(((long)_StubMsg.Buffer + 3) & ~ 0x3);
10996         *(( HRESULT __RPC_FAR * )_StubMsg.Buffer)++ = _RetVal;
10997         
10998         }
10999     RpcFinally
11000         {
11001         NdrInterfacePointerFree( &_StubMsg,
11002                                  (unsigned char __RPC_FAR *)pTypeInfo,
11003                                  &__MIDL_TypeFormatString.Format[10] );
11004         
11005         _StubMsg.MaxCount = (unsigned long) ( riid );
11006         
11007         NdrPointerFree( &_StubMsg,
11008                         (unsigned char __RPC_FAR *)ppv,
11009                         &__MIDL_TypeFormatString.Format[1896] );
11010         
11011         }
11012     RpcEndFinally
11013     _pRpcMessage->BufferLength = 
11014         (unsigned int)((long)_StubMsg.Buffer - (long)_pRpcMessage->Buffer);
11015     
11016 }
11017
11018 extern const USER_MARSHAL_ROUTINE_QUADRUPLE UserMarshalRoutines[3];
11019
11020 static const MIDL_STUB_DESC Object_StubDesc = 
11021     {
11022     0,
11023     NdrOleAllocate,
11024     NdrOleFree,
11025     { 0 },
11026     0,
11027     0,
11028     0,
11029     0,
11030     __MIDL_TypeFormatString.Format,
11031     1, /* -error bounds_check flag */
11032     0x20000, /* Ndr library version */
11033     0,
11034     0x50100a4, /* MIDL Version 5.1.164 */
11035     0,
11036     UserMarshalRoutines,
11037     0,  /* notify & notify_flag routine table */
11038     1,  /* Flags */
11039     0,  /* Reserved3 */
11040     0,  /* Reserved4 */
11041     0   /* Reserved5 */
11042     };
11043
11044 const CINTERFACE_PROXY_VTABLE(4) _ITypeFactoryProxyVtbl = 
11045 {
11046     { &IID_ITypeFactory },
11047     {
11048         IUnknown_QueryInterface_Proxy,
11049         IUnknown_AddRef_Proxy,
11050         IUnknown_Release_Proxy ,
11051         ITypeFactory_CreateFromTypeInfo_Proxy
11052     }
11053 };
11054
11055
11056 static const PRPC_STUB_FUNCTION ITypeFactory_table[] =
11057 {
11058     ITypeFactory_CreateFromTypeInfo_Stub
11059 };
11060
11061 const CInterfaceStubVtbl _ITypeFactoryStubVtbl =
11062 {
11063     {
11064         &IID_ITypeFactory,
11065         0,
11066         4,
11067         &ITypeFactory_table[-3]
11068     },
11069     { CStdStubBuffer_METHODS }
11070 };
11071
11072
11073 /* Object interface: ITypeMarshal, ver. 0.0,
11074    GUID={0x0000002D,0x0000,0x0000,{0xC0,0x00,0x00,0x00,0x00,0x00,0x00,0x46}} */
11075
11076
11077 /* Object interface: IRecordInfo, ver. 0.0,
11078    GUID={0x0000002F,0x0000,0x0000,{0xC0,0x00,0x00,0x00,0x00,0x00,0x00,0x46}} */
11079
11080
11081 /* Object interface: ICreateTypeInfo, ver. 0.0,
11082    GUID={0x00020405,0x0000,0x0000,{0xC0,0x00,0x00,0x00,0x00,0x00,0x00,0x46}} */
11083
11084
11085 /* Object interface: ICreateTypeInfo2, ver. 0.0,
11086    GUID={0x0002040E,0x0000,0x0000,{0xC0,0x00,0x00,0x00,0x00,0x00,0x00,0x46}} */
11087
11088
11089 /* Object interface: ICreateTypeLib, ver. 0.0,
11090    GUID={0x00020406,0x0000,0x0000,{0xC0,0x00,0x00,0x00,0x00,0x00,0x00,0x46}} */
11091
11092
11093 /* Object interface: ICreateTypeLib2, ver. 0.0,
11094    GUID={0x0002040F,0x0000,0x0000,{0xC0,0x00,0x00,0x00,0x00,0x00,0x00,0x46}} */
11095
11096 static const USER_MARSHAL_ROUTINE_QUADRUPLE UserMarshalRoutines[3] = 
11097         {
11098             {
11099                 (USER_MARSHAL_SIZING_ROUTINE)VARIANT_UserSize,
11100                 (USER_MARSHAL_MARSHALLING_ROUTINE)VARIANT_UserMarshal,
11101                 (USER_MARSHAL_UNMARSHALLING_ROUTINE)VARIANT_UserUnmarshal,
11102                 (USER_MARSHAL_FREEING_ROUTINE)VARIANT_UserFree
11103             },
11104             {
11105                 (USER_MARSHAL_SIZING_ROUTINE)BSTR_UserSize,
11106                 (USER_MARSHAL_MARSHALLING_ROUTINE)BSTR_UserMarshal,
11107                 (USER_MARSHAL_UNMARSHALLING_ROUTINE)BSTR_UserUnmarshal,
11108                 (USER_MARSHAL_FREEING_ROUTINE)BSTR_UserFree
11109             },
11110             {
11111                 (USER_MARSHAL_SIZING_ROUTINE)CLEANLOCALSTORAGE_UserSize,
11112                 (USER_MARSHAL_MARSHALLING_ROUTINE)CLEANLOCALSTORAGE_UserMarshal,
11113                 (USER_MARSHAL_UNMARSHALLING_ROUTINE)CLEANLOCALSTORAGE_UserUnmarshal,
11114                 (USER_MARSHAL_FREEING_ROUTINE)CLEANLOCALSTORAGE_UserFree
11115             }
11116
11117         };
11118
11119
11120 #if !defined(__RPC_WIN32__)
11121 #error  Invalid build platform for this stub.
11122 #endif
11123
11124 #if !(TARGET_IS_NT40_OR_LATER)
11125 #error You need a Windows NT 4.0 or later to run this stub because it uses these features:
11126 #error   [wire_marshal] or [user_marshal] attribute.
11127 #error However, your C/C++ compilation flags indicate you intend to run this app on earlier systems.
11128 #error This app will die there with the RPC_X_WRONG_STUB_VERSION error.
11129 #endif
11130
11131
11132 static const MIDL_PROC_FORMAT_STRING __MIDL_ProcFormatString =
11133     {
11134         0,
11135         {
11136                         
11137                         0x51,           /* FC_OUT_PARAM */
11138 #ifndef _ALPHA_
11139                         0x1,            /* x86, MIPS & PPC Stack size = 1 */
11140 #else
11141                         0x2,            /* Alpha Stack size = 2 */
11142 #endif
11143 /*  2 */        NdrFcShort( 0x2 ),      /* Type Offset=2 */
11144 /*  4 */        0x53,           /* FC_RETURN_PARAM_BASETYPE */
11145                         0x8,            /* FC_LONG */
11146 /*  6 */        0x4e,           /* FC_IN_PARAM_BASETYPE */
11147                         0x8,            /* FC_LONG */
11148 /*  8 */        0x4e,           /* FC_IN_PARAM_BASETYPE */
11149                         0x8,            /* FC_LONG */
11150 /* 10 */        
11151                         0x51,           /* FC_OUT_PARAM */
11152 #ifndef _ALPHA_
11153                         0x1,            /* x86, MIPS & PPC Stack size = 1 */
11154 #else
11155                         0x2,            /* Alpha Stack size = 2 */
11156 #endif
11157 /* 12 */        NdrFcShort( 0x6 ),      /* Type Offset=6 */
11158 /* 14 */        0x53,           /* FC_RETURN_PARAM_BASETYPE */
11159                         0x8,            /* FC_LONG */
11160 /* 16 */        
11161                         0x4d,           /* FC_IN_PARAM */
11162 #ifndef _ALPHA_
11163                         0x1,            /* x86, MIPS & PPC Stack size = 1 */
11164 #else
11165                         0x2,            /* Alpha Stack size = 2 */
11166 #endif
11167 /* 18 */        NdrFcShort( 0x1c ),     /* Type Offset=28 */
11168 /* 20 */        
11169                         0x4d,           /* FC_IN_PARAM */
11170 #ifndef _ALPHA_
11171                         0x1,            /* x86, MIPS & PPC Stack size = 1 */
11172 #else
11173                         0x2,            /* Alpha Stack size = 2 */
11174 #endif
11175 /* 22 */        NdrFcShort( 0x32 ),     /* Type Offset=50 */
11176 /* 24 */        0x4e,           /* FC_IN_PARAM_BASETYPE */
11177                         0x8,            /* FC_LONG */
11178 /* 26 */        0x4e,           /* FC_IN_PARAM_BASETYPE */
11179                         0x8,            /* FC_LONG */
11180 /* 28 */        
11181                         0x51,           /* FC_OUT_PARAM */
11182 #ifndef _ALPHA_
11183                         0x1,            /* x86, MIPS & PPC Stack size = 1 */
11184 #else
11185                         0x2,            /* Alpha Stack size = 2 */
11186 #endif
11187 /* 30 */        NdrFcShort( 0x54 ),     /* Type Offset=84 */
11188 /* 32 */        0x53,           /* FC_RETURN_PARAM_BASETYPE */
11189                         0x8,            /* FC_LONG */
11190 /* 34 */        0x4e,           /* FC_IN_PARAM_BASETYPE */
11191                         0x8,            /* FC_LONG */
11192 /* 36 */        
11193                         0x4d,           /* FC_IN_PARAM */
11194 #ifndef _ALPHA_
11195                         0x1,            /* x86, MIPS & PPC Stack size = 1 */
11196 #else
11197                         0x2,            /* Alpha Stack size = 2 */
11198 #endif
11199 /* 38 */        NdrFcShort( 0x1c ),     /* Type Offset=28 */
11200 /* 40 */        0x4e,           /* FC_IN_PARAM_BASETYPE */
11201                         0x8,            /* FC_LONG */
11202 /* 42 */        0x4e,           /* FC_IN_PARAM_BASETYPE */
11203                         0x8,            /* FC_LONG */
11204 /* 44 */        
11205                         0x4d,           /* FC_IN_PARAM */
11206 #ifndef _ALPHA_
11207                         0x1,            /* x86, MIPS & PPC Stack size = 1 */
11208 #else
11209                         0x2,            /* Alpha Stack size = 2 */
11210 #endif
11211 /* 46 */        NdrFcShort( 0x62 ),     /* Type Offset=98 */
11212 /* 48 */        
11213                         0x51,           /* FC_OUT_PARAM */
11214 #ifndef _ALPHA_
11215                         0x1,            /* x86, MIPS & PPC Stack size = 1 */
11216 #else
11217                         0x2,            /* Alpha Stack size = 2 */
11218 #endif
11219 /* 50 */        NdrFcShort( 0x44e ),    /* Type Offset=1102 */
11220 /* 52 */        
11221                         0x51,           /* FC_OUT_PARAM */
11222 #ifndef _ALPHA_
11223                         0x1,            /* x86, MIPS & PPC Stack size = 1 */
11224 #else
11225                         0x2,            /* Alpha Stack size = 2 */
11226 #endif
11227 /* 54 */        NdrFcShort( 0x460 ),    /* Type Offset=1120 */
11228 /* 56 */        
11229                         0x51,           /* FC_OUT_PARAM */
11230 #ifndef _ALPHA_
11231                         0x1,            /* x86, MIPS & PPC Stack size = 1 */
11232 #else
11233                         0x2,            /* Alpha Stack size = 2 */
11234 #endif
11235 /* 58 */        NdrFcShort( 0x2 ),      /* Type Offset=2 */
11236 /* 60 */        0x4e,           /* FC_IN_PARAM_BASETYPE */
11237                         0x8,            /* FC_LONG */
11238 /* 62 */        
11239                         0x4d,           /* FC_IN_PARAM */
11240 #ifndef _ALPHA_
11241                         0x1,            /* x86, MIPS & PPC Stack size = 1 */
11242 #else
11243                         0x2,            /* Alpha Stack size = 2 */
11244 #endif
11245 /* 64 */        NdrFcShort( 0x48e ),    /* Type Offset=1166 */
11246 /* 66 */        
11247                         0x50,           /* FC_IN_OUT_PARAM */
11248 #ifndef _ALPHA_
11249                         0x1,            /* x86, MIPS & PPC Stack size = 1 */
11250 #else
11251                         0x2,            /* Alpha Stack size = 2 */
11252 #endif
11253 /* 68 */        NdrFcShort( 0x49c ),    /* Type Offset=1180 */
11254 /* 70 */        0x53,           /* FC_RETURN_PARAM_BASETYPE */
11255                         0x8,            /* FC_LONG */
11256 /* 72 */        0x4e,           /* FC_IN_PARAM_BASETYPE */
11257                         0x8,            /* FC_LONG */
11258 /* 74 */        
11259                         0x51,           /* FC_OUT_PARAM */
11260 #ifndef _ALPHA_
11261                         0x1,            /* x86, MIPS & PPC Stack size = 1 */
11262 #else
11263                         0x2,            /* Alpha Stack size = 2 */
11264 #endif
11265 /* 76 */        NdrFcShort( 0x4b2 ),    /* Type Offset=1202 */
11266 /* 78 */        
11267                         0x51,           /* FC_OUT_PARAM */
11268 #ifndef _ALPHA_
11269                         0x1,            /* x86, MIPS & PPC Stack size = 1 */
11270 #else
11271                         0x2,            /* Alpha Stack size = 2 */
11272 #endif
11273 /* 80 */        NdrFcShort( 0x2 ),      /* Type Offset=2 */
11274 /* 82 */        0x53,           /* FC_RETURN_PARAM_BASETYPE */
11275                         0x8,            /* FC_LONG */
11276 /* 84 */        0x4e,           /* FC_IN_PARAM_BASETYPE */
11277                         0x8,            /* FC_LONG */
11278 /* 86 */        0x53,           /* FC_RETURN_PARAM_BASETYPE */
11279                         0x8,            /* FC_LONG */
11280 /* 88 */        0x53,           /* FC_RETURN_PARAM_BASETYPE */
11281                         0x8,            /* FC_LONG */
11282 /* 90 */        
11283                         0x51,           /* FC_OUT_PARAM */
11284 #ifndef _ALPHA_
11285                         0x1,            /* x86, MIPS & PPC Stack size = 1 */
11286 #else
11287                         0x2,            /* Alpha Stack size = 2 */
11288 #endif
11289 /* 92 */        NdrFcShort( 0x4c8 ),    /* Type Offset=1224 */
11290 /* 94 */        0x53,           /* FC_RETURN_PARAM_BASETYPE */
11291                         0x8,            /* FC_LONG */
11292 /* 96 */        
11293                         0x4d,           /* FC_IN_PARAM */
11294 #ifndef _ALPHA_
11295                         0x1,            /* x86, MIPS & PPC Stack size = 1 */
11296 #else
11297                         0x2,            /* Alpha Stack size = 2 */
11298 #endif
11299 /* 98 */        NdrFcShort( 0x4de ),    /* Type Offset=1246 */
11300 /* 100 */       0x4e,           /* FC_IN_PARAM_BASETYPE */
11301                         0x8,            /* FC_LONG */
11302 /* 102 */       0x4e,           /* FC_IN_PARAM_BASETYPE */
11303                         0x6,            /* FC_SHORT */
11304 /* 104 */       
11305                         0x51,           /* FC_OUT_PARAM */
11306 #ifndef _ALPHA_
11307                         0x1,            /* x86, MIPS & PPC Stack size = 1 */
11308 #else
11309                         0x2,            /* Alpha Stack size = 2 */
11310 #endif
11311 /* 106 */       NdrFcShort( 0x6 ),      /* Type Offset=6 */
11312 /* 108 */       
11313                         0x51,           /* FC_OUT_PARAM */
11314 #ifndef _ALPHA_
11315                         0x1,            /* x86, MIPS & PPC Stack size = 1 */
11316 #else
11317                         0x2,            /* Alpha Stack size = 2 */
11318 #endif
11319 /* 110 */       NdrFcShort( 0x4e2 ),    /* Type Offset=1250 */
11320 /* 112 */       
11321                         0x51,           /* FC_OUT_PARAM */
11322 #ifndef _ALPHA_
11323                         0x1,            /* x86, MIPS & PPC Stack size = 1 */
11324 #else
11325                         0x2,            /* Alpha Stack size = 2 */
11326 #endif
11327 /* 114 */       NdrFcShort( 0x4e6 ),    /* Type Offset=1254 */
11328 /* 116 */       
11329                         0x51,           /* FC_OUT_PARAM */
11330 #ifndef _ALPHA_
11331                         0x1,            /* x86, MIPS & PPC Stack size = 1 */
11332 #else
11333                         0x2,            /* Alpha Stack size = 2 */
11334 #endif
11335 /* 118 */       NdrFcShort( 0x5b8 ),    /* Type Offset=1464 */
11336 /* 120 */       
11337                         0x51,           /* FC_OUT_PARAM */
11338 #ifndef _ALPHA_
11339                         0x1,            /* x86, MIPS & PPC Stack size = 1 */
11340 #else
11341                         0x2,            /* Alpha Stack size = 2 */
11342 #endif
11343 /* 122 */       NdrFcShort( 0x604 ),    /* Type Offset=1540 */
11344 /* 124 */       
11345                         0x51,           /* FC_OUT_PARAM */
11346 #ifndef _ALPHA_
11347                         0x1,            /* x86, MIPS & PPC Stack size = 1 */
11348 #else
11349                         0x2,            /* Alpha Stack size = 2 */
11350 #endif
11351 /* 126 */       NdrFcShort( 0x61a ),    /* Type Offset=1562 */
11352 /* 128 */       0x53,           /* FC_RETURN_PARAM_BASETYPE */
11353                         0x8,            /* FC_LONG */
11354 /* 130 */       
11355                         0x4d,           /* FC_IN_PARAM */
11356 #ifndef _ALPHA_
11357                         0x1,            /* x86, MIPS & PPC Stack size = 1 */
11358 #else
11359                         0x2,            /* Alpha Stack size = 2 */
11360 #endif
11361 /* 132 */       NdrFcShort( 0x4de ),    /* Type Offset=1246 */
11362 /* 134 */       0x4e,           /* FC_IN_PARAM_BASETYPE */
11363                         0x8,            /* FC_LONG */
11364 /* 136 */       
11365                         0x51,           /* FC_OUT_PARAM */
11366 #ifndef _ALPHA_
11367                         0x1,            /* x86, MIPS & PPC Stack size = 1 */
11368 #else
11369                         0x2,            /* Alpha Stack size = 2 */
11370 #endif
11371 /* 138 */       NdrFcShort( 0x6 ),      /* Type Offset=6 */
11372 /* 140 */       0x53,           /* FC_RETURN_PARAM_BASETYPE */
11373                         0x8,            /* FC_LONG */
11374 /* 142 */       
11375                         0x51,           /* FC_OUT_PARAM */
11376 #ifndef _ALPHA_
11377                         0x1,            /* x86, MIPS & PPC Stack size = 1 */
11378 #else
11379                         0x2,            /* Alpha Stack size = 2 */
11380 #endif
11381 /* 144 */       NdrFcShort( 0x62a ),    /* Type Offset=1578 */
11382 /* 146 */       
11383                         0x51,           /* FC_OUT_PARAM */
11384 #ifndef _ALPHA_
11385                         0x1,            /* x86, MIPS & PPC Stack size = 1 */
11386 #else
11387                         0x2,            /* Alpha Stack size = 2 */
11388 #endif
11389 /* 148 */       NdrFcShort( 0x666 ),    /* Type Offset=1638 */
11390 /* 150 */       0x53,           /* FC_RETURN_PARAM_BASETYPE */
11391                         0x8,            /* FC_LONG */
11392 /* 152 */       
11393                         0x51,           /* FC_OUT_PARAM */
11394 #ifndef _ALPHA_
11395                         0x1,            /* x86, MIPS & PPC Stack size = 1 */
11396 #else
11397                         0x2,            /* Alpha Stack size = 2 */
11398 #endif
11399 /* 154 */       NdrFcShort( 0x604 ),    /* Type Offset=1540 */
11400 /* 156 */       0x53,           /* FC_RETURN_PARAM_BASETYPE */
11401                         0x8,            /* FC_LONG */
11402 /* 158 */       0x4e,           /* FC_IN_PARAM_BASETYPE */
11403                         0x8,            /* FC_LONG */
11404 /* 160 */       
11405                         0x51,           /* FC_OUT_PARAM */
11406 #ifndef _ALPHA_
11407                         0x1,            /* x86, MIPS & PPC Stack size = 1 */
11408 #else
11409                         0x2,            /* Alpha Stack size = 2 */
11410 #endif
11411 /* 162 */       NdrFcShort( 0x4e6 ),    /* Type Offset=1254 */
11412 /* 164 */       
11413                         0x51,           /* FC_OUT_PARAM */
11414 #ifndef _ALPHA_
11415                         0x1,            /* x86, MIPS & PPC Stack size = 1 */
11416 #else
11417                         0x2,            /* Alpha Stack size = 2 */
11418 #endif
11419 /* 166 */       NdrFcShort( 0x676 ),    /* Type Offset=1654 */
11420 /* 168 */       0x53,           /* FC_RETURN_PARAM_BASETYPE */
11421                         0x8,            /* FC_LONG */
11422 /* 170 */       0x4e,           /* FC_IN_PARAM_BASETYPE */
11423                         0x8,            /* FC_LONG */
11424 /* 172 */       
11425                         0x51,           /* FC_OUT_PARAM */
11426 #ifndef _ALPHA_
11427                         0x1,            /* x86, MIPS & PPC Stack size = 1 */
11428 #else
11429                         0x2,            /* Alpha Stack size = 2 */
11430 #endif
11431 /* 174 */       NdrFcShort( 0x5b8 ),    /* Type Offset=1464 */
11432 /* 176 */       
11433                         0x51,           /* FC_OUT_PARAM */
11434 #ifndef _ALPHA_
11435                         0x1,            /* x86, MIPS & PPC Stack size = 1 */
11436 #else
11437                         0x2,            /* Alpha Stack size = 2 */
11438 #endif
11439 /* 178 */       NdrFcShort( 0x686 ),    /* Type Offset=1670 */
11440 /* 180 */       0x53,           /* FC_RETURN_PARAM_BASETYPE */
11441                         0x8,            /* FC_LONG */
11442 /* 182 */       0x4e,           /* FC_IN_PARAM_BASETYPE */
11443                         0x8,            /* FC_LONG */
11444 /* 184 */       
11445                         0x51,           /* FC_OUT_PARAM */
11446 #ifndef _ALPHA_
11447                         0x1,            /* x86, MIPS & PPC Stack size = 1 */
11448 #else
11449                         0x2,            /* Alpha Stack size = 2 */
11450 #endif
11451 /* 186 */       NdrFcShort( 0x696 ),    /* Type Offset=1686 */
11452 /* 188 */       0x4e,           /* FC_IN_PARAM_BASETYPE */
11453                         0x8,            /* FC_LONG */
11454 /* 190 */       
11455                         0x51,           /* FC_OUT_PARAM */
11456 #ifndef _ALPHA_
11457                         0x1,            /* x86, MIPS & PPC Stack size = 1 */
11458 #else
11459                         0x2,            /* Alpha Stack size = 2 */
11460 #endif
11461 /* 192 */       NdrFcShort( 0x2 ),      /* Type Offset=2 */
11462 /* 194 */       0x53,           /* FC_RETURN_PARAM_BASETYPE */
11463                         0x8,            /* FC_LONG */
11464 /* 196 */       0x4e,           /* FC_IN_PARAM_BASETYPE */
11465                         0x8,            /* FC_LONG */
11466 /* 198 */       
11467                         0x51,           /* FC_OUT_PARAM */
11468 #ifndef _ALPHA_
11469                         0x1,            /* x86, MIPS & PPC Stack size = 1 */
11470 #else
11471                         0x2,            /* Alpha Stack size = 2 */
11472 #endif
11473 /* 200 */       NdrFcShort( 0x2 ),      /* Type Offset=2 */
11474 /* 202 */       0x53,           /* FC_RETURN_PARAM_BASETYPE */
11475                         0x8,            /* FC_LONG */
11476 /* 204 */       0x4e,           /* FC_IN_PARAM_BASETYPE */
11477                         0x8,            /* FC_LONG */
11478 /* 206 */       0x4e,           /* FC_IN_PARAM_BASETYPE */
11479                         0x8,            /* FC_LONG */
11480 /* 208 */       
11481                         0x51,           /* FC_OUT_PARAM */
11482 #ifndef _ALPHA_
11483                         0x1,            /* x86, MIPS & PPC Stack size = 1 */
11484 #else
11485                         0x2,            /* Alpha Stack size = 2 */
11486 #endif
11487 /* 210 */       NdrFcShort( 0x6ac ),    /* Type Offset=1708 */
11488 /* 212 */       
11489                         0x51,           /* FC_OUT_PARAM */
11490 #ifndef _ALPHA_
11491                         0x1,            /* x86, MIPS & PPC Stack size = 1 */
11492 #else
11493                         0x2,            /* Alpha Stack size = 2 */
11494 #endif
11495 /* 214 */       NdrFcShort( 0x6ac ),    /* Type Offset=1708 */
11496 /* 216 */       
11497                         0x51,           /* FC_OUT_PARAM */
11498 #ifndef _ALPHA_
11499                         0x1,            /* x86, MIPS & PPC Stack size = 1 */
11500 #else
11501                         0x2,            /* Alpha Stack size = 2 */
11502 #endif
11503 /* 218 */       NdrFcShort( 0x2 ),      /* Type Offset=2 */
11504 /* 220 */       
11505                         0x51,           /* FC_OUT_PARAM */
11506 #ifndef _ALPHA_
11507                         0x1,            /* x86, MIPS & PPC Stack size = 1 */
11508 #else
11509                         0x2,            /* Alpha Stack size = 2 */
11510 #endif
11511 /* 222 */       NdrFcShort( 0x6ac ),    /* Type Offset=1708 */
11512 /* 224 */       0x53,           /* FC_RETURN_PARAM_BASETYPE */
11513                         0x8,            /* FC_LONG */
11514 /* 226 */       0x4e,           /* FC_IN_PARAM_BASETYPE */
11515                         0x8,            /* FC_LONG */
11516 /* 228 */       0x4e,           /* FC_IN_PARAM_BASETYPE */
11517                         0xe,            /* FC_ENUM32 */
11518 /* 230 */       0x4e,           /* FC_IN_PARAM_BASETYPE */
11519                         0x8,            /* FC_LONG */
11520 /* 232 */       
11521                         0x51,           /* FC_OUT_PARAM */
11522 #ifndef _ALPHA_
11523                         0x1,            /* x86, MIPS & PPC Stack size = 1 */
11524 #else
11525                         0x2,            /* Alpha Stack size = 2 */
11526 #endif
11527 /* 234 */       NdrFcShort( 0x6ac ),    /* Type Offset=1708 */
11528 /* 236 */       
11529                         0x51,           /* FC_OUT_PARAM */
11530 #ifndef _ALPHA_
11531                         0x1,            /* x86, MIPS & PPC Stack size = 1 */
11532 #else
11533                         0x2,            /* Alpha Stack size = 2 */
11534 #endif
11535 /* 238 */       NdrFcShort( 0x6ac ),    /* Type Offset=1708 */
11536 /* 240 */       
11537                         0x51,           /* FC_OUT_PARAM */
11538 #ifndef _ALPHA_
11539                         0x1,            /* x86, MIPS & PPC Stack size = 1 */
11540 #else
11541                         0x2,            /* Alpha Stack size = 2 */
11542 #endif
11543 /* 242 */       NdrFcShort( 0x6b0 ),    /* Type Offset=1712 */
11544 /* 244 */       0x53,           /* FC_RETURN_PARAM_BASETYPE */
11545                         0x8,            /* FC_LONG */
11546 /* 246 */       0x4e,           /* FC_IN_PARAM_BASETYPE */
11547                         0x8,            /* FC_LONG */
11548 /* 248 */       
11549                         0x51,           /* FC_OUT_PARAM */
11550 #ifndef _ALPHA_
11551                         0x1,            /* x86, MIPS & PPC Stack size = 1 */
11552 #else
11553                         0x2,            /* Alpha Stack size = 2 */
11554 #endif
11555 /* 250 */       NdrFcShort( 0x6 ),      /* Type Offset=6 */
11556 /* 252 */       0x53,           /* FC_RETURN_PARAM_BASETYPE */
11557                         0x8,            /* FC_LONG */
11558 /* 254 */       
11559                         0x4d,           /* FC_IN_PARAM */
11560 #ifndef _ALPHA_
11561                         0x1,            /* x86, MIPS & PPC Stack size = 1 */
11562 #else
11563                         0x2,            /* Alpha Stack size = 2 */
11564 #endif
11565 /* 256 */       NdrFcShort( 0x1c ),     /* Type Offset=28 */
11566 /* 258 */       
11567                         0x51,           /* FC_OUT_PARAM */
11568 #ifndef _ALPHA_
11569                         0x1,            /* x86, MIPS & PPC Stack size = 1 */
11570 #else
11571                         0x2,            /* Alpha Stack size = 2 */
11572 #endif
11573 /* 260 */       NdrFcShort( 0x6b4 ),    /* Type Offset=1716 */
11574 /* 262 */       0x53,           /* FC_RETURN_PARAM_BASETYPE */
11575                         0x8,            /* FC_LONG */
11576 /* 264 */       0x4e,           /* FC_IN_PARAM_BASETYPE */
11577                         0x8,            /* FC_LONG */
11578 /* 266 */       
11579                         0x51,           /* FC_OUT_PARAM */
11580 #ifndef _ALPHA_
11581                         0x1,            /* x86, MIPS & PPC Stack size = 1 */
11582 #else
11583                         0x2,            /* Alpha Stack size = 2 */
11584 #endif
11585 /* 268 */       NdrFcShort( 0x6ac ),    /* Type Offset=1708 */
11586 /* 270 */       0x53,           /* FC_RETURN_PARAM_BASETYPE */
11587                         0x8,            /* FC_LONG */
11588 /* 272 */       
11589                         0x51,           /* FC_OUT_PARAM */
11590 #ifndef _ALPHA_
11591                         0x1,            /* x86, MIPS & PPC Stack size = 1 */
11592 #else
11593                         0x2,            /* Alpha Stack size = 2 */
11594 #endif
11595 /* 274 */       NdrFcShort( 0x6be ),    /* Type Offset=1726 */
11596 /* 276 */       
11597                         0x51,           /* FC_OUT_PARAM */
11598 #ifndef _ALPHA_
11599                         0x1,            /* x86, MIPS & PPC Stack size = 1 */
11600 #else
11601                         0x2,            /* Alpha Stack size = 2 */
11602 #endif
11603 /* 278 */       NdrFcShort( 0x2 ),      /* Type Offset=2 */
11604 /* 280 */       0x53,           /* FC_RETURN_PARAM_BASETYPE */
11605                         0x8,            /* FC_LONG */
11606 /* 282 */       
11607                         0x51,           /* FC_OUT_PARAM */
11608 #ifndef _ALPHA_
11609                         0x1,            /* x86, MIPS & PPC Stack size = 1 */
11610 #else
11611                         0x2,            /* Alpha Stack size = 2 */
11612 #endif
11613 /* 284 */       NdrFcShort( 0x4e2 ),    /* Type Offset=1250 */
11614 /* 286 */       0x53,           /* FC_RETURN_PARAM_BASETYPE */
11615                         0x8,            /* FC_LONG */
11616 /* 288 */       0x4e,           /* FC_IN_PARAM_BASETYPE */
11617                         0x8,            /* FC_LONG */
11618 /* 290 */       0x4e,           /* FC_IN_PARAM_BASETYPE */
11619                         0xe,            /* FC_ENUM32 */
11620 /* 292 */       
11621                         0x51,           /* FC_OUT_PARAM */
11622 #ifndef _ALPHA_
11623                         0x1,            /* x86, MIPS & PPC Stack size = 1 */
11624 #else
11625                         0x2,            /* Alpha Stack size = 2 */
11626 #endif
11627 /* 294 */       NdrFcShort( 0x2 ),      /* Type Offset=2 */
11628 /* 296 */       0x53,           /* FC_RETURN_PARAM_BASETYPE */
11629                         0x8,            /* FC_LONG */
11630 /* 298 */       
11631                         0x4d,           /* FC_IN_PARAM */
11632 #ifndef _ALPHA_
11633                         0x1,            /* x86, MIPS & PPC Stack size = 1 */
11634 #else
11635                         0x2,            /* Alpha Stack size = 2 */
11636 #endif
11637 /* 300 */       NdrFcShort( 0x1c ),     /* Type Offset=28 */
11638 /* 302 */       
11639                         0x51,           /* FC_OUT_PARAM */
11640 #ifndef _ALPHA_
11641                         0x1,            /* x86, MIPS & PPC Stack size = 1 */
11642 #else
11643                         0x2,            /* Alpha Stack size = 2 */
11644 #endif
11645 /* 304 */       NdrFcShort( 0x44e ),    /* Type Offset=1102 */
11646 /* 306 */       0x53,           /* FC_RETURN_PARAM_BASETYPE */
11647                         0x8,            /* FC_LONG */
11648 /* 308 */       0x4e,           /* FC_IN_PARAM_BASETYPE */
11649                         0x8,            /* FC_LONG */
11650 /* 310 */       
11651                         0x4d,           /* FC_IN_PARAM */
11652 #ifndef _ALPHA_
11653                         0x1,            /* x86, MIPS & PPC Stack size = 1 */
11654 #else
11655                         0x2,            /* Alpha Stack size = 2 */
11656 #endif
11657 /* 312 */       NdrFcShort( 0x1c ),     /* Type Offset=28 */
11658 /* 314 */       
11659                         0x51,           /* FC_OUT_PARAM */
11660 #ifndef _ALPHA_
11661                         0x1,            /* x86, MIPS & PPC Stack size = 1 */
11662 #else
11663                         0x2,            /* Alpha Stack size = 2 */
11664 #endif
11665 /* 316 */       NdrFcShort( 0x44e ),    /* Type Offset=1102 */
11666 /* 318 */       0x53,           /* FC_RETURN_PARAM_BASETYPE */
11667                         0x8,            /* FC_LONG */
11668 /* 320 */       0x4e,           /* FC_IN_PARAM_BASETYPE */
11669                         0x8,            /* FC_LONG */
11670 /* 322 */       0x4e,           /* FC_IN_PARAM_BASETYPE */
11671                         0x8,            /* FC_LONG */
11672 /* 324 */       
11673                         0x4d,           /* FC_IN_PARAM */
11674 #ifndef _ALPHA_
11675                         0x1,            /* x86, MIPS & PPC Stack size = 1 */
11676 #else
11677                         0x2,            /* Alpha Stack size = 2 */
11678 #endif
11679 /* 326 */       NdrFcShort( 0x1c ),     /* Type Offset=28 */
11680 /* 328 */       
11681                         0x51,           /* FC_OUT_PARAM */
11682 #ifndef _ALPHA_
11683                         0x1,            /* x86, MIPS & PPC Stack size = 1 */
11684 #else
11685                         0x2,            /* Alpha Stack size = 2 */
11686 #endif
11687 /* 330 */       NdrFcShort( 0x44e ),    /* Type Offset=1102 */
11688 /* 332 */       0x53,           /* FC_RETURN_PARAM_BASETYPE */
11689                         0x8,            /* FC_LONG */
11690 /* 334 */       0x4e,           /* FC_IN_PARAM_BASETYPE */
11691                         0x8,            /* FC_LONG */
11692 /* 336 */       0x4e,           /* FC_IN_PARAM_BASETYPE */
11693                         0x8,            /* FC_LONG */
11694 /* 338 */       0x4e,           /* FC_IN_PARAM_BASETYPE */
11695                         0x8,            /* FC_LONG */
11696 /* 340 */       
11697                         0x51,           /* FC_OUT_PARAM */
11698 #ifndef _ALPHA_
11699                         0x1,            /* x86, MIPS & PPC Stack size = 1 */
11700 #else
11701                         0x2,            /* Alpha Stack size = 2 */
11702 #endif
11703 /* 342 */       NdrFcShort( 0x6ac ),    /* Type Offset=1708 */
11704 /* 344 */       
11705                         0x51,           /* FC_OUT_PARAM */
11706 #ifndef _ALPHA_
11707                         0x1,            /* x86, MIPS & PPC Stack size = 1 */
11708 #else
11709                         0x2,            /* Alpha Stack size = 2 */
11710 #endif
11711 /* 346 */       NdrFcShort( 0x2 ),      /* Type Offset=2 */
11712 /* 348 */       
11713                         0x51,           /* FC_OUT_PARAM */
11714 #ifndef _ALPHA_
11715                         0x1,            /* x86, MIPS & PPC Stack size = 1 */
11716 #else
11717                         0x2,            /* Alpha Stack size = 2 */
11718 #endif
11719 /* 350 */       NdrFcShort( 0x6ac ),    /* Type Offset=1708 */
11720 /* 352 */       0x53,           /* FC_RETURN_PARAM_BASETYPE */
11721                         0x8,            /* FC_LONG */
11722 /* 354 */       
11723                         0x51,           /* FC_OUT_PARAM */
11724 #ifndef _ALPHA_
11725                         0x1,            /* x86, MIPS & PPC Stack size = 1 */
11726 #else
11727                         0x2,            /* Alpha Stack size = 2 */
11728 #endif
11729 /* 356 */       NdrFcShort( 0x6d4 ),    /* Type Offset=1748 */
11730 /* 358 */       0x53,           /* FC_RETURN_PARAM_BASETYPE */
11731                         0x8,            /* FC_LONG */
11732 /* 360 */       0x4e,           /* FC_IN_PARAM_BASETYPE */
11733                         0x8,            /* FC_LONG */
11734 /* 362 */       
11735                         0x51,           /* FC_OUT_PARAM */
11736 #ifndef _ALPHA_
11737                         0x1,            /* x86, MIPS & PPC Stack size = 1 */
11738 #else
11739                         0x2,            /* Alpha Stack size = 2 */
11740 #endif
11741 /* 364 */       NdrFcShort( 0x6d4 ),    /* Type Offset=1748 */
11742 /* 366 */       0x53,           /* FC_RETURN_PARAM_BASETYPE */
11743                         0x8,            /* FC_LONG */
11744 /* 368 */       0x4e,           /* FC_IN_PARAM_BASETYPE */
11745                         0x8,            /* FC_LONG */
11746 /* 370 */       0x4e,           /* FC_IN_PARAM_BASETYPE */
11747                         0x8,            /* FC_LONG */
11748 /* 372 */       
11749                         0x51,           /* FC_OUT_PARAM */
11750 #ifndef _ALPHA_
11751                         0x1,            /* x86, MIPS & PPC Stack size = 1 */
11752 #else
11753                         0x2,            /* Alpha Stack size = 2 */
11754 #endif
11755 /* 374 */       NdrFcShort( 0x6d4 ),    /* Type Offset=1748 */
11756 /* 376 */       0x53,           /* FC_RETURN_PARAM_BASETYPE */
11757                         0x8,            /* FC_LONG */
11758 /* 378 */       0x4e,           /* FC_IN_PARAM_BASETYPE */
11759                         0x8,            /* FC_LONG */
11760 /* 380 */       
11761                         0x51,           /* FC_OUT_PARAM */
11762 #ifndef _ALPHA_
11763                         0x1,            /* x86, MIPS & PPC Stack size = 1 */
11764 #else
11765                         0x2,            /* Alpha Stack size = 2 */
11766 #endif
11767 /* 382 */       NdrFcShort( 0x4e2 ),    /* Type Offset=1250 */
11768 /* 384 */       0x53,           /* FC_RETURN_PARAM_BASETYPE */
11769                         0x8,            /* FC_LONG */
11770 /* 386 */       
11771                         0x4d,           /* FC_IN_PARAM */
11772 #ifndef _ALPHA_
11773                         0x1,            /* x86, MIPS & PPC Stack size = 1 */
11774 #else
11775                         0x2,            /* Alpha Stack size = 2 */
11776 #endif
11777 /* 388 */       NdrFcShort( 0x1c ),     /* Type Offset=28 */
11778 /* 390 */       
11779                         0x51,           /* FC_OUT_PARAM */
11780 #ifndef _ALPHA_
11781                         0x1,            /* x86, MIPS & PPC Stack size = 1 */
11782 #else
11783                         0x2,            /* Alpha Stack size = 2 */
11784 #endif
11785 /* 392 */       NdrFcShort( 0x6 ),      /* Type Offset=6 */
11786 /* 394 */       0x53,           /* FC_RETURN_PARAM_BASETYPE */
11787                         0x8,            /* FC_LONG */
11788 /* 396 */       
11789                         0x51,           /* FC_OUT_PARAM */
11790 #ifndef _ALPHA_
11791                         0x1,            /* x86, MIPS & PPC Stack size = 1 */
11792 #else
11793                         0x2,            /* Alpha Stack size = 2 */
11794 #endif
11795 /* 398 */       NdrFcShort( 0x70c ),    /* Type Offset=1804 */
11796 /* 400 */       
11797                         0x51,           /* FC_OUT_PARAM */
11798 #ifndef _ALPHA_
11799                         0x1,            /* x86, MIPS & PPC Stack size = 1 */
11800 #else
11801                         0x2,            /* Alpha Stack size = 2 */
11802 #endif
11803 /* 402 */       NdrFcShort( 0x728 ),    /* Type Offset=1832 */
11804 /* 404 */       0x53,           /* FC_RETURN_PARAM_BASETYPE */
11805                         0x8,            /* FC_LONG */
11806 /* 406 */       
11807                         0x4d,           /* FC_IN_PARAM */
11808 #ifndef _ALPHA_
11809                         0x1,            /* x86, MIPS & PPC Stack size = 1 */
11810 #else
11811                         0x2,            /* Alpha Stack size = 2 */
11812 #endif
11813 /* 408 */       NdrFcShort( 0x4de ),    /* Type Offset=1246 */
11814 /* 410 */       0x4e,           /* FC_IN_PARAM_BASETYPE */
11815                         0x8,            /* FC_LONG */
11816 /* 412 */       
11817                         0x51,           /* FC_OUT_PARAM */
11818 #ifndef _ALPHA_
11819                         0x1,            /* x86, MIPS & PPC Stack size = 1 */
11820 #else
11821                         0x2,            /* Alpha Stack size = 2 */
11822 #endif
11823 /* 414 */       NdrFcShort( 0x2 ),      /* Type Offset=2 */
11824 /* 416 */       
11825                         0x51,           /* FC_OUT_PARAM */
11826 #ifndef _ALPHA_
11827                         0x1,            /* x86, MIPS & PPC Stack size = 1 */
11828 #else
11829                         0x2,            /* Alpha Stack size = 2 */
11830 #endif
11831 /* 418 */       NdrFcShort( 0x6ac ),    /* Type Offset=1708 */
11832 /* 420 */       0x53,           /* FC_RETURN_PARAM_BASETYPE */
11833                         0x8,            /* FC_LONG */
11834 /* 422 */       
11835                         0x4d,           /* FC_IN_PARAM */
11836 #ifndef _ALPHA_
11837                         0x1,            /* x86, MIPS & PPC Stack size = 1 */
11838 #else
11839                         0x2,            /* Alpha Stack size = 2 */
11840 #endif
11841 /* 424 */       NdrFcShort( 0x4de ),    /* Type Offset=1246 */
11842 /* 426 */       0x4e,           /* FC_IN_PARAM_BASETYPE */
11843                         0x8,            /* FC_LONG */
11844 /* 428 */       
11845                         0x51,           /* FC_OUT_PARAM */
11846 #ifndef _ALPHA_
11847                         0x1,            /* x86, MIPS & PPC Stack size = 1 */
11848 #else
11849                         0x2,            /* Alpha Stack size = 2 */
11850 #endif
11851 /* 430 */       NdrFcShort( 0x738 ),    /* Type Offset=1848 */
11852 /* 432 */       
11853                         0x51,           /* FC_OUT_PARAM */
11854 #ifndef _ALPHA_
11855                         0x1,            /* x86, MIPS & PPC Stack size = 1 */
11856 #else
11857                         0x2,            /* Alpha Stack size = 2 */
11858 #endif
11859 /* 434 */       NdrFcShort( 0x74e ),    /* Type Offset=1870 */
11860 /* 436 */       
11861                         0x50,           /* FC_IN_OUT_PARAM */
11862 #ifndef _ALPHA_
11863                         0x1,            /* x86, MIPS & PPC Stack size = 1 */
11864 #else
11865                         0x2,            /* Alpha Stack size = 2 */
11866 #endif
11867 /* 438 */       NdrFcShort( 0x760 ),    /* Type Offset=1888 */
11868 /* 440 */       
11869                         0x51,           /* FC_OUT_PARAM */
11870 #ifndef _ALPHA_
11871                         0x1,            /* x86, MIPS & PPC Stack size = 1 */
11872 #else
11873                         0x2,            /* Alpha Stack size = 2 */
11874 #endif
11875 /* 442 */       NdrFcShort( 0x6ac ),    /* Type Offset=1708 */
11876 /* 444 */       0x53,           /* FC_RETURN_PARAM_BASETYPE */
11877                         0x8,            /* FC_LONG */
11878 /* 446 */       
11879                         0x51,           /* FC_OUT_PARAM */
11880 #ifndef _ALPHA_
11881                         0x1,            /* x86, MIPS & PPC Stack size = 1 */
11882 #else
11883                         0x2,            /* Alpha Stack size = 2 */
11884 #endif
11885 /* 448 */       NdrFcShort( 0x2 ),      /* Type Offset=2 */
11886 /* 450 */       
11887                         0x51,           /* FC_OUT_PARAM */
11888 #ifndef _ALPHA_
11889                         0x1,            /* x86, MIPS & PPC Stack size = 1 */
11890 #else
11891                         0x2,            /* Alpha Stack size = 2 */
11892 #endif
11893 /* 452 */       NdrFcShort( 0x2 ),      /* Type Offset=2 */
11894 /* 454 */       0x53,           /* FC_RETURN_PARAM_BASETYPE */
11895                         0x8,            /* FC_LONG */
11896 /* 456 */       
11897                         0x51,           /* FC_OUT_PARAM */
11898 #ifndef _ALPHA_
11899                         0x1,            /* x86, MIPS & PPC Stack size = 1 */
11900 #else
11901                         0x2,            /* Alpha Stack size = 2 */
11902 #endif
11903 /* 458 */       NdrFcShort( 0x764 ),    /* Type Offset=1892 */
11904 /* 460 */       0x53,           /* FC_RETURN_PARAM_BASETYPE */
11905                         0x8,            /* FC_LONG */
11906 /* 462 */       
11907                         0x51,           /* FC_OUT_PARAM */
11908 #ifndef _ALPHA_
11909                         0x1,            /* x86, MIPS & PPC Stack size = 1 */
11910 #else
11911                         0x2,            /* Alpha Stack size = 2 */
11912 #endif
11913 /* 464 */       NdrFcShort( 0x6ac ),    /* Type Offset=1708 */
11914 /* 466 */       0x53,           /* FC_RETURN_PARAM_BASETYPE */
11915                         0x8,            /* FC_LONG */
11916 /* 468 */       
11917                         0x4d,           /* FC_IN_PARAM */
11918 #ifndef _ALPHA_
11919                         0x1,            /* x86, MIPS & PPC Stack size = 1 */
11920 #else
11921                         0x2,            /* Alpha Stack size = 2 */
11922 #endif
11923 /* 470 */       NdrFcShort( 0x1c ),     /* Type Offset=28 */
11924 /* 472 */       0x53,           /* FC_RETURN_PARAM_BASETYPE */
11925                         0x8,            /* FC_LONG */
11926 /* 474 */       
11927                         0x4d,           /* FC_IN_PARAM */
11928 #ifndef _ALPHA_
11929                         0x1,            /* x86, MIPS & PPC Stack size = 1 */
11930 #else
11931                         0x2,            /* Alpha Stack size = 2 */
11932 #endif
11933 /* 476 */       NdrFcShort( 0x4de ),    /* Type Offset=1246 */
11934 /* 478 */       0x53,           /* FC_RETURN_PARAM_BASETYPE */
11935                         0x8,            /* FC_LONG */
11936 /* 480 */       
11937                         0x4d,           /* FC_IN_PARAM */
11938 #ifndef _ALPHA_
11939                         0x1,            /* x86, MIPS & PPC Stack size = 1 */
11940 #else
11941                         0x2,            /* Alpha Stack size = 2 */
11942 #endif
11943 /* 482 */       NdrFcShort( 0xa ),      /* Type Offset=10 */
11944 /* 484 */       
11945                         0x4d,           /* FC_IN_PARAM */
11946 #ifndef _ALPHA_
11947                         0x1,            /* x86, MIPS & PPC Stack size = 1 */
11948 #else
11949                         0x2,            /* Alpha Stack size = 2 */
11950 #endif
11951 /* 486 */       NdrFcShort( 0x1c ),     /* Type Offset=28 */
11952 /* 488 */       
11953                         0x51,           /* FC_OUT_PARAM */
11954 #ifndef _ALPHA_
11955                         0x1,            /* x86, MIPS & PPC Stack size = 1 */
11956 #else
11957                         0x2,            /* Alpha Stack size = 2 */
11958 #endif
11959 /* 490 */       NdrFcShort( 0x768 ),    /* Type Offset=1896 */
11960 /* 492 */       0x53,           /* FC_RETURN_PARAM_BASETYPE */
11961                         0x8,            /* FC_LONG */
11962
11963                         0x0
11964         }
11965     };
11966
11967 static const MIDL_TYPE_FORMAT_STRING __MIDL_TypeFormatString =
11968     {
11969         0,
11970         {
11971                         NdrFcShort( 0x0 ),      /* 0 */
11972 /*  2 */        
11973                         0x11, 0xc,      /* FC_RP [alloced_on_stack] [simple_pointer] */
11974 /*  4 */        0x8,            /* FC_LONG */
11975                         0x5c,           /* FC_PAD */
11976 /*  6 */        
11977                         0x11, 0x14,     /* FC_RP [alloced_on_stack] */
11978 /*  8 */        NdrFcShort( 0x2 ),      /* Offset= 2 (10) */
11979 /* 10 */        
11980                         0x2f,           /* FC_IP */
11981                         0x5a,           /* FC_CONSTANT_IID */
11982 /* 12 */        NdrFcLong( 0x20401 ),   /* 132097 */
11983 /* 16 */        NdrFcShort( 0x0 ),      /* 0 */
11984 /* 18 */        NdrFcShort( 0x0 ),      /* 0 */
11985 /* 20 */        0xc0,           /* 192 */
11986                         0x0,            /* 0 */
11987 /* 22 */        0x0,            /* 0 */
11988                         0x0,            /* 0 */
11989 /* 24 */        0x0,            /* 0 */
11990                         0x0,            /* 0 */
11991 /* 26 */        0x0,            /* 0 */
11992                         0x46,           /* 70 */
11993 /* 28 */        
11994                         0x11, 0x0,      /* FC_RP */
11995 /* 30 */        NdrFcShort( 0x8 ),      /* Offset= 8 (38) */
11996 /* 32 */        
11997                         0x1d,           /* FC_SMFARRAY */
11998                         0x0,            /* 0 */
11999 /* 34 */        NdrFcShort( 0x8 ),      /* 8 */
12000 /* 36 */        0x2,            /* FC_CHAR */
12001                         0x5b,           /* FC_END */
12002 /* 38 */        
12003                         0x15,           /* FC_STRUCT */
12004                         0x3,            /* 3 */
12005 /* 40 */        NdrFcShort( 0x10 ),     /* 16 */
12006 /* 42 */        0x8,            /* FC_LONG */
12007                         0x6,            /* FC_SHORT */
12008 /* 44 */        0x6,            /* FC_SHORT */
12009                         0x4c,           /* FC_EMBEDDED_COMPLEX */
12010 /* 46 */        0x0,            /* 0 */
12011                         NdrFcShort( 0xfffffff1 ),       /* Offset= -15 (32) */
12012                         0x5b,           /* FC_END */
12013 /* 50 */        
12014                         0x11, 0x0,      /* FC_RP */
12015 /* 52 */        NdrFcShort( 0x2 ),      /* Offset= 2 (54) */
12016 /* 54 */        
12017                         0x1b,           /* FC_CARRAY */
12018                         0x3,            /* 3 */
12019 /* 56 */        NdrFcShort( 0x4 ),      /* 4 */
12020 /* 58 */        0x29,           /* Corr desc:  parameter, FC_ULONG */
12021                         0x0,            /*  */
12022 #ifndef _ALPHA_
12023 /* 60 */        NdrFcShort( 0xc ),      /* x86, MIPS, PPC Stack size/offset = 12 */
12024 #else
12025                         NdrFcShort( 0x18 ),     /* Alpha Stack size/offset = 24 */
12026 #endif
12027 /* 62 */        
12028                         0x4b,           /* FC_PP */
12029                         0x5c,           /* FC_PAD */
12030 /* 64 */        
12031                         0x48,           /* FC_VARIABLE_REPEAT */
12032                         0x49,           /* FC_FIXED_OFFSET */
12033 /* 66 */        NdrFcShort( 0x4 ),      /* 4 */
12034 /* 68 */        NdrFcShort( 0x0 ),      /* 0 */
12035 /* 70 */        NdrFcShort( 0x1 ),      /* 1 */
12036 /* 72 */        NdrFcShort( 0x0 ),      /* 0 */
12037 /* 74 */        NdrFcShort( 0x0 ),      /* 0 */
12038 /* 76 */        0x12, 0x8,      /* FC_UP [simple_pointer] */
12039 /* 78 */        
12040                         0x25,           /* FC_C_WSTRING */
12041                         0x5c,           /* FC_PAD */
12042 /* 80 */        
12043                         0x5b,           /* FC_END */
12044
12045                         0x8,            /* FC_LONG */
12046 /* 82 */        0x5c,           /* FC_PAD */
12047                         0x5b,           /* FC_END */
12048 /* 84 */        
12049                         0x11, 0x0,      /* FC_RP */
12050 /* 86 */        NdrFcShort( 0x2 ),      /* Offset= 2 (88) */
12051 /* 88 */        
12052                         0x1b,           /* FC_CARRAY */
12053                         0x3,            /* 3 */
12054 /* 90 */        NdrFcShort( 0x4 ),      /* 4 */
12055 /* 92 */        0x29,           /* Corr desc:  parameter, FC_ULONG */
12056                         0x0,            /*  */
12057 #ifndef _ALPHA_
12058 /* 94 */        NdrFcShort( 0xc ),      /* x86, MIPS, PPC Stack size/offset = 12 */
12059 #else
12060                         NdrFcShort( 0x18 ),     /* Alpha Stack size/offset = 24 */
12061 #endif
12062 /* 96 */        0x8,            /* FC_LONG */
12063                         0x5b,           /* FC_END */
12064 /* 98 */        
12065                         0x11, 0x0,      /* FC_RP */
12066 /* 100 */       NdrFcShort( 0x3d4 ),    /* Offset= 980 (1080) */
12067 /* 102 */       
12068                         0x12, 0x0,      /* FC_UP */
12069 /* 104 */       NdrFcShort( 0x396 ),    /* Offset= 918 (1022) */
12070 /* 106 */       
12071                         0x2b,           /* FC_NON_ENCAPSULATED_UNION */
12072                         0x7,            /* FC_USHORT */
12073 /* 108 */       0x7,            /* Corr desc: FC_USHORT */
12074                         0x0,            /*  */
12075 /* 110 */       NdrFcShort( 0xfff8 ),   /* -8 */
12076 /* 112 */       NdrFcShort( 0x2 ),      /* Offset= 2 (114) */
12077 /* 114 */       NdrFcShort( 0x10 ),     /* 16 */
12078 /* 116 */       NdrFcShort( 0x2b ),     /* 43 */
12079 /* 118 */       NdrFcLong( 0x0 ),       /* 0 */
12080 /* 122 */       NdrFcShort( 0x0 ),      /* Offset= 0 (122) */
12081 /* 124 */       NdrFcLong( 0x1 ),       /* 1 */
12082 /* 128 */       NdrFcShort( 0x0 ),      /* Offset= 0 (128) */
12083 /* 130 */       NdrFcLong( 0x10 ),      /* 16 */
12084 /* 134 */       NdrFcShort( 0x8002 ),   /* Simple arm type: FC_CHAR */
12085 /* 136 */       NdrFcLong( 0x12 ),      /* 18 */
12086 /* 140 */       NdrFcShort( 0x8006 ),   /* Simple arm type: FC_SHORT */
12087 /* 142 */       NdrFcLong( 0x13 ),      /* 19 */
12088 /* 146 */       NdrFcShort( 0x8008 ),   /* Simple arm type: FC_LONG */
12089 /* 148 */       NdrFcLong( 0x16 ),      /* 22 */
12090 /* 152 */       NdrFcShort( 0x8008 ),   /* Simple arm type: FC_LONG */
12091 /* 154 */       NdrFcLong( 0x17 ),      /* 23 */
12092 /* 158 */       NdrFcShort( 0x8008 ),   /* Simple arm type: FC_LONG */
12093 /* 160 */       NdrFcLong( 0x11 ),      /* 17 */
12094 /* 164 */       NdrFcShort( 0x8002 ),   /* Simple arm type: FC_CHAR */
12095 /* 166 */       NdrFcLong( 0x2 ),       /* 2 */
12096 /* 170 */       NdrFcShort( 0x8006 ),   /* Simple arm type: FC_SHORT */
12097 /* 172 */       NdrFcLong( 0x3 ),       /* 3 */
12098 /* 176 */       NdrFcShort( 0x8008 ),   /* Simple arm type: FC_LONG */
12099 /* 178 */       NdrFcLong( 0x4 ),       /* 4 */
12100 /* 182 */       NdrFcShort( 0x800a ),   /* Simple arm type: FC_FLOAT */
12101 /* 184 */       NdrFcLong( 0x5 ),       /* 5 */
12102 /* 188 */       NdrFcShort( 0x800c ),   /* Simple arm type: FC_DOUBLE */
12103 /* 190 */       NdrFcLong( 0xb ),       /* 11 */
12104 /* 194 */       NdrFcShort( 0x8006 ),   /* Simple arm type: FC_SHORT */
12105 /* 196 */       NdrFcLong( 0xa ),       /* 10 */
12106 /* 200 */       NdrFcShort( 0x8008 ),   /* Simple arm type: FC_LONG */
12107 /* 202 */       NdrFcLong( 0x7 ),       /* 7 */
12108 /* 206 */       NdrFcShort( 0x800c ),   /* Simple arm type: FC_DOUBLE */
12109 /* 208 */       NdrFcLong( 0x8 ),       /* 8 */
12110 /* 212 */       NdrFcShort( 0xa6 ),     /* Offset= 166 (378) */
12111 /* 214 */       NdrFcLong( 0x6 ),       /* 6 */
12112 /* 218 */       NdrFcShort( 0xb8 ),     /* Offset= 184 (402) */
12113 /* 220 */       NdrFcLong( 0xe ),       /* 14 */
12114 /* 224 */       NdrFcShort( 0xb8 ),     /* Offset= 184 (408) */
12115 /* 226 */       NdrFcLong( 0xd ),       /* 13 */
12116 /* 230 */       NdrFcShort( 0xbe ),     /* Offset= 190 (420) */
12117 /* 232 */       NdrFcLong( 0x9 ),       /* 9 */
12118 /* 236 */       NdrFcShort( 0xca ),     /* Offset= 202 (438) */
12119 /* 238 */       NdrFcLong( 0x2000 ),    /* 8192 */
12120 /* 242 */       NdrFcShort( 0xd6 ),     /* Offset= 214 (456) */
12121 /* 244 */       NdrFcLong( 0x4010 ),    /* 16400 */
12122 /* 248 */       NdrFcShort( 0x2ce ),    /* Offset= 718 (966) */
12123 /* 250 */       NdrFcLong( 0x4012 ),    /* 16402 */
12124 /* 254 */       NdrFcShort( 0x2cc ),    /* Offset= 716 (970) */
12125 /* 256 */       NdrFcLong( 0x4013 ),    /* 16403 */
12126 /* 260 */       NdrFcShort( 0x2ca ),    /* Offset= 714 (974) */
12127 /* 262 */       NdrFcLong( 0x4016 ),    /* 16406 */
12128 /* 266 */       NdrFcShort( 0x2c4 ),    /* Offset= 708 (974) */
12129 /* 268 */       NdrFcLong( 0x4017 ),    /* 16407 */
12130 /* 272 */       NdrFcShort( 0x2be ),    /* Offset= 702 (974) */
12131 /* 274 */       NdrFcLong( 0x4011 ),    /* 16401 */
12132 /* 278 */       NdrFcShort( 0x2b0 ),    /* Offset= 688 (966) */
12133 /* 280 */       NdrFcLong( 0x4002 ),    /* 16386 */
12134 /* 284 */       NdrFcShort( 0x2ae ),    /* Offset= 686 (970) */
12135 /* 286 */       NdrFcLong( 0x4003 ),    /* 16387 */
12136 /* 290 */       NdrFcShort( 0x2ac ),    /* Offset= 684 (974) */
12137 /* 292 */       NdrFcLong( 0x4004 ),    /* 16388 */
12138 /* 296 */       NdrFcShort( 0x2aa ),    /* Offset= 682 (978) */
12139 /* 298 */       NdrFcLong( 0x4005 ),    /* 16389 */
12140 /* 302 */       NdrFcShort( 0x2a8 ),    /* Offset= 680 (982) */
12141 /* 304 */       NdrFcLong( 0x400b ),    /* 16395 */
12142 /* 308 */       NdrFcShort( 0x296 ),    /* Offset= 662 (970) */
12143 /* 310 */       NdrFcLong( 0x400a ),    /* 16394 */
12144 /* 314 */       NdrFcShort( 0x294 ),    /* Offset= 660 (974) */
12145 /* 316 */       NdrFcLong( 0x4007 ),    /* 16391 */
12146 /* 320 */       NdrFcShort( 0x296 ),    /* Offset= 662 (982) */
12147 /* 322 */       NdrFcLong( 0x4008 ),    /* 16392 */
12148 /* 326 */       NdrFcShort( 0x294 ),    /* Offset= 660 (986) */
12149 /* 328 */       NdrFcLong( 0x400c ),    /* 16396 */
12150 /* 332 */       NdrFcShort( 0x292 ),    /* Offset= 658 (990) */
12151 /* 334 */       NdrFcLong( 0x4006 ),    /* 16390 */
12152 /* 338 */       NdrFcShort( 0x294 ),    /* Offset= 660 (998) */
12153 /* 340 */       NdrFcLong( 0x400e ),    /* 16398 */
12154 /* 344 */       NdrFcShort( 0x292 ),    /* Offset= 658 (1002) */
12155 /* 346 */       NdrFcLong( 0x400d ),    /* 16397 */
12156 /* 350 */       NdrFcShort( 0x290 ),    /* Offset= 656 (1006) */
12157 /* 352 */       NdrFcLong( 0x4009 ),    /* 16393 */
12158 /* 356 */       NdrFcShort( 0x28e ),    /* Offset= 654 (1010) */
12159 /* 358 */       NdrFcLong( 0x6000 ),    /* 24576 */
12160 /* 362 */       NdrFcShort( 0x28c ),    /* Offset= 652 (1014) */
12161 /* 364 */       NdrFcLong( 0x24 ),      /* 36 */
12162 /* 368 */       NdrFcShort( 0x28a ),    /* Offset= 650 (1018) */
12163 /* 370 */       NdrFcLong( 0x4024 ),    /* 16420 */
12164 /* 374 */       NdrFcShort( 0x284 ),    /* Offset= 644 (1018) */
12165 /* 376 */       NdrFcShort( 0xffffffff ),       /* Offset= -1 (375) */
12166 /* 378 */       
12167                         0x12, 0x0,      /* FC_UP */
12168 /* 380 */       NdrFcShort( 0xc ),      /* Offset= 12 (392) */
12169 /* 382 */       
12170                         0x1b,           /* FC_CARRAY */
12171                         0x1,            /* 1 */
12172 /* 384 */       NdrFcShort( 0x2 ),      /* 2 */
12173 /* 386 */       0x9,            /* Corr desc: FC_ULONG */
12174                         0x0,            /*  */
12175 /* 388 */       NdrFcShort( 0xfffc ),   /* -4 */
12176 /* 390 */       0x6,            /* FC_SHORT */
12177                         0x5b,           /* FC_END */
12178 /* 392 */       
12179                         0x17,           /* FC_CSTRUCT */
12180                         0x3,            /* 3 */
12181 /* 394 */       NdrFcShort( 0x8 ),      /* 8 */
12182 /* 396 */       NdrFcShort( 0xfffffff2 ),       /* Offset= -14 (382) */
12183 /* 398 */       0x8,            /* FC_LONG */
12184                         0x8,            /* FC_LONG */
12185 /* 400 */       0x5c,           /* FC_PAD */
12186                         0x5b,           /* FC_END */
12187 /* 402 */       
12188                         0x15,           /* FC_STRUCT */
12189                         0x7,            /* 7 */
12190 /* 404 */       NdrFcShort( 0x8 ),      /* 8 */
12191 /* 406 */       0xb,            /* FC_HYPER */
12192                         0x5b,           /* FC_END */
12193 /* 408 */       
12194                         0x15,           /* FC_STRUCT */
12195                         0x7,            /* 7 */
12196 /* 410 */       NdrFcShort( 0x10 ),     /* 16 */
12197 /* 412 */       0x6,            /* FC_SHORT */
12198                         0x2,            /* FC_CHAR */
12199 /* 414 */       0x2,            /* FC_CHAR */
12200                         0x38,           /* FC_ALIGNM4 */
12201 /* 416 */       0x8,            /* FC_LONG */
12202                         0x39,           /* FC_ALIGNM8 */
12203 /* 418 */       0xb,            /* FC_HYPER */
12204                         0x5b,           /* FC_END */
12205 /* 420 */       
12206                         0x2f,           /* FC_IP */
12207                         0x5a,           /* FC_CONSTANT_IID */
12208 /* 422 */       NdrFcLong( 0x0 ),       /* 0 */
12209 /* 426 */       NdrFcShort( 0x0 ),      /* 0 */
12210 /* 428 */       NdrFcShort( 0x0 ),      /* 0 */
12211 /* 430 */       0xc0,           /* 192 */
12212                         0x0,            /* 0 */
12213 /* 432 */       0x0,            /* 0 */
12214                         0x0,            /* 0 */
12215 /* 434 */       0x0,            /* 0 */
12216                         0x0,            /* 0 */
12217 /* 436 */       0x0,            /* 0 */
12218                         0x46,           /* 70 */
12219 /* 438 */       
12220                         0x2f,           /* FC_IP */
12221                         0x5a,           /* FC_CONSTANT_IID */
12222 /* 440 */       NdrFcLong( 0x20400 ),   /* 132096 */
12223 /* 444 */       NdrFcShort( 0x0 ),      /* 0 */
12224 /* 446 */       NdrFcShort( 0x0 ),      /* 0 */
12225 /* 448 */       0xc0,           /* 192 */
12226                         0x0,            /* 0 */
12227 /* 450 */       0x0,            /* 0 */
12228                         0x0,            /* 0 */
12229 /* 452 */       0x0,            /* 0 */
12230                         0x0,            /* 0 */
12231 /* 454 */       0x0,            /* 0 */
12232                         0x46,           /* 70 */
12233 /* 456 */       
12234                         0x12, 0x0,      /* FC_UP */
12235 /* 458 */       NdrFcShort( 0x1ea ),    /* Offset= 490 (948) */
12236 /* 460 */       
12237                         0x2a,           /* FC_ENCAPSULATED_UNION */
12238                         0x49,           /* 73 */
12239 /* 462 */       NdrFcShort( 0x18 ),     /* 24 */
12240 /* 464 */       NdrFcShort( 0xa ),      /* 10 */
12241 /* 466 */       NdrFcLong( 0x8 ),       /* 8 */
12242 /* 470 */       NdrFcShort( 0x58 ),     /* Offset= 88 (558) */
12243 /* 472 */       NdrFcLong( 0xd ),       /* 13 */
12244 /* 476 */       NdrFcShort( 0x78 ),     /* Offset= 120 (596) */
12245 /* 478 */       NdrFcLong( 0x9 ),       /* 9 */
12246 /* 482 */       NdrFcShort( 0x94 ),     /* Offset= 148 (630) */
12247 /* 484 */       NdrFcLong( 0xc ),       /* 12 */
12248 /* 488 */       NdrFcShort( 0xbc ),     /* Offset= 188 (676) */
12249 /* 490 */       NdrFcLong( 0x24 ),      /* 36 */
12250 /* 494 */       NdrFcShort( 0x114 ),    /* Offset= 276 (770) */
12251 /* 496 */       NdrFcLong( 0x800d ),    /* 32781 */
12252 /* 500 */       NdrFcShort( 0x11e ),    /* Offset= 286 (786) */
12253 /* 502 */       NdrFcLong( 0x10 ),      /* 16 */
12254 /* 506 */       NdrFcShort( 0x136 ),    /* Offset= 310 (816) */
12255 /* 508 */       NdrFcLong( 0x2 ),       /* 2 */
12256 /* 512 */       NdrFcShort( 0x14e ),    /* Offset= 334 (846) */
12257 /* 514 */       NdrFcLong( 0x3 ),       /* 3 */
12258 /* 518 */       NdrFcShort( 0x166 ),    /* Offset= 358 (876) */
12259 /* 520 */       NdrFcLong( 0x14 ),      /* 20 */
12260 /* 524 */       NdrFcShort( 0x17e ),    /* Offset= 382 (906) */
12261 /* 526 */       NdrFcShort( 0xffffffff ),       /* Offset= -1 (525) */
12262 /* 528 */       
12263                         0x1b,           /* FC_CARRAY */
12264                         0x3,            /* 3 */
12265 /* 530 */       NdrFcShort( 0x4 ),      /* 4 */
12266 /* 532 */       0x19,           /* Corr desc:  field pointer, FC_ULONG */
12267                         0x0,            /*  */
12268 /* 534 */       NdrFcShort( 0x0 ),      /* 0 */
12269 /* 536 */       
12270                         0x4b,           /* FC_PP */
12271                         0x5c,           /* FC_PAD */
12272 /* 538 */       
12273                         0x48,           /* FC_VARIABLE_REPEAT */
12274                         0x49,           /* FC_FIXED_OFFSET */
12275 /* 540 */       NdrFcShort( 0x4 ),      /* 4 */
12276 /* 542 */       NdrFcShort( 0x0 ),      /* 0 */
12277 /* 544 */       NdrFcShort( 0x1 ),      /* 1 */
12278 /* 546 */       NdrFcShort( 0x0 ),      /* 0 */
12279 /* 548 */       NdrFcShort( 0x0 ),      /* 0 */
12280 /* 550 */       0x12, 0x0,      /* FC_UP */
12281 /* 552 */       NdrFcShort( 0xffffff60 ),       /* Offset= -160 (392) */
12282 /* 554 */       
12283                         0x5b,           /* FC_END */
12284
12285                         0x8,            /* FC_LONG */
12286 /* 556 */       0x5c,           /* FC_PAD */
12287                         0x5b,           /* FC_END */
12288 /* 558 */       
12289                         0x16,           /* FC_PSTRUCT */
12290                         0x3,            /* 3 */
12291 /* 560 */       NdrFcShort( 0x8 ),      /* 8 */
12292 /* 562 */       
12293                         0x4b,           /* FC_PP */
12294                         0x5c,           /* FC_PAD */
12295 /* 564 */       
12296                         0x46,           /* FC_NO_REPEAT */
12297                         0x5c,           /* FC_PAD */
12298 /* 566 */       NdrFcShort( 0x4 ),      /* 4 */
12299 /* 568 */       NdrFcShort( 0x4 ),      /* 4 */
12300 /* 570 */       0x11, 0x0,      /* FC_RP */
12301 /* 572 */       NdrFcShort( 0xffffffd4 ),       /* Offset= -44 (528) */
12302 /* 574 */       
12303                         0x5b,           /* FC_END */
12304
12305                         0x8,            /* FC_LONG */
12306 /* 576 */       0x8,            /* FC_LONG */
12307                         0x5b,           /* FC_END */
12308 /* 578 */       
12309                         0x21,           /* FC_BOGUS_ARRAY */
12310                         0x3,            /* 3 */
12311 /* 580 */       NdrFcShort( 0x0 ),      /* 0 */
12312 /* 582 */       0x19,           /* Corr desc:  field pointer, FC_ULONG */
12313                         0x0,            /*  */
12314 /* 584 */       NdrFcShort( 0x0 ),      /* 0 */
12315 /* 586 */       NdrFcLong( 0xffffffff ),        /* -1 */
12316 /* 590 */       0x4c,           /* FC_EMBEDDED_COMPLEX */
12317                         0x0,            /* 0 */
12318 /* 592 */       NdrFcShort( 0xffffff54 ),       /* Offset= -172 (420) */
12319 /* 594 */       0x5c,           /* FC_PAD */
12320                         0x5b,           /* FC_END */
12321 /* 596 */       
12322                         0x1a,           /* FC_BOGUS_STRUCT */
12323                         0x3,            /* 3 */
12324 /* 598 */       NdrFcShort( 0x8 ),      /* 8 */
12325 /* 600 */       NdrFcShort( 0x0 ),      /* 0 */
12326 /* 602 */       NdrFcShort( 0x6 ),      /* Offset= 6 (608) */
12327 /* 604 */       0x8,            /* FC_LONG */
12328                         0x36,           /* FC_POINTER */
12329 /* 606 */       0x5c,           /* FC_PAD */
12330                         0x5b,           /* FC_END */
12331 /* 608 */       
12332                         0x11, 0x0,      /* FC_RP */
12333 /* 610 */       NdrFcShort( 0xffffffe0 ),       /* Offset= -32 (578) */
12334 /* 612 */       
12335                         0x21,           /* FC_BOGUS_ARRAY */
12336                         0x3,            /* 3 */
12337 /* 614 */       NdrFcShort( 0x0 ),      /* 0 */
12338 /* 616 */       0x19,           /* Corr desc:  field pointer, FC_ULONG */
12339                         0x0,            /*  */
12340 /* 618 */       NdrFcShort( 0x0 ),      /* 0 */
12341 /* 620 */       NdrFcLong( 0xffffffff ),        /* -1 */
12342 /* 624 */       0x4c,           /* FC_EMBEDDED_COMPLEX */
12343                         0x0,            /* 0 */
12344 /* 626 */       NdrFcShort( 0xffffff44 ),       /* Offset= -188 (438) */
12345 /* 628 */       0x5c,           /* FC_PAD */
12346                         0x5b,           /* FC_END */
12347 /* 630 */       
12348                         0x1a,           /* FC_BOGUS_STRUCT */
12349                         0x3,            /* 3 */
12350 /* 632 */       NdrFcShort( 0x8 ),      /* 8 */
12351 /* 634 */       NdrFcShort( 0x0 ),      /* 0 */
12352 /* 636 */       NdrFcShort( 0x6 ),      /* Offset= 6 (642) */
12353 /* 638 */       0x8,            /* FC_LONG */
12354                         0x36,           /* FC_POINTER */
12355 /* 640 */       0x5c,           /* FC_PAD */
12356                         0x5b,           /* FC_END */
12357 /* 642 */       
12358                         0x11, 0x0,      /* FC_RP */
12359 /* 644 */       NdrFcShort( 0xffffffe0 ),       /* Offset= -32 (612) */
12360 /* 646 */       
12361                         0x1b,           /* FC_CARRAY */
12362                         0x3,            /* 3 */
12363 /* 648 */       NdrFcShort( 0x4 ),      /* 4 */
12364 /* 650 */       0x19,           /* Corr desc:  field pointer, FC_ULONG */
12365                         0x0,            /*  */
12366 /* 652 */       NdrFcShort( 0x0 ),      /* 0 */
12367 /* 654 */       
12368                         0x4b,           /* FC_PP */
12369                         0x5c,           /* FC_PAD */
12370 /* 656 */       
12371                         0x48,           /* FC_VARIABLE_REPEAT */
12372                         0x49,           /* FC_FIXED_OFFSET */
12373 /* 658 */       NdrFcShort( 0x4 ),      /* 4 */
12374 /* 660 */       NdrFcShort( 0x0 ),      /* 0 */
12375 /* 662 */       NdrFcShort( 0x1 ),      /* 1 */
12376 /* 664 */       NdrFcShort( 0x0 ),      /* 0 */
12377 /* 666 */       NdrFcShort( 0x0 ),      /* 0 */
12378 /* 668 */       0x12, 0x0,      /* FC_UP */
12379 /* 670 */       NdrFcShort( 0x160 ),    /* Offset= 352 (1022) */
12380 /* 672 */       
12381                         0x5b,           /* FC_END */
12382
12383                         0x8,            /* FC_LONG */
12384 /* 674 */       0x5c,           /* FC_PAD */
12385                         0x5b,           /* FC_END */
12386 /* 676 */       
12387                         0x1a,           /* FC_BOGUS_STRUCT */
12388                         0x3,            /* 3 */
12389 /* 678 */       NdrFcShort( 0x8 ),      /* 8 */
12390 /* 680 */       NdrFcShort( 0x0 ),      /* 0 */
12391 /* 682 */       NdrFcShort( 0x6 ),      /* Offset= 6 (688) */
12392 /* 684 */       0x8,            /* FC_LONG */
12393                         0x36,           /* FC_POINTER */
12394 /* 686 */       0x5c,           /* FC_PAD */
12395                         0x5b,           /* FC_END */
12396 /* 688 */       
12397                         0x11, 0x0,      /* FC_RP */
12398 /* 690 */       NdrFcShort( 0xffffffd4 ),       /* Offset= -44 (646) */
12399 /* 692 */       
12400                         0x2f,           /* FC_IP */
12401                         0x5a,           /* FC_CONSTANT_IID */
12402 /* 694 */       NdrFcLong( 0x2f ),      /* 47 */
12403 /* 698 */       NdrFcShort( 0x0 ),      /* 0 */
12404 /* 700 */       NdrFcShort( 0x0 ),      /* 0 */
12405 /* 702 */       0xc0,           /* 192 */
12406                         0x0,            /* 0 */
12407 /* 704 */       0x0,            /* 0 */
12408                         0x0,            /* 0 */
12409 /* 706 */       0x0,            /* 0 */
12410                         0x0,            /* 0 */
12411 /* 708 */       0x0,            /* 0 */
12412                         0x46,           /* 70 */
12413 /* 710 */       
12414                         0x1b,           /* FC_CARRAY */
12415                         0x0,            /* 0 */
12416 /* 712 */       NdrFcShort( 0x1 ),      /* 1 */
12417 /* 714 */       0x19,           /* Corr desc:  field pointer, FC_ULONG */
12418                         0x0,            /*  */
12419 /* 716 */       NdrFcShort( 0x4 ),      /* 4 */
12420 /* 718 */       0x1,            /* FC_BYTE */
12421                         0x5b,           /* FC_END */
12422 /* 720 */       
12423                         0x1a,           /* FC_BOGUS_STRUCT */
12424                         0x3,            /* 3 */
12425 /* 722 */       NdrFcShort( 0x10 ),     /* 16 */
12426 /* 724 */       NdrFcShort( 0x0 ),      /* 0 */
12427 /* 726 */       NdrFcShort( 0xa ),      /* Offset= 10 (736) */
12428 /* 728 */       0x8,            /* FC_LONG */
12429                         0x8,            /* FC_LONG */
12430 /* 730 */       0x4c,           /* FC_EMBEDDED_COMPLEX */
12431                         0x0,            /* 0 */
12432 /* 732 */       NdrFcShort( 0xffffffd8 ),       /* Offset= -40 (692) */
12433 /* 734 */       0x36,           /* FC_POINTER */
12434                         0x5b,           /* FC_END */
12435 /* 736 */       
12436                         0x12, 0x0,      /* FC_UP */
12437 /* 738 */       NdrFcShort( 0xffffffe4 ),       /* Offset= -28 (710) */
12438 /* 740 */       
12439                         0x1b,           /* FC_CARRAY */
12440                         0x3,            /* 3 */
12441 /* 742 */       NdrFcShort( 0x4 ),      /* 4 */
12442 /* 744 */       0x19,           /* Corr desc:  field pointer, FC_ULONG */
12443                         0x0,            /*  */
12444 /* 746 */       NdrFcShort( 0x0 ),      /* 0 */
12445 /* 748 */       
12446                         0x4b,           /* FC_PP */
12447                         0x5c,           /* FC_PAD */
12448 /* 750 */       
12449                         0x48,           /* FC_VARIABLE_REPEAT */
12450                         0x49,           /* FC_FIXED_OFFSET */
12451 /* 752 */       NdrFcShort( 0x4 ),      /* 4 */
12452 /* 754 */       NdrFcShort( 0x0 ),      /* 0 */
12453 /* 756 */       NdrFcShort( 0x1 ),      /* 1 */
12454 /* 758 */       NdrFcShort( 0x0 ),      /* 0 */
12455 /* 760 */       NdrFcShort( 0x0 ),      /* 0 */
12456 /* 762 */       0x12, 0x0,      /* FC_UP */
12457 /* 764 */       NdrFcShort( 0xffffffd4 ),       /* Offset= -44 (720) */
12458 /* 766 */       
12459                         0x5b,           /* FC_END */
12460
12461                         0x8,            /* FC_LONG */
12462 /* 768 */       0x5c,           /* FC_PAD */
12463                         0x5b,           /* FC_END */
12464 /* 770 */       
12465                         0x1a,           /* FC_BOGUS_STRUCT */
12466                         0x3,            /* 3 */
12467 /* 772 */       NdrFcShort( 0x8 ),      /* 8 */
12468 /* 774 */       NdrFcShort( 0x0 ),      /* 0 */
12469 /* 776 */       NdrFcShort( 0x6 ),      /* Offset= 6 (782) */
12470 /* 778 */       0x8,            /* FC_LONG */
12471                         0x36,           /* FC_POINTER */
12472 /* 780 */       0x5c,           /* FC_PAD */
12473                         0x5b,           /* FC_END */
12474 /* 782 */       
12475                         0x11, 0x0,      /* FC_RP */
12476 /* 784 */       NdrFcShort( 0xffffffd4 ),       /* Offset= -44 (740) */
12477 /* 786 */       
12478                         0x1a,           /* FC_BOGUS_STRUCT */
12479                         0x3,            /* 3 */
12480 /* 788 */       NdrFcShort( 0x18 ),     /* 24 */
12481 /* 790 */       NdrFcShort( 0x0 ),      /* 0 */
12482 /* 792 */       NdrFcShort( 0xa ),      /* Offset= 10 (802) */
12483 /* 794 */       0x8,            /* FC_LONG */
12484                         0x36,           /* FC_POINTER */
12485 /* 796 */       0x4c,           /* FC_EMBEDDED_COMPLEX */
12486                         0x0,            /* 0 */
12487 /* 798 */       NdrFcShort( 0xfffffd08 ),       /* Offset= -760 (38) */
12488 /* 800 */       0x5c,           /* FC_PAD */
12489                         0x5b,           /* FC_END */
12490 /* 802 */       
12491                         0x11, 0x0,      /* FC_RP */
12492 /* 804 */       NdrFcShort( 0xffffff1e ),       /* Offset= -226 (578) */
12493 /* 806 */       
12494                         0x1b,           /* FC_CARRAY */
12495                         0x0,            /* 0 */
12496 /* 808 */       NdrFcShort( 0x1 ),      /* 1 */
12497 /* 810 */       0x19,           /* Corr desc:  field pointer, FC_ULONG */
12498                         0x0,            /*  */
12499 /* 812 */       NdrFcShort( 0x0 ),      /* 0 */
12500 /* 814 */       0x1,            /* FC_BYTE */
12501                         0x5b,           /* FC_END */
12502 /* 816 */       
12503                         0x16,           /* FC_PSTRUCT */
12504                         0x3,            /* 3 */
12505 /* 818 */       NdrFcShort( 0x8 ),      /* 8 */
12506 /* 820 */       
12507                         0x4b,           /* FC_PP */
12508                         0x5c,           /* FC_PAD */
12509 /* 822 */       
12510                         0x46,           /* FC_NO_REPEAT */
12511                         0x5c,           /* FC_PAD */
12512 /* 824 */       NdrFcShort( 0x4 ),      /* 4 */
12513 /* 826 */       NdrFcShort( 0x4 ),      /* 4 */
12514 /* 828 */       0x12, 0x0,      /* FC_UP */
12515 /* 830 */       NdrFcShort( 0xffffffe8 ),       /* Offset= -24 (806) */
12516 /* 832 */       
12517                         0x5b,           /* FC_END */
12518
12519                         0x8,            /* FC_LONG */
12520 /* 834 */       0x8,            /* FC_LONG */
12521                         0x5b,           /* FC_END */
12522 /* 836 */       
12523                         0x1b,           /* FC_CARRAY */
12524                         0x1,            /* 1 */
12525 /* 838 */       NdrFcShort( 0x2 ),      /* 2 */
12526 /* 840 */       0x19,           /* Corr desc:  field pointer, FC_ULONG */
12527                         0x0,            /*  */
12528 /* 842 */       NdrFcShort( 0x0 ),      /* 0 */
12529 /* 844 */       0x6,            /* FC_SHORT */
12530                         0x5b,           /* FC_END */
12531 /* 846 */       
12532                         0x16,           /* FC_PSTRUCT */
12533                         0x3,            /* 3 */
12534 /* 848 */       NdrFcShort( 0x8 ),      /* 8 */
12535 /* 850 */       
12536                         0x4b,           /* FC_PP */
12537                         0x5c,           /* FC_PAD */
12538 /* 852 */       
12539                         0x46,           /* FC_NO_REPEAT */
12540                         0x5c,           /* FC_PAD */
12541 /* 854 */       NdrFcShort( 0x4 ),      /* 4 */
12542 /* 856 */       NdrFcShort( 0x4 ),      /* 4 */
12543 /* 858 */       0x12, 0x0,      /* FC_UP */
12544 /* 860 */       NdrFcShort( 0xffffffe8 ),       /* Offset= -24 (836) */
12545 /* 862 */       
12546                         0x5b,           /* FC_END */
12547
12548                         0x8,            /* FC_LONG */
12549 /* 864 */       0x8,            /* FC_LONG */
12550                         0x5b,           /* FC_END */
12551 /* 866 */       
12552                         0x1b,           /* FC_CARRAY */
12553                         0x3,            /* 3 */
12554 /* 868 */       NdrFcShort( 0x4 ),      /* 4 */
12555 /* 870 */       0x19,           /* Corr desc:  field pointer, FC_ULONG */
12556                         0x0,            /*  */
12557 /* 872 */       NdrFcShort( 0x0 ),      /* 0 */
12558 /* 874 */       0x8,            /* FC_LONG */
12559                         0x5b,           /* FC_END */
12560 /* 876 */       
12561                         0x16,           /* FC_PSTRUCT */
12562                         0x3,            /* 3 */
12563 /* 878 */       NdrFcShort( 0x8 ),      /* 8 */
12564 /* 880 */       
12565                         0x4b,           /* FC_PP */
12566                         0x5c,           /* FC_PAD */
12567 /* 882 */       
12568                         0x46,           /* FC_NO_REPEAT */
12569                         0x5c,           /* FC_PAD */
12570 /* 884 */       NdrFcShort( 0x4 ),      /* 4 */
12571 /* 886 */       NdrFcShort( 0x4 ),      /* 4 */
12572 /* 888 */       0x12, 0x0,      /* FC_UP */
12573 /* 890 */       NdrFcShort( 0xffffffe8 ),       /* Offset= -24 (866) */
12574 /* 892 */       
12575                         0x5b,           /* FC_END */
12576
12577                         0x8,            /* FC_LONG */
12578 /* 894 */       0x8,            /* FC_LONG */
12579                         0x5b,           /* FC_END */
12580 /* 896 */       
12581                         0x1b,           /* FC_CARRAY */
12582                         0x7,            /* 7 */
12583 /* 898 */       NdrFcShort( 0x8 ),      /* 8 */
12584 /* 900 */       0x19,           /* Corr desc:  field pointer, FC_ULONG */
12585                         0x0,            /*  */
12586 /* 902 */       NdrFcShort( 0x0 ),      /* 0 */
12587 /* 904 */       0xb,            /* FC_HYPER */
12588                         0x5b,           /* FC_END */
12589 /* 906 */       
12590                         0x16,           /* FC_PSTRUCT */
12591                         0x3,            /* 3 */
12592 /* 908 */       NdrFcShort( 0x8 ),      /* 8 */
12593 /* 910 */       
12594                         0x4b,           /* FC_PP */
12595                         0x5c,           /* FC_PAD */
12596 /* 912 */       
12597                         0x46,           /* FC_NO_REPEAT */
12598                         0x5c,           /* FC_PAD */
12599 /* 914 */       NdrFcShort( 0x4 ),      /* 4 */
12600 /* 916 */       NdrFcShort( 0x4 ),      /* 4 */
12601 /* 918 */       0x12, 0x0,      /* FC_UP */
12602 /* 920 */       NdrFcShort( 0xffffffe8 ),       /* Offset= -24 (896) */
12603 /* 922 */       
12604                         0x5b,           /* FC_END */
12605
12606                         0x8,            /* FC_LONG */
12607 /* 924 */       0x8,            /* FC_LONG */
12608                         0x5b,           /* FC_END */
12609 /* 926 */       
12610                         0x15,           /* FC_STRUCT */
12611                         0x3,            /* 3 */
12612 /* 928 */       NdrFcShort( 0x8 ),      /* 8 */
12613 /* 930 */       0x8,            /* FC_LONG */
12614                         0x8,            /* FC_LONG */
12615 /* 932 */       0x5c,           /* FC_PAD */
12616                         0x5b,           /* FC_END */
12617 /* 934 */       
12618                         0x1b,           /* FC_CARRAY */
12619                         0x3,            /* 3 */
12620 /* 936 */       NdrFcShort( 0x8 ),      /* 8 */
12621 /* 938 */       0x7,            /* Corr desc: FC_USHORT */
12622                         0x0,            /*  */
12623 /* 940 */       NdrFcShort( 0xffd8 ),   /* -40 */
12624 /* 942 */       0x4c,           /* FC_EMBEDDED_COMPLEX */
12625                         0x0,            /* 0 */
12626 /* 944 */       NdrFcShort( 0xffffffee ),       /* Offset= -18 (926) */
12627 /* 946 */       0x5c,           /* FC_PAD */
12628                         0x5b,           /* FC_END */
12629 /* 948 */       
12630                         0x1a,           /* FC_BOGUS_STRUCT */
12631                         0x3,            /* 3 */
12632 /* 950 */       NdrFcShort( 0x28 ),     /* 40 */
12633 /* 952 */       NdrFcShort( 0xffffffee ),       /* Offset= -18 (934) */
12634 /* 954 */       NdrFcShort( 0x0 ),      /* Offset= 0 (954) */
12635 /* 956 */       0x6,            /* FC_SHORT */
12636                         0x6,            /* FC_SHORT */
12637 /* 958 */       0x38,           /* FC_ALIGNM4 */
12638                         0x8,            /* FC_LONG */
12639 /* 960 */       0x8,            /* FC_LONG */
12640                         0x4c,           /* FC_EMBEDDED_COMPLEX */
12641 /* 962 */       0x0,            /* 0 */
12642                         NdrFcShort( 0xfffffe09 ),       /* Offset= -503 (460) */
12643                         0x5b,           /* FC_END */
12644 /* 966 */       
12645                         0x12, 0x8,      /* FC_UP [simple_pointer] */
12646 /* 968 */       0x2,            /* FC_CHAR */
12647                         0x5c,           /* FC_PAD */
12648 /* 970 */       
12649                         0x12, 0x8,      /* FC_UP [simple_pointer] */
12650 /* 972 */       0x6,            /* FC_SHORT */
12651                         0x5c,           /* FC_PAD */
12652 /* 974 */       
12653                         0x12, 0x8,      /* FC_UP [simple_pointer] */
12654 /* 976 */       0x8,            /* FC_LONG */
12655                         0x5c,           /* FC_PAD */
12656 /* 978 */       
12657                         0x12, 0x8,      /* FC_UP [simple_pointer] */
12658 /* 980 */       0xa,            /* FC_FLOAT */
12659                         0x5c,           /* FC_PAD */
12660 /* 982 */       
12661                         0x12, 0x8,      /* FC_UP [simple_pointer] */
12662 /* 984 */       0xc,            /* FC_DOUBLE */
12663                         0x5c,           /* FC_PAD */
12664 /* 986 */       
12665                         0x12, 0x10,     /* FC_UP */
12666 /* 988 */       NdrFcShort( 0xfffffd9e ),       /* Offset= -610 (378) */
12667 /* 990 */       
12668                         0x12, 0x10,     /* FC_UP */
12669 /* 992 */       NdrFcShort( 0x2 ),      /* Offset= 2 (994) */
12670 /* 994 */       
12671                         0x12, 0x0,      /* FC_UP */
12672 /* 996 */       NdrFcShort( 0xfffffc1c ),       /* Offset= -996 (0) */
12673 /* 998 */       
12674                         0x12, 0x0,      /* FC_UP */
12675 /* 1000 */      NdrFcShort( 0xfffffdaa ),       /* Offset= -598 (402) */
12676 /* 1002 */      
12677                         0x12, 0x0,      /* FC_UP */
12678 /* 1004 */      NdrFcShort( 0xfffffdac ),       /* Offset= -596 (408) */
12679 /* 1006 */      
12680                         0x12, 0x10,     /* FC_UP */
12681 /* 1008 */      NdrFcShort( 0xfffffdb4 ),       /* Offset= -588 (420) */
12682 /* 1010 */      
12683                         0x12, 0x10,     /* FC_UP */
12684 /* 1012 */      NdrFcShort( 0xfffffdc2 ),       /* Offset= -574 (438) */
12685 /* 1014 */      
12686                         0x12, 0x10,     /* FC_UP */
12687 /* 1016 */      NdrFcShort( 0xfffffdd0 ),       /* Offset= -560 (456) */
12688 /* 1018 */      
12689                         0x12, 0x0,      /* FC_UP */
12690 /* 1020 */      NdrFcShort( 0xfffffed4 ),       /* Offset= -300 (720) */
12691 /* 1022 */      
12692                         0x1a,           /* FC_BOGUS_STRUCT */
12693                         0x7,            /* 7 */
12694 /* 1024 */      NdrFcShort( 0x20 ),     /* 32 */
12695 /* 1026 */      NdrFcShort( 0x0 ),      /* 0 */
12696 /* 1028 */      NdrFcShort( 0x0 ),      /* Offset= 0 (1028) */
12697 /* 1030 */      0x8,            /* FC_LONG */
12698                         0x8,            /* FC_LONG */
12699 /* 1032 */      0x6,            /* FC_SHORT */
12700                         0x6,            /* FC_SHORT */
12701 /* 1034 */      0x6,            /* FC_SHORT */
12702                         0x6,            /* FC_SHORT */
12703 /* 1036 */      0x4c,           /* FC_EMBEDDED_COMPLEX */
12704                         0x0,            /* 0 */
12705 /* 1038 */      NdrFcShort( 0xfffffc5c ),       /* Offset= -932 (106) */
12706 /* 1040 */      0x5c,           /* FC_PAD */
12707                         0x5b,           /* FC_END */
12708 /* 1042 */      0xb4,           /* FC_USER_MARSHAL */
12709                         0x83,           /* 131 */
12710 /* 1044 */      NdrFcShort( 0x0 ),      /* 0 */
12711 /* 1046 */      NdrFcShort( 0x10 ),     /* 16 */
12712 /* 1048 */      NdrFcShort( 0x0 ),      /* 0 */
12713 /* 1050 */      NdrFcShort( 0xfffffc4c ),       /* Offset= -948 (102) */
12714 /* 1052 */      
12715                         0x21,           /* FC_BOGUS_ARRAY */
12716                         0x3,            /* 3 */
12717 /* 1054 */      NdrFcShort( 0x0 ),      /* 0 */
12718 /* 1056 */      0x19,           /* Corr desc:  field pointer, FC_ULONG */
12719                         0x0,            /*  */
12720 /* 1058 */      NdrFcShort( 0x8 ),      /* 8 */
12721 /* 1060 */      NdrFcLong( 0xffffffff ),        /* -1 */
12722 /* 1064 */      0x4c,           /* FC_EMBEDDED_COMPLEX */
12723                         0x0,            /* 0 */
12724 /* 1066 */      NdrFcShort( 0xffffffe8 ),       /* Offset= -24 (1042) */
12725 /* 1068 */      0x5c,           /* FC_PAD */
12726                         0x5b,           /* FC_END */
12727 /* 1070 */      
12728                         0x1b,           /* FC_CARRAY */
12729                         0x3,            /* 3 */
12730 /* 1072 */      NdrFcShort( 0x4 ),      /* 4 */
12731 /* 1074 */      0x19,           /* Corr desc:  field pointer, FC_ULONG */
12732                         0x0,            /*  */
12733 /* 1076 */      NdrFcShort( 0xc ),      /* 12 */
12734 /* 1078 */      0x8,            /* FC_LONG */
12735                         0x5b,           /* FC_END */
12736 /* 1080 */      
12737                         0x1a,           /* FC_BOGUS_STRUCT */
12738                         0x3,            /* 3 */
12739 /* 1082 */      NdrFcShort( 0x10 ),     /* 16 */
12740 /* 1084 */      NdrFcShort( 0x0 ),      /* 0 */
12741 /* 1086 */      NdrFcShort( 0x8 ),      /* Offset= 8 (1094) */
12742 /* 1088 */      0x36,           /* FC_POINTER */
12743                         0x36,           /* FC_POINTER */
12744 /* 1090 */      0x8,            /* FC_LONG */
12745                         0x8,            /* FC_LONG */
12746 /* 1092 */      0x5c,           /* FC_PAD */
12747                         0x5b,           /* FC_END */
12748 /* 1094 */      
12749                         0x12, 0x0,      /* FC_UP */
12750 /* 1096 */      NdrFcShort( 0xffffffd4 ),       /* Offset= -44 (1052) */
12751 /* 1098 */      
12752                         0x12, 0x0,      /* FC_UP */
12753 /* 1100 */      NdrFcShort( 0xffffffe2 ),       /* Offset= -30 (1070) */
12754 /* 1102 */      
12755                         0x11, 0x4,      /* FC_RP [alloced_on_stack] */
12756 /* 1104 */      NdrFcShort( 0x6 ),      /* Offset= 6 (1110) */
12757 /* 1106 */      
12758                         0x13, 0x0,      /* FC_OP */
12759 /* 1108 */      NdrFcShort( 0xffffffaa ),       /* Offset= -86 (1022) */
12760 /* 1110 */      0xb4,           /* FC_USER_MARSHAL */
12761                         0x83,           /* 131 */
12762 /* 1112 */      NdrFcShort( 0x0 ),      /* 0 */
12763 /* 1114 */      NdrFcShort( 0x10 ),     /* 16 */
12764 /* 1116 */      NdrFcShort( 0x0 ),      /* 0 */
12765 /* 1118 */      NdrFcShort( 0xfffffff4 ),       /* Offset= -12 (1106) */
12766 /* 1120 */      
12767                         0x11, 0x4,      /* FC_RP [alloced_on_stack] */
12768 /* 1122 */      NdrFcShort( 0x10 ),     /* Offset= 16 (1138) */
12769 /* 1124 */      
12770                         0x13, 0x0,      /* FC_OP */
12771 /* 1126 */      NdrFcShort( 0xfffffd22 ),       /* Offset= -734 (392) */
12772 /* 1128 */      0xb4,           /* FC_USER_MARSHAL */
12773                         0x83,           /* 131 */
12774 /* 1130 */      NdrFcShort( 0x1 ),      /* 1 */
12775 /* 1132 */      NdrFcShort( 0x4 ),      /* 4 */
12776 /* 1134 */      NdrFcShort( 0x0 ),      /* 0 */
12777 /* 1136 */      NdrFcShort( 0xfffffff4 ),       /* Offset= -12 (1124) */
12778 /* 1138 */      
12779                         0x1a,           /* FC_BOGUS_STRUCT */
12780                         0x3,            /* 3 */
12781 /* 1140 */      NdrFcShort( 0x20 ),     /* 32 */
12782 /* 1142 */      NdrFcShort( 0x0 ),      /* 0 */
12783 /* 1144 */      NdrFcShort( 0x0 ),      /* Offset= 0 (1144) */
12784 /* 1146 */      0x6,            /* FC_SHORT */
12785                         0x6,            /* FC_SHORT */
12786 /* 1148 */      0x4c,           /* FC_EMBEDDED_COMPLEX */
12787                         0x0,            /* 0 */
12788 /* 1150 */      NdrFcShort( 0xffffffea ),       /* Offset= -22 (1128) */
12789 /* 1152 */      0x4c,           /* FC_EMBEDDED_COMPLEX */
12790                         0x0,            /* 0 */
12791 /* 1154 */      NdrFcShort( 0xffffffe6 ),       /* Offset= -26 (1128) */
12792 /* 1156 */      0x4c,           /* FC_EMBEDDED_COMPLEX */
12793                         0x0,            /* 0 */
12794 /* 1158 */      NdrFcShort( 0xffffffe2 ),       /* Offset= -30 (1128) */
12795 /* 1160 */      0x38,           /* FC_ALIGNM4 */
12796                         0x8,            /* FC_LONG */
12797 /* 1162 */      0x8,            /* FC_LONG */
12798                         0x8,            /* FC_LONG */
12799 /* 1164 */      0x8,            /* FC_LONG */
12800                         0x5b,           /* FC_END */
12801 /* 1166 */      
12802                         0x11, 0x0,      /* FC_RP */
12803 /* 1168 */      NdrFcShort( 0x2 ),      /* Offset= 2 (1170) */
12804 /* 1170 */      
12805                         0x1b,           /* FC_CARRAY */
12806                         0x3,            /* 3 */
12807 /* 1172 */      NdrFcShort( 0x4 ),      /* 4 */
12808 /* 1174 */      0x29,           /* Corr desc:  parameter, FC_ULONG */
12809                         0x0,            /*  */
12810 #ifndef _ALPHA_
12811 /* 1176 */      NdrFcShort( 0x24 ),     /* x86, MIPS, PPC Stack size/offset = 36 */
12812 #else
12813                         NdrFcShort( 0x48 ),     /* Alpha Stack size/offset = 72 */
12814 #endif
12815 /* 1178 */      0x8,            /* FC_LONG */
12816                         0x5b,           /* FC_END */
12817 /* 1180 */      
12818                         0x11, 0x0,      /* FC_RP */
12819 /* 1182 */      NdrFcShort( 0x2 ),      /* Offset= 2 (1184) */
12820 /* 1184 */      
12821                         0x21,           /* FC_BOGUS_ARRAY */
12822                         0x3,            /* 3 */
12823 /* 1186 */      NdrFcShort( 0x0 ),      /* 0 */
12824 /* 1188 */      0x29,           /* Corr desc:  parameter, FC_ULONG */
12825                         0x0,            /*  */
12826 #ifndef _ALPHA_
12827 /* 1190 */      NdrFcShort( 0x24 ),     /* x86, MIPS, PPC Stack size/offset = 36 */
12828 #else
12829                         NdrFcShort( 0x48 ),     /* Alpha Stack size/offset = 72 */
12830 #endif
12831 /* 1192 */      NdrFcLong( 0xffffffff ),        /* -1 */
12832 /* 1196 */      0x4c,           /* FC_EMBEDDED_COMPLEX */
12833                         0x0,            /* 0 */
12834 /* 1198 */      NdrFcShort( 0xffffffa8 ),       /* Offset= -88 (1110) */
12835 /* 1200 */      0x5c,           /* FC_PAD */
12836                         0x5b,           /* FC_END */
12837 /* 1202 */      
12838                         0x11, 0x0,      /* FC_RP */
12839 /* 1204 */      NdrFcShort( 0x2 ),      /* Offset= 2 (1206) */
12840 /* 1206 */      
12841                         0x21,           /* FC_BOGUS_ARRAY */
12842                         0x3,            /* 3 */
12843 /* 1208 */      NdrFcShort( 0x0 ),      /* 0 */
12844 /* 1210 */      0x29,           /* Corr desc:  parameter, FC_ULONG */
12845                         0x0,            /*  */
12846 #ifndef _ALPHA_
12847 /* 1212 */      NdrFcShort( 0x4 ),      /* x86, MIPS, PPC Stack size/offset = 4 */
12848 #else
12849                         NdrFcShort( 0x8 ),      /* Alpha Stack size/offset = 8 */
12850 #endif
12851 /* 1214 */      0x29,           /* Corr desc:  parameter, FC_ULONG */
12852                         0x54,           /* FC_DEREFERENCE */
12853 #ifndef _ALPHA_
12854 /* 1216 */      NdrFcShort( 0xc ),      /* x86, MIPS, PPC Stack size/offset = 12 */
12855 #else
12856                         NdrFcShort( 0x18 ),     /* Alpha Stack size/offset = 24 */
12857 #endif
12858 /* 1218 */      0x4c,           /* FC_EMBEDDED_COMPLEX */
12859                         0x0,            /* 0 */
12860 /* 1220 */      NdrFcShort( 0xffffff92 ),       /* Offset= -110 (1110) */
12861 /* 1222 */      0x5c,           /* FC_PAD */
12862                         0x5b,           /* FC_END */
12863 /* 1224 */      
12864                         0x11, 0x14,     /* FC_RP [alloced_on_stack] */
12865 /* 1226 */      NdrFcShort( 0x2 ),      /* Offset= 2 (1228) */
12866 /* 1228 */      
12867                         0x2f,           /* FC_IP */
12868                         0x5a,           /* FC_CONSTANT_IID */
12869 /* 1230 */      NdrFcLong( 0x20404 ),   /* 132100 */
12870 /* 1234 */      NdrFcShort( 0x0 ),      /* 0 */
12871 /* 1236 */      NdrFcShort( 0x0 ),      /* 0 */
12872 /* 1238 */      0xc0,           /* 192 */
12873                         0x0,            /* 0 */
12874 /* 1240 */      0x0,            /* 0 */
12875                         0x0,            /* 0 */
12876 /* 1242 */      0x0,            /* 0 */
12877                         0x0,            /* 0 */
12878 /* 1244 */      0x0,            /* 0 */
12879                         0x46,           /* 70 */
12880 /* 1246 */      
12881                         0x11, 0x8,      /* FC_RP [simple_pointer] */
12882 /* 1248 */      
12883                         0x25,           /* FC_C_WSTRING */
12884                         0x5c,           /* FC_PAD */
12885 /* 1250 */      
12886                         0x11, 0xc,      /* FC_RP [alloced_on_stack] [simple_pointer] */
12887 /* 1252 */      0xe,            /* FC_ENUM32 */
12888                         0x5c,           /* FC_PAD */
12889 /* 1254 */      
12890                         0x11, 0x14,     /* FC_RP [alloced_on_stack] */
12891 /* 1256 */      NdrFcShort( 0x2 ),      /* Offset= 2 (1258) */
12892 /* 1258 */      
12893                         0x13, 0x0,      /* FC_OP */
12894 /* 1260 */      NdrFcShort( 0xaa ),     /* Offset= 170 (1430) */
12895 /* 1262 */      
12896                         0x2b,           /* FC_NON_ENCAPSULATED_UNION */
12897                         0x7,            /* FC_USHORT */
12898 /* 1264 */      0x7,            /* Corr desc: FC_USHORT */
12899                         0x0,            /*  */
12900 /* 1266 */      NdrFcShort( 0x4 ),      /* 4 */
12901 /* 1268 */      NdrFcShort( 0x2 ),      /* Offset= 2 (1270) */
12902 /* 1270 */      NdrFcShort( 0x4 ),      /* 4 */
12903 /* 1272 */      NdrFcShort( 0x4 ),      /* 4 */
12904 /* 1274 */      NdrFcLong( 0x1a ),      /* 26 */
12905 /* 1278 */      NdrFcShort( 0x16 ),     /* Offset= 22 (1300) */
12906 /* 1280 */      NdrFcLong( 0x1b ),      /* 27 */
12907 /* 1284 */      NdrFcShort( 0x10 ),     /* Offset= 16 (1300) */
12908 /* 1286 */      NdrFcLong( 0x1c ),      /* 28 */
12909 /* 1290 */      NdrFcShort( 0xe ),      /* Offset= 14 (1304) */
12910 /* 1292 */      NdrFcLong( 0x1d ),      /* 29 */
12911 /* 1296 */      NdrFcShort( 0x8008 ),   /* Simple arm type: FC_LONG */
12912 /* 1298 */      NdrFcShort( 0x0 ),      /* Offset= 0 (1298) */
12913 /* 1300 */      
12914                         0x13, 0x0,      /* FC_OP */
12915 /* 1302 */      NdrFcShort( 0x24 ),     /* Offset= 36 (1338) */
12916 /* 1304 */      
12917                         0x13, 0x0,      /* FC_OP */
12918 /* 1306 */      NdrFcShort( 0x10 ),     /* Offset= 16 (1322) */
12919 /* 1308 */      
12920                         0x1b,           /* FC_CARRAY */
12921                         0x3,            /* 3 */
12922 /* 1310 */      NdrFcShort( 0x8 ),      /* 8 */
12923 /* 1312 */      0x7,            /* Corr desc: FC_USHORT */
12924                         0x0,            /*  */
12925 /* 1314 */      NdrFcShort( 0xfffc ),   /* -4 */
12926 /* 1316 */      0x4c,           /* FC_EMBEDDED_COMPLEX */
12927                         0x0,            /* 0 */
12928 /* 1318 */      NdrFcShort( 0xfffffe78 ),       /* Offset= -392 (926) */
12929 /* 1320 */      0x5c,           /* FC_PAD */
12930                         0x5b,           /* FC_END */
12931 /* 1322 */      
12932                         0x1a,           /* FC_BOGUS_STRUCT */
12933                         0x3,            /* 3 */
12934 /* 1324 */      NdrFcShort( 0x4 ),      /* 4 */
12935 /* 1326 */      NdrFcShort( 0xffffffee ),       /* Offset= -18 (1308) */
12936 /* 1328 */      NdrFcShort( 0x0 ),      /* Offset= 0 (1328) */
12937 /* 1330 */      0x4c,           /* FC_EMBEDDED_COMPLEX */
12938                         0x0,            /* 0 */
12939 /* 1332 */      NdrFcShort( 0x6 ),      /* Offset= 6 (1338) */
12940 /* 1334 */      0x6,            /* FC_SHORT */
12941                         0x3e,           /* FC_STRUCTPAD2 */
12942 /* 1336 */      0x5c,           /* FC_PAD */
12943                         0x5b,           /* FC_END */
12944 /* 1338 */      
12945                         0x1a,           /* FC_BOGUS_STRUCT */
12946                         0x3,            /* 3 */
12947 /* 1340 */      NdrFcShort( 0x8 ),      /* 8 */
12948 /* 1342 */      NdrFcShort( 0x0 ),      /* 0 */
12949 /* 1344 */      NdrFcShort( 0x0 ),      /* Offset= 0 (1344) */
12950 /* 1346 */      0x4c,           /* FC_EMBEDDED_COMPLEX */
12951                         0x0,            /* 0 */
12952 /* 1348 */      NdrFcShort( 0xffffffaa ),       /* Offset= -86 (1262) */
12953 /* 1350 */      0x6,            /* FC_SHORT */
12954                         0x3e,           /* FC_STRUCTPAD2 */
12955 /* 1352 */      0x5c,           /* FC_PAD */
12956                         0x5b,           /* FC_END */
12957 /* 1354 */      
12958                         0x1a,           /* FC_BOGUS_STRUCT */
12959                         0x3,            /* 3 */
12960 /* 1356 */      NdrFcShort( 0x18 ),     /* 24 */
12961 /* 1358 */      NdrFcShort( 0x0 ),      /* 0 */
12962 /* 1360 */      NdrFcShort( 0x0 ),      /* Offset= 0 (1360) */
12963 /* 1362 */      0x8,            /* FC_LONG */
12964                         0x4c,           /* FC_EMBEDDED_COMPLEX */
12965 /* 1364 */      0x4,            /* 4 */
12966                         NdrFcShort( 0xffffff01 ),       /* Offset= -255 (1110) */
12967                         0x5b,           /* FC_END */
12968 /* 1368 */      
12969                         0x1a,           /* FC_BOGUS_STRUCT */
12970                         0x3,            /* 3 */
12971 /* 1370 */      NdrFcShort( 0x8 ),      /* 8 */
12972 /* 1372 */      NdrFcShort( 0x0 ),      /* 0 */
12973 /* 1374 */      NdrFcShort( 0x6 ),      /* Offset= 6 (1380) */
12974 /* 1376 */      0x36,           /* FC_POINTER */
12975                         0x6,            /* FC_SHORT */
12976 /* 1378 */      0x3e,           /* FC_STRUCTPAD2 */
12977                         0x5b,           /* FC_END */
12978 /* 1380 */      
12979                         0x13, 0x0,      /* FC_OP */
12980 /* 1382 */      NdrFcShort( 0xffffffe4 ),       /* Offset= -28 (1354) */
12981 /* 1384 */      
12982                         0x1a,           /* FC_BOGUS_STRUCT */
12983                         0x3,            /* 3 */
12984 /* 1386 */      NdrFcShort( 0x10 ),     /* 16 */
12985 /* 1388 */      NdrFcShort( 0x0 ),      /* 0 */
12986 /* 1390 */      NdrFcShort( 0x0 ),      /* Offset= 0 (1390) */
12987 /* 1392 */      0x4c,           /* FC_EMBEDDED_COMPLEX */
12988                         0x0,            /* 0 */
12989 /* 1394 */      NdrFcShort( 0xffffffc8 ),       /* Offset= -56 (1338) */
12990 /* 1396 */      0x4c,           /* FC_EMBEDDED_COMPLEX */
12991                         0x0,            /* 0 */
12992 /* 1398 */      NdrFcShort( 0xffffffe2 ),       /* Offset= -30 (1368) */
12993 /* 1400 */      0x5c,           /* FC_PAD */
12994                         0x5b,           /* FC_END */
12995 /* 1402 */      
12996                         0x1b,           /* FC_CARRAY */
12997                         0x3,            /* 3 */
12998 /* 1404 */      NdrFcShort( 0x4 ),      /* 4 */
12999 /* 1406 */      0x16,           /* Corr desc:  field pointer, FC_SHORT */
13000                         0x0,            /*  */
13001 /* 1408 */      NdrFcShort( 0x1e ),     /* 30 */
13002 /* 1410 */      0x8,            /* FC_LONG */
13003                         0x5b,           /* FC_END */
13004 /* 1412 */      
13005                         0x21,           /* FC_BOGUS_ARRAY */
13006                         0x3,            /* 3 */
13007 /* 1414 */      NdrFcShort( 0x0 ),      /* 0 */
13008 /* 1416 */      0x16,           /* Corr desc:  field pointer, FC_SHORT */
13009                         0x0,            /*  */
13010 /* 1418 */      NdrFcShort( 0x18 ),     /* 24 */
13011 /* 1420 */      NdrFcLong( 0xffffffff ),        /* -1 */
13012 /* 1424 */      0x4c,           /* FC_EMBEDDED_COMPLEX */
13013                         0x0,            /* 0 */
13014 /* 1426 */      NdrFcShort( 0xffffffd6 ),       /* Offset= -42 (1384) */
13015 /* 1428 */      0x5c,           /* FC_PAD */
13016                         0x5b,           /* FC_END */
13017 /* 1430 */      
13018                         0x1a,           /* FC_BOGUS_STRUCT */
13019                         0x3,            /* 3 */
13020 /* 1432 */      NdrFcShort( 0x34 ),     /* 52 */
13021 /* 1434 */      NdrFcShort( 0x0 ),      /* 0 */
13022 /* 1436 */      NdrFcShort( 0x14 ),     /* Offset= 20 (1456) */
13023 /* 1438 */      0x8,            /* FC_LONG */
13024                         0x36,           /* FC_POINTER */
13025 /* 1440 */      0x36,           /* FC_POINTER */
13026                         0xe,            /* FC_ENUM32 */
13027 /* 1442 */      0xe,            /* FC_ENUM32 */
13028                         0xe,            /* FC_ENUM32 */
13029 /* 1444 */      0x6,            /* FC_SHORT */
13030                         0x6,            /* FC_SHORT */
13031 /* 1446 */      0x6,            /* FC_SHORT */
13032                         0x6,            /* FC_SHORT */
13033 /* 1448 */      0x4c,           /* FC_EMBEDDED_COMPLEX */
13034                         0x0,            /* 0 */
13035 /* 1450 */      NdrFcShort( 0xffffffbe ),       /* Offset= -66 (1384) */
13036 /* 1452 */      0x6,            /* FC_SHORT */
13037                         0x3e,           /* FC_STRUCTPAD2 */
13038 /* 1454 */      0x5c,           /* FC_PAD */
13039                         0x5b,           /* FC_END */
13040 /* 1456 */      
13041                         0x13, 0x0,      /* FC_OP */
13042 /* 1458 */      NdrFcShort( 0xffffffc8 ),       /* Offset= -56 (1402) */
13043 /* 1460 */      
13044                         0x13, 0x0,      /* FC_OP */
13045 /* 1462 */      NdrFcShort( 0xffffffce ),       /* Offset= -50 (1412) */
13046 /* 1464 */      
13047                         0x11, 0x14,     /* FC_RP [alloced_on_stack] */
13048 /* 1466 */      NdrFcShort( 0x2 ),      /* Offset= 2 (1468) */
13049 /* 1468 */      
13050                         0x13, 0x0,      /* FC_OP */
13051 /* 1470 */      NdrFcShort( 0x2c ),     /* Offset= 44 (1514) */
13052 /* 1472 */      
13053                         0x2b,           /* FC_NON_ENCAPSULATED_UNION */
13054                         0x8,            /* FC_LONG */
13055 /* 1474 */      0x8,            /* Corr desc: FC_LONG */
13056                         0x0,            /*  */
13057 /* 1476 */      NdrFcShort( 0x18 ),     /* 24 */
13058 /* 1478 */      NdrFcShort( 0x2 ),      /* Offset= 2 (1480) */
13059 /* 1480 */      NdrFcShort( 0x4 ),      /* 4 */
13060 /* 1482 */      NdrFcShort( 0x4 ),      /* 4 */
13061 /* 1484 */      NdrFcLong( 0x0 ),       /* 0 */
13062 /* 1488 */      NdrFcShort( 0x8008 ),   /* Simple arm type: FC_LONG */
13063 /* 1490 */      NdrFcLong( 0x3 ),       /* 3 */
13064 /* 1494 */      NdrFcShort( 0x8008 ),   /* Simple arm type: FC_LONG */
13065 /* 1496 */      NdrFcLong( 0x1 ),       /* 1 */
13066 /* 1500 */      NdrFcShort( 0x8008 ),   /* Simple arm type: FC_LONG */
13067 /* 1502 */      NdrFcLong( 0x2 ),       /* 2 */
13068 /* 1506 */      NdrFcShort( 0x4 ),      /* Offset= 4 (1510) */
13069 /* 1508 */      NdrFcShort( 0xffffffff ),       /* Offset= -1 (1507) */
13070 /* 1510 */      
13071                         0x13, 0x0,      /* FC_OP */
13072 /* 1512 */      NdrFcShort( 0xfffffe6e ),       /* Offset= -402 (1110) */
13073 /* 1514 */      
13074                         0x1a,           /* FC_BOGUS_STRUCT */
13075                         0x3,            /* 3 */
13076 /* 1516 */      NdrFcShort( 0x24 ),     /* 36 */
13077 /* 1518 */      NdrFcShort( 0x0 ),      /* 0 */
13078 /* 1520 */      NdrFcShort( 0x10 ),     /* Offset= 16 (1536) */
13079 /* 1522 */      0x8,            /* FC_LONG */
13080                         0x36,           /* FC_POINTER */
13081 /* 1524 */      0x4c,           /* FC_EMBEDDED_COMPLEX */
13082                         0x0,            /* 0 */
13083 /* 1526 */      NdrFcShort( 0xffffffca ),       /* Offset= -54 (1472) */
13084 /* 1528 */      0x4c,           /* FC_EMBEDDED_COMPLEX */
13085                         0x0,            /* 0 */
13086 /* 1530 */      NdrFcShort( 0xffffff6e ),       /* Offset= -146 (1384) */
13087 /* 1532 */      0x6,            /* FC_SHORT */
13088                         0x38,           /* FC_ALIGNM4 */
13089 /* 1534 */      0xe,            /* FC_ENUM32 */
13090                         0x5b,           /* FC_END */
13091 /* 1536 */      
13092                         0x13, 0x8,      /* FC_OP [simple_pointer] */
13093 /* 1538 */      
13094                         0x25,           /* FC_C_WSTRING */
13095                         0x5c,           /* FC_PAD */
13096 /* 1540 */      
13097                         0x11, 0x14,     /* FC_RP [alloced_on_stack] */
13098 /* 1542 */      NdrFcShort( 0x2 ),      /* Offset= 2 (1544) */
13099 /* 1544 */      
13100                         0x2f,           /* FC_IP */
13101                         0x5a,           /* FC_CONSTANT_IID */
13102 /* 1546 */      NdrFcLong( 0x20403 ),   /* 132099 */
13103 /* 1550 */      NdrFcShort( 0x0 ),      /* 0 */
13104 /* 1552 */      NdrFcShort( 0x0 ),      /* 0 */
13105 /* 1554 */      0xc0,           /* 192 */
13106                         0x0,            /* 0 */
13107 /* 1556 */      0x0,            /* 0 */
13108                         0x0,            /* 0 */
13109 /* 1558 */      0x0,            /* 0 */
13110                         0x0,            /* 0 */
13111 /* 1560 */      0x0,            /* 0 */
13112                         0x46,           /* 70 */
13113 /* 1562 */      
13114                         0x11, 0x4,      /* FC_RP [alloced_on_stack] */
13115 /* 1564 */      NdrFcShort( 0x4 ),      /* Offset= 4 (1568) */
13116 /* 1566 */      0x8,            /* FC_LONG */
13117                         0x5c,           /* FC_PAD */
13118 /* 1568 */      0xb4,           /* FC_USER_MARSHAL */
13119                         0x3,            /* 3 */
13120 /* 1570 */      NdrFcShort( 0x2 ),      /* 2 */
13121 /* 1572 */      NdrFcShort( 0xc ),      /* 12 */
13122 /* 1574 */      NdrFcShort( 0x4 ),      /* 4 */
13123 /* 1576 */      NdrFcShort( 0xfffffff6 ),       /* Offset= -10 (1566) */
13124 /* 1578 */      
13125                         0x11, 0x14,     /* FC_RP [alloced_on_stack] */
13126 /* 1580 */      NdrFcShort( 0x2 ),      /* Offset= 2 (1582) */
13127 /* 1582 */      
13128                         0x13, 0x0,      /* FC_OP */
13129 /* 1584 */      NdrFcShort( 0xe ),      /* Offset= 14 (1598) */
13130 /* 1586 */      
13131                         0x1a,           /* FC_BOGUS_STRUCT */
13132                         0x3,            /* 3 */
13133 /* 1588 */      NdrFcShort( 0x8 ),      /* 8 */
13134 /* 1590 */      NdrFcShort( 0x0 ),      /* 0 */
13135 /* 1592 */      NdrFcShort( 0x0 ),      /* Offset= 0 (1592) */
13136 /* 1594 */      0x8,            /* FC_LONG */
13137                         0x6,            /* FC_SHORT */
13138 /* 1596 */      0x3e,           /* FC_STRUCTPAD2 */
13139                         0x5b,           /* FC_END */
13140 /* 1598 */      
13141                         0x1a,           /* FC_BOGUS_STRUCT */
13142                         0x3,            /* 3 */
13143 /* 1600 */      NdrFcShort( 0x4c ),     /* 76 */
13144 /* 1602 */      NdrFcShort( 0x0 ),      /* 0 */
13145 /* 1604 */      NdrFcShort( 0x1e ),     /* Offset= 30 (1634) */
13146 /* 1606 */      0x4c,           /* FC_EMBEDDED_COMPLEX */
13147                         0x0,            /* 0 */
13148 /* 1608 */      NdrFcShort( 0xfffff9de ),       /* Offset= -1570 (38) */
13149 /* 1610 */      0x8,            /* FC_LONG */
13150                         0x8,            /* FC_LONG */
13151 /* 1612 */      0x8,            /* FC_LONG */
13152                         0x8,            /* FC_LONG */
13153 /* 1614 */      0x36,           /* FC_POINTER */
13154                         0x8,            /* FC_LONG */
13155 /* 1616 */      0xe,            /* FC_ENUM32 */
13156                         0x6,            /* FC_SHORT */
13157 /* 1618 */      0x6,            /* FC_SHORT */
13158                         0x6,            /* FC_SHORT */
13159 /* 1620 */      0x6,            /* FC_SHORT */
13160                         0x6,            /* FC_SHORT */
13161 /* 1622 */      0x6,            /* FC_SHORT */
13162                         0x6,            /* FC_SHORT */
13163 /* 1624 */      0x6,            /* FC_SHORT */
13164                         0x4c,           /* FC_EMBEDDED_COMPLEX */
13165 /* 1626 */      0x0,            /* 0 */
13166                         NdrFcShort( 0xfffffedf ),       /* Offset= -289 (1338) */
13167                         0x4c,           /* FC_EMBEDDED_COMPLEX */
13168 /* 1630 */      0x0,            /* 0 */
13169                         NdrFcShort( 0xffffffd3 ),       /* Offset= -45 (1586) */
13170                         0x5b,           /* FC_END */
13171 /* 1634 */      
13172                         0x13, 0x8,      /* FC_OP [simple_pointer] */
13173 /* 1636 */      
13174                         0x25,           /* FC_C_WSTRING */
13175                         0x5c,           /* FC_PAD */
13176 /* 1638 */      
13177                         0x11, 0x4,      /* FC_RP [alloced_on_stack] */
13178 /* 1640 */      NdrFcShort( 0x4 ),      /* Offset= 4 (1644) */
13179 /* 1642 */      0x8,            /* FC_LONG */
13180                         0x5c,           /* FC_PAD */
13181 /* 1644 */      0xb4,           /* FC_USER_MARSHAL */
13182                         0x3,            /* 3 */
13183 /* 1646 */      NdrFcShort( 0x2 ),      /* 2 */
13184 /* 1648 */      NdrFcShort( 0xc ),      /* 12 */
13185 /* 1650 */      NdrFcShort( 0x4 ),      /* 4 */
13186 /* 1652 */      NdrFcShort( 0xfffffff6 ),       /* Offset= -10 (1642) */
13187 /* 1654 */      
13188                         0x11, 0x4,      /* FC_RP [alloced_on_stack] */
13189 /* 1656 */      NdrFcShort( 0x4 ),      /* Offset= 4 (1660) */
13190 /* 1658 */      0x8,            /* FC_LONG */
13191                         0x5c,           /* FC_PAD */
13192 /* 1660 */      0xb4,           /* FC_USER_MARSHAL */
13193                         0x3,            /* 3 */
13194 /* 1662 */      NdrFcShort( 0x2 ),      /* 2 */
13195 /* 1664 */      NdrFcShort( 0xc ),      /* 12 */
13196 /* 1666 */      NdrFcShort( 0x4 ),      /* 4 */
13197 /* 1668 */      NdrFcShort( 0xfffffff6 ),       /* Offset= -10 (1658) */
13198 /* 1670 */      
13199                         0x11, 0x4,      /* FC_RP [alloced_on_stack] */
13200 /* 1672 */      NdrFcShort( 0x4 ),      /* Offset= 4 (1676) */
13201 /* 1674 */      0x8,            /* FC_LONG */
13202                         0x5c,           /* FC_PAD */
13203 /* 1676 */      0xb4,           /* FC_USER_MARSHAL */
13204                         0x3,            /* 3 */
13205 /* 1678 */      NdrFcShort( 0x2 ),      /* 2 */
13206 /* 1680 */      NdrFcShort( 0xc ),      /* 12 */
13207 /* 1682 */      NdrFcShort( 0x4 ),      /* 4 */
13208 /* 1684 */      NdrFcShort( 0xfffffff6 ),       /* Offset= -10 (1674) */
13209 /* 1686 */      
13210                         0x11, 0x0,      /* FC_RP */
13211 /* 1688 */      NdrFcShort( 0x2 ),      /* Offset= 2 (1690) */
13212 /* 1690 */      
13213                         0x21,           /* FC_BOGUS_ARRAY */
13214                         0x3,            /* 3 */
13215 /* 1692 */      NdrFcShort( 0x0 ),      /* 0 */
13216 /* 1694 */      0x29,           /* Corr desc:  parameter, FC_ULONG */
13217                         0x0,            /*  */
13218 #ifndef _ALPHA_
13219 /* 1696 */      NdrFcShort( 0xc ),      /* x86, MIPS, PPC Stack size/offset = 12 */
13220 #else
13221                         NdrFcShort( 0x18 ),     /* Alpha Stack size/offset = 24 */
13222 #endif
13223 /* 1698 */      0x29,           /* Corr desc:  parameter, FC_ULONG */
13224                         0x54,           /* FC_DEREFERENCE */
13225 #ifndef _ALPHA_
13226 /* 1700 */      NdrFcShort( 0x10 ),     /* x86, MIPS, PPC Stack size/offset = 16 */
13227 #else
13228                         NdrFcShort( 0x20 ),     /* Alpha Stack size/offset = 32 */
13229 #endif
13230 /* 1702 */      0x4c,           /* FC_EMBEDDED_COMPLEX */
13231                         0x0,            /* 0 */
13232 /* 1704 */      NdrFcShort( 0xfffffdc0 ),       /* Offset= -576 (1128) */
13233 /* 1706 */      0x5c,           /* FC_PAD */
13234                         0x5b,           /* FC_END */
13235 /* 1708 */      
13236                         0x11, 0x4,      /* FC_RP [alloced_on_stack] */
13237 /* 1710 */      NdrFcShort( 0xfffffdba ),       /* Offset= -582 (1128) */
13238 /* 1712 */      
13239                         0x11, 0xc,      /* FC_RP [alloced_on_stack] [simple_pointer] */
13240 /* 1714 */      0x6,            /* FC_SHORT */
13241                         0x5c,           /* FC_PAD */
13242 /* 1716 */      
13243                         0x11, 0x14,     /* FC_RP [alloced_on_stack] */
13244 /* 1718 */      NdrFcShort( 0x2 ),      /* Offset= 2 (1720) */
13245 /* 1720 */      
13246                         0x2f,           /* FC_IP */
13247                         0x5c,           /* FC_PAD */
13248 /* 1722 */      0x28,           /* Corr desc:  parameter, FC_LONG */
13249                         0x0,            /*  */
13250 #ifndef _ALPHA_
13251 /* 1724 */      NdrFcShort( 0x4 ),      /* x86, MIPS, PPC Stack size/offset = 4 */
13252 #else
13253                         NdrFcShort( 0x8 ),      /* Alpha Stack size/offset = 8 */
13254 #endif
13255 /* 1726 */      
13256                         0x11, 0x14,     /* FC_RP [alloced_on_stack] */
13257 /* 1728 */      NdrFcShort( 0x2 ),      /* Offset= 2 (1730) */
13258 /* 1730 */      
13259                         0x2f,           /* FC_IP */
13260                         0x5a,           /* FC_CONSTANT_IID */
13261 /* 1732 */      NdrFcLong( 0x20402 ),   /* 132098 */
13262 /* 1736 */      NdrFcShort( 0x0 ),      /* 0 */
13263 /* 1738 */      NdrFcShort( 0x0 ),      /* 0 */
13264 /* 1740 */      0xc0,           /* 192 */
13265                         0x0,            /* 0 */
13266 /* 1742 */      0x0,            /* 0 */
13267                         0x0,            /* 0 */
13268 /* 1744 */      0x0,            /* 0 */
13269                         0x0,            /* 0 */
13270 /* 1746 */      0x0,            /* 0 */
13271                         0x46,           /* 70 */
13272 /* 1748 */      
13273                         0x11, 0x4,      /* FC_RP [alloced_on_stack] */
13274 /* 1750 */      NdrFcShort( 0x26 ),     /* Offset= 38 (1788) */
13275 /* 1752 */      
13276                         0x1a,           /* FC_BOGUS_STRUCT */
13277                         0x3,            /* 3 */
13278 /* 1754 */      NdrFcShort( 0x20 ),     /* 32 */
13279 /* 1756 */      NdrFcShort( 0x0 ),      /* 0 */
13280 /* 1758 */      NdrFcShort( 0x0 ),      /* Offset= 0 (1758) */
13281 /* 1760 */      0x4c,           /* FC_EMBEDDED_COMPLEX */
13282                         0x0,            /* 0 */
13283 /* 1762 */      NdrFcShort( 0xfffff944 ),       /* Offset= -1724 (38) */
13284 /* 1764 */      0x4c,           /* FC_EMBEDDED_COMPLEX */
13285                         0x0,            /* 0 */
13286 /* 1766 */      NdrFcShort( 0xfffffd70 ),       /* Offset= -656 (1110) */
13287 /* 1768 */      0x5c,           /* FC_PAD */
13288                         0x5b,           /* FC_END */
13289 /* 1770 */      
13290                         0x21,           /* FC_BOGUS_ARRAY */
13291                         0x3,            /* 3 */
13292 /* 1772 */      NdrFcShort( 0x0 ),      /* 0 */
13293 /* 1774 */      0x19,           /* Corr desc:  field pointer, FC_ULONG */
13294                         0x0,            /*  */
13295 /* 1776 */      NdrFcShort( 0x0 ),      /* 0 */
13296 /* 1778 */      NdrFcLong( 0xffffffff ),        /* -1 */
13297 /* 1782 */      0x4c,           /* FC_EMBEDDED_COMPLEX */
13298                         0x0,            /* 0 */
13299 /* 1784 */      NdrFcShort( 0xffffffe0 ),       /* Offset= -32 (1752) */
13300 /* 1786 */      0x5c,           /* FC_PAD */
13301                         0x5b,           /* FC_END */
13302 /* 1788 */      
13303                         0x1a,           /* FC_BOGUS_STRUCT */
13304                         0x3,            /* 3 */
13305 /* 1790 */      NdrFcShort( 0x8 ),      /* 8 */
13306 /* 1792 */      NdrFcShort( 0x0 ),      /* 0 */
13307 /* 1794 */      NdrFcShort( 0x6 ),      /* Offset= 6 (1800) */
13308 /* 1796 */      0x8,            /* FC_LONG */
13309                         0x36,           /* FC_POINTER */
13310 /* 1798 */      0x5c,           /* FC_PAD */
13311                         0x5b,           /* FC_END */
13312 /* 1800 */      
13313                         0x13, 0x0,      /* FC_OP */
13314 /* 1802 */      NdrFcShort( 0xffffffe0 ),       /* Offset= -32 (1770) */
13315 /* 1804 */      
13316                         0x11, 0x14,     /* FC_RP [alloced_on_stack] */
13317 /* 1806 */      NdrFcShort( 0x2 ),      /* Offset= 2 (1808) */
13318 /* 1808 */      
13319                         0x13, 0x0,      /* FC_OP */
13320 /* 1810 */      NdrFcShort( 0x2 ),      /* Offset= 2 (1812) */
13321 /* 1812 */      
13322                         0x1a,           /* FC_BOGUS_STRUCT */
13323                         0x3,            /* 3 */
13324 /* 1814 */      NdrFcShort( 0x20 ),     /* 32 */
13325 /* 1816 */      NdrFcShort( 0x0 ),      /* 0 */
13326 /* 1818 */      NdrFcShort( 0x0 ),      /* Offset= 0 (1818) */
13327 /* 1820 */      0x4c,           /* FC_EMBEDDED_COMPLEX */
13328                         0x0,            /* 0 */
13329 /* 1822 */      NdrFcShort( 0xfffff908 ),       /* Offset= -1784 (38) */
13330 /* 1824 */      0x8,            /* FC_LONG */
13331                         0xe,            /* FC_ENUM32 */
13332 /* 1826 */      0x6,            /* FC_SHORT */
13333                         0x6,            /* FC_SHORT */
13334 /* 1828 */      0x6,            /* FC_SHORT */
13335                         0x3e,           /* FC_STRUCTPAD2 */
13336 /* 1830 */      0x5c,           /* FC_PAD */
13337                         0x5b,           /* FC_END */
13338 /* 1832 */      
13339                         0x11, 0x4,      /* FC_RP [alloced_on_stack] */
13340 /* 1834 */      NdrFcShort( 0x4 ),      /* Offset= 4 (1838) */
13341 /* 1836 */      0x8,            /* FC_LONG */
13342                         0x5c,           /* FC_PAD */
13343 /* 1838 */      0xb4,           /* FC_USER_MARSHAL */
13344                         0x3,            /* 3 */
13345 /* 1840 */      NdrFcShort( 0x2 ),      /* 2 */
13346 /* 1842 */      NdrFcShort( 0xc ),      /* 12 */
13347 /* 1844 */      NdrFcShort( 0x4 ),      /* 4 */
13348 /* 1846 */      NdrFcShort( 0xfffffff6 ),       /* Offset= -10 (1836) */
13349 /* 1848 */      
13350                         0x11, 0x0,      /* FC_RP */
13351 /* 1850 */      NdrFcShort( 0x2 ),      /* Offset= 2 (1852) */
13352 /* 1852 */      
13353                         0x21,           /* FC_BOGUS_ARRAY */
13354                         0x3,            /* 3 */
13355 /* 1854 */      NdrFcShort( 0x0 ),      /* 0 */
13356 /* 1856 */      0x27,           /* Corr desc:  parameter, FC_USHORT */
13357                         0x54,           /* FC_DEREFERENCE */
13358 #ifndef _ALPHA_
13359 /* 1858 */      NdrFcShort( 0x14 ),     /* x86, MIPS, PPC Stack size/offset = 20 */
13360 #else
13361                         NdrFcShort( 0x28 ),     /* Alpha Stack size/offset = 40 */
13362 #endif
13363 /* 1860 */      0x27,           /* Corr desc:  parameter, FC_USHORT */
13364                         0x54,           /* FC_DEREFERENCE */
13365 #ifndef _ALPHA_
13366 /* 1862 */      NdrFcShort( 0x14 ),     /* x86, MIPS, PPC Stack size/offset = 20 */
13367 #else
13368                         NdrFcShort( 0x28 ),     /* Alpha Stack size/offset = 40 */
13369 #endif
13370 /* 1864 */      0x4c,           /* FC_EMBEDDED_COMPLEX */
13371                         0x0,            /* 0 */
13372 /* 1866 */      NdrFcShort( 0xfffff8c0 ),       /* Offset= -1856 (10) */
13373 /* 1868 */      0x5c,           /* FC_PAD */
13374                         0x5b,           /* FC_END */
13375 /* 1870 */      
13376                         0x11, 0x0,      /* FC_RP */
13377 /* 1872 */      NdrFcShort( 0x2 ),      /* Offset= 2 (1874) */
13378 /* 1874 */      
13379                         0x1c,           /* FC_CVARRAY */
13380                         0x3,            /* 3 */
13381 /* 1876 */      NdrFcShort( 0x4 ),      /* 4 */
13382 /* 1878 */      0x27,           /* Corr desc:  parameter, FC_USHORT */
13383                         0x54,           /* FC_DEREFERENCE */
13384 #ifndef _ALPHA_
13385 /* 1880 */      NdrFcShort( 0x14 ),     /* x86, MIPS, PPC Stack size/offset = 20 */
13386 #else
13387                         NdrFcShort( 0x28 ),     /* Alpha Stack size/offset = 40 */
13388 #endif
13389 /* 1882 */      0x27,           /* Corr desc:  parameter, FC_USHORT */
13390                         0x54,           /* FC_DEREFERENCE */
13391 #ifndef _ALPHA_
13392 /* 1884 */      NdrFcShort( 0x14 ),     /* x86, MIPS, PPC Stack size/offset = 20 */
13393 #else
13394                         NdrFcShort( 0x28 ),     /* Alpha Stack size/offset = 40 */
13395 #endif
13396 /* 1886 */      0x8,            /* FC_LONG */
13397                         0x5b,           /* FC_END */
13398 /* 1888 */      
13399                         0x11, 0x8,      /* FC_RP [simple_pointer] */
13400 /* 1890 */      0x6,            /* FC_SHORT */
13401                         0x5c,           /* FC_PAD */
13402 /* 1892 */      
13403                         0x11, 0x4,      /* FC_RP [alloced_on_stack] */
13404 /* 1894 */      NdrFcShort( 0xfffff8c0 ),       /* Offset= -1856 (38) */
13405 /* 1896 */      
13406                         0x11, 0x14,     /* FC_RP [alloced_on_stack] */
13407 /* 1898 */      NdrFcShort( 0x2 ),      /* Offset= 2 (1900) */
13408 /* 1900 */      
13409                         0x2f,           /* FC_IP */
13410                         0x5c,           /* FC_PAD */
13411 /* 1902 */      0x28,           /* Corr desc:  parameter, FC_LONG */
13412                         0x0,            /*  */
13413 #ifndef _ALPHA_
13414 /* 1904 */      NdrFcShort( 0x8 ),      /* x86, MIPS, PPC Stack size/offset = 8 */
13415 #else
13416                         NdrFcShort( 0x10 ),     /* Alpha Stack size/offset = 16 */
13417 #endif
13418
13419                         0x0
13420         }
13421     };
13422
13423 const CInterfaceProxyVtbl * _oaidl_ProxyVtblList[] = 
13424 {
13425     ( CInterfaceProxyVtbl *) &_IDispatchProxyVtbl,
13426     ( CInterfaceProxyVtbl *) &_ITypeInfoProxyVtbl,
13427     ( CInterfaceProxyVtbl *) &_ITypeLibProxyVtbl,
13428     ( CInterfaceProxyVtbl *) &_ITypeCompProxyVtbl,
13429     ( CInterfaceProxyVtbl *) &_IEnumVARIANTProxyVtbl,
13430     ( CInterfaceProxyVtbl *) &_ITypeLib2ProxyVtbl,
13431     ( CInterfaceProxyVtbl *) &_ITypeInfo2ProxyVtbl,
13432     ( CInterfaceProxyVtbl *) &_IErrorInfoProxyVtbl,
13433     ( CInterfaceProxyVtbl *) &_ITypeFactoryProxyVtbl,
13434     ( CInterfaceProxyVtbl *) &_ICreateErrorInfoProxyVtbl,
13435     ( CInterfaceProxyVtbl *) &_ISupportErrorInfoProxyVtbl,
13436     0
13437 };
13438
13439 const CInterfaceStubVtbl * _oaidl_StubVtblList[] = 
13440 {
13441     ( CInterfaceStubVtbl *) &_IDispatchStubVtbl,
13442     ( CInterfaceStubVtbl *) &_ITypeInfoStubVtbl,
13443     ( CInterfaceStubVtbl *) &_ITypeLibStubVtbl,
13444     ( CInterfaceStubVtbl *) &_ITypeCompStubVtbl,
13445     ( CInterfaceStubVtbl *) &_IEnumVARIANTStubVtbl,
13446     ( CInterfaceStubVtbl *) &_ITypeLib2StubVtbl,
13447     ( CInterfaceStubVtbl *) &_ITypeInfo2StubVtbl,
13448     ( CInterfaceStubVtbl *) &_IErrorInfoStubVtbl,
13449     ( CInterfaceStubVtbl *) &_ITypeFactoryStubVtbl,
13450     ( CInterfaceStubVtbl *) &_ICreateErrorInfoStubVtbl,
13451     ( CInterfaceStubVtbl *) &_ISupportErrorInfoStubVtbl,
13452     0
13453 };
13454
13455 PCInterfaceName const _oaidl_InterfaceNamesList[] = 
13456 {
13457     "IDispatch",
13458     "ITypeInfo",
13459     "ITypeLib",
13460     "ITypeComp",
13461     "IEnumVARIANT",
13462     "ITypeLib2",
13463     "ITypeInfo2",
13464     "IErrorInfo",
13465     "ITypeFactory",
13466     "ICreateErrorInfo",
13467     "ISupportErrorInfo",
13468     0
13469 };
13470
13471
13472 #define _oaidl_CHECK_IID(n)     IID_GENERIC_CHECK_IID( _oaidl, pIID, n)
13473
13474 int __stdcall _oaidl_IID_Lookup( const IID * pIID, int * pIndex )
13475 {
13476     IID_BS_LOOKUP_SETUP
13477
13478     IID_BS_LOOKUP_INITIAL_TEST( _oaidl, 11, 8 )
13479     IID_BS_LOOKUP_NEXT_TEST( _oaidl, 4 )
13480     IID_BS_LOOKUP_NEXT_TEST( _oaidl, 2 )
13481     IID_BS_LOOKUP_NEXT_TEST( _oaidl, 1 )
13482     IID_BS_LOOKUP_RETURN_RESULT( _oaidl, 11, *pIndex )
13483     
13484 }
13485
13486 const ExtendedProxyFileInfo oaidl_ProxyFileInfo = 
13487 {
13488     (PCInterfaceProxyVtblList *) & _oaidl_ProxyVtblList,
13489     (PCInterfaceStubVtblList *) & _oaidl_StubVtblList,
13490     (const PCInterfaceName * ) & _oaidl_InterfaceNamesList,
13491     0, /* no delegation */
13492     & _oaidl_IID_Lookup, 
13493     11,
13494     1,
13495     0, /* table of [async_uuid] interfaces */
13496     0, /* Filler1 */
13497     0, /* Filler2 */
13498     0  /* Filler3 */
13499 };