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