dictionary_p.c
上传用户:biuytresa
上传日期:2007-12-07
资源大小:721k
文件大小:38k
源码类别:

DNA

开发平台:

Visual C++

  1. /* this ALWAYS GENERATED file contains the proxy stub code */
  2. /* File created by MIDL compiler version 5.01.0164 */
  3. /* at Wed Feb 10 15:19:36 1999
  4.  */
  5. /* Compiler settings for dictionary.idl:
  6.     Os (OptLev=s), W1, Zp8, env=Win32, ms_ext, c_ext
  7.     error checks: allocation ref bounds_check enum stub_data 
  8. */
  9. //@@MIDL_FILE_HEADING(  )
  10. /* verify that the <rpcproxy.h> version is high enough to compile this file*/
  11. #ifndef __REDQ_RPCPROXY_H_VERSION__
  12. #define __REQUIRED_RPCPROXY_H_VERSION__ 440
  13. #endif
  14. #include "rpcproxy.h"
  15. #ifndef __RPCPROXY_H_VERSION__
  16. #error this stub requires an updated version of <rpcproxy.h>
  17. #endif // __RPCPROXY_H_VERSION__
  18. #include "dictionary.h"
  19. #define TYPE_FORMAT_STRING_SIZE   13                                
  20. #define PROC_FORMAT_STRING_SIZE   29                                
  21. typedef struct _MIDL_TYPE_FORMAT_STRING
  22.     {
  23.     short          Pad;
  24.     unsigned char  Format[ TYPE_FORMAT_STRING_SIZE ];
  25.     } MIDL_TYPE_FORMAT_STRING;
  26. typedef struct _MIDL_PROC_FORMAT_STRING
  27.     {
  28.     short          Pad;
  29.     unsigned char  Format[ PROC_FORMAT_STRING_SIZE ];
  30.     } MIDL_PROC_FORMAT_STRING;
  31. extern const MIDL_TYPE_FORMAT_STRING __MIDL_TypeFormatString;
  32. extern const MIDL_PROC_FORMAT_STRING __MIDL_ProcFormatString;
  33. /* Object interface: IUnknown, ver. 0.0,
  34.    GUID={0x00000000,0x0000,0x0000,{0xC0,0x00,0x00,0x00,0x00,0x00,0x00,0x46}} */
  35. /* Object interface: IDictionary, ver. 0.0,
  36.    GUID={0x54BF6568,0x1007,0x11D1,{0xB0,0xAA,0x44,0x45,0x53,0x54,0x00,0x00}} */
  37. extern const MIDL_STUB_DESC Object_StubDesc;
  38. #pragma code_seg(".orpc")
  39. HRESULT STDMETHODCALLTYPE IDictionary_Initialize_Proxy( 
  40.     IDictionary __RPC_FAR * This)
  41. {
  42.     HRESULT _RetVal;
  43.     
  44.     RPC_MESSAGE _RpcMessage;
  45.     
  46.     MIDL_STUB_MESSAGE _StubMsg;
  47.     
  48.     RpcTryExcept
  49.         {
  50.         NdrProxyInitialize(
  51.                       ( void __RPC_FAR *  )This,
  52.                       ( PRPC_MESSAGE  )&_RpcMessage,
  53.                       ( PMIDL_STUB_MESSAGE  )&_StubMsg,
  54.                       ( PMIDL_STUB_DESC  )&Object_StubDesc,
  55.                       3);
  56.         
  57.         
  58.         
  59.         RpcTryFinally
  60.             {
  61.             
  62.             _StubMsg.BufferLength = 0U;
  63.             NdrProxyGetBuffer(This, &_StubMsg);
  64.             NdrProxySendReceive(This, &_StubMsg);
  65.             
  66.             if ( (_RpcMessage.DataRepresentation & 0X0000FFFFUL) != NDR_LOCAL_DATA_REPRESENTATION )
  67.                 NdrConvert( (PMIDL_STUB_MESSAGE) &_StubMsg, (PFORMAT_STRING) &__MIDL_ProcFormatString.Format[0] );
  68.             
  69.             _RetVal = *(( HRESULT __RPC_FAR * )_StubMsg.Buffer)++;
  70.             
  71.             }
  72.         RpcFinally
  73.             {
  74.             NdrProxyFreeBuffer(This, &_StubMsg);
  75.             
  76.             }
  77.         RpcEndFinally
  78.         
  79.         }
  80.     RpcExcept(_StubMsg.dwStubPhase != PROXY_SENDRECEIVE)
  81.         {
  82.         _RetVal = NdrProxyErrorHandler(RpcExceptionCode());
  83.         }
  84.     RpcEndExcept
  85.     return _RetVal;
  86. }
  87. void __RPC_STUB IDictionary_Initialize_Stub(
  88.     IRpcStubBuffer *This,
  89.     IRpcChannelBuffer *_pRpcChannelBuffer,
  90.     PRPC_MESSAGE _pRpcMessage,
  91.     DWORD *_pdwStubPhase)
  92. {
  93.     HRESULT _RetVal;
  94.     MIDL_STUB_MESSAGE _StubMsg;
  95.     
  96. NdrStubInitialize(
  97.                      _pRpcMessage,
  98.                      &_StubMsg,
  99.                      &Object_StubDesc,
  100.                      _pRpcChannelBuffer);
  101.     RpcTryFinally
  102.         {
  103.         
  104.         *_pdwStubPhase = STUB_CALL_SERVER;
  105.         _RetVal = (((IDictionary*) ((CStdStubBuffer *)This)->pvServerObject)->lpVtbl) -> Initialize((IDictionary *) ((CStdStubBuffer *)This)->pvServerObject);
  106.         
  107.         *_pdwStubPhase = STUB_MARSHAL;
  108.         
  109.         _StubMsg.BufferLength = 4U;
  110.         NdrStubGetBuffer(This, _pRpcChannelBuffer, &_StubMsg);
  111.         *(( HRESULT __RPC_FAR * )_StubMsg.Buffer)++ = _RetVal;
  112.         
  113.         }
  114.     RpcFinally
  115.         {
  116.         }
  117.     RpcEndFinally
  118.     _pRpcMessage->BufferLength = 
  119.         (unsigned int)((long)_StubMsg.Buffer - (long)_pRpcMessage->Buffer);
  120.     
  121. }
  122. HRESULT STDMETHODCALLTYPE IDictionary_LoadLibrary_Proxy( 
  123.     IDictionary __RPC_FAR * This,
  124.     /* [string][in] */ WCHAR __RPC_FAR *pFilename)
  125. {
  126.     HRESULT _RetVal;
  127.     
  128.     RPC_MESSAGE _RpcMessage;
  129.     
  130.     MIDL_STUB_MESSAGE _StubMsg;
  131.     
  132.     RpcTryExcept
  133.         {
  134.         NdrProxyInitialize(
  135.                       ( void __RPC_FAR *  )This,
  136.                       ( PRPC_MESSAGE  )&_RpcMessage,
  137.                       ( PMIDL_STUB_MESSAGE  )&_StubMsg,
  138.                       ( PMIDL_STUB_DESC  )&Object_StubDesc,
  139.                       4);
  140.         
  141.         
  142.         
  143.         if(!pFilename)
  144.             {
  145.             RpcRaiseException(RPC_X_NULL_REF_POINTER);
  146.             }
  147.         RpcTryFinally
  148.             {
  149.             
  150.             _StubMsg.BufferLength = 12U;
  151.             NdrConformantStringBufferSize( (PMIDL_STUB_MESSAGE) &_StubMsg,
  152.                                            (unsigned char __RPC_FAR *)pFilename,
  153.                                            (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[4] );
  154.             
  155.             NdrProxyGetBuffer(This, &_StubMsg);
  156.             NdrConformantStringMarshall( (PMIDL_STUB_MESSAGE)& _StubMsg,
  157.                                          (unsigned char __RPC_FAR *)pFilename,
  158.                                          (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[4] );
  159.             
  160.             NdrProxySendReceive(This, &_StubMsg);
  161.             
  162.             if ( (_RpcMessage.DataRepresentation & 0X0000FFFFUL) != NDR_LOCAL_DATA_REPRESENTATION )
  163.                 NdrConvert( (PMIDL_STUB_MESSAGE) &_StubMsg, (PFORMAT_STRING) &__MIDL_ProcFormatString.Format[2] );
  164.             
  165.             _RetVal = *(( HRESULT __RPC_FAR * )_StubMsg.Buffer)++;
  166.             
  167.             }
  168.         RpcFinally
  169.             {
  170.             NdrProxyFreeBuffer(This, &_StubMsg);
  171.             
  172.             }
  173.         RpcEndFinally
  174.         
  175.         }
  176.     RpcExcept(_StubMsg.dwStubPhase != PROXY_SENDRECEIVE)
  177.         {
  178.         _RetVal = NdrProxyErrorHandler(RpcExceptionCode());
  179.         }
  180.     RpcEndExcept
  181.     return _RetVal;
  182. }
  183. void __RPC_STUB IDictionary_LoadLibrary_Stub(
  184.     IRpcStubBuffer *This,
  185.     IRpcChannelBuffer *_pRpcChannelBuffer,
  186.     PRPC_MESSAGE _pRpcMessage,
  187.     DWORD *_pdwStubPhase)
  188. {
  189.     HRESULT _RetVal;
  190.     MIDL_STUB_MESSAGE _StubMsg;
  191.     WCHAR __RPC_FAR *pFilename;
  192.     
  193. NdrStubInitialize(
  194.                      _pRpcMessage,
  195.                      &_StubMsg,
  196.                      &Object_StubDesc,
  197.                      _pRpcChannelBuffer);
  198.     ( WCHAR __RPC_FAR * )pFilename = 0;
  199.     RpcTryFinally
  200.         {
  201.         if ( (_pRpcMessage->DataRepresentation & 0X0000FFFFUL) != NDR_LOCAL_DATA_REPRESENTATION )
  202.             NdrConvert( (PMIDL_STUB_MESSAGE) &_StubMsg, (PFORMAT_STRING) &__MIDL_ProcFormatString.Format[2] );
  203.         
  204.         NdrConformantStringUnmarshall( (PMIDL_STUB_MESSAGE) &_StubMsg,
  205.                                        (unsigned char __RPC_FAR * __RPC_FAR *)&pFilename,
  206.                                        (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[4],
  207.                                        (unsigned char)0 );
  208.         
  209.         
  210.         *_pdwStubPhase = STUB_CALL_SERVER;
  211.         _RetVal = (((IDictionary*) ((CStdStubBuffer *)This)->pvServerObject)->lpVtbl) -> LoadLibrary((IDictionary *) ((CStdStubBuffer *)This)->pvServerObject,pFilename);
  212.         
  213.         *_pdwStubPhase = STUB_MARSHAL;
  214.         
  215.         _StubMsg.BufferLength = 4U;
  216.         _StubMsg.BufferLength += 16;
  217.         
  218.         NdrStubGetBuffer(This, _pRpcChannelBuffer, &_StubMsg);
  219.         *(( HRESULT __RPC_FAR * )_StubMsg.Buffer)++ = _RetVal;
  220.         
  221.         }
  222.     RpcFinally
  223.         {
  224.         }
  225.     RpcEndFinally
  226.     _pRpcMessage->BufferLength = 
  227.         (unsigned int)((long)_StubMsg.Buffer - (long)_pRpcMessage->Buffer);
  228.     
  229. }
  230. HRESULT STDMETHODCALLTYPE IDictionary_InsertWord_Proxy( 
  231.     IDictionary __RPC_FAR * This,
  232.     /* [string][in] */ WCHAR __RPC_FAR *pWord,
  233.     /* [string][in] */ WCHAR __RPC_FAR *pWordUsingOtherLang)
  234. {
  235.     HRESULT _RetVal;
  236.     
  237.     RPC_MESSAGE _RpcMessage;
  238.     
  239.     MIDL_STUB_MESSAGE _StubMsg;
  240.     
  241.     RpcTryExcept
  242.         {
  243.         NdrProxyInitialize(
  244.                       ( void __RPC_FAR *  )This,
  245.                       ( PRPC_MESSAGE  )&_RpcMessage,
  246.                       ( PMIDL_STUB_MESSAGE  )&_StubMsg,
  247.                       ( PMIDL_STUB_DESC  )&Object_StubDesc,
  248.                       5);
  249.         
  250.         
  251.         
  252.         if(!pWord)
  253.             {
  254.             RpcRaiseException(RPC_X_NULL_REF_POINTER);
  255.             }
  256.         if(!pWordUsingOtherLang)
  257.             {
  258.             RpcRaiseException(RPC_X_NULL_REF_POINTER);
  259.             }
  260.         RpcTryFinally
  261.             {
  262.             
  263.             _StubMsg.BufferLength = 12U + 14U;
  264.             NdrConformantStringBufferSize( (PMIDL_STUB_MESSAGE) &_StubMsg,
  265.                                            (unsigned char __RPC_FAR *)pWord,
  266.                                            (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[4] );
  267.             
  268.             NdrConformantStringBufferSize( (PMIDL_STUB_MESSAGE) &_StubMsg,
  269.                                            (unsigned char __RPC_FAR *)pWordUsingOtherLang,
  270.                                            (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[4] );
  271.             
  272.             NdrProxyGetBuffer(This, &_StubMsg);
  273.             NdrConformantStringMarshall( (PMIDL_STUB_MESSAGE)& _StubMsg,
  274.                                          (unsigned char __RPC_FAR *)pWord,
  275.                                          (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[4] );
  276.             
  277.             NdrConformantStringMarshall( (PMIDL_STUB_MESSAGE)& _StubMsg,
  278.                                          (unsigned char __RPC_FAR *)pWordUsingOtherLang,
  279.                                          (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[4] );
  280.             
  281.             NdrProxySendReceive(This, &_StubMsg);
  282.             
  283.             if ( (_RpcMessage.DataRepresentation & 0X0000FFFFUL) != NDR_LOCAL_DATA_REPRESENTATION )
  284.                 NdrConvert( (PMIDL_STUB_MESSAGE) &_StubMsg, (PFORMAT_STRING) &__MIDL_ProcFormatString.Format[8] );
  285.             
  286.             _RetVal = *(( HRESULT __RPC_FAR * )_StubMsg.Buffer)++;
  287.             
  288.             }
  289.         RpcFinally
  290.             {
  291.             NdrProxyFreeBuffer(This, &_StubMsg);
  292.             
  293.             }
  294.         RpcEndFinally
  295.         
  296.         }
  297.     RpcExcept(_StubMsg.dwStubPhase != PROXY_SENDRECEIVE)
  298.         {
  299.         _RetVal = NdrProxyErrorHandler(RpcExceptionCode());
  300.         }
  301.     RpcEndExcept
  302.     return _RetVal;
  303. }
  304. void __RPC_STUB IDictionary_InsertWord_Stub(
  305.     IRpcStubBuffer *This,
  306.     IRpcChannelBuffer *_pRpcChannelBuffer,
  307.     PRPC_MESSAGE _pRpcMessage,
  308.     DWORD *_pdwStubPhase)
  309. {
  310.     HRESULT _RetVal;
  311.     MIDL_STUB_MESSAGE _StubMsg;
  312.     WCHAR __RPC_FAR *pWord;
  313.     WCHAR __RPC_FAR *pWordUsingOtherLang;
  314.     
  315. NdrStubInitialize(
  316.                      _pRpcMessage,
  317.                      &_StubMsg,
  318.                      &Object_StubDesc,
  319.                      _pRpcChannelBuffer);
  320.     ( WCHAR __RPC_FAR * )pWord = 0;
  321.     ( WCHAR __RPC_FAR * )pWordUsingOtherLang = 0;
  322.     RpcTryFinally
  323.         {
  324.         if ( (_pRpcMessage->DataRepresentation & 0X0000FFFFUL) != NDR_LOCAL_DATA_REPRESENTATION )
  325.             NdrConvert( (PMIDL_STUB_MESSAGE) &_StubMsg, (PFORMAT_STRING) &__MIDL_ProcFormatString.Format[8] );
  326.         
  327.         NdrConformantStringUnmarshall( (PMIDL_STUB_MESSAGE) &_StubMsg,
  328.                                        (unsigned char __RPC_FAR * __RPC_FAR *)&pWord,
  329.                                        (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[4],
  330.                                        (unsigned char)0 );
  331.         
  332.         NdrConformantStringUnmarshall( (PMIDL_STUB_MESSAGE) &_StubMsg,
  333.                                        (unsigned char __RPC_FAR * __RPC_FAR *)&pWordUsingOtherLang,
  334.                                        (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[4],
  335.                                        (unsigned char)0 );
  336.         
  337.         
  338.         *_pdwStubPhase = STUB_CALL_SERVER;
  339.         _RetVal = (((IDictionary*) ((CStdStubBuffer *)This)->pvServerObject)->lpVtbl) -> InsertWord(
  340.               (IDictionary *) ((CStdStubBuffer *)This)->pvServerObject,
  341.               pWord,
  342.               pWordUsingOtherLang);
  343.         
  344.         *_pdwStubPhase = STUB_MARSHAL;
  345.         
  346.         _StubMsg.BufferLength = 4U;
  347.         _StubMsg.BufferLength += 16;
  348.         
  349.         NdrStubGetBuffer(This, _pRpcChannelBuffer, &_StubMsg);
  350.         *(( HRESULT __RPC_FAR * )_StubMsg.Buffer)++ = _RetVal;
  351.         
  352.         }
  353.     RpcFinally
  354.         {
  355.         }
  356.     RpcEndFinally
  357.     _pRpcMessage->BufferLength = 
  358.         (unsigned int)((long)_StubMsg.Buffer - (long)_pRpcMessage->Buffer);
  359.     
  360. }
  361. HRESULT STDMETHODCALLTYPE IDictionary_DeleteWord_Proxy( 
  362.     IDictionary __RPC_FAR * This,
  363.     /* [string][in] */ WCHAR __RPC_FAR *pWord)
  364. {
  365.     HRESULT _RetVal;
  366.     
  367.     RPC_MESSAGE _RpcMessage;
  368.     
  369.     MIDL_STUB_MESSAGE _StubMsg;
  370.     
  371.     RpcTryExcept
  372.         {
  373.         NdrProxyInitialize(
  374.                       ( void __RPC_FAR *  )This,
  375.                       ( PRPC_MESSAGE  )&_RpcMessage,
  376.                       ( PMIDL_STUB_MESSAGE  )&_StubMsg,
  377.                       ( PMIDL_STUB_DESC  )&Object_StubDesc,
  378.                       6);
  379.         
  380.         
  381.         
  382.         if(!pWord)
  383.             {
  384.             RpcRaiseException(RPC_X_NULL_REF_POINTER);
  385.             }
  386.         RpcTryFinally
  387.             {
  388.             
  389.             _StubMsg.BufferLength = 12U;
  390.             NdrConformantStringBufferSize( (PMIDL_STUB_MESSAGE) &_StubMsg,
  391.                                            (unsigned char __RPC_FAR *)pWord,
  392.                                            (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[4] );
  393.             
  394.             NdrProxyGetBuffer(This, &_StubMsg);
  395.             NdrConformantStringMarshall( (PMIDL_STUB_MESSAGE)& _StubMsg,
  396.                                          (unsigned char __RPC_FAR *)pWord,
  397.                                          (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[4] );
  398.             
  399.             NdrProxySendReceive(This, &_StubMsg);
  400.             
  401.             if ( (_RpcMessage.DataRepresentation & 0X0000FFFFUL) != NDR_LOCAL_DATA_REPRESENTATION )
  402.                 NdrConvert( (PMIDL_STUB_MESSAGE) &_StubMsg, (PFORMAT_STRING) &__MIDL_ProcFormatString.Format[2] );
  403.             
  404.             _RetVal = *(( HRESULT __RPC_FAR * )_StubMsg.Buffer)++;
  405.             
  406.             }
  407.         RpcFinally
  408.             {
  409.             NdrProxyFreeBuffer(This, &_StubMsg);
  410.             
  411.             }
  412.         RpcEndFinally
  413.         
  414.         }
  415.     RpcExcept(_StubMsg.dwStubPhase != PROXY_SENDRECEIVE)
  416.         {
  417.         _RetVal = NdrProxyErrorHandler(RpcExceptionCode());
  418.         }
  419.     RpcEndExcept
  420.     return _RetVal;
  421. }
  422. void __RPC_STUB IDictionary_DeleteWord_Stub(
  423.     IRpcStubBuffer *This,
  424.     IRpcChannelBuffer *_pRpcChannelBuffer,
  425.     PRPC_MESSAGE _pRpcMessage,
  426.     DWORD *_pdwStubPhase)
  427. {
  428.     HRESULT _RetVal;
  429.     MIDL_STUB_MESSAGE _StubMsg;
  430.     WCHAR __RPC_FAR *pWord;
  431.     
  432. NdrStubInitialize(
  433.                      _pRpcMessage,
  434.                      &_StubMsg,
  435.                      &Object_StubDesc,
  436.                      _pRpcChannelBuffer);
  437.     ( WCHAR __RPC_FAR * )pWord = 0;
  438.     RpcTryFinally
  439.         {
  440.         if ( (_pRpcMessage->DataRepresentation & 0X0000FFFFUL) != NDR_LOCAL_DATA_REPRESENTATION )
  441.             NdrConvert( (PMIDL_STUB_MESSAGE) &_StubMsg, (PFORMAT_STRING) &__MIDL_ProcFormatString.Format[2] );
  442.         
  443.         NdrConformantStringUnmarshall( (PMIDL_STUB_MESSAGE) &_StubMsg,
  444.                                        (unsigned char __RPC_FAR * __RPC_FAR *)&pWord,
  445.                                        (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[4],
  446.                                        (unsigned char)0 );
  447.         
  448.         
  449.         *_pdwStubPhase = STUB_CALL_SERVER;
  450.         _RetVal = (((IDictionary*) ((CStdStubBuffer *)This)->pvServerObject)->lpVtbl) -> DeleteWord((IDictionary *) ((CStdStubBuffer *)This)->pvServerObject,pWord);
  451.         
  452.         *_pdwStubPhase = STUB_MARSHAL;
  453.         
  454.         _StubMsg.BufferLength = 4U;
  455.         _StubMsg.BufferLength += 16;
  456.         
  457.         NdrStubGetBuffer(This, _pRpcChannelBuffer, &_StubMsg);
  458.         *(( HRESULT __RPC_FAR * )_StubMsg.Buffer)++ = _RetVal;
  459.         
  460.         }
  461.     RpcFinally
  462.         {
  463.         }
  464.     RpcEndFinally
  465.     _pRpcMessage->BufferLength = 
  466.         (unsigned int)((long)_StubMsg.Buffer - (long)_pRpcMessage->Buffer);
  467.     
  468. }
  469. HRESULT STDMETHODCALLTYPE IDictionary_LookupWord_Proxy( 
  470.     IDictionary __RPC_FAR * This,
  471.     /* [string][in] */ WCHAR __RPC_FAR *pWord,
  472.     /* [out] */ WCHAR __RPC_FAR pWordOut[ 32 ])
  473. {
  474.     HRESULT _RetVal;
  475.     
  476.     RPC_MESSAGE _RpcMessage;
  477.     
  478.     MIDL_STUB_MESSAGE _StubMsg;
  479.     
  480.     if(pWordOut)
  481.         {
  482.         MIDL_memset(
  483.                pWordOut,
  484.                0,
  485.                sizeof( WCHAR [ 32 ] ));
  486.         }
  487.     RpcTryExcept
  488.         {
  489.         NdrProxyInitialize(
  490.                       ( void __RPC_FAR *  )This,
  491.                       ( PRPC_MESSAGE  )&_RpcMessage,
  492.                       ( PMIDL_STUB_MESSAGE  )&_StubMsg,
  493.                       ( PMIDL_STUB_DESC  )&Object_StubDesc,
  494.                       7);
  495.         
  496.         
  497.         
  498.         if(!pWord)
  499.             {
  500.             RpcRaiseException(RPC_X_NULL_REF_POINTER);
  501.             }
  502.         RpcTryFinally
  503.             {
  504.             
  505.             _StubMsg.BufferLength = 12U;
  506.             NdrConformantStringBufferSize( (PMIDL_STUB_MESSAGE) &_StubMsg,
  507.                                            (unsigned char __RPC_FAR *)pWord,
  508.                                            (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[4] );
  509.             
  510.             NdrProxyGetBuffer(This, &_StubMsg);
  511.             NdrConformantStringMarshall( (PMIDL_STUB_MESSAGE)& _StubMsg,
  512.                                          (unsigned char __RPC_FAR *)pWord,
  513.                                          (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[4] );
  514.             
  515.             NdrProxySendReceive(This, &_StubMsg);
  516.             
  517.             if ( (_RpcMessage.DataRepresentation & 0X0000FFFFUL) != NDR_LOCAL_DATA_REPRESENTATION )
  518.                 NdrConvert( (PMIDL_STUB_MESSAGE) &_StubMsg, (PFORMAT_STRING) &__MIDL_ProcFormatString.Format[18] );
  519.             
  520.             NdrFixedArrayUnmarshall( (PMIDL_STUB_MESSAGE) &_StubMsg,
  521.                                      (unsigned char __RPC_FAR * __RPC_FAR *)&pWordOut,
  522.                                      (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[6],
  523.                                      (unsigned char)0 );
  524.             
  525.             _RetVal = *(( HRESULT __RPC_FAR * )_StubMsg.Buffer)++;
  526.             
  527.             }
  528.         RpcFinally
  529.             {
  530.             NdrProxyFreeBuffer(This, &_StubMsg);
  531.             
  532.             }
  533.         RpcEndFinally
  534.         
  535.         }
  536.     RpcExcept(_StubMsg.dwStubPhase != PROXY_SENDRECEIVE)
  537.         {
  538.         NdrClearOutParameters(
  539.                          ( PMIDL_STUB_MESSAGE  )&_StubMsg,
  540.                          ( PFORMAT_STRING  )&__MIDL_TypeFormatString.Format[6],
  541.                          ( void __RPC_FAR * )pWordOut);
  542.         _RetVal = NdrProxyErrorHandler(RpcExceptionCode());
  543.         }
  544.     RpcEndExcept
  545.     return _RetVal;
  546. }
  547. void __RPC_STUB IDictionary_LookupWord_Stub(
  548.     IRpcStubBuffer *This,
  549.     IRpcChannelBuffer *_pRpcChannelBuffer,
  550.     PRPC_MESSAGE _pRpcMessage,
  551.     DWORD *_pdwStubPhase)
  552. {
  553.     WCHAR _AM10[ 32 ];
  554.     HRESULT _RetVal;
  555.     MIDL_STUB_MESSAGE _StubMsg;
  556.     WCHAR __RPC_FAR *pWord;
  557.     WCHAR ( __RPC_FAR *pWordOut )[ 32 ];
  558.     
  559. NdrStubInitialize(
  560.                      _pRpcMessage,
  561.                      &_StubMsg,
  562.                      &Object_StubDesc,
  563.                      _pRpcChannelBuffer);
  564.     ( WCHAR __RPC_FAR * )pWord = 0;
  565.     pWordOut = 0;
  566.     RpcTryFinally
  567.         {
  568.         if ( (_pRpcMessage->DataRepresentation & 0X0000FFFFUL) != NDR_LOCAL_DATA_REPRESENTATION )
  569.             NdrConvert( (PMIDL_STUB_MESSAGE) &_StubMsg, (PFORMAT_STRING) &__MIDL_ProcFormatString.Format[18] );
  570.         
  571.         NdrConformantStringUnmarshall( (PMIDL_STUB_MESSAGE) &_StubMsg,
  572.                                        (unsigned char __RPC_FAR * __RPC_FAR *)&pWord,
  573.                                        (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[4],
  574.                                        (unsigned char)0 );
  575.         
  576.         pWordOut = &_AM10;
  577.         
  578.         *_pdwStubPhase = STUB_CALL_SERVER;
  579.         _RetVal = (((IDictionary*) ((CStdStubBuffer *)This)->pvServerObject)->lpVtbl) -> LookupWord(
  580.               (IDictionary *) ((CStdStubBuffer *)This)->pvServerObject,
  581.               pWord,
  582.               *pWordOut);
  583.         
  584.         *_pdwStubPhase = STUB_MARSHAL;
  585.         
  586.         _StubMsg.BufferLength = 64U + 10U;
  587.         NdrStubGetBuffer(This, _pRpcChannelBuffer, &_StubMsg);
  588.         NdrFixedArrayMarshall( (PMIDL_STUB_MESSAGE)& _StubMsg,
  589.                                (unsigned char __RPC_FAR *)*pWordOut,
  590.                                (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[6] );
  591.         
  592.         *(( HRESULT __RPC_FAR * )_StubMsg.Buffer)++ = _RetVal;
  593.         
  594.         }
  595.     RpcFinally
  596.         {
  597.         }
  598.     RpcEndFinally
  599.     _pRpcMessage->BufferLength = 
  600.         (unsigned int)((long)_StubMsg.Buffer - (long)_pRpcMessage->Buffer);
  601.     
  602. }
  603. HRESULT STDMETHODCALLTYPE IDictionary_RestoreLibrary_Proxy( 
  604.     IDictionary __RPC_FAR * This,
  605.     /* [string][in] */ WCHAR __RPC_FAR *pFilename)
  606. {
  607.     HRESULT _RetVal;
  608.     
  609.     RPC_MESSAGE _RpcMessage;
  610.     
  611.     MIDL_STUB_MESSAGE _StubMsg;
  612.     
  613.     RpcTryExcept
  614.         {
  615.         NdrProxyInitialize(
  616.                       ( void __RPC_FAR *  )This,
  617.                       ( PRPC_MESSAGE  )&_RpcMessage,
  618.                       ( PMIDL_STUB_MESSAGE  )&_StubMsg,
  619.                       ( PMIDL_STUB_DESC  )&Object_StubDesc,
  620.                       8);
  621.         
  622.         
  623.         
  624.         if(!pFilename)
  625.             {
  626.             RpcRaiseException(RPC_X_NULL_REF_POINTER);
  627.             }
  628.         RpcTryFinally
  629.             {
  630.             
  631.             _StubMsg.BufferLength = 12U;
  632.             NdrConformantStringBufferSize( (PMIDL_STUB_MESSAGE) &_StubMsg,
  633.                                            (unsigned char __RPC_FAR *)pFilename,
  634.                                            (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[4] );
  635.             
  636.             NdrProxyGetBuffer(This, &_StubMsg);
  637.             NdrConformantStringMarshall( (PMIDL_STUB_MESSAGE)& _StubMsg,
  638.                                          (unsigned char __RPC_FAR *)pFilename,
  639.                                          (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[4] );
  640.             
  641.             NdrProxySendReceive(This, &_StubMsg);
  642.             
  643.             if ( (_RpcMessage.DataRepresentation & 0X0000FFFFUL) != NDR_LOCAL_DATA_REPRESENTATION )
  644.                 NdrConvert( (PMIDL_STUB_MESSAGE) &_StubMsg, (PFORMAT_STRING) &__MIDL_ProcFormatString.Format[2] );
  645.             
  646.             _RetVal = *(( HRESULT __RPC_FAR * )_StubMsg.Buffer)++;
  647.             
  648.             }
  649.         RpcFinally
  650.             {
  651.             NdrProxyFreeBuffer(This, &_StubMsg);
  652.             
  653.             }
  654.         RpcEndFinally
  655.         
  656.         }
  657.     RpcExcept(_StubMsg.dwStubPhase != PROXY_SENDRECEIVE)
  658.         {
  659.         _RetVal = NdrProxyErrorHandler(RpcExceptionCode());
  660.         }
  661.     RpcEndExcept
  662.     return _RetVal;
  663. }
  664. void __RPC_STUB IDictionary_RestoreLibrary_Stub(
  665.     IRpcStubBuffer *This,
  666.     IRpcChannelBuffer *_pRpcChannelBuffer,
  667.     PRPC_MESSAGE _pRpcMessage,
  668.     DWORD *_pdwStubPhase)
  669. {
  670.     HRESULT _RetVal;
  671.     MIDL_STUB_MESSAGE _StubMsg;
  672.     WCHAR __RPC_FAR *pFilename;
  673.     
  674. NdrStubInitialize(
  675.                      _pRpcMessage,
  676.                      &_StubMsg,
  677.                      &Object_StubDesc,
  678.                      _pRpcChannelBuffer);
  679.     ( WCHAR __RPC_FAR * )pFilename = 0;
  680.     RpcTryFinally
  681.         {
  682.         if ( (_pRpcMessage->DataRepresentation & 0X0000FFFFUL) != NDR_LOCAL_DATA_REPRESENTATION )
  683.             NdrConvert( (PMIDL_STUB_MESSAGE) &_StubMsg, (PFORMAT_STRING) &__MIDL_ProcFormatString.Format[2] );
  684.         
  685.         NdrConformantStringUnmarshall( (PMIDL_STUB_MESSAGE) &_StubMsg,
  686.                                        (unsigned char __RPC_FAR * __RPC_FAR *)&pFilename,
  687.                                        (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[4],
  688.                                        (unsigned char)0 );
  689.         
  690.         
  691.         *_pdwStubPhase = STUB_CALL_SERVER;
  692.         _RetVal = (((IDictionary*) ((CStdStubBuffer *)This)->pvServerObject)->lpVtbl) -> RestoreLibrary((IDictionary *) ((CStdStubBuffer *)This)->pvServerObject,pFilename);
  693.         
  694.         *_pdwStubPhase = STUB_MARSHAL;
  695.         
  696.         _StubMsg.BufferLength = 4U;
  697.         _StubMsg.BufferLength += 16;
  698.         
  699.         NdrStubGetBuffer(This, _pRpcChannelBuffer, &_StubMsg);
  700.         *(( HRESULT __RPC_FAR * )_StubMsg.Buffer)++ = _RetVal;
  701.         
  702.         }
  703.     RpcFinally
  704.         {
  705.         }
  706.     RpcEndFinally
  707.     _pRpcMessage->BufferLength = 
  708.         (unsigned int)((long)_StubMsg.Buffer - (long)_pRpcMessage->Buffer);
  709.     
  710. }
  711. HRESULT STDMETHODCALLTYPE IDictionary_FreeLibrary_Proxy( 
  712.     IDictionary __RPC_FAR * This)
  713. {
  714.     HRESULT _RetVal;
  715.     
  716.     RPC_MESSAGE _RpcMessage;
  717.     
  718.     MIDL_STUB_MESSAGE _StubMsg;
  719.     
  720.     RpcTryExcept
  721.         {
  722.         NdrProxyInitialize(
  723.                       ( void __RPC_FAR *  )This,
  724.                       ( PRPC_MESSAGE  )&_RpcMessage,
  725.                       ( PMIDL_STUB_MESSAGE  )&_StubMsg,
  726.                       ( PMIDL_STUB_DESC  )&Object_StubDesc,
  727.                       9);
  728.         
  729.         
  730.         
  731.         RpcTryFinally
  732.             {
  733.             
  734.             _StubMsg.BufferLength = 0U;
  735.             NdrProxyGetBuffer(This, &_StubMsg);
  736.             NdrProxySendReceive(This, &_StubMsg);
  737.             
  738.             if ( (_RpcMessage.DataRepresentation & 0X0000FFFFUL) != NDR_LOCAL_DATA_REPRESENTATION )
  739.                 NdrConvert( (PMIDL_STUB_MESSAGE) &_StubMsg, (PFORMAT_STRING) &__MIDL_ProcFormatString.Format[0] );
  740.             
  741.             _RetVal = *(( HRESULT __RPC_FAR * )_StubMsg.Buffer)++;
  742.             
  743.             }
  744.         RpcFinally
  745.             {
  746.             NdrProxyFreeBuffer(This, &_StubMsg);
  747.             
  748.             }
  749.         RpcEndFinally
  750.         
  751.         }
  752.     RpcExcept(_StubMsg.dwStubPhase != PROXY_SENDRECEIVE)
  753.         {
  754.         _RetVal = NdrProxyErrorHandler(RpcExceptionCode());
  755.         }
  756.     RpcEndExcept
  757.     return _RetVal;
  758. }
  759. void __RPC_STUB IDictionary_FreeLibrary_Stub(
  760.     IRpcStubBuffer *This,
  761.     IRpcChannelBuffer *_pRpcChannelBuffer,
  762.     PRPC_MESSAGE _pRpcMessage,
  763.     DWORD *_pdwStubPhase)
  764. {
  765.     HRESULT _RetVal;
  766.     MIDL_STUB_MESSAGE _StubMsg;
  767.     
  768. NdrStubInitialize(
  769.                      _pRpcMessage,
  770.                      &_StubMsg,
  771.                      &Object_StubDesc,
  772.                      _pRpcChannelBuffer);
  773.     RpcTryFinally
  774.         {
  775.         
  776.         *_pdwStubPhase = STUB_CALL_SERVER;
  777.         _RetVal = (((IDictionary*) ((CStdStubBuffer *)This)->pvServerObject)->lpVtbl) -> FreeLibrary((IDictionary *) ((CStdStubBuffer *)This)->pvServerObject);
  778.         
  779.         *_pdwStubPhase = STUB_MARSHAL;
  780.         
  781.         _StubMsg.BufferLength = 4U;
  782.         NdrStubGetBuffer(This, _pRpcChannelBuffer, &_StubMsg);
  783.         *(( HRESULT __RPC_FAR * )_StubMsg.Buffer)++ = _RetVal;
  784.         
  785.         }
  786.     RpcFinally
  787.         {
  788.         }
  789.     RpcEndFinally
  790.     _pRpcMessage->BufferLength = 
  791.         (unsigned int)((long)_StubMsg.Buffer - (long)_pRpcMessage->Buffer);
  792.     
  793. }
  794. const CINTERFACE_PROXY_VTABLE(10) _IDictionaryProxyVtbl = 
  795. {
  796.     &IID_IDictionary,
  797.     IUnknown_QueryInterface_Proxy,
  798.     IUnknown_AddRef_Proxy,
  799.     IUnknown_Release_Proxy ,
  800.     IDictionary_Initialize_Proxy ,
  801.     IDictionary_LoadLibrary_Proxy ,
  802.     IDictionary_InsertWord_Proxy ,
  803.     IDictionary_DeleteWord_Proxy ,
  804.     IDictionary_LookupWord_Proxy ,
  805.     IDictionary_RestoreLibrary_Proxy ,
  806.     IDictionary_FreeLibrary_Proxy
  807. };
  808. static const PRPC_STUB_FUNCTION IDictionary_table[] =
  809. {
  810.     IDictionary_Initialize_Stub,
  811.     IDictionary_LoadLibrary_Stub,
  812.     IDictionary_InsertWord_Stub,
  813.     IDictionary_DeleteWord_Stub,
  814.     IDictionary_LookupWord_Stub,
  815.     IDictionary_RestoreLibrary_Stub,
  816.     IDictionary_FreeLibrary_Stub
  817. };
  818. const CInterfaceStubVtbl _IDictionaryStubVtbl =
  819. {
  820.     &IID_IDictionary,
  821.     0,
  822.     10,
  823.     &IDictionary_table[-3],
  824.     CStdStubBuffer_METHODS
  825. };
  826. /* Object interface: ISpellCheck, ver. 0.0,
  827.    GUID={0x54BF6569,0x1007,0x11D1,{0xB0,0xAA,0x44,0x45,0x53,0x54,0x00,0x00}} */
  828. extern const MIDL_STUB_DESC Object_StubDesc;
  829. #pragma code_seg(".orpc")
  830. HRESULT STDMETHODCALLTYPE ISpellCheck_CheckWord_Proxy( 
  831.     ISpellCheck __RPC_FAR * This,
  832.     /* [string][in] */ WCHAR __RPC_FAR *pWord,
  833.     /* [out] */ WCHAR __RPC_FAR pWordOut[ 32 ])
  834. {
  835.     HRESULT _RetVal;
  836.     
  837.     RPC_MESSAGE _RpcMessage;
  838.     
  839.     MIDL_STUB_MESSAGE _StubMsg;
  840.     
  841.     if(pWordOut)
  842.         {
  843.         MIDL_memset(
  844.                pWordOut,
  845.                0,
  846.                sizeof( WCHAR [ 32 ] ));
  847.         }
  848.     RpcTryExcept
  849.         {
  850.         NdrProxyInitialize(
  851.                       ( void __RPC_FAR *  )This,
  852.                       ( PRPC_MESSAGE  )&_RpcMessage,
  853.                       ( PMIDL_STUB_MESSAGE  )&_StubMsg,
  854.                       ( PMIDL_STUB_DESC  )&Object_StubDesc,
  855.                       3);
  856.         
  857.         
  858.         
  859.         if(!pWord)
  860.             {
  861.             RpcRaiseException(RPC_X_NULL_REF_POINTER);
  862.             }
  863.         RpcTryFinally
  864.             {
  865.             
  866.             _StubMsg.BufferLength = 12U;
  867.             NdrConformantStringBufferSize( (PMIDL_STUB_MESSAGE) &_StubMsg,
  868.                                            (unsigned char __RPC_FAR *)pWord,
  869.                                            (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[4] );
  870.             
  871.             NdrProxyGetBuffer(This, &_StubMsg);
  872.             NdrConformantStringMarshall( (PMIDL_STUB_MESSAGE)& _StubMsg,
  873.                                          (unsigned char __RPC_FAR *)pWord,
  874.                                          (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[4] );
  875.             
  876.             NdrProxySendReceive(This, &_StubMsg);
  877.             
  878.             if ( (_RpcMessage.DataRepresentation & 0X0000FFFFUL) != NDR_LOCAL_DATA_REPRESENTATION )
  879.                 NdrConvert( (PMIDL_STUB_MESSAGE) &_StubMsg, (PFORMAT_STRING) &__MIDL_ProcFormatString.Format[18] );
  880.             
  881.             NdrFixedArrayUnmarshall( (PMIDL_STUB_MESSAGE) &_StubMsg,
  882.                                      (unsigned char __RPC_FAR * __RPC_FAR *)&pWordOut,
  883.                                      (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[6],
  884.                                      (unsigned char)0 );
  885.             
  886.             _RetVal = *(( HRESULT __RPC_FAR * )_StubMsg.Buffer)++;
  887.             
  888.             }
  889.         RpcFinally
  890.             {
  891.             NdrProxyFreeBuffer(This, &_StubMsg);
  892.             
  893.             }
  894.         RpcEndFinally
  895.         
  896.         }
  897.     RpcExcept(_StubMsg.dwStubPhase != PROXY_SENDRECEIVE)
  898.         {
  899.         NdrClearOutParameters(
  900.                          ( PMIDL_STUB_MESSAGE  )&_StubMsg,
  901.                          ( PFORMAT_STRING  )&__MIDL_TypeFormatString.Format[6],
  902.                          ( void __RPC_FAR * )pWordOut);
  903.         _RetVal = NdrProxyErrorHandler(RpcExceptionCode());
  904.         }
  905.     RpcEndExcept
  906.     return _RetVal;
  907. }
  908. void __RPC_STUB ISpellCheck_CheckWord_Stub(
  909.     IRpcStubBuffer *This,
  910.     IRpcChannelBuffer *_pRpcChannelBuffer,
  911.     PRPC_MESSAGE _pRpcMessage,
  912.     DWORD *_pdwStubPhase)
  913. {
  914.     WCHAR _AM15[ 32 ];
  915.     HRESULT _RetVal;
  916.     MIDL_STUB_MESSAGE _StubMsg;
  917.     WCHAR __RPC_FAR *pWord;
  918.     WCHAR ( __RPC_FAR *pWordOut )[ 32 ];
  919.     
  920. NdrStubInitialize(
  921.                      _pRpcMessage,
  922.                      &_StubMsg,
  923.                      &Object_StubDesc,
  924.                      _pRpcChannelBuffer);
  925.     ( WCHAR __RPC_FAR * )pWord = 0;
  926.     pWordOut = 0;
  927.     RpcTryFinally
  928.         {
  929.         if ( (_pRpcMessage->DataRepresentation & 0X0000FFFFUL) != NDR_LOCAL_DATA_REPRESENTATION )
  930.             NdrConvert( (PMIDL_STUB_MESSAGE) &_StubMsg, (PFORMAT_STRING) &__MIDL_ProcFormatString.Format[18] );
  931.         
  932.         NdrConformantStringUnmarshall( (PMIDL_STUB_MESSAGE) &_StubMsg,
  933.                                        (unsigned char __RPC_FAR * __RPC_FAR *)&pWord,
  934.                                        (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[4],
  935.                                        (unsigned char)0 );
  936.         
  937.         pWordOut = &_AM15;
  938.         
  939.         *_pdwStubPhase = STUB_CALL_SERVER;
  940.         _RetVal = (((ISpellCheck*) ((CStdStubBuffer *)This)->pvServerObject)->lpVtbl) -> CheckWord(
  941.              (ISpellCheck *) ((CStdStubBuffer *)This)->pvServerObject,
  942.              pWord,
  943.              *pWordOut);
  944.         
  945.         *_pdwStubPhase = STUB_MARSHAL;
  946.         
  947.         _StubMsg.BufferLength = 64U + 10U;
  948.         NdrStubGetBuffer(This, _pRpcChannelBuffer, &_StubMsg);
  949.         NdrFixedArrayMarshall( (PMIDL_STUB_MESSAGE)& _StubMsg,
  950.                                (unsigned char __RPC_FAR *)*pWordOut,
  951.                                (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[6] );
  952.         
  953.         *(( HRESULT __RPC_FAR * )_StubMsg.Buffer)++ = _RetVal;
  954.         
  955.         }
  956.     RpcFinally
  957.         {
  958.         }
  959.     RpcEndFinally
  960.     _pRpcMessage->BufferLength = 
  961.         (unsigned int)((long)_StubMsg.Buffer - (long)_pRpcMessage->Buffer);
  962.     
  963. }
  964. static const MIDL_STUB_DESC Object_StubDesc = 
  965.     {
  966.     0,
  967.     NdrOleAllocate,
  968.     NdrOleFree,
  969.     0,
  970.     0,
  971.     0,
  972.     0,
  973.     0,
  974.     __MIDL_TypeFormatString.Format,
  975.     1, /* -error bounds_check flag */
  976.     0x10001, /* Ndr library version */
  977.     0,
  978.     0x50100a4, /* MIDL Version 5.1.164 */
  979.     0,
  980.     0,
  981.     0,  /* notify & notify_flag routine table */
  982.     1,  /* Flags */
  983.     0,  /* Reserved3 */
  984.     0,  /* Reserved4 */
  985.     0   /* Reserved5 */
  986.     };
  987. const CINTERFACE_PROXY_VTABLE(4) _ISpellCheckProxyVtbl = 
  988. {
  989.     &IID_ISpellCheck,
  990.     IUnknown_QueryInterface_Proxy,
  991.     IUnknown_AddRef_Proxy,
  992.     IUnknown_Release_Proxy ,
  993.     ISpellCheck_CheckWord_Proxy
  994. };
  995. static const PRPC_STUB_FUNCTION ISpellCheck_table[] =
  996. {
  997.     ISpellCheck_CheckWord_Stub
  998. };
  999. const CInterfaceStubVtbl _ISpellCheckStubVtbl =
  1000. {
  1001.     &IID_ISpellCheck,
  1002.     0,
  1003.     4,
  1004.     &ISpellCheck_table[-3],
  1005.     CStdStubBuffer_METHODS
  1006. };
  1007. #pragma data_seg(".rdata")
  1008. #if !defined(__RPC_WIN32__)
  1009. #error  Invalid build platform for this stub.
  1010. #endif
  1011. static const MIDL_PROC_FORMAT_STRING __MIDL_ProcFormatString =
  1012.     {
  1013.         0,
  1014.         {
  1015. 0x53, /* FC_RETURN_PARAM_BASETYPE */
  1016. 0x8, /* FC_LONG */
  1017. /*  2 */
  1018. 0x4d, /* FC_IN_PARAM */
  1019. #ifndef _ALPHA_
  1020. 0x1, /* x86, MIPS & PPC Stack size = 1 */
  1021. #else
  1022. 0x2, /* Alpha Stack size = 2 */
  1023. #endif
  1024. /*  4 */ NdrFcShort( 0x2 ), /* Type Offset=2 */
  1025. /*  6 */ 0x53, /* FC_RETURN_PARAM_BASETYPE */
  1026. 0x8, /* FC_LONG */
  1027. /*  8 */
  1028. 0x4d, /* FC_IN_PARAM */
  1029. #ifndef _ALPHA_
  1030. 0x1, /* x86, MIPS & PPC Stack size = 1 */
  1031. #else
  1032. 0x2, /* Alpha Stack size = 2 */
  1033. #endif
  1034. /* 10 */ NdrFcShort( 0x2 ), /* Type Offset=2 */
  1035. /* 12 */
  1036. 0x4d, /* FC_IN_PARAM */
  1037. #ifndef _ALPHA_
  1038. 0x1, /* x86, MIPS & PPC Stack size = 1 */
  1039. #else
  1040. 0x2, /* Alpha Stack size = 2 */
  1041. #endif
  1042. /* 14 */ NdrFcShort( 0x2 ), /* Type Offset=2 */
  1043. /* 16 */ 0x53, /* FC_RETURN_PARAM_BASETYPE */
  1044. 0x8, /* FC_LONG */
  1045. /* 18 */
  1046. 0x4d, /* FC_IN_PARAM */
  1047. #ifndef _ALPHA_
  1048. 0x1, /* x86, MIPS & PPC Stack size = 1 */
  1049. #else
  1050. 0x2, /* Alpha Stack size = 2 */
  1051. #endif
  1052. /* 20 */ NdrFcShort( 0x2 ), /* Type Offset=2 */
  1053. /* 22 */
  1054. 0x51, /* FC_OUT_PARAM */
  1055. #ifndef _ALPHA_
  1056. 0x1, /* x86, MIPS & PPC Stack size = 1 */
  1057. #else
  1058. 0x2, /* Alpha Stack size = 2 */
  1059. #endif
  1060. /* 24 */ NdrFcShort( 0x6 ), /* Type Offset=6 */
  1061. /* 26 */ 0x53, /* FC_RETURN_PARAM_BASETYPE */
  1062. 0x8, /* FC_LONG */
  1063. 0x0
  1064.         }
  1065.     };
  1066. static const MIDL_TYPE_FORMAT_STRING __MIDL_TypeFormatString =
  1067.     {
  1068.         0,
  1069.         {
  1070. NdrFcShort( 0x0 ), /* 0 */
  1071. /*  2 */
  1072. 0x11, 0x8, /* FC_RP [simple_pointer] */
  1073. /*  4 */
  1074. 0x25, /* FC_C_WSTRING */
  1075. 0x5c, /* FC_PAD */
  1076. /*  6 */
  1077. 0x1d, /* FC_SMFARRAY */
  1078. 0x1, /* 1 */
  1079. /*  8 */ NdrFcShort( 0x40 ), /* 64 */
  1080. /* 10 */ 0x5, /* FC_WCHAR */
  1081. 0x5b, /* FC_END */
  1082. 0x0
  1083.         }
  1084.     };
  1085. const CInterfaceProxyVtbl * _dictionary_ProxyVtblList[] = 
  1086. {
  1087.     ( CInterfaceProxyVtbl *) &_IDictionaryProxyVtbl,
  1088.     ( CInterfaceProxyVtbl *) &_ISpellCheckProxyVtbl,
  1089.     0
  1090. };
  1091. const CInterfaceStubVtbl * _dictionary_StubVtblList[] = 
  1092. {
  1093.     ( CInterfaceStubVtbl *) &_IDictionaryStubVtbl,
  1094.     ( CInterfaceStubVtbl *) &_ISpellCheckStubVtbl,
  1095.     0
  1096. };
  1097. PCInterfaceName const _dictionary_InterfaceNamesList[] = 
  1098. {
  1099.     "IDictionary",
  1100.     "ISpellCheck",
  1101.     0
  1102. };
  1103. #define _dictionary_CHECK_IID(n) IID_GENERIC_CHECK_IID( _dictionary, pIID, n)
  1104. int __stdcall _dictionary_IID_Lookup( const IID * pIID, int * pIndex )
  1105. {
  1106.     IID_BS_LOOKUP_SETUP
  1107.     IID_BS_LOOKUP_INITIAL_TEST( _dictionary, 2, 1 )
  1108.     IID_BS_LOOKUP_RETURN_RESULT( _dictionary, 2, *pIndex )
  1109.     
  1110. }
  1111. const ExtendedProxyFileInfo dictionary_ProxyFileInfo = 
  1112. {
  1113.     (PCInterfaceProxyVtblList *) & _dictionary_ProxyVtblList,
  1114.     (PCInterfaceStubVtblList *) & _dictionary_StubVtblList,
  1115.     (const PCInterfaceName * ) & _dictionary_InterfaceNamesList,
  1116.     0, // no delegation
  1117.     & _dictionary_IID_Lookup, 
  1118.     2,
  1119.     1,
  1120.     0, /* table of [async_uuid] interfaces */
  1121.     0, /* Filler1 */
  1122.     0, /* Filler2 */
  1123.     0  /* Filler3 */
  1124. };