home *** CD-ROM | disk | FTP | other *** search
/ Tricks of the Windows Gam…ming Gurus (2nd Edition) / Disc2.iso / msdn_vcb / samples / vc98 / com / allinone / server / stlcoll_p.c < prev    next >
Encoding:
C/C++ Source or Header  |  1998-04-03  |  313.5 KB  |  9,945 lines

  1. /* this ALWAYS GENERATED file contains the proxy stub code */
  2.  
  3.  
  4. /* File created by MIDL compiler version 3.01.76 */
  5. /* at Wed Sep 24 14:39:38 1997
  6.  */
  7. /* Compiler settings for .\stlcoll.idl:
  8.     Os (OptLev=s), W1, Zp8, env=Win32, ms_ext, c_ext
  9.     error checks: none
  10. */
  11. //@@MIDL_FILE_HEADING(  )
  12.  
  13. #include "rpcproxy.h"
  14. #include "stlcoll.h"
  15.  
  16. #define TYPE_FORMAT_STRING_SIZE   331                               
  17. #define PROC_FORMAT_STRING_SIZE   303                               
  18.  
  19. typedef struct _MIDL_TYPE_FORMAT_STRING
  20.     {
  21.     short          Pad;
  22.     unsigned char  Format[ TYPE_FORMAT_STRING_SIZE ];
  23.     } MIDL_TYPE_FORMAT_STRING;
  24.  
  25. typedef struct _MIDL_PROC_FORMAT_STRING
  26.     {
  27.     short          Pad;
  28.     unsigned char  Format[ PROC_FORMAT_STRING_SIZE ];
  29.     } MIDL_PROC_FORMAT_STRING;
  30.  
  31. #pragma warning (disable:4700)
  32.  
  33. extern const MIDL_TYPE_FORMAT_STRING __MIDL_TypeFormatString;
  34. extern const MIDL_PROC_FORMAT_STRING __MIDL_ProcFormatString;
  35.  
  36.  
  37. /* Object interface: IUnknown, ver. 0.0,
  38.    GUID={0x00000000,0x0000,0x0000,{0xC0,0x00,0x00,0x00,0x00,0x00,0x00,0x46}} */
  39.  
  40.  
  41. /* Object interface: IStlMaps, ver. 0.0,
  42.    GUID={0x7CE086C9,0x3E78,0x11D0,{0xAE,0x6B,0x00,0xC0,0x4F,0xD7,0xD0,0x6E}} */
  43.  
  44.  
  45. extern const MIDL_STUB_DESC Object_StubDesc;
  46.  
  47.  
  48. #pragma code_seg(".orpc")
  49. const CINTERFACE_PROXY_VTABLE(3) _IStlMapsProxyVtbl = 
  50. {
  51.     &IID_IStlMaps,
  52.     IUnknown_QueryInterface_Proxy,
  53.     IUnknown_AddRef_Proxy,
  54.     IUnknown_Release_Proxy
  55. };
  56.  
  57.  
  58. static const PRPC_STUB_FUNCTION IStlMaps_table[] =
  59. {
  60.     0    /* a dummy for an empty interface */
  61. };
  62.  
  63. const CInterfaceStubVtbl _IStlMapsStubVtbl =
  64. {
  65.     &IID_IStlMaps,
  66.     0,
  67.     3,
  68.     &IStlMaps_table[-3],
  69.     CStdStubBuffer_METHODS
  70. };
  71.  
  72.  
  73. /* Object interface: IStlMapStringToMyObject, ver. 0.0,
  74.    GUID={0x7CE086CE,0x3E78,0x11D0,{0xAE,0x6B,0x00,0xC0,0x4F,0xD7,0xD0,0x6E}} */
  75.  
  76.  
  77. extern const MIDL_STUB_DESC Object_StubDesc;
  78.  
  79.  
  80. #pragma code_seg(".orpc")
  81.  
  82. /* [propget][id] */ HRESULT STDMETHODCALLTYPE IStlMapStringToMyObject_get_Map_Proxy( 
  83.     IStlMapStringToMyObject __RPC_FAR * This,
  84.     /* [in] */ BSTR str,
  85.     /* [retval][out] */ IMyStruct __RPC_FAR *__RPC_FAR *obj)
  86. {
  87.  
  88.     HRESULT _RetVal;
  89.     
  90.     RPC_MESSAGE _RpcMessage;
  91.     
  92.     MIDL_STUB_MESSAGE _StubMsg;
  93.     
  94.     *obj = 0;
  95.     RpcTryExcept
  96.         {
  97.         NdrProxyInitialize(
  98.                       ( void __RPC_FAR *  )This,
  99.                       ( PRPC_MESSAGE  )&_RpcMessage,
  100.                       ( PMIDL_STUB_MESSAGE  )&_StubMsg,
  101.                       ( PMIDL_STUB_DESC  )&Object_StubDesc,
  102.                       3);
  103.         
  104.         
  105.         
  106.         RpcTryFinally
  107.             {
  108.             
  109.             _StubMsg.BufferLength = 4U;
  110.             NdrUserMarshalBufferSize( (PMIDL_STUB_MESSAGE) &_StubMsg,
  111.                                       (unsigned char __RPC_FAR *)&str,
  112.                                       (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[24] );
  113.             
  114.             NdrProxyGetBuffer(This, &_StubMsg);
  115.             NdrUserMarshalMarshall( (PMIDL_STUB_MESSAGE)& _StubMsg,
  116.                                     (unsigned char __RPC_FAR *)&str,
  117.                                     (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[24] );
  118.             
  119.             NdrProxySendReceive(This, &_StubMsg);
  120.             
  121.             if ( (_RpcMessage.DataRepresentation & 0X0000FFFFUL) != NDR_LOCAL_DATA_REPRESENTATION )
  122.                 NdrConvert( (PMIDL_STUB_MESSAGE) &_StubMsg, (PFORMAT_STRING) &__MIDL_ProcFormatString.Format[0] );
  123.             
  124.             NdrPointerUnmarshall( (PMIDL_STUB_MESSAGE) &_StubMsg,
  125.                                   (unsigned char __RPC_FAR * __RPC_FAR *)&obj,
  126.                                   (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[34],
  127.                                   (unsigned char)0 );
  128.             
  129.             _StubMsg.Buffer = (unsigned char __RPC_FAR *)(((long)_StubMsg.Buffer + 3) & ~ 0x3);
  130.             _RetVal = *(( HRESULT __RPC_FAR * )_StubMsg.Buffer)++;
  131.             
  132.             }
  133.         RpcFinally
  134.             {
  135.             NdrProxyFreeBuffer(This, &_StubMsg);
  136.             
  137.             }
  138.         RpcEndFinally
  139.         
  140.         }
  141.     RpcExcept(_StubMsg.dwStubPhase != PROXY_SENDRECEIVE)
  142.         {
  143.         NdrClearOutParameters(
  144.                          ( PMIDL_STUB_MESSAGE  )&_StubMsg,
  145.                          ( PFORMAT_STRING  )&__MIDL_TypeFormatString.Format[34],
  146.                          ( void __RPC_FAR * )obj);
  147.         _RetVal = NdrProxyErrorHandler(RpcExceptionCode());
  148.         }
  149.     RpcEndExcept
  150.     return _RetVal;
  151. }
  152.  
  153. void __RPC_STUB IStlMapStringToMyObject_get_Map_Stub(
  154.     IRpcStubBuffer *This,
  155.     IRpcChannelBuffer *_pRpcChannelBuffer,
  156.     PRPC_MESSAGE _pRpcMessage,
  157.     DWORD *_pdwStubPhase)
  158. {
  159.     IMyStruct __RPC_FAR *_M0;
  160.     HRESULT _RetVal;
  161.     MIDL_STUB_MESSAGE _StubMsg;
  162.     void __RPC_FAR *_p_str;
  163.     IMyStruct __RPC_FAR *__RPC_FAR *obj;
  164.     BSTR str;
  165.     
  166. NdrStubInitialize(
  167.                      _pRpcMessage,
  168.                      &_StubMsg,
  169.                      &Object_StubDesc,
  170.                      _pRpcChannelBuffer);
  171.     _p_str = &str;
  172.     MIDL_memset(
  173.                _p_str,
  174.                0,
  175.                sizeof( BSTR  ));
  176.     obj = 0;
  177.     RpcTryFinally
  178.         {
  179.         if ( (_pRpcMessage->DataRepresentation & 0X0000FFFFUL) != NDR_LOCAL_DATA_REPRESENTATION )
  180.             NdrConvert( (PMIDL_STUB_MESSAGE) &_StubMsg, (PFORMAT_STRING) &__MIDL_ProcFormatString.Format[0] );
  181.         
  182.         NdrUserMarshalUnmarshall( (PMIDL_STUB_MESSAGE) &_StubMsg,
  183.                                   (unsigned char __RPC_FAR * __RPC_FAR *)&_p_str,
  184.                                   (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[24],
  185.                                   (unsigned char)0 );
  186.         
  187.         obj = &_M0;
  188.         _M0 = 0;
  189.         
  190.         *_pdwStubPhase = STUB_CALL_SERVER;
  191.         _RetVal = (((IStlMapStringToMyObject *) ((CStdStubBuffer *)This)->pvServerObject)->lpVtbl) -> get_Map(
  192.            (IStlMapStringToMyObject *) ((CStdStubBuffer *)This)->pvServerObject,
  193.            str,
  194.            obj);
  195.         
  196.         *_pdwStubPhase = STUB_MARSHAL;
  197.         
  198.         _StubMsg.BufferLength = 4U + 11U;
  199.         NdrPointerBufferSize( (PMIDL_STUB_MESSAGE) &_StubMsg,
  200.                               (unsigned char __RPC_FAR *)obj,
  201.                               (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[34] );
  202.         
  203.         _StubMsg.BufferLength += 16;
  204.         
  205.         NdrStubGetBuffer(This, _pRpcChannelBuffer, &_StubMsg);
  206.         NdrPointerMarshall( (PMIDL_STUB_MESSAGE)& _StubMsg,
  207.                             (unsigned char __RPC_FAR *)obj,
  208.                             (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[34] );
  209.         
  210.         _StubMsg.Buffer = (unsigned char __RPC_FAR *)(((long)_StubMsg.Buffer + 3) & ~ 0x3);
  211.         *(( HRESULT __RPC_FAR * )_StubMsg.Buffer)++ = _RetVal;
  212.         
  213.         }
  214.     RpcFinally
  215.         {
  216.         NdrUserMarshalFree( &_StubMsg,
  217.                             (unsigned char __RPC_FAR *)&str,
  218.                             &__MIDL_TypeFormatString.Format[24] );
  219.         
  220.         NdrPointerFree( &_StubMsg,
  221.                         (unsigned char __RPC_FAR *)obj,
  222.                         &__MIDL_TypeFormatString.Format[34] );
  223.         
  224.         }
  225.     RpcEndFinally
  226.     _pRpcMessage->BufferLength = 
  227.         (unsigned int)((long)_StubMsg.Buffer - (long)_pRpcMessage->Buffer);
  228.     
  229. }
  230.  
  231.  
  232. /* [propput][id] */ HRESULT STDMETHODCALLTYPE IStlMapStringToMyObject_put_Map_Proxy( 
  233.     IStlMapStringToMyObject __RPC_FAR * This,
  234.     /* [in] */ BSTR str,
  235.     /* [in] */ IMyStruct __RPC_FAR *obj)
  236. {
  237.  
  238.     HRESULT _RetVal;
  239.     
  240.     RPC_MESSAGE _RpcMessage;
  241.     
  242.     MIDL_STUB_MESSAGE _StubMsg;
  243.     
  244.     RpcTryExcept
  245.         {
  246.         NdrProxyInitialize(
  247.                       ( void __RPC_FAR *  )This,
  248.                       ( PRPC_MESSAGE  )&_RpcMessage,
  249.                       ( PMIDL_STUB_MESSAGE  )&_StubMsg,
  250.                       ( PMIDL_STUB_DESC  )&Object_StubDesc,
  251.                       4);
  252.         
  253.         
  254.         
  255.         RpcTryFinally
  256.             {
  257.             
  258.             _StubMsg.BufferLength = 4U + 0U;
  259.             NdrUserMarshalBufferSize( (PMIDL_STUB_MESSAGE) &_StubMsg,
  260.                                       (unsigned char __RPC_FAR *)&str,
  261.                                       (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[72] );
  262.             
  263.             NdrComplexStructBufferSize( (PMIDL_STUB_MESSAGE) &_StubMsg,
  264.                                         (unsigned char __RPC_FAR *)obj,
  265.                                         (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[56] );
  266.             
  267.             NdrProxyGetBuffer(This, &_StubMsg);
  268.             NdrUserMarshalMarshall( (PMIDL_STUB_MESSAGE)& _StubMsg,
  269.                                     (unsigned char __RPC_FAR *)&str,
  270.                                     (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[72] );
  271.             
  272.             NdrComplexStructMarshall( (PMIDL_STUB_MESSAGE)& _StubMsg,
  273.                                       (unsigned char __RPC_FAR *)obj,
  274.                                       (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[56] );
  275.             
  276.             NdrProxySendReceive(This, &_StubMsg);
  277.             
  278.             if ( (_RpcMessage.DataRepresentation & 0X0000FFFFUL) != NDR_LOCAL_DATA_REPRESENTATION )
  279.                 NdrConvert( (PMIDL_STUB_MESSAGE) &_StubMsg, (PFORMAT_STRING) &__MIDL_ProcFormatString.Format[10] );
  280.             
  281.             _RetVal = *(( HRESULT __RPC_FAR * )_StubMsg.Buffer)++;
  282.             
  283.             }
  284.         RpcFinally
  285.             {
  286.             NdrProxyFreeBuffer(This, &_StubMsg);
  287.             
  288.             }
  289.         RpcEndFinally
  290.         
  291.         }
  292.     RpcExcept(_StubMsg.dwStubPhase != PROXY_SENDRECEIVE)
  293.         {
  294.         _RetVal = NdrProxyErrorHandler(RpcExceptionCode());
  295.         }
  296.     RpcEndExcept
  297.     return _RetVal;
  298. }
  299.  
  300. void __RPC_STUB IStlMapStringToMyObject_put_Map_Stub(
  301.     IRpcStubBuffer *This,
  302.     IRpcChannelBuffer *_pRpcChannelBuffer,
  303.     PRPC_MESSAGE _pRpcMessage,
  304.     DWORD *_pdwStubPhase)
  305. {
  306.     HRESULT _RetVal;
  307.     MIDL_STUB_MESSAGE _StubMsg;
  308.     void __RPC_FAR *_p_str;
  309.     IMyStruct __RPC_FAR *obj;
  310.     BSTR str;
  311.     
  312. NdrStubInitialize(
  313.                      _pRpcMessage,
  314.                      &_StubMsg,
  315.                      &Object_StubDesc,
  316.                      _pRpcChannelBuffer);
  317.     _p_str = &str;
  318.     MIDL_memset(
  319.                _p_str,
  320.                0,
  321.                sizeof( BSTR  ));
  322.     obj = 0;
  323.     RpcTryFinally
  324.         {
  325.         if ( (_pRpcMessage->DataRepresentation & 0X0000FFFFUL) != NDR_LOCAL_DATA_REPRESENTATION )
  326.             NdrConvert( (PMIDL_STUB_MESSAGE) &_StubMsg, (PFORMAT_STRING) &__MIDL_ProcFormatString.Format[10] );
  327.         
  328.         NdrUserMarshalUnmarshall( (PMIDL_STUB_MESSAGE) &_StubMsg,
  329.                                   (unsigned char __RPC_FAR * __RPC_FAR *)&_p_str,
  330.                                   (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[72],
  331.                                   (unsigned char)0 );
  332.         
  333.         NdrComplexStructUnmarshall( (PMIDL_STUB_MESSAGE) &_StubMsg,
  334.                                     (unsigned char __RPC_FAR * __RPC_FAR *)&obj,
  335.                                     (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[56],
  336.                                     (unsigned char)0 );
  337.         
  338.         
  339.         *_pdwStubPhase = STUB_CALL_SERVER;
  340.         _RetVal = (((IStlMapStringToMyObject *) ((CStdStubBuffer *)This)->pvServerObject)->lpVtbl) -> put_Map(
  341.            (IStlMapStringToMyObject *) ((CStdStubBuffer *)This)->pvServerObject,
  342.            str,
  343.            obj);
  344.         
  345.         *_pdwStubPhase = STUB_MARSHAL;
  346.         
  347.         _StubMsg.BufferLength = 4U;
  348.         NdrStubGetBuffer(This, _pRpcChannelBuffer, &_StubMsg);
  349.         *(( HRESULT __RPC_FAR * )_StubMsg.Buffer)++ = _RetVal;
  350.         
  351.         }
  352.     RpcFinally
  353.         {
  354.         NdrUserMarshalFree( &_StubMsg,
  355.                             (unsigned char __RPC_FAR *)&str,
  356.                             &__MIDL_TypeFormatString.Format[72] );
  357.         
  358.         NdrPointerFree( &_StubMsg,
  359.                         (unsigned char __RPC_FAR *)obj,
  360.                         &__MIDL_TypeFormatString.Format[82] );
  361.         
  362.         }
  363.     RpcEndFinally
  364.     _pRpcMessage->BufferLength = 
  365.         (unsigned int)((long)_StubMsg.Buffer - (long)_pRpcMessage->Buffer);
  366.     
  367. }
  368.  
  369.  
  370. /* [id] */ HRESULT STDMETHODCALLTYPE IStlMapStringToMyObject_Lookup_Proxy( 
  371.     IStlMapStringToMyObject __RPC_FAR * This,
  372.     /* [in] */ BSTR str,
  373.     IMyStruct __RPC_FAR *__RPC_FAR *obj,
  374.     /* [retval][out] */ VARIANT_BOOL __RPC_FAR *b)
  375. {
  376.  
  377.     HRESULT _RetVal;
  378.     
  379.     RPC_MESSAGE _RpcMessage;
  380.     
  381.     MIDL_STUB_MESSAGE _StubMsg;
  382.     
  383.     RpcTryExcept
  384.         {
  385.         NdrProxyInitialize(
  386.                       ( void __RPC_FAR *  )This,
  387.                       ( PRPC_MESSAGE  )&_RpcMessage,
  388.                       ( PMIDL_STUB_MESSAGE  )&_StubMsg,
  389.                       ( PMIDL_STUB_DESC  )&Object_StubDesc,
  390.                       5);
  391.         
  392.         
  393.         
  394.         RpcTryFinally
  395.             {
  396.             
  397.             _StubMsg.BufferLength = 4U + 11U;
  398.             NdrUserMarshalBufferSize( (PMIDL_STUB_MESSAGE) &_StubMsg,
  399.                                       (unsigned char __RPC_FAR *)&str,
  400.                                       (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[86] );
  401.             
  402.             NdrPointerBufferSize( (PMIDL_STUB_MESSAGE) &_StubMsg,
  403.                                   (unsigned char __RPC_FAR *)obj,
  404.                                   (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[96] );
  405.             
  406.             NdrProxyGetBuffer(This, &_StubMsg);
  407.             NdrUserMarshalMarshall( (PMIDL_STUB_MESSAGE)& _StubMsg,
  408.                                     (unsigned char __RPC_FAR *)&str,
  409.                                     (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[86] );
  410.             
  411.             NdrPointerMarshall( (PMIDL_STUB_MESSAGE)& _StubMsg,
  412.                                 (unsigned char __RPC_FAR *)obj,
  413.                                 (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[96] );
  414.             
  415.             NdrProxySendReceive(This, &_StubMsg);
  416.             
  417.             if ( (_RpcMessage.DataRepresentation & 0X0000FFFFUL) != NDR_LOCAL_DATA_REPRESENTATION )
  418.                 NdrConvert( (PMIDL_STUB_MESSAGE) &_StubMsg, (PFORMAT_STRING) &__MIDL_ProcFormatString.Format[20] );
  419.             
  420.             *b = *(( VARIANT_BOOL __RPC_FAR * )_StubMsg.Buffer)++;
  421.             
  422.             _StubMsg.Buffer += 2;
  423.             _RetVal = *(( HRESULT __RPC_FAR * )_StubMsg.Buffer)++;
  424.             
  425.             }
  426.         RpcFinally
  427.             {
  428.             NdrProxyFreeBuffer(This, &_StubMsg);
  429.             
  430.             }
  431.         RpcEndFinally
  432.         
  433.         }
  434.     RpcExcept(_StubMsg.dwStubPhase != PROXY_SENDRECEIVE)
  435.         {
  436.         NdrClearOutParameters(
  437.                          ( PMIDL_STUB_MESSAGE  )&_StubMsg,
  438.                          ( PFORMAT_STRING  )&__MIDL_TypeFormatString.Format[104],
  439.                          ( void __RPC_FAR * )b);
  440.         _RetVal = NdrProxyErrorHandler(RpcExceptionCode());
  441.         }
  442.     RpcEndExcept
  443.     return _RetVal;
  444. }
  445.  
  446. void __RPC_STUB IStlMapStringToMyObject_Lookup_Stub(
  447.     IRpcStubBuffer *This,
  448.     IRpcChannelBuffer *_pRpcChannelBuffer,
  449.     PRPC_MESSAGE _pRpcMessage,
  450.     DWORD *_pdwStubPhase)
  451. {
  452.     VARIANT_BOOL _M1;
  453.     HRESULT _RetVal;
  454.     MIDL_STUB_MESSAGE _StubMsg;
  455.     void __RPC_FAR *_p_str;
  456.     VARIANT_BOOL __RPC_FAR *b;
  457.     IMyStruct __RPC_FAR *__RPC_FAR *obj;
  458.     BSTR str;
  459.     
  460. NdrStubInitialize(
  461.                      _pRpcMessage,
  462.                      &_StubMsg,
  463.                      &Object_StubDesc,
  464.                      _pRpcChannelBuffer);
  465.     _p_str = &str;
  466.     MIDL_memset(
  467.                _p_str,
  468.                0,
  469.                sizeof( BSTR  ));
  470.     obj = 0;
  471.     b = 0;
  472.     RpcTryFinally
  473.         {
  474.         if ( (_pRpcMessage->DataRepresentation & 0X0000FFFFUL) != NDR_LOCAL_DATA_REPRESENTATION )
  475.             NdrConvert( (PMIDL_STUB_MESSAGE) &_StubMsg, (PFORMAT_STRING) &__MIDL_ProcFormatString.Format[20] );
  476.         
  477.         NdrUserMarshalUnmarshall( (PMIDL_STUB_MESSAGE) &_StubMsg,
  478.                                   (unsigned char __RPC_FAR * __RPC_FAR *)&_p_str,
  479.                                   (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[86],
  480.                                   (unsigned char)0 );
  481.         
  482.         NdrPointerUnmarshall( (PMIDL_STUB_MESSAGE) &_StubMsg,
  483.                               (unsigned char __RPC_FAR * __RPC_FAR *)&obj,
  484.                               (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[96],
  485.                               (unsigned char)0 );
  486.         
  487.         b = &_M1;
  488.         
  489.         *_pdwStubPhase = STUB_CALL_SERVER;
  490.         _RetVal = (((IStlMapStringToMyObject *) ((CStdStubBuffer *)This)->pvServerObject)->lpVtbl) -> Lookup(
  491.           (IStlMapStringToMyObject *) ((CStdStubBuffer *)This)->pvServerObject,
  492.           str,
  493.           obj,
  494.           b);
  495.         
  496.         *_pdwStubPhase = STUB_MARSHAL;
  497.         
  498.         _StubMsg.BufferLength = 2U + 6U;
  499.         NdrStubGetBuffer(This, _pRpcChannelBuffer, &_StubMsg);
  500.         *(( VARIANT_BOOL __RPC_FAR * )_StubMsg.Buffer)++ = *b;
  501.         
  502.         _StubMsg.Buffer += 2;
  503.         *(( HRESULT __RPC_FAR * )_StubMsg.Buffer)++ = _RetVal;
  504.         
  505.         }
  506.     RpcFinally
  507.         {
  508.         NdrUserMarshalFree( &_StubMsg,
  509.                             (unsigned char __RPC_FAR *)&str,
  510.                             &__MIDL_TypeFormatString.Format[86] );
  511.         
  512.         NdrPointerFree( &_StubMsg,
  513.                         (unsigned char __RPC_FAR *)obj,
  514.                         &__MIDL_TypeFormatString.Format[96] );
  515.         
  516.         }
  517.     RpcEndFinally
  518.     _pRpcMessage->BufferLength = 
  519.         (unsigned int)((long)_StubMsg.Buffer - (long)_pRpcMessage->Buffer);
  520.     
  521. }
  522.  
  523.  
  524. /* [id] */ HRESULT STDMETHODCALLTYPE IStlMapStringToMyObject_First_Proxy( 
  525.     IStlMapStringToMyObject __RPC_FAR * This)
  526. {
  527.  
  528.     HRESULT _RetVal;
  529.     
  530.     RPC_MESSAGE _RpcMessage;
  531.     
  532.     MIDL_STUB_MESSAGE _StubMsg;
  533.     
  534.     RpcTryExcept
  535.         {
  536.         NdrProxyInitialize(
  537.                       ( void __RPC_FAR *  )This,
  538.                       ( PRPC_MESSAGE  )&_RpcMessage,
  539.                       ( PMIDL_STUB_MESSAGE  )&_StubMsg,
  540.                       ( PMIDL_STUB_DESC  )&Object_StubDesc,
  541.                       6);
  542.         
  543.         
  544.         
  545.         RpcTryFinally
  546.             {
  547.             
  548.             _StubMsg.BufferLength = 0U;
  549.             NdrProxyGetBuffer(This, &_StubMsg);
  550.             NdrProxySendReceive(This, &_StubMsg);
  551.             
  552.             if ( (_RpcMessage.DataRepresentation & 0X0000FFFFUL) != NDR_LOCAL_DATA_REPRESENTATION )
  553.                 NdrConvert( (PMIDL_STUB_MESSAGE) &_StubMsg, (PFORMAT_STRING) &__MIDL_ProcFormatString.Format[34] );
  554.             
  555.             _RetVal = *(( HRESULT __RPC_FAR * )_StubMsg.Buffer)++;
  556.             
  557.             }
  558.         RpcFinally
  559.             {
  560.             NdrProxyFreeBuffer(This, &_StubMsg);
  561.             
  562.             }
  563.         RpcEndFinally
  564.         
  565.         }
  566.     RpcExcept(_StubMsg.dwStubPhase != PROXY_SENDRECEIVE)
  567.         {
  568.         _RetVal = NdrProxyErrorHandler(RpcExceptionCode());
  569.         }
  570.     RpcEndExcept
  571.     return _RetVal;
  572. }
  573.  
  574. void __RPC_STUB IStlMapStringToMyObject_First_Stub(
  575.     IRpcStubBuffer *This,
  576.     IRpcChannelBuffer *_pRpcChannelBuffer,
  577.     PRPC_MESSAGE _pRpcMessage,
  578.     DWORD *_pdwStubPhase)
  579. {
  580.     HRESULT _RetVal;
  581.     MIDL_STUB_MESSAGE _StubMsg;
  582.     
  583. NdrStubInitialize(
  584.                      _pRpcMessage,
  585.                      &_StubMsg,
  586.                      &Object_StubDesc,
  587.                      _pRpcChannelBuffer);
  588.     RpcTryFinally
  589.         {
  590.         
  591.         *_pdwStubPhase = STUB_CALL_SERVER;
  592.         _RetVal = (((IStlMapStringToMyObject *) ((CStdStubBuffer *)This)->pvServerObject)->lpVtbl) -> First((IStlMapStringToMyObject *) ((CStdStubBuffer *)This)->pvServerObject);
  593.         
  594.         *_pdwStubPhase = STUB_MARSHAL;
  595.         
  596.         _StubMsg.BufferLength = 4U;
  597.         NdrStubGetBuffer(This, _pRpcChannelBuffer, &_StubMsg);
  598.         *(( HRESULT __RPC_FAR * )_StubMsg.Buffer)++ = _RetVal;
  599.         
  600.         }
  601.     RpcFinally
  602.         {
  603.         }
  604.     RpcEndFinally
  605.     _pRpcMessage->BufferLength = 
  606.         (unsigned int)((long)_StubMsg.Buffer - (long)_pRpcMessage->Buffer);
  607.     
  608. }
  609.  
  610.  
  611. /* [id] */ HRESULT STDMETHODCALLTYPE IStlMapStringToMyObject_Next_Proxy( 
  612.     IStlMapStringToMyObject __RPC_FAR * This,
  613.     /* [out] */ BSTR __RPC_FAR *str,
  614.     /* [out] */ IMyStruct __RPC_FAR *__RPC_FAR *obj,
  615.     /* [retval][out] */ VARIANT_BOOL __RPC_FAR *b)
  616. {
  617.  
  618.     HRESULT _RetVal;
  619.     
  620.     RPC_MESSAGE _RpcMessage;
  621.     
  622.     MIDL_STUB_MESSAGE _StubMsg;
  623.     
  624.     MIDL_memset(
  625.                str,
  626.                0,
  627.                sizeof( BSTR  ));
  628.     *obj = 0;
  629.     RpcTryExcept
  630.         {
  631.         NdrProxyInitialize(
  632.                       ( void __RPC_FAR *  )This,
  633.                       ( PRPC_MESSAGE  )&_RpcMessage,
  634.                       ( PMIDL_STUB_MESSAGE  )&_StubMsg,
  635.                       ( PMIDL_STUB_DESC  )&Object_StubDesc,
  636.                       7);
  637.         
  638.         
  639.         
  640.         RpcTryFinally
  641.             {
  642.             
  643.             _StubMsg.BufferLength = 0U;
  644.             NdrProxyGetBuffer(This, &_StubMsg);
  645.             NdrProxySendReceive(This, &_StubMsg);
  646.             
  647.             if ( (_RpcMessage.DataRepresentation & 0X0000FFFFUL) != NDR_LOCAL_DATA_REPRESENTATION )
  648.                 NdrConvert( (PMIDL_STUB_MESSAGE) &_StubMsg, (PFORMAT_STRING) &__MIDL_ProcFormatString.Format[36] );
  649.             
  650.             NdrUserMarshalUnmarshall( (PMIDL_STUB_MESSAGE) &_StubMsg,
  651.                                       (unsigned char __RPC_FAR * __RPC_FAR *)&str,
  652.                                       (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[112],
  653.                                       (unsigned char)0 );
  654.             
  655.             NdrPointerUnmarshall( (PMIDL_STUB_MESSAGE) &_StubMsg,
  656.                                   (unsigned char __RPC_FAR * __RPC_FAR *)&obj,
  657.                                   (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[34],
  658.                                   (unsigned char)0 );
  659.             
  660.             _StubMsg.Buffer = (unsigned char __RPC_FAR *)(((long)_StubMsg.Buffer + 1) & ~ 0x1);
  661.             *b = *(( VARIANT_BOOL __RPC_FAR * )_StubMsg.Buffer)++;
  662.             
  663.             _StubMsg.Buffer = (unsigned char __RPC_FAR *)(((long)_StubMsg.Buffer + 3) & ~ 0x3);
  664.             _RetVal = *(( HRESULT __RPC_FAR * )_StubMsg.Buffer)++;
  665.             
  666.             }
  667.         RpcFinally
  668.             {
  669.             NdrProxyFreeBuffer(This, &_StubMsg);
  670.             
  671.             }
  672.         RpcEndFinally
  673.         
  674.         }
  675.     RpcExcept(_StubMsg.dwStubPhase != PROXY_SENDRECEIVE)
  676.         {
  677.         NdrClearOutParameters(
  678.                          ( PMIDL_STUB_MESSAGE  )&_StubMsg,
  679.                          ( PFORMAT_STRING  )&__MIDL_TypeFormatString.Format[108],
  680.                          ( void __RPC_FAR * )str);
  681.         NdrClearOutParameters(
  682.                          ( PMIDL_STUB_MESSAGE  )&_StubMsg,
  683.                          ( PFORMAT_STRING  )&__MIDL_TypeFormatString.Format[34],
  684.                          ( void __RPC_FAR * )obj);
  685.         NdrClearOutParameters(
  686.                          ( PMIDL_STUB_MESSAGE  )&_StubMsg,
  687.                          ( PFORMAT_STRING  )&__MIDL_TypeFormatString.Format[104],
  688.                          ( void __RPC_FAR * )b);
  689.         _RetVal = NdrProxyErrorHandler(RpcExceptionCode());
  690.         }
  691.     RpcEndExcept
  692.     return _RetVal;
  693. }
  694.  
  695. void __RPC_STUB IStlMapStringToMyObject_Next_Stub(
  696.     IRpcStubBuffer *This,
  697.     IRpcChannelBuffer *_pRpcChannelBuffer,
  698.     PRPC_MESSAGE _pRpcMessage,
  699.     DWORD *_pdwStubPhase)
  700. {
  701.     BSTR _M2;
  702.     IMyStruct __RPC_FAR *_M3;
  703.     VARIANT_BOOL _M4;
  704.     HRESULT _RetVal;
  705.     MIDL_STUB_MESSAGE _StubMsg;
  706.     VARIANT_BOOL __RPC_FAR *b;
  707.     IMyStruct __RPC_FAR *__RPC_FAR *obj;
  708.     BSTR __RPC_FAR *str;
  709.     
  710. NdrStubInitialize(
  711.                      _pRpcMessage,
  712.                      &_StubMsg,
  713.                      &Object_StubDesc,
  714.                      _pRpcChannelBuffer);
  715.     str = 0;
  716.     obj = 0;
  717.     b = 0;
  718.     RpcTryFinally
  719.         {
  720.         str = &_M2;
  721.         MIDL_memset(
  722.                str,
  723.                0,
  724.                sizeof( BSTR  ));
  725.         obj = &_M3;
  726.         _M3 = 0;
  727.         b = &_M4;
  728.         
  729.         *_pdwStubPhase = STUB_CALL_SERVER;
  730.         _RetVal = (((IStlMapStringToMyObject *) ((CStdStubBuffer *)This)->pvServerObject)->lpVtbl) -> Next(
  731.         (IStlMapStringToMyObject *) ((CStdStubBuffer *)This)->pvServerObject,
  732.         str,
  733.         obj,
  734.         b);
  735.         
  736.         *_pdwStubPhase = STUB_MARSHAL;
  737.         
  738.         _StubMsg.BufferLength = 4U + 11U + 5U + 10U;
  739.         NdrUserMarshalBufferSize( (PMIDL_STUB_MESSAGE) &_StubMsg,
  740.                                   (unsigned char __RPC_FAR *)str,
  741.                                   (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[112] );
  742.         
  743.         NdrPointerBufferSize( (PMIDL_STUB_MESSAGE) &_StubMsg,
  744.                               (unsigned char __RPC_FAR *)obj,
  745.                               (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[34] );
  746.         
  747.         _StubMsg.BufferLength += 16;
  748.         
  749.         NdrStubGetBuffer(This, _pRpcChannelBuffer, &_StubMsg);
  750.         NdrUserMarshalMarshall( (PMIDL_STUB_MESSAGE)& _StubMsg,
  751.                                 (unsigned char __RPC_FAR *)str,
  752.                                 (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[112] );
  753.         
  754.         NdrPointerMarshall( (PMIDL_STUB_MESSAGE)& _StubMsg,
  755.                             (unsigned char __RPC_FAR *)obj,
  756.                             (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[34] );
  757.         
  758.         _StubMsg.Buffer = (unsigned char __RPC_FAR *)(((long)_StubMsg.Buffer + 1) & ~ 0x1);
  759.         *(( VARIANT_BOOL __RPC_FAR * )_StubMsg.Buffer)++ = *b;
  760.         
  761.         _StubMsg.Buffer = (unsigned char __RPC_FAR *)(((long)_StubMsg.Buffer + 3) & ~ 0x3);
  762.         *(( HRESULT __RPC_FAR * )_StubMsg.Buffer)++ = _RetVal;
  763.         
  764.         }
  765.     RpcFinally
  766.         {
  767.         NdrPointerFree( &_StubMsg,
  768.                         (unsigned char __RPC_FAR *)str,
  769.                         &__MIDL_TypeFormatString.Format[108] );
  770.         
  771.         NdrPointerFree( &_StubMsg,
  772.                         (unsigned char __RPC_FAR *)obj,
  773.                         &__MIDL_TypeFormatString.Format[34] );
  774.         
  775.         }
  776.     RpcEndFinally
  777.     _pRpcMessage->BufferLength = 
  778.         (unsigned int)((long)_StubMsg.Buffer - (long)_pRpcMessage->Buffer);
  779.     
  780. }
  781.  
  782.  
  783. /* [propget][id] */ HRESULT STDMETHODCALLTYPE IStlMapStringToMyObject_get_Remove_Proxy( 
  784.     IStlMapStringToMyObject __RPC_FAR * This,
  785.     /* [retval][out] */ BSTR __RPC_FAR *str)
  786. {
  787.  
  788.     HRESULT _RetVal;
  789.     
  790.     RPC_MESSAGE _RpcMessage;
  791.     
  792.     MIDL_STUB_MESSAGE _StubMsg;
  793.     
  794.     MIDL_memset(
  795.                str,
  796.                0,
  797.                sizeof( BSTR  ));
  798.     RpcTryExcept
  799.         {
  800.         NdrProxyInitialize(
  801.                       ( void __RPC_FAR *  )This,
  802.                       ( PRPC_MESSAGE  )&_RpcMessage,
  803.                       ( PMIDL_STUB_MESSAGE  )&_StubMsg,
  804.                       ( PMIDL_STUB_DESC  )&Object_StubDesc,
  805.                       8);
  806.         
  807.         
  808.         
  809.         RpcTryFinally
  810.             {
  811.             
  812.             _StubMsg.BufferLength = 0U;
  813.             NdrProxyGetBuffer(This, &_StubMsg);
  814.             NdrProxySendReceive(This, &_StubMsg);
  815.             
  816.             if ( (_RpcMessage.DataRepresentation & 0X0000FFFFUL) != NDR_LOCAL_DATA_REPRESENTATION )
  817.                 NdrConvert( (PMIDL_STUB_MESSAGE) &_StubMsg, (PFORMAT_STRING) &__MIDL_ProcFormatString.Format[50] );
  818.             
  819.             NdrUserMarshalUnmarshall( (PMIDL_STUB_MESSAGE) &_StubMsg,
  820.                                       (unsigned char __RPC_FAR * __RPC_FAR *)&str,
  821.                                       (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[126],
  822.                                       (unsigned char)0 );
  823.             
  824.             _StubMsg.Buffer = (unsigned char __RPC_FAR *)(((long)_StubMsg.Buffer + 3) & ~ 0x3);
  825.             _RetVal = *(( HRESULT __RPC_FAR * )_StubMsg.Buffer)++;
  826.             
  827.             }
  828.         RpcFinally
  829.             {
  830.             NdrProxyFreeBuffer(This, &_StubMsg);
  831.             
  832.             }
  833.         RpcEndFinally
  834.         
  835.         }
  836.     RpcExcept(_StubMsg.dwStubPhase != PROXY_SENDRECEIVE)
  837.         {
  838.         NdrClearOutParameters(
  839.                          ( PMIDL_STUB_MESSAGE  )&_StubMsg,
  840.                          ( PFORMAT_STRING  )&__MIDL_TypeFormatString.Format[122],
  841.                          ( void __RPC_FAR * )str);
  842.         _RetVal = NdrProxyErrorHandler(RpcExceptionCode());
  843.         }
  844.     RpcEndExcept
  845.     return _RetVal;
  846. }
  847.  
  848. void __RPC_STUB IStlMapStringToMyObject_get_Remove_Stub(
  849.     IRpcStubBuffer *This,
  850.     IRpcChannelBuffer *_pRpcChannelBuffer,
  851.     PRPC_MESSAGE _pRpcMessage,
  852.     DWORD *_pdwStubPhase)
  853. {
  854.     BSTR _M5;
  855.     HRESULT _RetVal;
  856.     MIDL_STUB_MESSAGE _StubMsg;
  857.     BSTR __RPC_FAR *str;
  858.     
  859. NdrStubInitialize(
  860.                      _pRpcMessage,
  861.                      &_StubMsg,
  862.                      &Object_StubDesc,
  863.                      _pRpcChannelBuffer);
  864.     str = 0;
  865.     RpcTryFinally
  866.         {
  867.         str = &_M5;
  868.         MIDL_memset(
  869.                str,
  870.                0,
  871.                sizeof( BSTR  ));
  872.         
  873.         *_pdwStubPhase = STUB_CALL_SERVER;
  874.         _RetVal = (((IStlMapStringToMyObject *) ((CStdStubBuffer *)This)->pvServerObject)->lpVtbl) -> get_Remove((IStlMapStringToMyObject *) ((CStdStubBuffer *)This)->pvServerObject,str);
  875.         
  876.         *_pdwStubPhase = STUB_MARSHAL;
  877.         
  878.         _StubMsg.BufferLength = 4U + 11U;
  879.         NdrUserMarshalBufferSize( (PMIDL_STUB_MESSAGE) &_StubMsg,
  880.                                   (unsigned char __RPC_FAR *)str,
  881.                                   (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[126] );
  882.         
  883.         _StubMsg.BufferLength += 16;
  884.         
  885.         NdrStubGetBuffer(This, _pRpcChannelBuffer, &_StubMsg);
  886.         NdrUserMarshalMarshall( (PMIDL_STUB_MESSAGE)& _StubMsg,
  887.                                 (unsigned char __RPC_FAR *)str,
  888.                                 (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[126] );
  889.         
  890.         _StubMsg.Buffer = (unsigned char __RPC_FAR *)(((long)_StubMsg.Buffer + 3) & ~ 0x3);
  891.         *(( HRESULT __RPC_FAR * )_StubMsg.Buffer)++ = _RetVal;
  892.         
  893.         }
  894.     RpcFinally
  895.         {
  896.         NdrPointerFree( &_StubMsg,
  897.                         (unsigned char __RPC_FAR *)str,
  898.                         &__MIDL_TypeFormatString.Format[122] );
  899.         
  900.         }
  901.     RpcEndFinally
  902.     _pRpcMessage->BufferLength = 
  903.         (unsigned int)((long)_StubMsg.Buffer - (long)_pRpcMessage->Buffer);
  904.     
  905. }
  906.  
  907.  
  908. /* [id] */ HRESULT STDMETHODCALLTYPE IStlMapStringToMyObject_RemoveAll_Proxy( 
  909.     IStlMapStringToMyObject __RPC_FAR * This)
  910. {
  911.  
  912.     HRESULT _RetVal;
  913.     
  914.     RPC_MESSAGE _RpcMessage;
  915.     
  916.     MIDL_STUB_MESSAGE _StubMsg;
  917.     
  918.     RpcTryExcept
  919.         {
  920.         NdrProxyInitialize(
  921.                       ( void __RPC_FAR *  )This,
  922.                       ( PRPC_MESSAGE  )&_RpcMessage,
  923.                       ( PMIDL_STUB_MESSAGE  )&_StubMsg,
  924.                       ( PMIDL_STUB_DESC  )&Object_StubDesc,
  925.                       9);
  926.         
  927.         
  928.         
  929.         RpcTryFinally
  930.             {
  931.             
  932.             _StubMsg.BufferLength = 0U;
  933.             NdrProxyGetBuffer(This, &_StubMsg);
  934.             NdrProxySendReceive(This, &_StubMsg);
  935.             
  936.             if ( (_RpcMessage.DataRepresentation & 0X0000FFFFUL) != NDR_LOCAL_DATA_REPRESENTATION )
  937.                 NdrConvert( (PMIDL_STUB_MESSAGE) &_StubMsg, (PFORMAT_STRING) &__MIDL_ProcFormatString.Format[34] );
  938.             
  939.             _RetVal = *(( HRESULT __RPC_FAR * )_StubMsg.Buffer)++;
  940.             
  941.             }
  942.         RpcFinally
  943.             {
  944.             NdrProxyFreeBuffer(This, &_StubMsg);
  945.             
  946.             }
  947.         RpcEndFinally
  948.         
  949.         }
  950.     RpcExcept(_StubMsg.dwStubPhase != PROXY_SENDRECEIVE)
  951.         {
  952.         _RetVal = NdrProxyErrorHandler(RpcExceptionCode());
  953.         }
  954.     RpcEndExcept
  955.     return _RetVal;
  956. }
  957.  
  958. void __RPC_STUB IStlMapStringToMyObject_RemoveAll_Stub(
  959.     IRpcStubBuffer *This,
  960.     IRpcChannelBuffer *_pRpcChannelBuffer,
  961.     PRPC_MESSAGE _pRpcMessage,
  962.     DWORD *_pdwStubPhase)
  963. {
  964.     HRESULT _RetVal;
  965.     MIDL_STUB_MESSAGE _StubMsg;
  966.     
  967. NdrStubInitialize(
  968.                      _pRpcMessage,
  969.                      &_StubMsg,
  970.                      &Object_StubDesc,
  971.                      _pRpcChannelBuffer);
  972.     RpcTryFinally
  973.         {
  974.         
  975.         *_pdwStubPhase = STUB_CALL_SERVER;
  976.         _RetVal = (((IStlMapStringToMyObject *) ((CStdStubBuffer *)This)->pvServerObject)->lpVtbl) -> RemoveAll((IStlMapStringToMyObject *) ((CStdStubBuffer *)This)->pvServerObject);
  977.         
  978.         *_pdwStubPhase = STUB_MARSHAL;
  979.         
  980.         _StubMsg.BufferLength = 4U;
  981.         NdrStubGetBuffer(This, _pRpcChannelBuffer, &_StubMsg);
  982.         *(( HRESULT __RPC_FAR * )_StubMsg.Buffer)++ = _RetVal;
  983.         
  984.         }
  985.     RpcFinally
  986.         {
  987.         }
  988.     RpcEndFinally
  989.     _pRpcMessage->BufferLength = 
  990.         (unsigned int)((long)_StubMsg.Buffer - (long)_pRpcMessage->Buffer);
  991.     
  992. }
  993.  
  994.  
  995. /* [propget][id] */ HRESULT STDMETHODCALLTYPE IStlMapStringToMyObject_get_Count_Proxy( 
  996.     IStlMapStringToMyObject __RPC_FAR * This,
  997.     /* [retval][out] */ UINT __RPC_FAR *dw)
  998. {
  999.  
  1000.     HRESULT _RetVal;
  1001.     
  1002.     RPC_MESSAGE _RpcMessage;
  1003.     
  1004.     MIDL_STUB_MESSAGE _StubMsg;
  1005.     
  1006.     RpcTryExcept
  1007.         {
  1008.         NdrProxyInitialize(
  1009.                       ( void __RPC_FAR *  )This,
  1010.                       ( PRPC_MESSAGE  )&_RpcMessage,
  1011.                       ( PMIDL_STUB_MESSAGE  )&_StubMsg,
  1012.                       ( PMIDL_STUB_DESC  )&Object_StubDesc,
  1013.                       10);
  1014.         
  1015.         
  1016.         
  1017.         RpcTryFinally
  1018.             {
  1019.             
  1020.             _StubMsg.BufferLength = 0U;
  1021.             NdrProxyGetBuffer(This, &_StubMsg);
  1022.             NdrProxySendReceive(This, &_StubMsg);
  1023.             
  1024.             if ( (_RpcMessage.DataRepresentation & 0X0000FFFFUL) != NDR_LOCAL_DATA_REPRESENTATION )
  1025.                 NdrConvert( (PMIDL_STUB_MESSAGE) &_StubMsg, (PFORMAT_STRING) &__MIDL_ProcFormatString.Format[56] );
  1026.             
  1027.             *dw = *(( UINT __RPC_FAR * )_StubMsg.Buffer)++;
  1028.             
  1029.             _RetVal = *(( HRESULT __RPC_FAR * )_StubMsg.Buffer)++;
  1030.             
  1031.             }
  1032.         RpcFinally
  1033.             {
  1034.             NdrProxyFreeBuffer(This, &_StubMsg);
  1035.             
  1036.             }
  1037.         RpcEndFinally
  1038.         
  1039.         }
  1040.     RpcExcept(_StubMsg.dwStubPhase != PROXY_SENDRECEIVE)
  1041.         {
  1042.         NdrClearOutParameters(
  1043.                          ( PMIDL_STUB_MESSAGE  )&_StubMsg,
  1044.                          ( PFORMAT_STRING  )&__MIDL_TypeFormatString.Format[136],
  1045.                          ( void __RPC_FAR * )dw);
  1046.         _RetVal = NdrProxyErrorHandler(RpcExceptionCode());
  1047.         }
  1048.     RpcEndExcept
  1049.     return _RetVal;
  1050. }
  1051.  
  1052. void __RPC_STUB IStlMapStringToMyObject_get_Count_Stub(
  1053.     IRpcStubBuffer *This,
  1054.     IRpcChannelBuffer *_pRpcChannelBuffer,
  1055.     PRPC_MESSAGE _pRpcMessage,
  1056.     DWORD *_pdwStubPhase)
  1057. {
  1058.     UINT _M6;
  1059.     HRESULT _RetVal;
  1060.     MIDL_STUB_MESSAGE _StubMsg;
  1061.     UINT __RPC_FAR *dw;
  1062.     
  1063. NdrStubInitialize(
  1064.                      _pRpcMessage,
  1065.                      &_StubMsg,
  1066.                      &Object_StubDesc,
  1067.                      _pRpcChannelBuffer);
  1068.     dw = 0;
  1069.     RpcTryFinally
  1070.         {
  1071.         dw = &_M6;
  1072.         
  1073.         *_pdwStubPhase = STUB_CALL_SERVER;
  1074.         _RetVal = (((IStlMapStringToMyObject *) ((CStdStubBuffer *)This)->pvServerObject)->lpVtbl) -> get_Count((IStlMapStringToMyObject *) ((CStdStubBuffer *)This)->pvServerObject,dw);
  1075.         
  1076.         *_pdwStubPhase = STUB_MARSHAL;
  1077.         
  1078.         _StubMsg.BufferLength = 4U + 4U;
  1079.         NdrStubGetBuffer(This, _pRpcChannelBuffer, &_StubMsg);
  1080.         *(( UINT __RPC_FAR * )_StubMsg.Buffer)++ = *dw;
  1081.         
  1082.         *(( HRESULT __RPC_FAR * )_StubMsg.Buffer)++ = _RetVal;
  1083.         
  1084.         }
  1085.     RpcFinally
  1086.         {
  1087.         }
  1088.     RpcEndFinally
  1089.     _pRpcMessage->BufferLength = 
  1090.         (unsigned int)((long)_StubMsg.Buffer - (long)_pRpcMessage->Buffer);
  1091.     
  1092. }
  1093.  
  1094. const CINTERFACE_PROXY_VTABLE(11) _IStlMapStringToMyObjectProxyVtbl = 
  1095. {
  1096.     &IID_IStlMapStringToMyObject,
  1097.     IUnknown_QueryInterface_Proxy,
  1098.     IUnknown_AddRef_Proxy,
  1099.     IUnknown_Release_Proxy ,
  1100.     IStlMapStringToMyObject_get_Map_Proxy ,
  1101.     IStlMapStringToMyObject_put_Map_Proxy ,
  1102.     IStlMapStringToMyObject_Lookup_Proxy ,
  1103.     IStlMapStringToMyObject_First_Proxy ,
  1104.     IStlMapStringToMyObject_Next_Proxy ,
  1105.     IStlMapStringToMyObject_get_Remove_Proxy ,
  1106.     IStlMapStringToMyObject_RemoveAll_Proxy ,
  1107.     IStlMapStringToMyObject_get_Count_Proxy
  1108. };
  1109.  
  1110.  
  1111. static const PRPC_STUB_FUNCTION IStlMapStringToMyObject_table[] =
  1112. {
  1113.     IStlMapStringToMyObject_get_Map_Stub,
  1114.     IStlMapStringToMyObject_put_Map_Stub,
  1115.     IStlMapStringToMyObject_Lookup_Stub,
  1116.     IStlMapStringToMyObject_First_Stub,
  1117.     IStlMapStringToMyObject_Next_Stub,
  1118.     IStlMapStringToMyObject_get_Remove_Stub,
  1119.     IStlMapStringToMyObject_RemoveAll_Stub,
  1120.     IStlMapStringToMyObject_get_Count_Stub
  1121. };
  1122.  
  1123. const CInterfaceStubVtbl _IStlMapStringToMyObjectStubVtbl =
  1124. {
  1125.     &IID_IStlMapStringToMyObject,
  1126.     0,
  1127.     11,
  1128.     &IStlMapStringToMyObject_table[-3],
  1129.     CStdStubBuffer_METHODS
  1130. };
  1131.  
  1132.  
  1133. /* Object interface: IStlMapDWordToMyStruct, ver. 0.0,
  1134.    GUID={0x7CE086D3,0x3E78,0x11D0,{0xAE,0x6B,0x00,0xC0,0x4F,0xD7,0xD0,0x6E}} */
  1135.  
  1136.  
  1137. extern const MIDL_STUB_DESC Object_StubDesc;
  1138.  
  1139.  
  1140. #pragma code_seg(".orpc")
  1141.  
  1142. /* [propget][id] */ HRESULT STDMETHODCALLTYPE IStlMapDWordToMyStruct_get_Map_Proxy( 
  1143.     IStlMapDWordToMyStruct __RPC_FAR * This,
  1144.     /* [in] */ DWORD dw,
  1145.     /* [retval][out] */ IMyStruct __RPC_FAR *__RPC_FAR *str)
  1146. {
  1147.  
  1148.     HRESULT _RetVal;
  1149.     
  1150.     RPC_MESSAGE _RpcMessage;
  1151.     
  1152.     MIDL_STUB_MESSAGE _StubMsg;
  1153.     
  1154.     *str = 0;
  1155.     RpcTryExcept
  1156.         {
  1157.         NdrProxyInitialize(
  1158.                       ( void __RPC_FAR *  )This,
  1159.                       ( PRPC_MESSAGE  )&_RpcMessage,
  1160.                       ( PMIDL_STUB_MESSAGE  )&_StubMsg,
  1161.                       ( PMIDL_STUB_DESC  )&Object_StubDesc,
  1162.                       3);
  1163.         
  1164.         
  1165.         
  1166.         RpcTryFinally
  1167.             {
  1168.             
  1169.             _StubMsg.BufferLength = 4U;
  1170.             NdrProxyGetBuffer(This, &_StubMsg);
  1171.             *(( DWORD __RPC_FAR * )_StubMsg.Buffer)++ = dw;
  1172.             
  1173.             NdrProxySendReceive(This, &_StubMsg);
  1174.             
  1175.             if ( (_RpcMessage.DataRepresentation & 0X0000FFFFUL) != NDR_LOCAL_DATA_REPRESENTATION )
  1176.                 NdrConvert( (PMIDL_STUB_MESSAGE) &_StubMsg, (PFORMAT_STRING) &__MIDL_ProcFormatString.Format[62] );
  1177.             
  1178.             NdrPointerUnmarshall( (PMIDL_STUB_MESSAGE) &_StubMsg,
  1179.                                   (unsigned char __RPC_FAR * __RPC_FAR *)&str,
  1180.                                   (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[34],
  1181.                                   (unsigned char)0 );
  1182.             
  1183.             _StubMsg.Buffer = (unsigned char __RPC_FAR *)(((long)_StubMsg.Buffer + 3) & ~ 0x3);
  1184.             _RetVal = *(( HRESULT __RPC_FAR * )_StubMsg.Buffer)++;
  1185.             
  1186.             }
  1187.         RpcFinally
  1188.             {
  1189.             NdrProxyFreeBuffer(This, &_StubMsg);
  1190.             
  1191.             }
  1192.         RpcEndFinally
  1193.         
  1194.         }
  1195.     RpcExcept(_StubMsg.dwStubPhase != PROXY_SENDRECEIVE)
  1196.         {
  1197.         NdrClearOutParameters(
  1198.                          ( PMIDL_STUB_MESSAGE  )&_StubMsg,
  1199.                          ( PFORMAT_STRING  )&__MIDL_TypeFormatString.Format[34],
  1200.                          ( void __RPC_FAR * )str);
  1201.         _RetVal = NdrProxyErrorHandler(RpcExceptionCode());
  1202.         }
  1203.     RpcEndExcept
  1204.     return _RetVal;
  1205. }
  1206.  
  1207. void __RPC_STUB IStlMapDWordToMyStruct_get_Map_Stub(
  1208.     IRpcStubBuffer *This,
  1209.     IRpcChannelBuffer *_pRpcChannelBuffer,
  1210.     PRPC_MESSAGE _pRpcMessage,
  1211.     DWORD *_pdwStubPhase)
  1212. {
  1213.     IMyStruct __RPC_FAR *_M7;
  1214.     HRESULT _RetVal;
  1215.     MIDL_STUB_MESSAGE _StubMsg;
  1216.     DWORD dw;
  1217.     IMyStruct __RPC_FAR *__RPC_FAR *str;
  1218.     
  1219. NdrStubInitialize(
  1220.                      _pRpcMessage,
  1221.                      &_StubMsg,
  1222.                      &Object_StubDesc,
  1223.                      _pRpcChannelBuffer);
  1224.     str = 0;
  1225.     RpcTryFinally
  1226.         {
  1227.         if ( (_pRpcMessage->DataRepresentation & 0X0000FFFFUL) != NDR_LOCAL_DATA_REPRESENTATION )
  1228.             NdrConvert( (PMIDL_STUB_MESSAGE) &_StubMsg, (PFORMAT_STRING) &__MIDL_ProcFormatString.Format[62] );
  1229.         
  1230.         dw = *(( DWORD __RPC_FAR * )_StubMsg.Buffer)++;
  1231.         
  1232.         str = &_M7;
  1233.         _M7 = 0;
  1234.         
  1235.         *_pdwStubPhase = STUB_CALL_SERVER;
  1236.         _RetVal = (((IStlMapDWordToMyStruct *) ((CStdStubBuffer *)This)->pvServerObject)->lpVtbl) -> get_Map(
  1237.            (IStlMapDWordToMyStruct *) ((CStdStubBuffer *)This)->pvServerObject,
  1238.            dw,
  1239.            str);
  1240.         
  1241.         *_pdwStubPhase = STUB_MARSHAL;
  1242.         
  1243.         _StubMsg.BufferLength = 4U + 11U;
  1244.         NdrPointerBufferSize( (PMIDL_STUB_MESSAGE) &_StubMsg,
  1245.                               (unsigned char __RPC_FAR *)str,
  1246.                               (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[34] );
  1247.         
  1248.         _StubMsg.BufferLength += 16;
  1249.         
  1250.         NdrStubGetBuffer(This, _pRpcChannelBuffer, &_StubMsg);
  1251.         NdrPointerMarshall( (PMIDL_STUB_MESSAGE)& _StubMsg,
  1252.                             (unsigned char __RPC_FAR *)str,
  1253.                             (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[34] );
  1254.         
  1255.         _StubMsg.Buffer = (unsigned char __RPC_FAR *)(((long)_StubMsg.Buffer + 3) & ~ 0x3);
  1256.         *(( HRESULT __RPC_FAR * )_StubMsg.Buffer)++ = _RetVal;
  1257.         
  1258.         }
  1259.     RpcFinally
  1260.         {
  1261.         NdrPointerFree( &_StubMsg,
  1262.                         (unsigned char __RPC_FAR *)str,
  1263.                         &__MIDL_TypeFormatString.Format[34] );
  1264.         
  1265.         }
  1266.     RpcEndFinally
  1267.     _pRpcMessage->BufferLength = 
  1268.         (unsigned int)((long)_StubMsg.Buffer - (long)_pRpcMessage->Buffer);
  1269.     
  1270. }
  1271.  
  1272.  
  1273. /* [propput][id] */ HRESULT STDMETHODCALLTYPE IStlMapDWordToMyStruct_put_Map_Proxy( 
  1274.     IStlMapDWordToMyStruct __RPC_FAR * This,
  1275.     /* [in] */ DWORD dw,
  1276.     /* [in] */ IMyStruct __RPC_FAR *str)
  1277. {
  1278.  
  1279.     HRESULT _RetVal;
  1280.     
  1281.     RPC_MESSAGE _RpcMessage;
  1282.     
  1283.     MIDL_STUB_MESSAGE _StubMsg;
  1284.     
  1285.     RpcTryExcept
  1286.         {
  1287.         NdrProxyInitialize(
  1288.                       ( void __RPC_FAR *  )This,
  1289.                       ( PRPC_MESSAGE  )&_RpcMessage,
  1290.                       ( PMIDL_STUB_MESSAGE  )&_StubMsg,
  1291.                       ( PMIDL_STUB_DESC  )&Object_StubDesc,
  1292.                       4);
  1293.         
  1294.         
  1295.         
  1296.         RpcTryFinally
  1297.             {
  1298.             
  1299.             _StubMsg.BufferLength = 4U + 0U;
  1300.             NdrComplexStructBufferSize( (PMIDL_STUB_MESSAGE) &_StubMsg,
  1301.                                         (unsigned char __RPC_FAR *)str,
  1302.                                         (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[56] );
  1303.             
  1304.             NdrProxyGetBuffer(This, &_StubMsg);
  1305.             *(( DWORD __RPC_FAR * )_StubMsg.Buffer)++ = dw;
  1306.             
  1307.             NdrComplexStructMarshall( (PMIDL_STUB_MESSAGE)& _StubMsg,
  1308.                                       (unsigned char __RPC_FAR *)str,
  1309.                                       (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[56] );
  1310.             
  1311.             NdrProxySendReceive(This, &_StubMsg);
  1312.             
  1313.             if ( (_RpcMessage.DataRepresentation & 0X0000FFFFUL) != NDR_LOCAL_DATA_REPRESENTATION )
  1314.                 NdrConvert( (PMIDL_STUB_MESSAGE) &_StubMsg, (PFORMAT_STRING) &__MIDL_ProcFormatString.Format[70] );
  1315.             
  1316.             _RetVal = *(( HRESULT __RPC_FAR * )_StubMsg.Buffer)++;
  1317.             
  1318.             }
  1319.         RpcFinally
  1320.             {
  1321.             NdrProxyFreeBuffer(This, &_StubMsg);
  1322.             
  1323.             }
  1324.         RpcEndFinally
  1325.         
  1326.         }
  1327.     RpcExcept(_StubMsg.dwStubPhase != PROXY_SENDRECEIVE)
  1328.         {
  1329.         _RetVal = NdrProxyErrorHandler(RpcExceptionCode());
  1330.         }
  1331.     RpcEndExcept
  1332.     return _RetVal;
  1333. }
  1334.  
  1335. void __RPC_STUB IStlMapDWordToMyStruct_put_Map_Stub(
  1336.     IRpcStubBuffer *This,
  1337.     IRpcChannelBuffer *_pRpcChannelBuffer,
  1338.     PRPC_MESSAGE _pRpcMessage,
  1339.     DWORD *_pdwStubPhase)
  1340. {
  1341.     HRESULT _RetVal;
  1342.     MIDL_STUB_MESSAGE _StubMsg;
  1343.     DWORD dw;
  1344.     IMyStruct __RPC_FAR *str;
  1345.     
  1346. NdrStubInitialize(
  1347.                      _pRpcMessage,
  1348.                      &_StubMsg,
  1349.                      &Object_StubDesc,
  1350.                      _pRpcChannelBuffer);
  1351.     str = 0;
  1352.     RpcTryFinally
  1353.         {
  1354.         if ( (_pRpcMessage->DataRepresentation & 0X0000FFFFUL) != NDR_LOCAL_DATA_REPRESENTATION )
  1355.             NdrConvert( (PMIDL_STUB_MESSAGE) &_StubMsg, (PFORMAT_STRING) &__MIDL_ProcFormatString.Format[70] );
  1356.         
  1357.         dw = *(( DWORD __RPC_FAR * )_StubMsg.Buffer)++;
  1358.         
  1359.         NdrComplexStructUnmarshall( (PMIDL_STUB_MESSAGE) &_StubMsg,
  1360.                                     (unsigned char __RPC_FAR * __RPC_FAR *)&str,
  1361.                                     (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[56],
  1362.                                     (unsigned char)0 );
  1363.         
  1364.         
  1365.         *_pdwStubPhase = STUB_CALL_SERVER;
  1366.         _RetVal = (((IStlMapDWordToMyStruct *) ((CStdStubBuffer *)This)->pvServerObject)->lpVtbl) -> put_Map(
  1367.            (IStlMapDWordToMyStruct *) ((CStdStubBuffer *)This)->pvServerObject,
  1368.            dw,
  1369.            str);
  1370.         
  1371.         *_pdwStubPhase = STUB_MARSHAL;
  1372.         
  1373.         _StubMsg.BufferLength = 4U;
  1374.         NdrStubGetBuffer(This, _pRpcChannelBuffer, &_StubMsg);
  1375.         *(( HRESULT __RPC_FAR * )_StubMsg.Buffer)++ = _RetVal;
  1376.         
  1377.         }
  1378.     RpcFinally
  1379.         {
  1380.         NdrPointerFree( &_StubMsg,
  1381.                         (unsigned char __RPC_FAR *)str,
  1382.                         &__MIDL_TypeFormatString.Format[82] );
  1383.         
  1384.         }
  1385.     RpcEndFinally
  1386.     _pRpcMessage->BufferLength = 
  1387.         (unsigned int)((long)_StubMsg.Buffer - (long)_pRpcMessage->Buffer);
  1388.     
  1389. }
  1390.  
  1391.  
  1392. /* [id] */ HRESULT STDMETHODCALLTYPE IStlMapDWordToMyStruct_Lookup_Proxy( 
  1393.     IStlMapDWordToMyStruct __RPC_FAR * This,
  1394.     /* [in] */ DWORD dw,
  1395.     /* [out] */ IMyStruct __RPC_FAR *__RPC_FAR *str,
  1396.     /* [retval][out] */ VARIANT_BOOL __RPC_FAR *b)
  1397. {
  1398.  
  1399.     HRESULT _RetVal;
  1400.     
  1401.     RPC_MESSAGE _RpcMessage;
  1402.     
  1403.     MIDL_STUB_MESSAGE _StubMsg;
  1404.     
  1405.     *str = 0;
  1406.     RpcTryExcept
  1407.         {
  1408.         NdrProxyInitialize(
  1409.                       ( void __RPC_FAR *  )This,
  1410.                       ( PRPC_MESSAGE  )&_RpcMessage,
  1411.                       ( PMIDL_STUB_MESSAGE  )&_StubMsg,
  1412.                       ( PMIDL_STUB_DESC  )&Object_StubDesc,
  1413.                       5);
  1414.         
  1415.         
  1416.         
  1417.         RpcTryFinally
  1418.             {
  1419.             
  1420.             _StubMsg.BufferLength = 4U;
  1421.             NdrProxyGetBuffer(This, &_StubMsg);
  1422.             *(( DWORD __RPC_FAR * )_StubMsg.Buffer)++ = dw;
  1423.             
  1424.             NdrProxySendReceive(This, &_StubMsg);
  1425.             
  1426.             if ( (_RpcMessage.DataRepresentation & 0X0000FFFFUL) != NDR_LOCAL_DATA_REPRESENTATION )
  1427.                 NdrConvert( (PMIDL_STUB_MESSAGE) &_StubMsg, (PFORMAT_STRING) &__MIDL_ProcFormatString.Format[78] );
  1428.             
  1429.             NdrPointerUnmarshall( (PMIDL_STUB_MESSAGE) &_StubMsg,
  1430.                                   (unsigned char __RPC_FAR * __RPC_FAR *)&str,
  1431.                                   (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[34],
  1432.                                   (unsigned char)0 );
  1433.             
  1434.             _StubMsg.Buffer = (unsigned char __RPC_FAR *)(((long)_StubMsg.Buffer + 1) & ~ 0x1);
  1435.             *b = *(( VARIANT_BOOL __RPC_FAR * )_StubMsg.Buffer)++;
  1436.             
  1437.             _StubMsg.Buffer = (unsigned char __RPC_FAR *)(((long)_StubMsg.Buffer + 3) & ~ 0x3);
  1438.             _RetVal = *(( HRESULT __RPC_FAR * )_StubMsg.Buffer)++;
  1439.             
  1440.             }
  1441.         RpcFinally
  1442.             {
  1443.             NdrProxyFreeBuffer(This, &_StubMsg);
  1444.             
  1445.             }
  1446.         RpcEndFinally
  1447.         
  1448.         }
  1449.     RpcExcept(_StubMsg.dwStubPhase != PROXY_SENDRECEIVE)
  1450.         {
  1451.         NdrClearOutParameters(
  1452.                          ( PMIDL_STUB_MESSAGE  )&_StubMsg,
  1453.                          ( PFORMAT_STRING  )&__MIDL_TypeFormatString.Format[34],
  1454.                          ( void __RPC_FAR * )str);
  1455.         NdrClearOutParameters(
  1456.                          ( PMIDL_STUB_MESSAGE  )&_StubMsg,
  1457.                          ( PFORMAT_STRING  )&__MIDL_TypeFormatString.Format[104],
  1458.                          ( void __RPC_FAR * )b);
  1459.         _RetVal = NdrProxyErrorHandler(RpcExceptionCode());
  1460.         }
  1461.     RpcEndExcept
  1462.     return _RetVal;
  1463. }
  1464.  
  1465. void __RPC_STUB IStlMapDWordToMyStruct_Lookup_Stub(
  1466.     IRpcStubBuffer *This,
  1467.     IRpcChannelBuffer *_pRpcChannelBuffer,
  1468.     PRPC_MESSAGE _pRpcMessage,
  1469.     DWORD *_pdwStubPhase)
  1470. {
  1471.     IMyStruct __RPC_FAR *_M8;
  1472.     VARIANT_BOOL _M9;
  1473.     HRESULT _RetVal;
  1474.     MIDL_STUB_MESSAGE _StubMsg;
  1475.     VARIANT_BOOL __RPC_FAR *b;
  1476.     DWORD dw;
  1477.     IMyStruct __RPC_FAR *__RPC_FAR *str;
  1478.     
  1479. NdrStubInitialize(
  1480.                      _pRpcMessage,
  1481.                      &_StubMsg,
  1482.                      &Object_StubDesc,
  1483.                      _pRpcChannelBuffer);
  1484.     str = 0;
  1485.     b = 0;
  1486.     RpcTryFinally
  1487.         {
  1488.         if ( (_pRpcMessage->DataRepresentation & 0X0000FFFFUL) != NDR_LOCAL_DATA_REPRESENTATION )
  1489.             NdrConvert( (PMIDL_STUB_MESSAGE) &_StubMsg, (PFORMAT_STRING) &__MIDL_ProcFormatString.Format[78] );
  1490.         
  1491.         dw = *(( DWORD __RPC_FAR * )_StubMsg.Buffer)++;
  1492.         
  1493.         str = &_M8;
  1494.         _M8 = 0;
  1495.         b = &_M9;
  1496.         
  1497.         *_pdwStubPhase = STUB_CALL_SERVER;
  1498.         _RetVal = (((IStlMapDWordToMyStruct *) ((CStdStubBuffer *)This)->pvServerObject)->lpVtbl) -> Lookup(
  1499.           (IStlMapDWordToMyStruct *) ((CStdStubBuffer *)This)->pvServerObject,
  1500.           dw,
  1501.           str,
  1502.           b);
  1503.         
  1504.         *_pdwStubPhase = STUB_MARSHAL;
  1505.         
  1506.         _StubMsg.BufferLength = 4U + 5U + 10U;
  1507.         NdrPointerBufferSize( (PMIDL_STUB_MESSAGE) &_StubMsg,
  1508.                               (unsigned char __RPC_FAR *)str,
  1509.                               (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[34] );
  1510.         
  1511.         _StubMsg.BufferLength += 16;
  1512.         
  1513.         NdrStubGetBuffer(This, _pRpcChannelBuffer, &_StubMsg);
  1514.         NdrPointerMarshall( (PMIDL_STUB_MESSAGE)& _StubMsg,
  1515.                             (unsigned char __RPC_FAR *)str,
  1516.                             (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[34] );
  1517.         
  1518.         _StubMsg.Buffer = (unsigned char __RPC_FAR *)(((long)_StubMsg.Buffer + 1) & ~ 0x1);
  1519.         *(( VARIANT_BOOL __RPC_FAR * )_StubMsg.Buffer)++ = *b;
  1520.         
  1521.         _StubMsg.Buffer = (unsigned char __RPC_FAR *)(((long)_StubMsg.Buffer + 3) & ~ 0x3);
  1522.         *(( HRESULT __RPC_FAR * )_StubMsg.Buffer)++ = _RetVal;
  1523.         
  1524.         }
  1525.     RpcFinally
  1526.         {
  1527.         NdrPointerFree( &_StubMsg,
  1528.                         (unsigned char __RPC_FAR *)str,
  1529.                         &__MIDL_TypeFormatString.Format[34] );
  1530.         
  1531.         }
  1532.     RpcEndFinally
  1533.     _pRpcMessage->BufferLength = 
  1534.         (unsigned int)((long)_StubMsg.Buffer - (long)_pRpcMessage->Buffer);
  1535.     
  1536. }
  1537.  
  1538.  
  1539. /* [id] */ HRESULT STDMETHODCALLTYPE IStlMapDWordToMyStruct_First_Proxy( 
  1540.     IStlMapDWordToMyStruct __RPC_FAR * This)
  1541. {
  1542.  
  1543.     HRESULT _RetVal;
  1544.     
  1545.     RPC_MESSAGE _RpcMessage;
  1546.     
  1547.     MIDL_STUB_MESSAGE _StubMsg;
  1548.     
  1549.     RpcTryExcept
  1550.         {
  1551.         NdrProxyInitialize(
  1552.                       ( void __RPC_FAR *  )This,
  1553.                       ( PRPC_MESSAGE  )&_RpcMessage,
  1554.                       ( PMIDL_STUB_MESSAGE  )&_StubMsg,
  1555.                       ( PMIDL_STUB_DESC  )&Object_StubDesc,
  1556.                       6);
  1557.         
  1558.         
  1559.         
  1560.         RpcTryFinally
  1561.             {
  1562.             
  1563.             _StubMsg.BufferLength = 0U;
  1564.             NdrProxyGetBuffer(This, &_StubMsg);
  1565.             NdrProxySendReceive(This, &_StubMsg);
  1566.             
  1567.             if ( (_RpcMessage.DataRepresentation & 0X0000FFFFUL) != NDR_LOCAL_DATA_REPRESENTATION )
  1568.                 NdrConvert( (PMIDL_STUB_MESSAGE) &_StubMsg, (PFORMAT_STRING) &__MIDL_ProcFormatString.Format[34] );
  1569.             
  1570.             _RetVal = *(( HRESULT __RPC_FAR * )_StubMsg.Buffer)++;
  1571.             
  1572.             }
  1573.         RpcFinally
  1574.             {
  1575.             NdrProxyFreeBuffer(This, &_StubMsg);
  1576.             
  1577.             }
  1578.         RpcEndFinally
  1579.         
  1580.         }
  1581.     RpcExcept(_StubMsg.dwStubPhase != PROXY_SENDRECEIVE)
  1582.         {
  1583.         _RetVal = NdrProxyErrorHandler(RpcExceptionCode());
  1584.         }
  1585.     RpcEndExcept
  1586.     return _RetVal;
  1587. }
  1588.  
  1589. void __RPC_STUB IStlMapDWordToMyStruct_First_Stub(
  1590.     IRpcStubBuffer *This,
  1591.     IRpcChannelBuffer *_pRpcChannelBuffer,
  1592.     PRPC_MESSAGE _pRpcMessage,
  1593.     DWORD *_pdwStubPhase)
  1594. {
  1595.     HRESULT _RetVal;
  1596.     MIDL_STUB_MESSAGE _StubMsg;
  1597.     
  1598. NdrStubInitialize(
  1599.                      _pRpcMessage,
  1600.                      &_StubMsg,
  1601.                      &Object_StubDesc,
  1602.                      _pRpcChannelBuffer);
  1603.     RpcTryFinally
  1604.         {
  1605.         
  1606.         *_pdwStubPhase = STUB_CALL_SERVER;
  1607.         _RetVal = (((IStlMapDWordToMyStruct *) ((CStdStubBuffer *)This)->pvServerObject)->lpVtbl) -> First((IStlMapDWordToMyStruct *) ((CStdStubBuffer *)This)->pvServerObject);
  1608.         
  1609.         *_pdwStubPhase = STUB_MARSHAL;
  1610.         
  1611.         _StubMsg.BufferLength = 4U;
  1612.         NdrStubGetBuffer(This, _pRpcChannelBuffer, &_StubMsg);
  1613.         *(( HRESULT __RPC_FAR * )_StubMsg.Buffer)++ = _RetVal;
  1614.         
  1615.         }
  1616.     RpcFinally
  1617.         {
  1618.         }
  1619.     RpcEndFinally
  1620.     _pRpcMessage->BufferLength = 
  1621.         (unsigned int)((long)_StubMsg.Buffer - (long)_pRpcMessage->Buffer);
  1622.     
  1623. }
  1624.  
  1625.  
  1626. /* [id] */ HRESULT STDMETHODCALLTYPE IStlMapDWordToMyStruct_Next_Proxy( 
  1627.     IStlMapDWordToMyStruct __RPC_FAR * This,
  1628.     /* [out] */ DWORD __RPC_FAR *dw,
  1629.     /* [out] */ IMyStruct __RPC_FAR *__RPC_FAR *str,
  1630.     /* [retval][out] */ VARIANT_BOOL __RPC_FAR *b)
  1631. {
  1632.  
  1633.     HRESULT _RetVal;
  1634.     
  1635.     RPC_MESSAGE _RpcMessage;
  1636.     
  1637.     MIDL_STUB_MESSAGE _StubMsg;
  1638.     
  1639.     *str = 0;
  1640.     RpcTryExcept
  1641.         {
  1642.         NdrProxyInitialize(
  1643.                       ( void __RPC_FAR *  )This,
  1644.                       ( PRPC_MESSAGE  )&_RpcMessage,
  1645.                       ( PMIDL_STUB_MESSAGE  )&_StubMsg,
  1646.                       ( PMIDL_STUB_DESC  )&Object_StubDesc,
  1647.                       7);
  1648.         
  1649.         
  1650.         
  1651.         RpcTryFinally
  1652.             {
  1653.             
  1654.             _StubMsg.BufferLength = 0U;
  1655.             NdrProxyGetBuffer(This, &_StubMsg);
  1656.             NdrProxySendReceive(This, &_StubMsg);
  1657.             
  1658.             if ( (_RpcMessage.DataRepresentation & 0X0000FFFFUL) != NDR_LOCAL_DATA_REPRESENTATION )
  1659.                 NdrConvert( (PMIDL_STUB_MESSAGE) &_StubMsg, (PFORMAT_STRING) &__MIDL_ProcFormatString.Format[90] );
  1660.             
  1661.             *dw = *(( DWORD __RPC_FAR * )_StubMsg.Buffer)++;
  1662.             
  1663.             NdrPointerUnmarshall( (PMIDL_STUB_MESSAGE) &_StubMsg,
  1664.                                   (unsigned char __RPC_FAR * __RPC_FAR *)&str,
  1665.                                   (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[34],
  1666.                                   (unsigned char)0 );
  1667.             
  1668.             _StubMsg.Buffer = (unsigned char __RPC_FAR *)(((long)_StubMsg.Buffer + 1) & ~ 0x1);
  1669.             *b = *(( VARIANT_BOOL __RPC_FAR * )_StubMsg.Buffer)++;
  1670.             
  1671.             _StubMsg.Buffer = (unsigned char __RPC_FAR *)(((long)_StubMsg.Buffer + 3) & ~ 0x3);
  1672.             _RetVal = *(( HRESULT __RPC_FAR * )_StubMsg.Buffer)++;
  1673.             
  1674.             }
  1675.         RpcFinally
  1676.             {
  1677.             NdrProxyFreeBuffer(This, &_StubMsg);
  1678.             
  1679.             }
  1680.         RpcEndFinally
  1681.         
  1682.         }
  1683.     RpcExcept(_StubMsg.dwStubPhase != PROXY_SENDRECEIVE)
  1684.         {
  1685.         NdrClearOutParameters(
  1686.                          ( PMIDL_STUB_MESSAGE  )&_StubMsg,
  1687.                          ( PFORMAT_STRING  )&__MIDL_TypeFormatString.Format[136],
  1688.                          ( void __RPC_FAR * )dw);
  1689.         NdrClearOutParameters(
  1690.                          ( PMIDL_STUB_MESSAGE  )&_StubMsg,
  1691.                          ( PFORMAT_STRING  )&__MIDL_TypeFormatString.Format[34],
  1692.                          ( void __RPC_FAR * )str);
  1693.         NdrClearOutParameters(
  1694.                          ( PMIDL_STUB_MESSAGE  )&_StubMsg,
  1695.                          ( PFORMAT_STRING  )&__MIDL_TypeFormatString.Format[104],
  1696.                          ( void __RPC_FAR * )b);
  1697.         _RetVal = NdrProxyErrorHandler(RpcExceptionCode());
  1698.         }
  1699.     RpcEndExcept
  1700.     return _RetVal;
  1701. }
  1702.  
  1703. void __RPC_STUB IStlMapDWordToMyStruct_Next_Stub(
  1704.     IRpcStubBuffer *This,
  1705.     IRpcChannelBuffer *_pRpcChannelBuffer,
  1706.     PRPC_MESSAGE _pRpcMessage,
  1707.     DWORD *_pdwStubPhase)
  1708. {
  1709.     DWORD _M10;
  1710.     IMyStruct __RPC_FAR *_M11;
  1711.     VARIANT_BOOL _M12;
  1712.     HRESULT _RetVal;
  1713.     MIDL_STUB_MESSAGE _StubMsg;
  1714.     VARIANT_BOOL __RPC_FAR *b;
  1715.     DWORD __RPC_FAR *dw;
  1716.     IMyStruct __RPC_FAR *__RPC_FAR *str;
  1717.     
  1718. NdrStubInitialize(
  1719.                      _pRpcMessage,
  1720.                      &_StubMsg,
  1721.                      &Object_StubDesc,
  1722.                      _pRpcChannelBuffer);
  1723.     dw = 0;
  1724.     str = 0;
  1725.     b = 0;
  1726.     RpcTryFinally
  1727.         {
  1728.         dw = &_M10;
  1729.         str = &_M11;
  1730.         _M11 = 0;
  1731.         b = &_M12;
  1732.         
  1733.         *_pdwStubPhase = STUB_CALL_SERVER;
  1734.         _RetVal = (((IStlMapDWordToMyStruct *) ((CStdStubBuffer *)This)->pvServerObject)->lpVtbl) -> Next(
  1735.         (IStlMapDWordToMyStruct *) ((CStdStubBuffer *)This)->pvServerObject,
  1736.         dw,
  1737.         str,
  1738.         b);
  1739.         
  1740.         *_pdwStubPhase = STUB_MARSHAL;
  1741.         
  1742.         _StubMsg.BufferLength = 4U + 4U + 5U + 10U;
  1743.         NdrPointerBufferSize( (PMIDL_STUB_MESSAGE) &_StubMsg,
  1744.                               (unsigned char __RPC_FAR *)str,
  1745.                               (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[34] );
  1746.         
  1747.         _StubMsg.BufferLength += 16;
  1748.         
  1749.         NdrStubGetBuffer(This, _pRpcChannelBuffer, &_StubMsg);
  1750.         *(( DWORD __RPC_FAR * )_StubMsg.Buffer)++ = *dw;
  1751.         
  1752.         NdrPointerMarshall( (PMIDL_STUB_MESSAGE)& _StubMsg,
  1753.                             (unsigned char __RPC_FAR *)str,
  1754.                             (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[34] );
  1755.         
  1756.         _StubMsg.Buffer = (unsigned char __RPC_FAR *)(((long)_StubMsg.Buffer + 1) & ~ 0x1);
  1757.         *(( VARIANT_BOOL __RPC_FAR * )_StubMsg.Buffer)++ = *b;
  1758.         
  1759.         _StubMsg.Buffer = (unsigned char __RPC_FAR *)(((long)_StubMsg.Buffer + 3) & ~ 0x3);
  1760.         *(( HRESULT __RPC_FAR * )_StubMsg.Buffer)++ = _RetVal;
  1761.         
  1762.         }
  1763.     RpcFinally
  1764.         {
  1765.         NdrPointerFree( &_StubMsg,
  1766.                         (unsigned char __RPC_FAR *)str,
  1767.                         &__MIDL_TypeFormatString.Format[34] );
  1768.         
  1769.         }
  1770.     RpcEndFinally
  1771.     _pRpcMessage->BufferLength = 
  1772.         (unsigned int)((long)_StubMsg.Buffer - (long)_pRpcMessage->Buffer);
  1773.     
  1774. }
  1775.  
  1776.  
  1777. /* [propget][id] */ HRESULT STDMETHODCALLTYPE IStlMapDWordToMyStruct_get_Remove_Proxy( 
  1778.     IStlMapDWordToMyStruct __RPC_FAR * This,
  1779.     /* [retval][out] */ DWORD __RPC_FAR *str)
  1780. {
  1781.  
  1782.     HRESULT _RetVal;
  1783.     
  1784.     RPC_MESSAGE _RpcMessage;
  1785.     
  1786.     MIDL_STUB_MESSAGE _StubMsg;
  1787.     
  1788.     RpcTryExcept
  1789.         {
  1790.         NdrProxyInitialize(
  1791.                       ( void __RPC_FAR *  )This,
  1792.                       ( PRPC_MESSAGE  )&_RpcMessage,
  1793.                       ( PMIDL_STUB_MESSAGE  )&_StubMsg,
  1794.                       ( PMIDL_STUB_DESC  )&Object_StubDesc,
  1795.                       8);
  1796.         
  1797.         
  1798.         
  1799.         RpcTryFinally
  1800.             {
  1801.             
  1802.             _StubMsg.BufferLength = 0U;
  1803.             NdrProxyGetBuffer(This, &_StubMsg);
  1804.             NdrProxySendReceive(This, &_StubMsg);
  1805.             
  1806.             if ( (_RpcMessage.DataRepresentation & 0X0000FFFFUL) != NDR_LOCAL_DATA_REPRESENTATION )
  1807.                 NdrConvert( (PMIDL_STUB_MESSAGE) &_StubMsg, (PFORMAT_STRING) &__MIDL_ProcFormatString.Format[56] );
  1808.             
  1809.             *str = *(( DWORD __RPC_FAR * )_StubMsg.Buffer)++;
  1810.             
  1811.             _RetVal = *(( HRESULT __RPC_FAR * )_StubMsg.Buffer)++;
  1812.             
  1813.             }
  1814.         RpcFinally
  1815.             {
  1816.             NdrProxyFreeBuffer(This, &_StubMsg);
  1817.             
  1818.             }
  1819.         RpcEndFinally
  1820.         
  1821.         }
  1822.     RpcExcept(_StubMsg.dwStubPhase != PROXY_SENDRECEIVE)
  1823.         {
  1824.         NdrClearOutParameters(
  1825.                          ( PMIDL_STUB_MESSAGE  )&_StubMsg,
  1826.                          ( PFORMAT_STRING  )&__MIDL_TypeFormatString.Format[136],
  1827.                          ( void __RPC_FAR * )str);
  1828.         _RetVal = NdrProxyErrorHandler(RpcExceptionCode());
  1829.         }
  1830.     RpcEndExcept
  1831.     return _RetVal;
  1832. }
  1833.  
  1834. void __RPC_STUB IStlMapDWordToMyStruct_get_Remove_Stub(
  1835.     IRpcStubBuffer *This,
  1836.     IRpcChannelBuffer *_pRpcChannelBuffer,
  1837.     PRPC_MESSAGE _pRpcMessage,
  1838.     DWORD *_pdwStubPhase)
  1839. {
  1840.     DWORD _M13;
  1841.     HRESULT _RetVal;
  1842.     MIDL_STUB_MESSAGE _StubMsg;
  1843.     DWORD __RPC_FAR *str;
  1844.     
  1845. NdrStubInitialize(
  1846.                      _pRpcMessage,
  1847.                      &_StubMsg,
  1848.                      &Object_StubDesc,
  1849.                      _pRpcChannelBuffer);
  1850.     str = 0;
  1851.     RpcTryFinally
  1852.         {
  1853.         str = &_M13;
  1854.         
  1855.         *_pdwStubPhase = STUB_CALL_SERVER;
  1856.         _RetVal = (((IStlMapDWordToMyStruct *) ((CStdStubBuffer *)This)->pvServerObject)->lpVtbl) -> get_Remove((IStlMapDWordToMyStruct *) ((CStdStubBuffer *)This)->pvServerObject,str);
  1857.         
  1858.         *_pdwStubPhase = STUB_MARSHAL;
  1859.         
  1860.         _StubMsg.BufferLength = 4U + 4U;
  1861.         NdrStubGetBuffer(This, _pRpcChannelBuffer, &_StubMsg);
  1862.         *(( DWORD __RPC_FAR * )_StubMsg.Buffer)++ = *str;
  1863.         
  1864.         *(( HRESULT __RPC_FAR * )_StubMsg.Buffer)++ = _RetVal;
  1865.         
  1866.         }
  1867.     RpcFinally
  1868.         {
  1869.         }
  1870.     RpcEndFinally
  1871.     _pRpcMessage->BufferLength = 
  1872.         (unsigned int)((long)_StubMsg.Buffer - (long)_pRpcMessage->Buffer);
  1873.     
  1874. }
  1875.  
  1876.  
  1877. /* [id] */ HRESULT STDMETHODCALLTYPE IStlMapDWordToMyStruct_RemoveAll_Proxy( 
  1878.     IStlMapDWordToMyStruct __RPC_FAR * This)
  1879. {
  1880.  
  1881.     HRESULT _RetVal;
  1882.     
  1883.     RPC_MESSAGE _RpcMessage;
  1884.     
  1885.     MIDL_STUB_MESSAGE _StubMsg;
  1886.     
  1887.     RpcTryExcept
  1888.         {
  1889.         NdrProxyInitialize(
  1890.                       ( void __RPC_FAR *  )This,
  1891.                       ( PRPC_MESSAGE  )&_RpcMessage,
  1892.                       ( PMIDL_STUB_MESSAGE  )&_StubMsg,
  1893.                       ( PMIDL_STUB_DESC  )&Object_StubDesc,
  1894.                       9);
  1895.         
  1896.         
  1897.         
  1898.         RpcTryFinally
  1899.             {
  1900.             
  1901.             _StubMsg.BufferLength = 0U;
  1902.             NdrProxyGetBuffer(This, &_StubMsg);
  1903.             NdrProxySendReceive(This, &_StubMsg);
  1904.             
  1905.             if ( (_RpcMessage.DataRepresentation & 0X0000FFFFUL) != NDR_LOCAL_DATA_REPRESENTATION )
  1906.                 NdrConvert( (PMIDL_STUB_MESSAGE) &_StubMsg, (PFORMAT_STRING) &__MIDL_ProcFormatString.Format[34] );
  1907.             
  1908.             _RetVal = *(( HRESULT __RPC_FAR * )_StubMsg.Buffer)++;
  1909.             
  1910.             }
  1911.         RpcFinally
  1912.             {
  1913.             NdrProxyFreeBuffer(This, &_StubMsg);
  1914.             
  1915.             }
  1916.         RpcEndFinally
  1917.         
  1918.         }
  1919.     RpcExcept(_StubMsg.dwStubPhase != PROXY_SENDRECEIVE)
  1920.         {
  1921.         _RetVal = NdrProxyErrorHandler(RpcExceptionCode());
  1922.         }
  1923.     RpcEndExcept
  1924.     return _RetVal;
  1925. }
  1926.  
  1927. void __RPC_STUB IStlMapDWordToMyStruct_RemoveAll_Stub(
  1928.     IRpcStubBuffer *This,
  1929.     IRpcChannelBuffer *_pRpcChannelBuffer,
  1930.     PRPC_MESSAGE _pRpcMessage,
  1931.     DWORD *_pdwStubPhase)
  1932. {
  1933.     HRESULT _RetVal;
  1934.     MIDL_STUB_MESSAGE _StubMsg;
  1935.     
  1936. NdrStubInitialize(
  1937.                      _pRpcMessage,
  1938.                      &_StubMsg,
  1939.                      &Object_StubDesc,
  1940.                      _pRpcChannelBuffer);
  1941.     RpcTryFinally
  1942.         {
  1943.         
  1944.         *_pdwStubPhase = STUB_CALL_SERVER;
  1945.         _RetVal = (((IStlMapDWordToMyStruct *) ((CStdStubBuffer *)This)->pvServerObject)->lpVtbl) -> RemoveAll((IStlMapDWordToMyStruct *) ((CStdStubBuffer *)This)->pvServerObject);
  1946.         
  1947.         *_pdwStubPhase = STUB_MARSHAL;
  1948.         
  1949.         _StubMsg.BufferLength = 4U;
  1950.         NdrStubGetBuffer(This, _pRpcChannelBuffer, &_StubMsg);
  1951.         *(( HRESULT __RPC_FAR * )_StubMsg.Buffer)++ = _RetVal;
  1952.         
  1953.         }
  1954.     RpcFinally
  1955.         {
  1956.         }
  1957.     RpcEndFinally
  1958.     _pRpcMessage->BufferLength = 
  1959.         (unsigned int)((long)_StubMsg.Buffer - (long)_pRpcMessage->Buffer);
  1960.     
  1961. }
  1962.  
  1963.  
  1964. /* [propget][id] */ HRESULT STDMETHODCALLTYPE IStlMapDWordToMyStruct_get_Count_Proxy( 
  1965.     IStlMapDWordToMyStruct __RPC_FAR * This,
  1966.     /* [retval][out] */ UINT __RPC_FAR *dw)
  1967. {
  1968.  
  1969.     HRESULT _RetVal;
  1970.     
  1971.     RPC_MESSAGE _RpcMessage;
  1972.     
  1973.     MIDL_STUB_MESSAGE _StubMsg;
  1974.     
  1975.     RpcTryExcept
  1976.         {
  1977.         NdrProxyInitialize(
  1978.                       ( void __RPC_FAR *  )This,
  1979.                       ( PRPC_MESSAGE  )&_RpcMessage,
  1980.                       ( PMIDL_STUB_MESSAGE  )&_StubMsg,
  1981.                       ( PMIDL_STUB_DESC  )&Object_StubDesc,
  1982.                       10);
  1983.         
  1984.         
  1985.         
  1986.         RpcTryFinally
  1987.             {
  1988.             
  1989.             _StubMsg.BufferLength = 0U;
  1990.             NdrProxyGetBuffer(This, &_StubMsg);
  1991.             NdrProxySendReceive(This, &_StubMsg);
  1992.             
  1993.             if ( (_RpcMessage.DataRepresentation & 0X0000FFFFUL) != NDR_LOCAL_DATA_REPRESENTATION )
  1994.                 NdrConvert( (PMIDL_STUB_MESSAGE) &_StubMsg, (PFORMAT_STRING) &__MIDL_ProcFormatString.Format[56] );
  1995.             
  1996.             *dw = *(( UINT __RPC_FAR * )_StubMsg.Buffer)++;
  1997.             
  1998.             _RetVal = *(( HRESULT __RPC_FAR * )_StubMsg.Buffer)++;
  1999.             
  2000.             }
  2001.         RpcFinally
  2002.             {
  2003.             NdrProxyFreeBuffer(This, &_StubMsg);
  2004.             
  2005.             }
  2006.         RpcEndFinally
  2007.         
  2008.         }
  2009.     RpcExcept(_StubMsg.dwStubPhase != PROXY_SENDRECEIVE)
  2010.         {
  2011.         NdrClearOutParameters(
  2012.                          ( PMIDL_STUB_MESSAGE  )&_StubMsg,
  2013.                          ( PFORMAT_STRING  )&__MIDL_TypeFormatString.Format[136],
  2014.                          ( void __RPC_FAR * )dw);
  2015.         _RetVal = NdrProxyErrorHandler(RpcExceptionCode());
  2016.         }
  2017.     RpcEndExcept
  2018.     return _RetVal;
  2019. }
  2020.  
  2021. void __RPC_STUB IStlMapDWordToMyStruct_get_Count_Stub(
  2022.     IRpcStubBuffer *This,
  2023.     IRpcChannelBuffer *_pRpcChannelBuffer,
  2024.     PRPC_MESSAGE _pRpcMessage,
  2025.     DWORD *_pdwStubPhase)
  2026. {
  2027.     UINT _M14;
  2028.     HRESULT _RetVal;
  2029.     MIDL_STUB_MESSAGE _StubMsg;
  2030.     UINT __RPC_FAR *dw;
  2031.     
  2032. NdrStubInitialize(
  2033.                      _pRpcMessage,
  2034.                      &_StubMsg,
  2035.                      &Object_StubDesc,
  2036.                      _pRpcChannelBuffer);
  2037.     dw = 0;
  2038.     RpcTryFinally
  2039.         {
  2040.         dw = &_M14;
  2041.         
  2042.         *_pdwStubPhase = STUB_CALL_SERVER;
  2043.         _RetVal = (((IStlMapDWordToMyStruct *) ((CStdStubBuffer *)This)->pvServerObject)->lpVtbl) -> get_Count((IStlMapDWordToMyStruct *) ((CStdStubBuffer *)This)->pvServerObject,dw);
  2044.         
  2045.         *_pdwStubPhase = STUB_MARSHAL;
  2046.         
  2047.         _StubMsg.BufferLength = 4U + 4U;
  2048.         NdrStubGetBuffer(This, _pRpcChannelBuffer, &_StubMsg);
  2049.         *(( UINT __RPC_FAR * )_StubMsg.Buffer)++ = *dw;
  2050.         
  2051.         *(( HRESULT __RPC_FAR * )_StubMsg.Buffer)++ = _RetVal;
  2052.         
  2053.         }
  2054.     RpcFinally
  2055.         {
  2056.         }
  2057.     RpcEndFinally
  2058.     _pRpcMessage->BufferLength = 
  2059.         (unsigned int)((long)_StubMsg.Buffer - (long)_pRpcMessage->Buffer);
  2060.     
  2061. }
  2062.  
  2063. const CINTERFACE_PROXY_VTABLE(11) _IStlMapDWordToMyStructProxyVtbl = 
  2064. {
  2065.     &IID_IStlMapDWordToMyStruct,
  2066.     IUnknown_QueryInterface_Proxy,
  2067.     IUnknown_AddRef_Proxy,
  2068.     IUnknown_Release_Proxy ,
  2069.     IStlMapDWordToMyStruct_get_Map_Proxy ,
  2070.     IStlMapDWordToMyStruct_put_Map_Proxy ,
  2071.     IStlMapDWordToMyStruct_Lookup_Proxy ,
  2072.     IStlMapDWordToMyStruct_First_Proxy ,
  2073.     IStlMapDWordToMyStruct_Next_Proxy ,
  2074.     IStlMapDWordToMyStruct_get_Remove_Proxy ,
  2075.     IStlMapDWordToMyStruct_RemoveAll_Proxy ,
  2076.     IStlMapDWordToMyStruct_get_Count_Proxy
  2077. };
  2078.  
  2079.  
  2080. static const PRPC_STUB_FUNCTION IStlMapDWordToMyStruct_table[] =
  2081. {
  2082.     IStlMapDWordToMyStruct_get_Map_Stub,
  2083.     IStlMapDWordToMyStruct_put_Map_Stub,
  2084.     IStlMapDWordToMyStruct_Lookup_Stub,
  2085.     IStlMapDWordToMyStruct_First_Stub,
  2086.     IStlMapDWordToMyStruct_Next_Stub,
  2087.     IStlMapDWordToMyStruct_get_Remove_Stub,
  2088.     IStlMapDWordToMyStruct_RemoveAll_Stub,
  2089.     IStlMapDWordToMyStruct_get_Count_Stub
  2090. };
  2091.  
  2092. const CInterfaceStubVtbl _IStlMapDWordToMyStructStubVtbl =
  2093. {
  2094.     &IID_IStlMapDWordToMyStruct,
  2095.     0,
  2096.     11,
  2097.     &IStlMapDWordToMyStruct_table[-3],
  2098.     CStdStubBuffer_METHODS
  2099. };
  2100.  
  2101.  
  2102. /* Object interface: IStlMapStringToString, ver. 0.0,
  2103.    GUID={0x7CE086D8,0x3E78,0x11D0,{0xAE,0x6B,0x00,0xC0,0x4F,0xD7,0xD0,0x6E}} */
  2104.  
  2105.  
  2106. extern const MIDL_STUB_DESC Object_StubDesc;
  2107.  
  2108.  
  2109. #pragma code_seg(".orpc")
  2110.  
  2111. /* [propget][id] */ HRESULT STDMETHODCALLTYPE IStlMapStringToString_get_Map_Proxy( 
  2112.     IStlMapStringToString __RPC_FAR * This,
  2113.     /* [in] */ BSTR str1,
  2114.     /* [retval][out] */ BSTR __RPC_FAR *str2)
  2115. {
  2116.  
  2117.     HRESULT _RetVal;
  2118.     
  2119.     RPC_MESSAGE _RpcMessage;
  2120.     
  2121.     MIDL_STUB_MESSAGE _StubMsg;
  2122.     
  2123.     MIDL_memset(
  2124.                str2,
  2125.                0,
  2126.                sizeof( BSTR  ));
  2127.     RpcTryExcept
  2128.         {
  2129.         NdrProxyInitialize(
  2130.                       ( void __RPC_FAR *  )This,
  2131.                       ( PRPC_MESSAGE  )&_RpcMessage,
  2132.                       ( PMIDL_STUB_MESSAGE  )&_StubMsg,
  2133.                       ( PMIDL_STUB_DESC  )&Object_StubDesc,
  2134.                       3);
  2135.         
  2136.         
  2137.         
  2138.         RpcTryFinally
  2139.             {
  2140.             
  2141.             _StubMsg.BufferLength = 4U;
  2142.             NdrUserMarshalBufferSize( (PMIDL_STUB_MESSAGE) &_StubMsg,
  2143.                                       (unsigned char __RPC_FAR *)&str1,
  2144.                                       (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[140] );
  2145.             
  2146.             NdrProxyGetBuffer(This, &_StubMsg);
  2147.             NdrUserMarshalMarshall( (PMIDL_STUB_MESSAGE)& _StubMsg,
  2148.                                     (unsigned char __RPC_FAR *)&str1,
  2149.                                     (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[140] );
  2150.             
  2151.             NdrProxySendReceive(This, &_StubMsg);
  2152.             
  2153.             if ( (_RpcMessage.DataRepresentation & 0X0000FFFFUL) != NDR_LOCAL_DATA_REPRESENTATION )
  2154.                 NdrConvert( (PMIDL_STUB_MESSAGE) &_StubMsg, (PFORMAT_STRING) &__MIDL_ProcFormatString.Format[104] );
  2155.             
  2156.             NdrUserMarshalUnmarshall( (PMIDL_STUB_MESSAGE) &_StubMsg,
  2157.                                       (unsigned char __RPC_FAR * __RPC_FAR *)&str2,
  2158.                                       (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[154],
  2159.                                       (unsigned char)0 );
  2160.             
  2161.             _StubMsg.Buffer = (unsigned char __RPC_FAR *)(((long)_StubMsg.Buffer + 3) & ~ 0x3);
  2162.             _RetVal = *(( HRESULT __RPC_FAR * )_StubMsg.Buffer)++;
  2163.             
  2164.             }
  2165.         RpcFinally
  2166.             {
  2167.             NdrProxyFreeBuffer(This, &_StubMsg);
  2168.             
  2169.             }
  2170.         RpcEndFinally
  2171.         
  2172.         }
  2173.     RpcExcept(_StubMsg.dwStubPhase != PROXY_SENDRECEIVE)
  2174.         {
  2175.         NdrClearOutParameters(
  2176.                          ( PMIDL_STUB_MESSAGE  )&_StubMsg,
  2177.                          ( PFORMAT_STRING  )&__MIDL_TypeFormatString.Format[150],
  2178.                          ( void __RPC_FAR * )str2);
  2179.         _RetVal = NdrProxyErrorHandler(RpcExceptionCode());
  2180.         }
  2181.     RpcEndExcept
  2182.     return _RetVal;
  2183. }
  2184.  
  2185. void __RPC_STUB IStlMapStringToString_get_Map_Stub(
  2186.     IRpcStubBuffer *This,
  2187.     IRpcChannelBuffer *_pRpcChannelBuffer,
  2188.     PRPC_MESSAGE _pRpcMessage,
  2189.     DWORD *_pdwStubPhase)
  2190. {
  2191.     BSTR _M15;
  2192.     HRESULT _RetVal;
  2193.     MIDL_STUB_MESSAGE _StubMsg;
  2194.     void __RPC_FAR *_p_str1;
  2195.     BSTR str1;
  2196.     BSTR __RPC_FAR *str2;
  2197.     
  2198. NdrStubInitialize(
  2199.                      _pRpcMessage,
  2200.                      &_StubMsg,
  2201.                      &Object_StubDesc,
  2202.                      _pRpcChannelBuffer);
  2203.     _p_str1 = &str1;
  2204.     MIDL_memset(
  2205.                _p_str1,
  2206.                0,
  2207.                sizeof( BSTR  ));
  2208.     str2 = 0;
  2209.     RpcTryFinally
  2210.         {
  2211.         if ( (_pRpcMessage->DataRepresentation & 0X0000FFFFUL) != NDR_LOCAL_DATA_REPRESENTATION )
  2212.             NdrConvert( (PMIDL_STUB_MESSAGE) &_StubMsg, (PFORMAT_STRING) &__MIDL_ProcFormatString.Format[104] );
  2213.         
  2214.         NdrUserMarshalUnmarshall( (PMIDL_STUB_MESSAGE) &_StubMsg,
  2215.                                   (unsigned char __RPC_FAR * __RPC_FAR *)&_p_str1,
  2216.                                   (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[140],
  2217.                                   (unsigned char)0 );
  2218.         
  2219.         str2 = &_M15;
  2220.         MIDL_memset(
  2221.                str2,
  2222.                0,
  2223.                sizeof( BSTR  ));
  2224.         
  2225.         *_pdwStubPhase = STUB_CALL_SERVER;
  2226.         _RetVal = (((IStlMapStringToString *) ((CStdStubBuffer *)This)->pvServerObject)->lpVtbl) -> get_Map(
  2227.            (IStlMapStringToString *) ((CStdStubBuffer *)This)->pvServerObject,
  2228.            str1,
  2229.            str2);
  2230.         
  2231.         *_pdwStubPhase = STUB_MARSHAL;
  2232.         
  2233.         _StubMsg.BufferLength = 4U + 11U;
  2234.         NdrUserMarshalBufferSize( (PMIDL_STUB_MESSAGE) &_StubMsg,
  2235.                                   (unsigned char __RPC_FAR *)str2,
  2236.                                   (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[154] );
  2237.         
  2238.         _StubMsg.BufferLength += 16;
  2239.         
  2240.         NdrStubGetBuffer(This, _pRpcChannelBuffer, &_StubMsg);
  2241.         NdrUserMarshalMarshall( (PMIDL_STUB_MESSAGE)& _StubMsg,
  2242.                                 (unsigned char __RPC_FAR *)str2,
  2243.                                 (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[154] );
  2244.         
  2245.         _StubMsg.Buffer = (unsigned char __RPC_FAR *)(((long)_StubMsg.Buffer + 3) & ~ 0x3);
  2246.         *(( HRESULT __RPC_FAR * )_StubMsg.Buffer)++ = _RetVal;
  2247.         
  2248.         }
  2249.     RpcFinally
  2250.         {
  2251.         NdrUserMarshalFree( &_StubMsg,
  2252.                             (unsigned char __RPC_FAR *)&str1,
  2253.                             &__MIDL_TypeFormatString.Format[140] );
  2254.         
  2255.         NdrPointerFree( &_StubMsg,
  2256.                         (unsigned char __RPC_FAR *)str2,
  2257.                         &__MIDL_TypeFormatString.Format[150] );
  2258.         
  2259.         }
  2260.     RpcEndFinally
  2261.     _pRpcMessage->BufferLength = 
  2262.         (unsigned int)((long)_StubMsg.Buffer - (long)_pRpcMessage->Buffer);
  2263.     
  2264. }
  2265.  
  2266.  
  2267. /* [propput][id] */ HRESULT STDMETHODCALLTYPE IStlMapStringToString_put_Map_Proxy( 
  2268.     IStlMapStringToString __RPC_FAR * This,
  2269.     /* [in] */ BSTR str1,
  2270.     /* [in] */ BSTR str2)
  2271. {
  2272.  
  2273.     HRESULT _RetVal;
  2274.     
  2275.     RPC_MESSAGE _RpcMessage;
  2276.     
  2277.     MIDL_STUB_MESSAGE _StubMsg;
  2278.     
  2279.     RpcTryExcept
  2280.         {
  2281.         NdrProxyInitialize(
  2282.                       ( void __RPC_FAR *  )This,
  2283.                       ( PRPC_MESSAGE  )&_RpcMessage,
  2284.                       ( PMIDL_STUB_MESSAGE  )&_StubMsg,
  2285.                       ( PMIDL_STUB_DESC  )&Object_StubDesc,
  2286.                       4);
  2287.         
  2288.         
  2289.         
  2290.         RpcTryFinally
  2291.             {
  2292.             
  2293.             _StubMsg.BufferLength = 4U + 11U;
  2294.             NdrUserMarshalBufferSize( (PMIDL_STUB_MESSAGE) &_StubMsg,
  2295.                                       (unsigned char __RPC_FAR *)&str1,
  2296.                                       (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[164] );
  2297.             
  2298.             NdrUserMarshalBufferSize( (PMIDL_STUB_MESSAGE) &_StubMsg,
  2299.                                       (unsigned char __RPC_FAR *)&str2,
  2300.                                       (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[174] );
  2301.             
  2302.             NdrProxyGetBuffer(This, &_StubMsg);
  2303.             NdrUserMarshalMarshall( (PMIDL_STUB_MESSAGE)& _StubMsg,
  2304.                                     (unsigned char __RPC_FAR *)&str1,
  2305.                                     (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[164] );
  2306.             
  2307.             NdrUserMarshalMarshall( (PMIDL_STUB_MESSAGE)& _StubMsg,
  2308.                                     (unsigned char __RPC_FAR *)&str2,
  2309.                                     (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[174] );
  2310.             
  2311.             NdrProxySendReceive(This, &_StubMsg);
  2312.             
  2313.             if ( (_RpcMessage.DataRepresentation & 0X0000FFFFUL) != NDR_LOCAL_DATA_REPRESENTATION )
  2314.                 NdrConvert( (PMIDL_STUB_MESSAGE) &_StubMsg, (PFORMAT_STRING) &__MIDL_ProcFormatString.Format[114] );
  2315.             
  2316.             _RetVal = *(( HRESULT __RPC_FAR * )_StubMsg.Buffer)++;
  2317.             
  2318.             }
  2319.         RpcFinally
  2320.             {
  2321.             NdrProxyFreeBuffer(This, &_StubMsg);
  2322.             
  2323.             }
  2324.         RpcEndFinally
  2325.         
  2326.         }
  2327.     RpcExcept(_StubMsg.dwStubPhase != PROXY_SENDRECEIVE)
  2328.         {
  2329.         _RetVal = NdrProxyErrorHandler(RpcExceptionCode());
  2330.         }
  2331.     RpcEndExcept
  2332.     return _RetVal;
  2333. }
  2334.  
  2335. void __RPC_STUB IStlMapStringToString_put_Map_Stub(
  2336.     IRpcStubBuffer *This,
  2337.     IRpcChannelBuffer *_pRpcChannelBuffer,
  2338.     PRPC_MESSAGE _pRpcMessage,
  2339.     DWORD *_pdwStubPhase)
  2340. {
  2341.     HRESULT _RetVal;
  2342.     MIDL_STUB_MESSAGE _StubMsg;
  2343.     void __RPC_FAR *_p_str1;
  2344.     void __RPC_FAR *_p_str2;
  2345.     BSTR str1;
  2346.     BSTR str2;
  2347.     
  2348. NdrStubInitialize(
  2349.                      _pRpcMessage,
  2350.                      &_StubMsg,
  2351.                      &Object_StubDesc,
  2352.                      _pRpcChannelBuffer);
  2353.     _p_str1 = &str1;
  2354.     MIDL_memset(
  2355.                _p_str1,
  2356.                0,
  2357.                sizeof( BSTR  ));
  2358.     _p_str2 = &str2;
  2359.     MIDL_memset(
  2360.                _p_str2,
  2361.                0,
  2362.                sizeof( BSTR  ));
  2363.     RpcTryFinally
  2364.         {
  2365.         if ( (_pRpcMessage->DataRepresentation & 0X0000FFFFUL) != NDR_LOCAL_DATA_REPRESENTATION )
  2366.             NdrConvert( (PMIDL_STUB_MESSAGE) &_StubMsg, (PFORMAT_STRING) &__MIDL_ProcFormatString.Format[114] );
  2367.         
  2368.         NdrUserMarshalUnmarshall( (PMIDL_STUB_MESSAGE) &_StubMsg,
  2369.                                   (unsigned char __RPC_FAR * __RPC_FAR *)&_p_str1,
  2370.                                   (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[164],
  2371.                                   (unsigned char)0 );
  2372.         
  2373.         NdrUserMarshalUnmarshall( (PMIDL_STUB_MESSAGE) &_StubMsg,
  2374.                                   (unsigned char __RPC_FAR * __RPC_FAR *)&_p_str2,
  2375.                                   (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[174],
  2376.                                   (unsigned char)0 );
  2377.         
  2378.         
  2379.         *_pdwStubPhase = STUB_CALL_SERVER;
  2380.         _RetVal = (((IStlMapStringToString *) ((CStdStubBuffer *)This)->pvServerObject)->lpVtbl) -> put_Map(
  2381.            (IStlMapStringToString *) ((CStdStubBuffer *)This)->pvServerObject,
  2382.            str1,
  2383.            str2);
  2384.         
  2385.         *_pdwStubPhase = STUB_MARSHAL;
  2386.         
  2387.         _StubMsg.BufferLength = 4U;
  2388.         NdrStubGetBuffer(This, _pRpcChannelBuffer, &_StubMsg);
  2389.         *(( HRESULT __RPC_FAR * )_StubMsg.Buffer)++ = _RetVal;
  2390.         
  2391.         }
  2392.     RpcFinally
  2393.         {
  2394.         NdrUserMarshalFree( &_StubMsg,
  2395.                             (unsigned char __RPC_FAR *)&str1,
  2396.                             &__MIDL_TypeFormatString.Format[164] );
  2397.         
  2398.         NdrUserMarshalFree( &_StubMsg,
  2399.                             (unsigned char __RPC_FAR *)&str2,
  2400.                             &__MIDL_TypeFormatString.Format[174] );
  2401.         
  2402.         }
  2403.     RpcEndFinally
  2404.     _pRpcMessage->BufferLength = 
  2405.         (unsigned int)((long)_StubMsg.Buffer - (long)_pRpcMessage->Buffer);
  2406.     
  2407. }
  2408.  
  2409.  
  2410. /* [id] */ HRESULT STDMETHODCALLTYPE IStlMapStringToString_Lookup_Proxy( 
  2411.     IStlMapStringToString __RPC_FAR * This,
  2412.     /* [in] */ BSTR str1,
  2413.     /* [out] */ BSTR __RPC_FAR *str2,
  2414.     /* [retval][out] */ VARIANT_BOOL __RPC_FAR *b)
  2415. {
  2416.  
  2417.     HRESULT _RetVal;
  2418.     
  2419.     RPC_MESSAGE _RpcMessage;
  2420.     
  2421.     MIDL_STUB_MESSAGE _StubMsg;
  2422.     
  2423.     MIDL_memset(
  2424.                str2,
  2425.                0,
  2426.                sizeof( BSTR  ));
  2427.     RpcTryExcept
  2428.         {
  2429.         NdrProxyInitialize(
  2430.                       ( void __RPC_FAR *  )This,
  2431.                       ( PRPC_MESSAGE  )&_RpcMessage,
  2432.                       ( PMIDL_STUB_MESSAGE  )&_StubMsg,
  2433.                       ( PMIDL_STUB_DESC  )&Object_StubDesc,
  2434.                       5);
  2435.         
  2436.         
  2437.         
  2438.         RpcTryFinally
  2439.             {
  2440.             
  2441.             _StubMsg.BufferLength = 4U;
  2442.             NdrUserMarshalBufferSize( (PMIDL_STUB_MESSAGE) &_StubMsg,
  2443.                                       (unsigned char __RPC_FAR *)&str1,
  2444.                                       (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[184] );
  2445.             
  2446.             NdrProxyGetBuffer(This, &_StubMsg);
  2447.             NdrUserMarshalMarshall( (PMIDL_STUB_MESSAGE)& _StubMsg,
  2448.                                     (unsigned char __RPC_FAR *)&str1,
  2449.                                     (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[184] );
  2450.             
  2451.             NdrProxySendReceive(This, &_StubMsg);
  2452.             
  2453.             if ( (_RpcMessage.DataRepresentation & 0X0000FFFFUL) != NDR_LOCAL_DATA_REPRESENTATION )
  2454.                 NdrConvert( (PMIDL_STUB_MESSAGE) &_StubMsg, (PFORMAT_STRING) &__MIDL_ProcFormatString.Format[124] );
  2455.             
  2456.             NdrUserMarshalUnmarshall( (PMIDL_STUB_MESSAGE) &_StubMsg,
  2457.                                       (unsigned char __RPC_FAR * __RPC_FAR *)&str2,
  2458.                                       (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[198],
  2459.                                       (unsigned char)0 );
  2460.             
  2461.             _StubMsg.Buffer = (unsigned char __RPC_FAR *)(((long)_StubMsg.Buffer + 1) & ~ 0x1);
  2462.             *b = *(( VARIANT_BOOL __RPC_FAR * )_StubMsg.Buffer)++;
  2463.             
  2464.             _StubMsg.Buffer = (unsigned char __RPC_FAR *)(((long)_StubMsg.Buffer + 3) & ~ 0x3);
  2465.             _RetVal = *(( HRESULT __RPC_FAR * )_StubMsg.Buffer)++;
  2466.             
  2467.             }
  2468.         RpcFinally
  2469.             {
  2470.             NdrProxyFreeBuffer(This, &_StubMsg);
  2471.             
  2472.             }
  2473.         RpcEndFinally
  2474.         
  2475.         }
  2476.     RpcExcept(_StubMsg.dwStubPhase != PROXY_SENDRECEIVE)
  2477.         {
  2478.         NdrClearOutParameters(
  2479.                          ( PMIDL_STUB_MESSAGE  )&_StubMsg,
  2480.                          ( PFORMAT_STRING  )&__MIDL_TypeFormatString.Format[194],
  2481.                          ( void __RPC_FAR * )str2);
  2482.         NdrClearOutParameters(
  2483.                          ( PMIDL_STUB_MESSAGE  )&_StubMsg,
  2484.                          ( PFORMAT_STRING  )&__MIDL_TypeFormatString.Format[104],
  2485.                          ( void __RPC_FAR * )b);
  2486.         _RetVal = NdrProxyErrorHandler(RpcExceptionCode());
  2487.         }
  2488.     RpcEndExcept
  2489.     return _RetVal;
  2490. }
  2491.  
  2492. void __RPC_STUB IStlMapStringToString_Lookup_Stub(
  2493.     IRpcStubBuffer *This,
  2494.     IRpcChannelBuffer *_pRpcChannelBuffer,
  2495.     PRPC_MESSAGE _pRpcMessage,
  2496.     DWORD *_pdwStubPhase)
  2497. {
  2498.     BSTR _M16;
  2499.     VARIANT_BOOL _M17;
  2500.     HRESULT _RetVal;
  2501.     MIDL_STUB_MESSAGE _StubMsg;
  2502.     void __RPC_FAR *_p_str1;
  2503.     VARIANT_BOOL __RPC_FAR *b;
  2504.     BSTR str1;
  2505.     BSTR __RPC_FAR *str2;
  2506.     
  2507. NdrStubInitialize(
  2508.                      _pRpcMessage,
  2509.                      &_StubMsg,
  2510.                      &Object_StubDesc,
  2511.                      _pRpcChannelBuffer);
  2512.     _p_str1 = &str1;
  2513.     MIDL_memset(
  2514.                _p_str1,
  2515.                0,
  2516.                sizeof( BSTR  ));
  2517.     str2 = 0;
  2518.     b = 0;
  2519.     RpcTryFinally
  2520.         {
  2521.         if ( (_pRpcMessage->DataRepresentation & 0X0000FFFFUL) != NDR_LOCAL_DATA_REPRESENTATION )
  2522.             NdrConvert( (PMIDL_STUB_MESSAGE) &_StubMsg, (PFORMAT_STRING) &__MIDL_ProcFormatString.Format[124] );
  2523.         
  2524.         NdrUserMarshalUnmarshall( (PMIDL_STUB_MESSAGE) &_StubMsg,
  2525.                                   (unsigned char __RPC_FAR * __RPC_FAR *)&_p_str1,
  2526.                                   (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[184],
  2527.                                   (unsigned char)0 );
  2528.         
  2529.         str2 = &_M16;
  2530.         MIDL_memset(
  2531.                str2,
  2532.                0,
  2533.                sizeof( BSTR  ));
  2534.         b = &_M17;
  2535.         
  2536.         *_pdwStubPhase = STUB_CALL_SERVER;
  2537.         _RetVal = (((IStlMapStringToString *) ((CStdStubBuffer *)This)->pvServerObject)->lpVtbl) -> Lookup(
  2538.           (IStlMapStringToString *) ((CStdStubBuffer *)This)->pvServerObject,
  2539.           str1,
  2540.           str2,
  2541.           b);
  2542.         
  2543.         *_pdwStubPhase = STUB_MARSHAL;
  2544.         
  2545.         _StubMsg.BufferLength = 4U + 5U + 10U;
  2546.         NdrUserMarshalBufferSize( (PMIDL_STUB_MESSAGE) &_StubMsg,
  2547.                                   (unsigned char __RPC_FAR *)str2,
  2548.                                   (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[198] );
  2549.         
  2550.         _StubMsg.BufferLength += 16;
  2551.         
  2552.         NdrStubGetBuffer(This, _pRpcChannelBuffer, &_StubMsg);
  2553.         NdrUserMarshalMarshall( (PMIDL_STUB_MESSAGE)& _StubMsg,
  2554.                                 (unsigned char __RPC_FAR *)str2,
  2555.                                 (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[198] );
  2556.         
  2557.         _StubMsg.Buffer = (unsigned char __RPC_FAR *)(((long)_StubMsg.Buffer + 1) & ~ 0x1);
  2558.         *(( VARIANT_BOOL __RPC_FAR * )_StubMsg.Buffer)++ = *b;
  2559.         
  2560.         _StubMsg.Buffer = (unsigned char __RPC_FAR *)(((long)_StubMsg.Buffer + 3) & ~ 0x3);
  2561.         *(( HRESULT __RPC_FAR * )_StubMsg.Buffer)++ = _RetVal;
  2562.         
  2563.         }
  2564.     RpcFinally
  2565.         {
  2566.         NdrUserMarshalFree( &_StubMsg,
  2567.                             (unsigned char __RPC_FAR *)&str1,
  2568.                             &__MIDL_TypeFormatString.Format[184] );
  2569.         
  2570.         NdrPointerFree( &_StubMsg,
  2571.                         (unsigned char __RPC_FAR *)str2,
  2572.                         &__MIDL_TypeFormatString.Format[194] );
  2573.         
  2574.         }
  2575.     RpcEndFinally
  2576.     _pRpcMessage->BufferLength = 
  2577.         (unsigned int)((long)_StubMsg.Buffer - (long)_pRpcMessage->Buffer);
  2578.     
  2579. }
  2580.  
  2581.  
  2582. /* [id] */ HRESULT STDMETHODCALLTYPE IStlMapStringToString_First_Proxy( 
  2583.     IStlMapStringToString __RPC_FAR * This)
  2584. {
  2585.  
  2586.     HRESULT _RetVal;
  2587.     
  2588.     RPC_MESSAGE _RpcMessage;
  2589.     
  2590.     MIDL_STUB_MESSAGE _StubMsg;
  2591.     
  2592.     RpcTryExcept
  2593.         {
  2594.         NdrProxyInitialize(
  2595.                       ( void __RPC_FAR *  )This,
  2596.                       ( PRPC_MESSAGE  )&_RpcMessage,
  2597.                       ( PMIDL_STUB_MESSAGE  )&_StubMsg,
  2598.                       ( PMIDL_STUB_DESC  )&Object_StubDesc,
  2599.                       6);
  2600.         
  2601.         
  2602.         
  2603.         RpcTryFinally
  2604.             {
  2605.             
  2606.             _StubMsg.BufferLength = 0U;
  2607.             NdrProxyGetBuffer(This, &_StubMsg);
  2608.             NdrProxySendReceive(This, &_StubMsg);
  2609.             
  2610.             if ( (_RpcMessage.DataRepresentation & 0X0000FFFFUL) != NDR_LOCAL_DATA_REPRESENTATION )
  2611.                 NdrConvert( (PMIDL_STUB_MESSAGE) &_StubMsg, (PFORMAT_STRING) &__MIDL_ProcFormatString.Format[34] );
  2612.             
  2613.             _RetVal = *(( HRESULT __RPC_FAR * )_StubMsg.Buffer)++;
  2614.             
  2615.             }
  2616.         RpcFinally
  2617.             {
  2618.             NdrProxyFreeBuffer(This, &_StubMsg);
  2619.             
  2620.             }
  2621.         RpcEndFinally
  2622.         
  2623.         }
  2624.     RpcExcept(_StubMsg.dwStubPhase != PROXY_SENDRECEIVE)
  2625.         {
  2626.         _RetVal = NdrProxyErrorHandler(RpcExceptionCode());
  2627.         }
  2628.     RpcEndExcept
  2629.     return _RetVal;
  2630. }
  2631.  
  2632. void __RPC_STUB IStlMapStringToString_First_Stub(
  2633.     IRpcStubBuffer *This,
  2634.     IRpcChannelBuffer *_pRpcChannelBuffer,
  2635.     PRPC_MESSAGE _pRpcMessage,
  2636.     DWORD *_pdwStubPhase)
  2637. {
  2638.     HRESULT _RetVal;
  2639.     MIDL_STUB_MESSAGE _StubMsg;
  2640.     
  2641. NdrStubInitialize(
  2642.                      _pRpcMessage,
  2643.                      &_StubMsg,
  2644.                      &Object_StubDesc,
  2645.                      _pRpcChannelBuffer);
  2646.     RpcTryFinally
  2647.         {
  2648.         
  2649.         *_pdwStubPhase = STUB_CALL_SERVER;
  2650.         _RetVal = (((IStlMapStringToString *) ((CStdStubBuffer *)This)->pvServerObject)->lpVtbl) -> First((IStlMapStringToString *) ((CStdStubBuffer *)This)->pvServerObject);
  2651.         
  2652.         *_pdwStubPhase = STUB_MARSHAL;
  2653.         
  2654.         _StubMsg.BufferLength = 4U;
  2655.         NdrStubGetBuffer(This, _pRpcChannelBuffer, &_StubMsg);
  2656.         *(( HRESULT __RPC_FAR * )_StubMsg.Buffer)++ = _RetVal;
  2657.         
  2658.         }
  2659.     RpcFinally
  2660.         {
  2661.         }
  2662.     RpcEndFinally
  2663.     _pRpcMessage->BufferLength = 
  2664.         (unsigned int)((long)_StubMsg.Buffer - (long)_pRpcMessage->Buffer);
  2665.     
  2666. }
  2667.  
  2668.  
  2669. /* [id] */ HRESULT STDMETHODCALLTYPE IStlMapStringToString_Next_Proxy( 
  2670.     IStlMapStringToString __RPC_FAR * This,
  2671.     /* [out] */ BSTR __RPC_FAR *str1,
  2672.     /* [out] */ BSTR __RPC_FAR *str2,
  2673.     /* [retval][out] */ VARIANT_BOOL __RPC_FAR *b)
  2674. {
  2675.  
  2676.     HRESULT _RetVal;
  2677.     
  2678.     RPC_MESSAGE _RpcMessage;
  2679.     
  2680.     MIDL_STUB_MESSAGE _StubMsg;
  2681.     
  2682.     MIDL_memset(
  2683.                str1,
  2684.                0,
  2685.                sizeof( BSTR  ));
  2686.     MIDL_memset(
  2687.                str2,
  2688.                0,
  2689.                sizeof( BSTR  ));
  2690.     RpcTryExcept
  2691.         {
  2692.         NdrProxyInitialize(
  2693.                       ( void __RPC_FAR *  )This,
  2694.                       ( PRPC_MESSAGE  )&_RpcMessage,
  2695.                       ( PMIDL_STUB_MESSAGE  )&_StubMsg,
  2696.                       ( PMIDL_STUB_DESC  )&Object_StubDesc,
  2697.                       7);
  2698.         
  2699.         
  2700.         
  2701.         RpcTryFinally
  2702.             {
  2703.             
  2704.             _StubMsg.BufferLength = 0U;
  2705.             NdrProxyGetBuffer(This, &_StubMsg);
  2706.             NdrProxySendReceive(This, &_StubMsg);
  2707.             
  2708.             if ( (_RpcMessage.DataRepresentation & 0X0000FFFFUL) != NDR_LOCAL_DATA_REPRESENTATION )
  2709.                 NdrConvert( (PMIDL_STUB_MESSAGE) &_StubMsg, (PFORMAT_STRING) &__MIDL_ProcFormatString.Format[138] );
  2710.             
  2711.             NdrUserMarshalUnmarshall( (PMIDL_STUB_MESSAGE) &_StubMsg,
  2712.                                       (unsigned char __RPC_FAR * __RPC_FAR *)&str1,
  2713.                                       (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[212],
  2714.                                       (unsigned char)0 );
  2715.             
  2716.             NdrUserMarshalUnmarshall( (PMIDL_STUB_MESSAGE) &_StubMsg,
  2717.                                       (unsigned char __RPC_FAR * __RPC_FAR *)&str2,
  2718.                                       (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[226],
  2719.                                       (unsigned char)0 );
  2720.             
  2721.             _StubMsg.Buffer = (unsigned char __RPC_FAR *)(((long)_StubMsg.Buffer + 1) & ~ 0x1);
  2722.             *b = *(( VARIANT_BOOL __RPC_FAR * )_StubMsg.Buffer)++;
  2723.             
  2724.             _StubMsg.Buffer = (unsigned char __RPC_FAR *)(((long)_StubMsg.Buffer + 3) & ~ 0x3);
  2725.             _RetVal = *(( HRESULT __RPC_FAR * )_StubMsg.Buffer)++;
  2726.             
  2727.             }
  2728.         RpcFinally
  2729.             {
  2730.             NdrProxyFreeBuffer(This, &_StubMsg);
  2731.             
  2732.             }
  2733.         RpcEndFinally
  2734.         
  2735.         }
  2736.     RpcExcept(_StubMsg.dwStubPhase != PROXY_SENDRECEIVE)
  2737.         {
  2738.         NdrClearOutParameters(
  2739.                          ( PMIDL_STUB_MESSAGE  )&_StubMsg,
  2740.                          ( PFORMAT_STRING  )&__MIDL_TypeFormatString.Format[208],
  2741.                          ( void __RPC_FAR * )str1);
  2742.         NdrClearOutParameters(
  2743.                          ( PMIDL_STUB_MESSAGE  )&_StubMsg,
  2744.                          ( PFORMAT_STRING  )&__MIDL_TypeFormatString.Format[222],
  2745.                          ( void __RPC_FAR * )str2);
  2746.         NdrClearOutParameters(
  2747.                          ( PMIDL_STUB_MESSAGE  )&_StubMsg,
  2748.                          ( PFORMAT_STRING  )&__MIDL_TypeFormatString.Format[104],
  2749.                          ( void __RPC_FAR * )b);
  2750.         _RetVal = NdrProxyErrorHandler(RpcExceptionCode());
  2751.         }
  2752.     RpcEndExcept
  2753.     return _RetVal;
  2754. }
  2755.  
  2756. void __RPC_STUB IStlMapStringToString_Next_Stub(
  2757.     IRpcStubBuffer *This,
  2758.     IRpcChannelBuffer *_pRpcChannelBuffer,
  2759.     PRPC_MESSAGE _pRpcMessage,
  2760.     DWORD *_pdwStubPhase)
  2761. {
  2762.     BSTR _M18;
  2763.     BSTR _M19;
  2764.     VARIANT_BOOL _M20;
  2765.     HRESULT _RetVal;
  2766.     MIDL_STUB_MESSAGE _StubMsg;
  2767.     VARIANT_BOOL __RPC_FAR *b;
  2768.     BSTR __RPC_FAR *str1;
  2769.     BSTR __RPC_FAR *str2;
  2770.     
  2771. NdrStubInitialize(
  2772.                      _pRpcMessage,
  2773.                      &_StubMsg,
  2774.                      &Object_StubDesc,
  2775.                      _pRpcChannelBuffer);
  2776.     str1 = 0;
  2777.     str2 = 0;
  2778.     b = 0;
  2779.     RpcTryFinally
  2780.         {
  2781.         str1 = &_M18;
  2782.         MIDL_memset(
  2783.                str1,
  2784.                0,
  2785.                sizeof( BSTR  ));
  2786.         str2 = &_M19;
  2787.         MIDL_memset(
  2788.                str2,
  2789.                0,
  2790.                sizeof( BSTR  ));
  2791.         b = &_M20;
  2792.         
  2793.         *_pdwStubPhase = STUB_CALL_SERVER;
  2794.         _RetVal = (((IStlMapStringToString *) ((CStdStubBuffer *)This)->pvServerObject)->lpVtbl) -> Next(
  2795.         (IStlMapStringToString *) ((CStdStubBuffer *)This)->pvServerObject,
  2796.         str1,
  2797.         str2,
  2798.         b);
  2799.         
  2800.         *_pdwStubPhase = STUB_MARSHAL;
  2801.         
  2802.         _StubMsg.BufferLength = 4U + 11U + 5U + 10U;
  2803.         NdrUserMarshalBufferSize( (PMIDL_STUB_MESSAGE) &_StubMsg,
  2804.                                   (unsigned char __RPC_FAR *)str1,
  2805.                                   (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[212] );
  2806.         
  2807.         NdrUserMarshalBufferSize( (PMIDL_STUB_MESSAGE) &_StubMsg,
  2808.                                   (unsigned char __RPC_FAR *)str2,
  2809.                                   (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[226] );
  2810.         
  2811.         _StubMsg.BufferLength += 16;
  2812.         
  2813.         NdrStubGetBuffer(This, _pRpcChannelBuffer, &_StubMsg);
  2814.         NdrUserMarshalMarshall( (PMIDL_STUB_MESSAGE)& _StubMsg,
  2815.                                 (unsigned char __RPC_FAR *)str1,
  2816.                                 (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[212] );
  2817.         
  2818.         NdrUserMarshalMarshall( (PMIDL_STUB_MESSAGE)& _StubMsg,
  2819.                                 (unsigned char __RPC_FAR *)str2,
  2820.                                 (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[226] );
  2821.         
  2822.         _StubMsg.Buffer = (unsigned char __RPC_FAR *)(((long)_StubMsg.Buffer + 1) & ~ 0x1);
  2823.         *(( VARIANT_BOOL __RPC_FAR * )_StubMsg.Buffer)++ = *b;
  2824.         
  2825.         _StubMsg.Buffer = (unsigned char __RPC_FAR *)(((long)_StubMsg.Buffer + 3) & ~ 0x3);
  2826.         *(( HRESULT __RPC_FAR * )_StubMsg.Buffer)++ = _RetVal;
  2827.         
  2828.         }
  2829.     RpcFinally
  2830.         {
  2831.         NdrPointerFree( &_StubMsg,
  2832.                         (unsigned char __RPC_FAR *)str1,
  2833.                         &__MIDL_TypeFormatString.Format[208] );
  2834.         
  2835.         NdrPointerFree( &_StubMsg,
  2836.                         (unsigned char __RPC_FAR *)str2,
  2837.                         &__MIDL_TypeFormatString.Format[222] );
  2838.         
  2839.         }
  2840.     RpcEndFinally
  2841.     _pRpcMessage->BufferLength = 
  2842.         (unsigned int)((long)_StubMsg.Buffer - (long)_pRpcMessage->Buffer);
  2843.     
  2844. }
  2845.  
  2846.  
  2847. /* [propget][id] */ HRESULT STDMETHODCALLTYPE IStlMapStringToString_get_Remove_Proxy( 
  2848.     IStlMapStringToString __RPC_FAR * This,
  2849.     /* [retval][out] */ BSTR __RPC_FAR *str)
  2850. {
  2851.  
  2852.     HRESULT _RetVal;
  2853.     
  2854.     RPC_MESSAGE _RpcMessage;
  2855.     
  2856.     MIDL_STUB_MESSAGE _StubMsg;
  2857.     
  2858.     MIDL_memset(
  2859.                str,
  2860.                0,
  2861.                sizeof( BSTR  ));
  2862.     RpcTryExcept
  2863.         {
  2864.         NdrProxyInitialize(
  2865.                       ( void __RPC_FAR *  )This,
  2866.                       ( PRPC_MESSAGE  )&_RpcMessage,
  2867.                       ( PMIDL_STUB_MESSAGE  )&_StubMsg,
  2868.                       ( PMIDL_STUB_DESC  )&Object_StubDesc,
  2869.                       8);
  2870.         
  2871.         
  2872.         
  2873.         RpcTryFinally
  2874.             {
  2875.             
  2876.             _StubMsg.BufferLength = 0U;
  2877.             NdrProxyGetBuffer(This, &_StubMsg);
  2878.             NdrProxySendReceive(This, &_StubMsg);
  2879.             
  2880.             if ( (_RpcMessage.DataRepresentation & 0X0000FFFFUL) != NDR_LOCAL_DATA_REPRESENTATION )
  2881.                 NdrConvert( (PMIDL_STUB_MESSAGE) &_StubMsg, (PFORMAT_STRING) &__MIDL_ProcFormatString.Format[152] );
  2882.             
  2883.             NdrUserMarshalUnmarshall( (PMIDL_STUB_MESSAGE) &_StubMsg,
  2884.                                       (unsigned char __RPC_FAR * __RPC_FAR *)&str,
  2885.                                       (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[240],
  2886.                                       (unsigned char)0 );
  2887.             
  2888.             _StubMsg.Buffer = (unsigned char __RPC_FAR *)(((long)_StubMsg.Buffer + 3) & ~ 0x3);
  2889.             _RetVal = *(( HRESULT __RPC_FAR * )_StubMsg.Buffer)++;
  2890.             
  2891.             }
  2892.         RpcFinally
  2893.             {
  2894.             NdrProxyFreeBuffer(This, &_StubMsg);
  2895.             
  2896.             }
  2897.         RpcEndFinally
  2898.         
  2899.         }
  2900.     RpcExcept(_StubMsg.dwStubPhase != PROXY_SENDRECEIVE)
  2901.         {
  2902.         NdrClearOutParameters(
  2903.                          ( PMIDL_STUB_MESSAGE  )&_StubMsg,
  2904.                          ( PFORMAT_STRING  )&__MIDL_TypeFormatString.Format[236],
  2905.                          ( void __RPC_FAR * )str);
  2906.         _RetVal = NdrProxyErrorHandler(RpcExceptionCode());
  2907.         }
  2908.     RpcEndExcept
  2909.     return _RetVal;
  2910. }
  2911.  
  2912. void __RPC_STUB IStlMapStringToString_get_Remove_Stub(
  2913.     IRpcStubBuffer *This,
  2914.     IRpcChannelBuffer *_pRpcChannelBuffer,
  2915.     PRPC_MESSAGE _pRpcMessage,
  2916.     DWORD *_pdwStubPhase)
  2917. {
  2918.     BSTR _M21;
  2919.     HRESULT _RetVal;
  2920.     MIDL_STUB_MESSAGE _StubMsg;
  2921.     BSTR __RPC_FAR *str;
  2922.     
  2923. NdrStubInitialize(
  2924.                      _pRpcMessage,
  2925.                      &_StubMsg,
  2926.                      &Object_StubDesc,
  2927.                      _pRpcChannelBuffer);
  2928.     str = 0;
  2929.     RpcTryFinally
  2930.         {
  2931.         str = &_M21;
  2932.         MIDL_memset(
  2933.                str,
  2934.                0,
  2935.                sizeof( BSTR  ));
  2936.         
  2937.         *_pdwStubPhase = STUB_CALL_SERVER;
  2938.         _RetVal = (((IStlMapStringToString *) ((CStdStubBuffer *)This)->pvServerObject)->lpVtbl) -> get_Remove((IStlMapStringToString *) ((CStdStubBuffer *)This)->pvServerObject,str);
  2939.         
  2940.         *_pdwStubPhase = STUB_MARSHAL;
  2941.         
  2942.         _StubMsg.BufferLength = 4U + 11U;
  2943.         NdrUserMarshalBufferSize( (PMIDL_STUB_MESSAGE) &_StubMsg,
  2944.                                   (unsigned char __RPC_FAR *)str,
  2945.                                   (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[240] );
  2946.         
  2947.         _StubMsg.BufferLength += 16;
  2948.         
  2949.         NdrStubGetBuffer(This, _pRpcChannelBuffer, &_StubMsg);
  2950.         NdrUserMarshalMarshall( (PMIDL_STUB_MESSAGE)& _StubMsg,
  2951.                                 (unsigned char __RPC_FAR *)str,
  2952.                                 (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[240] );
  2953.         
  2954.         _StubMsg.Buffer = (unsigned char __RPC_FAR *)(((long)_StubMsg.Buffer + 3) & ~ 0x3);
  2955.         *(( HRESULT __RPC_FAR * )_StubMsg.Buffer)++ = _RetVal;
  2956.         
  2957.         }
  2958.     RpcFinally
  2959.         {
  2960.         NdrPointerFree( &_StubMsg,
  2961.                         (unsigned char __RPC_FAR *)str,
  2962.                         &__MIDL_TypeFormatString.Format[236] );
  2963.         
  2964.         }
  2965.     RpcEndFinally
  2966.     _pRpcMessage->BufferLength = 
  2967.         (unsigned int)((long)_StubMsg.Buffer - (long)_pRpcMessage->Buffer);
  2968.     
  2969. }
  2970.  
  2971.  
  2972. /* [id] */ HRESULT STDMETHODCALLTYPE IStlMapStringToString_RemoveAll_Proxy( 
  2973.     IStlMapStringToString __RPC_FAR * This)
  2974. {
  2975.  
  2976.     HRESULT _RetVal;
  2977.     
  2978.     RPC_MESSAGE _RpcMessage;
  2979.     
  2980.     MIDL_STUB_MESSAGE _StubMsg;
  2981.     
  2982.     RpcTryExcept
  2983.         {
  2984.         NdrProxyInitialize(
  2985.                       ( void __RPC_FAR *  )This,
  2986.                       ( PRPC_MESSAGE  )&_RpcMessage,
  2987.                       ( PMIDL_STUB_MESSAGE  )&_StubMsg,
  2988.                       ( PMIDL_STUB_DESC  )&Object_StubDesc,
  2989.                       9);
  2990.         
  2991.         
  2992.         
  2993.         RpcTryFinally
  2994.             {
  2995.             
  2996.             _StubMsg.BufferLength = 0U;
  2997.             NdrProxyGetBuffer(This, &_StubMsg);
  2998.             NdrProxySendReceive(This, &_StubMsg);
  2999.             
  3000.             if ( (_RpcMessage.DataRepresentation & 0X0000FFFFUL) != NDR_LOCAL_DATA_REPRESENTATION )
  3001.                 NdrConvert( (PMIDL_STUB_MESSAGE) &_StubMsg, (PFORMAT_STRING) &__MIDL_ProcFormatString.Format[34] );
  3002.             
  3003.             _RetVal = *(( HRESULT __RPC_FAR * )_StubMsg.Buffer)++;
  3004.             
  3005.             }
  3006.         RpcFinally
  3007.             {
  3008.             NdrProxyFreeBuffer(This, &_StubMsg);
  3009.             
  3010.             }
  3011.         RpcEndFinally
  3012.         
  3013.         }
  3014.     RpcExcept(_StubMsg.dwStubPhase != PROXY_SENDRECEIVE)
  3015.         {
  3016.         _RetVal = NdrProxyErrorHandler(RpcExceptionCode());
  3017.         }
  3018.     RpcEndExcept
  3019.     return _RetVal;
  3020. }
  3021.  
  3022. void __RPC_STUB IStlMapStringToString_RemoveAll_Stub(
  3023.     IRpcStubBuffer *This,
  3024.     IRpcChannelBuffer *_pRpcChannelBuffer,
  3025.     PRPC_MESSAGE _pRpcMessage,
  3026.     DWORD *_pdwStubPhase)
  3027. {
  3028.     HRESULT _RetVal;
  3029.     MIDL_STUB_MESSAGE _StubMsg;
  3030.     
  3031. NdrStubInitialize(
  3032.                      _pRpcMessage,
  3033.                      &_StubMsg,
  3034.                      &Object_StubDesc,
  3035.                      _pRpcChannelBuffer);
  3036.     RpcTryFinally
  3037.         {
  3038.         
  3039.         *_pdwStubPhase = STUB_CALL_SERVER;
  3040.         _RetVal = (((IStlMapStringToString *) ((CStdStubBuffer *)This)->pvServerObject)->lpVtbl) -> RemoveAll((IStlMapStringToString *) ((CStdStubBuffer *)This)->pvServerObject);
  3041.         
  3042.         *_pdwStubPhase = STUB_MARSHAL;
  3043.         
  3044.         _StubMsg.BufferLength = 4U;
  3045.         NdrStubGetBuffer(This, _pRpcChannelBuffer, &_StubMsg);
  3046.         *(( HRESULT __RPC_FAR * )_StubMsg.Buffer)++ = _RetVal;
  3047.         
  3048.         }
  3049.     RpcFinally
  3050.         {
  3051.         }
  3052.     RpcEndFinally
  3053.     _pRpcMessage->BufferLength = 
  3054.         (unsigned int)((long)_StubMsg.Buffer - (long)_pRpcMessage->Buffer);
  3055.     
  3056. }
  3057.  
  3058.  
  3059. /* [propget][id] */ HRESULT STDMETHODCALLTYPE IStlMapStringToString_get_Count_Proxy( 
  3060.     IStlMapStringToString __RPC_FAR * This,
  3061.     /* [retval][out] */ UINT __RPC_FAR *dw)
  3062. {
  3063.  
  3064.     HRESULT _RetVal;
  3065.     
  3066.     RPC_MESSAGE _RpcMessage;
  3067.     
  3068.     MIDL_STUB_MESSAGE _StubMsg;
  3069.     
  3070.     RpcTryExcept
  3071.         {
  3072.         NdrProxyInitialize(
  3073.                       ( void __RPC_FAR *  )This,
  3074.                       ( PRPC_MESSAGE  )&_RpcMessage,
  3075.                       ( PMIDL_STUB_MESSAGE  )&_StubMsg,
  3076.                       ( PMIDL_STUB_DESC  )&Object_StubDesc,
  3077.                       10);
  3078.         
  3079.         
  3080.         
  3081.         RpcTryFinally
  3082.             {
  3083.             
  3084.             _StubMsg.BufferLength = 0U;
  3085.             NdrProxyGetBuffer(This, &_StubMsg);
  3086.             NdrProxySendReceive(This, &_StubMsg);
  3087.             
  3088.             if ( (_RpcMessage.DataRepresentation & 0X0000FFFFUL) != NDR_LOCAL_DATA_REPRESENTATION )
  3089.                 NdrConvert( (PMIDL_STUB_MESSAGE) &_StubMsg, (PFORMAT_STRING) &__MIDL_ProcFormatString.Format[56] );
  3090.             
  3091.             *dw = *(( UINT __RPC_FAR * )_StubMsg.Buffer)++;
  3092.             
  3093.             _RetVal = *(( HRESULT __RPC_FAR * )_StubMsg.Buffer)++;
  3094.             
  3095.             }
  3096.         RpcFinally
  3097.             {
  3098.             NdrProxyFreeBuffer(This, &_StubMsg);
  3099.             
  3100.             }
  3101.         RpcEndFinally
  3102.         
  3103.         }
  3104.     RpcExcept(_StubMsg.dwStubPhase != PROXY_SENDRECEIVE)
  3105.         {
  3106.         NdrClearOutParameters(
  3107.                          ( PMIDL_STUB_MESSAGE  )&_StubMsg,
  3108.                          ( PFORMAT_STRING  )&__MIDL_TypeFormatString.Format[136],
  3109.                          ( void __RPC_FAR * )dw);
  3110.         _RetVal = NdrProxyErrorHandler(RpcExceptionCode());
  3111.         }
  3112.     RpcEndExcept
  3113.     return _RetVal;
  3114. }
  3115.  
  3116. void __RPC_STUB IStlMapStringToString_get_Count_Stub(
  3117.     IRpcStubBuffer *This,
  3118.     IRpcChannelBuffer *_pRpcChannelBuffer,
  3119.     PRPC_MESSAGE _pRpcMessage,
  3120.     DWORD *_pdwStubPhase)
  3121. {
  3122.     UINT _M22;
  3123.     HRESULT _RetVal;
  3124.     MIDL_STUB_MESSAGE _StubMsg;
  3125.     UINT __RPC_FAR *dw;
  3126.     
  3127. NdrStubInitialize(
  3128.                      _pRpcMessage,
  3129.                      &_StubMsg,
  3130.                      &Object_StubDesc,
  3131.                      _pRpcChannelBuffer);
  3132.     dw = 0;
  3133.     RpcTryFinally
  3134.         {
  3135.         dw = &_M22;
  3136.         
  3137.         *_pdwStubPhase = STUB_CALL_SERVER;
  3138.         _RetVal = (((IStlMapStringToString *) ((CStdStubBuffer *)This)->pvServerObject)->lpVtbl) -> get_Count((IStlMapStringToString *) ((CStdStubBuffer *)This)->pvServerObject,dw);
  3139.         
  3140.         *_pdwStubPhase = STUB_MARSHAL;
  3141.         
  3142.         _StubMsg.BufferLength = 4U + 4U;
  3143.         NdrStubGetBuffer(This, _pRpcChannelBuffer, &_StubMsg);
  3144.         *(( UINT __RPC_FAR * )_StubMsg.Buffer)++ = *dw;
  3145.         
  3146.         *(( HRESULT __RPC_FAR * )_StubMsg.Buffer)++ = _RetVal;
  3147.         
  3148.         }
  3149.     RpcFinally
  3150.         {
  3151.         }
  3152.     RpcEndFinally
  3153.     _pRpcMessage->BufferLength = 
  3154.         (unsigned int)((long)_StubMsg.Buffer - (long)_pRpcMessage->Buffer);
  3155.     
  3156. }
  3157.  
  3158. const CINTERFACE_PROXY_VTABLE(11) _IStlMapStringToStringProxyVtbl = 
  3159. {
  3160.     &IID_IStlMapStringToString,
  3161.     IUnknown_QueryInterface_Proxy,
  3162.     IUnknown_AddRef_Proxy,
  3163.     IUnknown_Release_Proxy ,
  3164.     IStlMapStringToString_get_Map_Proxy ,
  3165.     IStlMapStringToString_put_Map_Proxy ,
  3166.     IStlMapStringToString_Lookup_Proxy ,
  3167.     IStlMapStringToString_First_Proxy ,
  3168.     IStlMapStringToString_Next_Proxy ,
  3169.     IStlMapStringToString_get_Remove_Proxy ,
  3170.     IStlMapStringToString_RemoveAll_Proxy ,
  3171.     IStlMapStringToString_get_Count_Proxy
  3172. };
  3173.  
  3174.  
  3175. static const PRPC_STUB_FUNCTION IStlMapStringToString_table[] =
  3176. {
  3177.     IStlMapStringToString_get_Map_Stub,
  3178.     IStlMapStringToString_put_Map_Stub,
  3179.     IStlMapStringToString_Lookup_Stub,
  3180.     IStlMapStringToString_First_Stub,
  3181.     IStlMapStringToString_Next_Stub,
  3182.     IStlMapStringToString_get_Remove_Stub,
  3183.     IStlMapStringToString_RemoveAll_Stub,
  3184.     IStlMapStringToString_get_Count_Stub
  3185. };
  3186.  
  3187. const CInterfaceStubVtbl _IStlMapStringToStringStubVtbl =
  3188. {
  3189.     &IID_IStlMapStringToString,
  3190.     0,
  3191.     11,
  3192.     &IStlMapStringToString_table[-3],
  3193.     CStdStubBuffer_METHODS
  3194. };
  3195.  
  3196.  
  3197. /* Object interface: IStlLists, ver. 0.0,
  3198.    GUID={0x7CE086DD,0x3E78,0x11D0,{0xAE,0x6B,0x00,0xC0,0x4F,0xD7,0xD0,0x6E}} */
  3199.  
  3200.  
  3201. extern const MIDL_STUB_DESC Object_StubDesc;
  3202.  
  3203.  
  3204. #pragma code_seg(".orpc")
  3205. const CINTERFACE_PROXY_VTABLE(3) _IStlListsProxyVtbl = 
  3206. {
  3207.     &IID_IStlLists,
  3208.     IUnknown_QueryInterface_Proxy,
  3209.     IUnknown_AddRef_Proxy,
  3210.     IUnknown_Release_Proxy
  3211. };
  3212.  
  3213.  
  3214. static const PRPC_STUB_FUNCTION IStlLists_table[] =
  3215. {
  3216.     0    /* a dummy for an empty interface */
  3217. };
  3218.  
  3219. const CInterfaceStubVtbl _IStlListsStubVtbl =
  3220. {
  3221.     &IID_IStlLists,
  3222.     0,
  3223.     3,
  3224.     &IStlLists_table[-3],
  3225.     CStdStubBuffer_METHODS
  3226. };
  3227.  
  3228.  
  3229. /* Object interface: IStlStringList, ver. 0.0,
  3230.    GUID={0x7CE086E2,0x3E78,0x11D0,{0xAE,0x6B,0x00,0xC0,0x4F,0xD7,0xD0,0x6E}} */
  3231.  
  3232.  
  3233. extern const MIDL_STUB_DESC Object_StubDesc;
  3234.  
  3235.  
  3236. #pragma code_seg(".orpc")
  3237.  
  3238. /* [id] */ HRESULT STDMETHODCALLTYPE IStlStringList_Find_Proxy( 
  3239.     IStlStringList __RPC_FAR * This,
  3240.     /* [in] */ BSTR str,
  3241.     /* [retval][out] */ VARIANT_BOOL __RPC_FAR *b)
  3242. {
  3243.  
  3244.     HRESULT _RetVal;
  3245.     
  3246.     RPC_MESSAGE _RpcMessage;
  3247.     
  3248.     MIDL_STUB_MESSAGE _StubMsg;
  3249.     
  3250.     RpcTryExcept
  3251.         {
  3252.         NdrProxyInitialize(
  3253.                       ( void __RPC_FAR *  )This,
  3254.                       ( PRPC_MESSAGE  )&_RpcMessage,
  3255.                       ( PMIDL_STUB_MESSAGE  )&_StubMsg,
  3256.                       ( PMIDL_STUB_DESC  )&Object_StubDesc,
  3257.                       3);
  3258.         
  3259.         
  3260.         
  3261.         RpcTryFinally
  3262.             {
  3263.             
  3264.             _StubMsg.BufferLength = 4U;
  3265.             NdrUserMarshalBufferSize( (PMIDL_STUB_MESSAGE) &_StubMsg,
  3266.                                       (unsigned char __RPC_FAR *)&str,
  3267.                                       (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[250] );
  3268.             
  3269.             NdrProxyGetBuffer(This, &_StubMsg);
  3270.             NdrUserMarshalMarshall( (PMIDL_STUB_MESSAGE)& _StubMsg,
  3271.                                     (unsigned char __RPC_FAR *)&str,
  3272.                                     (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[250] );
  3273.             
  3274.             NdrProxySendReceive(This, &_StubMsg);
  3275.             
  3276.             if ( (_RpcMessage.DataRepresentation & 0X0000FFFFUL) != NDR_LOCAL_DATA_REPRESENTATION )
  3277.                 NdrConvert( (PMIDL_STUB_MESSAGE) &_StubMsg, (PFORMAT_STRING) &__MIDL_ProcFormatString.Format[158] );
  3278.             
  3279.             *b = *(( VARIANT_BOOL __RPC_FAR * )_StubMsg.Buffer)++;
  3280.             
  3281.             _StubMsg.Buffer += 2;
  3282.             _RetVal = *(( HRESULT __RPC_FAR * )_StubMsg.Buffer)++;
  3283.             
  3284.             }
  3285.         RpcFinally
  3286.             {
  3287.             NdrProxyFreeBuffer(This, &_StubMsg);
  3288.             
  3289.             }
  3290.         RpcEndFinally
  3291.         
  3292.         }
  3293.     RpcExcept(_StubMsg.dwStubPhase != PROXY_SENDRECEIVE)
  3294.         {
  3295.         NdrClearOutParameters(
  3296.                          ( PMIDL_STUB_MESSAGE  )&_StubMsg,
  3297.                          ( PFORMAT_STRING  )&__MIDL_TypeFormatString.Format[104],
  3298.                          ( void __RPC_FAR * )b);
  3299.         _RetVal = NdrProxyErrorHandler(RpcExceptionCode());
  3300.         }
  3301.     RpcEndExcept
  3302.     return _RetVal;
  3303. }
  3304.  
  3305. void __RPC_STUB IStlStringList_Find_Stub(
  3306.     IRpcStubBuffer *This,
  3307.     IRpcChannelBuffer *_pRpcChannelBuffer,
  3308.     PRPC_MESSAGE _pRpcMessage,
  3309.     DWORD *_pdwStubPhase)
  3310. {
  3311.     VARIANT_BOOL _M23;
  3312.     HRESULT _RetVal;
  3313.     MIDL_STUB_MESSAGE _StubMsg;
  3314.     void __RPC_FAR *_p_str;
  3315.     VARIANT_BOOL __RPC_FAR *b;
  3316.     BSTR str;
  3317.     
  3318. NdrStubInitialize(
  3319.                      _pRpcMessage,
  3320.                      &_StubMsg,
  3321.                      &Object_StubDesc,
  3322.                      _pRpcChannelBuffer);
  3323.     _p_str = &str;
  3324.     MIDL_memset(
  3325.                _p_str,
  3326.                0,
  3327.                sizeof( BSTR  ));
  3328.     b = 0;
  3329.     RpcTryFinally
  3330.         {
  3331.         if ( (_pRpcMessage->DataRepresentation & 0X0000FFFFUL) != NDR_LOCAL_DATA_REPRESENTATION )
  3332.             NdrConvert( (PMIDL_STUB_MESSAGE) &_StubMsg, (PFORMAT_STRING) &__MIDL_ProcFormatString.Format[158] );
  3333.         
  3334.         NdrUserMarshalUnmarshall( (PMIDL_STUB_MESSAGE) &_StubMsg,
  3335.                                   (unsigned char __RPC_FAR * __RPC_FAR *)&_p_str,
  3336.                                   (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[250],
  3337.                                   (unsigned char)0 );
  3338.         
  3339.         b = &_M23;
  3340.         
  3341.         *_pdwStubPhase = STUB_CALL_SERVER;
  3342.         _RetVal = (((IStlStringList *) ((CStdStubBuffer *)This)->pvServerObject)->lpVtbl) -> Find(
  3343.         (IStlStringList *) ((CStdStubBuffer *)This)->pvServerObject,
  3344.         str,
  3345.         b);
  3346.         
  3347.         *_pdwStubPhase = STUB_MARSHAL;
  3348.         
  3349.         _StubMsg.BufferLength = 2U + 6U;
  3350.         NdrStubGetBuffer(This, _pRpcChannelBuffer, &_StubMsg);
  3351.         *(( VARIANT_BOOL __RPC_FAR * )_StubMsg.Buffer)++ = *b;
  3352.         
  3353.         _StubMsg.Buffer += 2;
  3354.         *(( HRESULT __RPC_FAR * )_StubMsg.Buffer)++ = _RetVal;
  3355.         
  3356.         }
  3357.     RpcFinally
  3358.         {
  3359.         NdrUserMarshalFree( &_StubMsg,
  3360.                             (unsigned char __RPC_FAR *)&str,
  3361.                             &__MIDL_TypeFormatString.Format[250] );
  3362.         
  3363.         }
  3364.     RpcEndFinally
  3365.     _pRpcMessage->BufferLength = 
  3366.         (unsigned int)((long)_StubMsg.Buffer - (long)_pRpcMessage->Buffer);
  3367.     
  3368. }
  3369.  
  3370.  
  3371. /* [propput][id] */ HRESULT STDMETHODCALLTYPE IStlStringList_put_SetAt_Proxy( 
  3372.     IStlStringList __RPC_FAR * This,
  3373.     /* [in] */ BSTR str)
  3374. {
  3375.  
  3376.     HRESULT _RetVal;
  3377.     
  3378.     RPC_MESSAGE _RpcMessage;
  3379.     
  3380.     MIDL_STUB_MESSAGE _StubMsg;
  3381.     
  3382.     RpcTryExcept
  3383.         {
  3384.         NdrProxyInitialize(
  3385.                       ( void __RPC_FAR *  )This,
  3386.                       ( PRPC_MESSAGE  )&_RpcMessage,
  3387.                       ( PMIDL_STUB_MESSAGE  )&_StubMsg,
  3388.                       ( PMIDL_STUB_DESC  )&Object_StubDesc,
  3389.                       4);
  3390.         
  3391.         
  3392.         
  3393.         RpcTryFinally
  3394.             {
  3395.             
  3396.             _StubMsg.BufferLength = 4U;
  3397.             NdrUserMarshalBufferSize( (PMIDL_STUB_MESSAGE) &_StubMsg,
  3398.                                       (unsigned char __RPC_FAR *)&str,
  3399.                                       (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[260] );
  3400.             
  3401.             NdrProxyGetBuffer(This, &_StubMsg);
  3402.             NdrUserMarshalMarshall( (PMIDL_STUB_MESSAGE)& _StubMsg,
  3403.                                     (unsigned char __RPC_FAR *)&str,
  3404.                                     (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[260] );
  3405.             
  3406.             NdrProxySendReceive(This, &_StubMsg);
  3407.             
  3408.             if ( (_RpcMessage.DataRepresentation & 0X0000FFFFUL) != NDR_LOCAL_DATA_REPRESENTATION )
  3409.                 NdrConvert( (PMIDL_STUB_MESSAGE) &_StubMsg, (PFORMAT_STRING) &__MIDL_ProcFormatString.Format[168] );
  3410.             
  3411.             _RetVal = *(( HRESULT __RPC_FAR * )_StubMsg.Buffer)++;
  3412.             
  3413.             }
  3414.         RpcFinally
  3415.             {
  3416.             NdrProxyFreeBuffer(This, &_StubMsg);
  3417.             
  3418.             }
  3419.         RpcEndFinally
  3420.         
  3421.         }
  3422.     RpcExcept(_StubMsg.dwStubPhase != PROXY_SENDRECEIVE)
  3423.         {
  3424.         _RetVal = NdrProxyErrorHandler(RpcExceptionCode());
  3425.         }
  3426.     RpcEndExcept
  3427.     return _RetVal;
  3428. }
  3429.  
  3430. void __RPC_STUB IStlStringList_put_SetAt_Stub(
  3431.     IRpcStubBuffer *This,
  3432.     IRpcChannelBuffer *_pRpcChannelBuffer,
  3433.     PRPC_MESSAGE _pRpcMessage,
  3434.     DWORD *_pdwStubPhase)
  3435. {
  3436.     HRESULT _RetVal;
  3437.     MIDL_STUB_MESSAGE _StubMsg;
  3438.     void __RPC_FAR *_p_str;
  3439.     BSTR str;
  3440.     
  3441. NdrStubInitialize(
  3442.                      _pRpcMessage,
  3443.                      &_StubMsg,
  3444.                      &Object_StubDesc,
  3445.                      _pRpcChannelBuffer);
  3446.     _p_str = &str;
  3447.     MIDL_memset(
  3448.                _p_str,
  3449.                0,
  3450.                sizeof( BSTR  ));
  3451.     RpcTryFinally
  3452.         {
  3453.         if ( (_pRpcMessage->DataRepresentation & 0X0000FFFFUL) != NDR_LOCAL_DATA_REPRESENTATION )
  3454.             NdrConvert( (PMIDL_STUB_MESSAGE) &_StubMsg, (PFORMAT_STRING) &__MIDL_ProcFormatString.Format[168] );
  3455.         
  3456.         NdrUserMarshalUnmarshall( (PMIDL_STUB_MESSAGE) &_StubMsg,
  3457.                                   (unsigned char __RPC_FAR * __RPC_FAR *)&_p_str,
  3458.                                   (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[260],
  3459.                                   (unsigned char)0 );
  3460.         
  3461.         
  3462.         *_pdwStubPhase = STUB_CALL_SERVER;
  3463.         _RetVal = (((IStlStringList *) ((CStdStubBuffer *)This)->pvServerObject)->lpVtbl) -> put_SetAt((IStlStringList *) ((CStdStubBuffer *)This)->pvServerObject,str);
  3464.         
  3465.         *_pdwStubPhase = STUB_MARSHAL;
  3466.         
  3467.         _StubMsg.BufferLength = 4U;
  3468.         NdrStubGetBuffer(This, _pRpcChannelBuffer, &_StubMsg);
  3469.         *(( HRESULT __RPC_FAR * )_StubMsg.Buffer)++ = _RetVal;
  3470.         
  3471.         }
  3472.     RpcFinally
  3473.         {
  3474.         NdrUserMarshalFree( &_StubMsg,
  3475.                             (unsigned char __RPC_FAR *)&str,
  3476.                             &__MIDL_TypeFormatString.Format[260] );
  3477.         
  3478.         }
  3479.     RpcEndFinally
  3480.     _pRpcMessage->BufferLength = 
  3481.         (unsigned int)((long)_StubMsg.Buffer - (long)_pRpcMessage->Buffer);
  3482.     
  3483. }
  3484.  
  3485.  
  3486. /* [propput][id] */ HRESULT STDMETHODCALLTYPE IStlStringList_put_Add_Proxy( 
  3487.     IStlStringList __RPC_FAR * This,
  3488.     /* [in] */ BSTR str)
  3489. {
  3490.  
  3491.     HRESULT _RetVal;
  3492.     
  3493.     RPC_MESSAGE _RpcMessage;
  3494.     
  3495.     MIDL_STUB_MESSAGE _StubMsg;
  3496.     
  3497.     RpcTryExcept
  3498.         {
  3499.         NdrProxyInitialize(
  3500.                       ( void __RPC_FAR *  )This,
  3501.                       ( PRPC_MESSAGE  )&_RpcMessage,
  3502.                       ( PMIDL_STUB_MESSAGE  )&_StubMsg,
  3503.                       ( PMIDL_STUB_DESC  )&Object_StubDesc,
  3504.                       5);
  3505.         
  3506.         
  3507.         
  3508.         RpcTryFinally
  3509.             {
  3510.             
  3511.             _StubMsg.BufferLength = 4U;
  3512.             NdrUserMarshalBufferSize( (PMIDL_STUB_MESSAGE) &_StubMsg,
  3513.                                       (unsigned char __RPC_FAR *)&str,
  3514.                                       (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[270] );
  3515.             
  3516.             NdrProxyGetBuffer(This, &_StubMsg);
  3517.             NdrUserMarshalMarshall( (PMIDL_STUB_MESSAGE)& _StubMsg,
  3518.                                     (unsigned char __RPC_FAR *)&str,
  3519.                                     (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[270] );
  3520.             
  3521.             NdrProxySendReceive(This, &_StubMsg);
  3522.             
  3523.             if ( (_RpcMessage.DataRepresentation & 0X0000FFFFUL) != NDR_LOCAL_DATA_REPRESENTATION )
  3524.                 NdrConvert( (PMIDL_STUB_MESSAGE) &_StubMsg, (PFORMAT_STRING) &__MIDL_ProcFormatString.Format[174] );
  3525.             
  3526.             _RetVal = *(( HRESULT __RPC_FAR * )_StubMsg.Buffer)++;
  3527.             
  3528.             }
  3529.         RpcFinally
  3530.             {
  3531.             NdrProxyFreeBuffer(This, &_StubMsg);
  3532.             
  3533.             }
  3534.         RpcEndFinally
  3535.         
  3536.         }
  3537.     RpcExcept(_StubMsg.dwStubPhase != PROXY_SENDRECEIVE)
  3538.         {
  3539.         _RetVal = NdrProxyErrorHandler(RpcExceptionCode());
  3540.         }
  3541.     RpcEndExcept
  3542.     return _RetVal;
  3543. }
  3544.  
  3545. void __RPC_STUB IStlStringList_put_Add_Stub(
  3546.     IRpcStubBuffer *This,
  3547.     IRpcChannelBuffer *_pRpcChannelBuffer,
  3548.     PRPC_MESSAGE _pRpcMessage,
  3549.     DWORD *_pdwStubPhase)
  3550. {
  3551.     HRESULT _RetVal;
  3552.     MIDL_STUB_MESSAGE _StubMsg;
  3553.     void __RPC_FAR *_p_str;
  3554.     BSTR str;
  3555.     
  3556. NdrStubInitialize(
  3557.                      _pRpcMessage,
  3558.                      &_StubMsg,
  3559.                      &Object_StubDesc,
  3560.                      _pRpcChannelBuffer);
  3561.     _p_str = &str;
  3562.     MIDL_memset(
  3563.                _p_str,
  3564.                0,
  3565.                sizeof( BSTR  ));
  3566.     RpcTryFinally
  3567.         {
  3568.         if ( (_pRpcMessage->DataRepresentation & 0X0000FFFFUL) != NDR_LOCAL_DATA_REPRESENTATION )
  3569.             NdrConvert( (PMIDL_STUB_MESSAGE) &_StubMsg, (PFORMAT_STRING) &__MIDL_ProcFormatString.Format[174] );
  3570.         
  3571.         NdrUserMarshalUnmarshall( (PMIDL_STUB_MESSAGE) &_StubMsg,
  3572.                                   (unsigned char __RPC_FAR * __RPC_FAR *)&_p_str,
  3573.                                   (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[270],
  3574.                                   (unsigned char)0 );
  3575.         
  3576.         
  3577.         *_pdwStubPhase = STUB_CALL_SERVER;
  3578.         _RetVal = (((IStlStringList *) ((CStdStubBuffer *)This)->pvServerObject)->lpVtbl) -> put_Add((IStlStringList *) ((CStdStubBuffer *)This)->pvServerObject,str);
  3579.         
  3580.         *_pdwStubPhase = STUB_MARSHAL;
  3581.         
  3582.         _StubMsg.BufferLength = 4U;
  3583.         NdrStubGetBuffer(This, _pRpcChannelBuffer, &_StubMsg);
  3584.         *(( HRESULT __RPC_FAR * )_StubMsg.Buffer)++ = _RetVal;
  3585.         
  3586.         }
  3587.     RpcFinally
  3588.         {
  3589.         NdrUserMarshalFree( &_StubMsg,
  3590.                             (unsigned char __RPC_FAR *)&str,
  3591.                             &__MIDL_TypeFormatString.Format[270] );
  3592.         
  3593.         }
  3594.     RpcEndFinally
  3595.     _pRpcMessage->BufferLength = 
  3596.         (unsigned int)((long)_StubMsg.Buffer - (long)_pRpcMessage->Buffer);
  3597.     
  3598. }
  3599.  
  3600.  
  3601. /* [propput][id] */ HRESULT STDMETHODCALLTYPE IStlStringList_put_InsertBefore_Proxy( 
  3602.     IStlStringList __RPC_FAR * This,
  3603.     /* [in] */ BSTR str)
  3604. {
  3605.  
  3606.     HRESULT _RetVal;
  3607.     
  3608.     RPC_MESSAGE _RpcMessage;
  3609.     
  3610.     MIDL_STUB_MESSAGE _StubMsg;
  3611.     
  3612.     RpcTryExcept
  3613.         {
  3614.         NdrProxyInitialize(
  3615.                       ( void __RPC_FAR *  )This,
  3616.                       ( PRPC_MESSAGE  )&_RpcMessage,
  3617.                       ( PMIDL_STUB_MESSAGE  )&_StubMsg,
  3618.                       ( PMIDL_STUB_DESC  )&Object_StubDesc,
  3619.                       6);
  3620.         
  3621.         
  3622.         
  3623.         RpcTryFinally
  3624.             {
  3625.             
  3626.             _StubMsg.BufferLength = 4U;
  3627.             NdrUserMarshalBufferSize( (PMIDL_STUB_MESSAGE) &_StubMsg,
  3628.                                       (unsigned char __RPC_FAR *)&str,
  3629.                                       (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[280] );
  3630.             
  3631.             NdrProxyGetBuffer(This, &_StubMsg);
  3632.             NdrUserMarshalMarshall( (PMIDL_STUB_MESSAGE)& _StubMsg,
  3633.                                     (unsigned char __RPC_FAR *)&str,
  3634.                                     (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[280] );
  3635.             
  3636.             NdrProxySendReceive(This, &_StubMsg);
  3637.             
  3638.             if ( (_RpcMessage.DataRepresentation & 0X0000FFFFUL) != NDR_LOCAL_DATA_REPRESENTATION )
  3639.                 NdrConvert( (PMIDL_STUB_MESSAGE) &_StubMsg, (PFORMAT_STRING) &__MIDL_ProcFormatString.Format[180] );
  3640.             
  3641.             _RetVal = *(( HRESULT __RPC_FAR * )_StubMsg.Buffer)++;
  3642.             
  3643.             }
  3644.         RpcFinally
  3645.             {
  3646.             NdrProxyFreeBuffer(This, &_StubMsg);
  3647.             
  3648.             }
  3649.         RpcEndFinally
  3650.         
  3651.         }
  3652.     RpcExcept(_StubMsg.dwStubPhase != PROXY_SENDRECEIVE)
  3653.         {
  3654.         _RetVal = NdrProxyErrorHandler(RpcExceptionCode());
  3655.         }
  3656.     RpcEndExcept
  3657.     return _RetVal;
  3658. }
  3659.  
  3660. void __RPC_STUB IStlStringList_put_InsertBefore_Stub(
  3661.     IRpcStubBuffer *This,
  3662.     IRpcChannelBuffer *_pRpcChannelBuffer,
  3663.     PRPC_MESSAGE _pRpcMessage,
  3664.     DWORD *_pdwStubPhase)
  3665. {
  3666.     HRESULT _RetVal;
  3667.     MIDL_STUB_MESSAGE _StubMsg;
  3668.     void __RPC_FAR *_p_str;
  3669.     BSTR str;
  3670.     
  3671. NdrStubInitialize(
  3672.                      _pRpcMessage,
  3673.                      &_StubMsg,
  3674.                      &Object_StubDesc,
  3675.                      _pRpcChannelBuffer);
  3676.     _p_str = &str;
  3677.     MIDL_memset(
  3678.                _p_str,
  3679.                0,
  3680.                sizeof( BSTR  ));
  3681.     RpcTryFinally
  3682.         {
  3683.         if ( (_pRpcMessage->DataRepresentation & 0X0000FFFFUL) != NDR_LOCAL_DATA_REPRESENTATION )
  3684.             NdrConvert( (PMIDL_STUB_MESSAGE) &_StubMsg, (PFORMAT_STRING) &__MIDL_ProcFormatString.Format[180] );
  3685.         
  3686.         NdrUserMarshalUnmarshall( (PMIDL_STUB_MESSAGE) &_StubMsg,
  3687.                                   (unsigned char __RPC_FAR * __RPC_FAR *)&_p_str,
  3688.                                   (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[280],
  3689.                                   (unsigned char)0 );
  3690.         
  3691.         
  3692.         *_pdwStubPhase = STUB_CALL_SERVER;
  3693.         _RetVal = (((IStlStringList *) ((CStdStubBuffer *)This)->pvServerObject)->lpVtbl) -> put_InsertBefore((IStlStringList *) ((CStdStubBuffer *)This)->pvServerObject,str);
  3694.         
  3695.         *_pdwStubPhase = STUB_MARSHAL;
  3696.         
  3697.         _StubMsg.BufferLength = 4U;
  3698.         NdrStubGetBuffer(This, _pRpcChannelBuffer, &_StubMsg);
  3699.         *(( HRESULT __RPC_FAR * )_StubMsg.Buffer)++ = _RetVal;
  3700.         
  3701.         }
  3702.     RpcFinally
  3703.         {
  3704.         NdrUserMarshalFree( &_StubMsg,
  3705.                             (unsigned char __RPC_FAR *)&str,
  3706.                             &__MIDL_TypeFormatString.Format[280] );
  3707.         
  3708.         }
  3709.     RpcEndFinally
  3710.     _pRpcMessage->BufferLength = 
  3711.         (unsigned int)((long)_StubMsg.Buffer - (long)_pRpcMessage->Buffer);
  3712.     
  3713. }
  3714.  
  3715.  
  3716. /* [propget][id] */ HRESULT STDMETHODCALLTYPE IStlStringList_get_Remove_Proxy( 
  3717.     IStlStringList __RPC_FAR * This,
  3718.     /* [retval][out] */ BSTR __RPC_FAR *str)
  3719. {
  3720.  
  3721.     HRESULT _RetVal;
  3722.     
  3723.     RPC_MESSAGE _RpcMessage;
  3724.     
  3725.     MIDL_STUB_MESSAGE _StubMsg;
  3726.     
  3727.     MIDL_memset(
  3728.                str,
  3729.                0,
  3730.                sizeof( BSTR  ));
  3731.     RpcTryExcept
  3732.         {
  3733.         NdrProxyInitialize(
  3734.                       ( void __RPC_FAR *  )This,
  3735.                       ( PRPC_MESSAGE  )&_RpcMessage,
  3736.                       ( PMIDL_STUB_MESSAGE  )&_StubMsg,
  3737.                       ( PMIDL_STUB_DESC  )&Object_StubDesc,
  3738.                       7);
  3739.         
  3740.         
  3741.         
  3742.         RpcTryFinally
  3743.             {
  3744.             
  3745.             _StubMsg.BufferLength = 0U;
  3746.             NdrProxyGetBuffer(This, &_StubMsg);
  3747.             NdrProxySendReceive(This, &_StubMsg);
  3748.             
  3749.             if ( (_RpcMessage.DataRepresentation & 0X0000FFFFUL) != NDR_LOCAL_DATA_REPRESENTATION )
  3750.                 NdrConvert( (PMIDL_STUB_MESSAGE) &_StubMsg, (PFORMAT_STRING) &__MIDL_ProcFormatString.Format[186] );
  3751.             
  3752.             NdrUserMarshalUnmarshall( (PMIDL_STUB_MESSAGE) &_StubMsg,
  3753.                                       (unsigned char __RPC_FAR * __RPC_FAR *)&str,
  3754.                                       (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[294],
  3755.                                       (unsigned char)0 );
  3756.             
  3757.             _StubMsg.Buffer = (unsigned char __RPC_FAR *)(((long)_StubMsg.Buffer + 3) & ~ 0x3);
  3758.             _RetVal = *(( HRESULT __RPC_FAR * )_StubMsg.Buffer)++;
  3759.             
  3760.             }
  3761.         RpcFinally
  3762.             {
  3763.             NdrProxyFreeBuffer(This, &_StubMsg);
  3764.             
  3765.             }
  3766.         RpcEndFinally
  3767.         
  3768.         }
  3769.     RpcExcept(_StubMsg.dwStubPhase != PROXY_SENDRECEIVE)
  3770.         {
  3771.         NdrClearOutParameters(
  3772.                          ( PMIDL_STUB_MESSAGE  )&_StubMsg,
  3773.                          ( PFORMAT_STRING  )&__MIDL_TypeFormatString.Format[290],
  3774.                          ( void __RPC_FAR * )str);
  3775.         _RetVal = NdrProxyErrorHandler(RpcExceptionCode());
  3776.         }
  3777.     RpcEndExcept
  3778.     return _RetVal;
  3779. }
  3780.  
  3781. void __RPC_STUB IStlStringList_get_Remove_Stub(
  3782.     IRpcStubBuffer *This,
  3783.     IRpcChannelBuffer *_pRpcChannelBuffer,
  3784.     PRPC_MESSAGE _pRpcMessage,
  3785.     DWORD *_pdwStubPhase)
  3786. {
  3787.     BSTR _M24;
  3788.     HRESULT _RetVal;
  3789.     MIDL_STUB_MESSAGE _StubMsg;
  3790.     BSTR __RPC_FAR *str;
  3791.     
  3792. NdrStubInitialize(
  3793.                      _pRpcMessage,
  3794.                      &_StubMsg,
  3795.                      &Object_StubDesc,
  3796.                      _pRpcChannelBuffer);
  3797.     str = 0;
  3798.     RpcTryFinally
  3799.         {
  3800.         str = &_M24;
  3801.         MIDL_memset(
  3802.                str,
  3803.                0,
  3804.                sizeof( BSTR  ));
  3805.         
  3806.         *_pdwStubPhase = STUB_CALL_SERVER;
  3807.         _RetVal = (((IStlStringList *) ((CStdStubBuffer *)This)->pvServerObject)->lpVtbl) -> get_Remove((IStlStringList *) ((CStdStubBuffer *)This)->pvServerObject,str);
  3808.         
  3809.         *_pdwStubPhase = STUB_MARSHAL;
  3810.         
  3811.         _StubMsg.BufferLength = 4U + 11U;
  3812.         NdrUserMarshalBufferSize( (PMIDL_STUB_MESSAGE) &_StubMsg,
  3813.                                   (unsigned char __RPC_FAR *)str,
  3814.                                   (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[294] );
  3815.         
  3816.         _StubMsg.BufferLength += 16;
  3817.         
  3818.         NdrStubGetBuffer(This, _pRpcChannelBuffer, &_StubMsg);
  3819.         NdrUserMarshalMarshall( (PMIDL_STUB_MESSAGE)& _StubMsg,
  3820.                                 (unsigned char __RPC_FAR *)str,
  3821.                                 (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[294] );
  3822.         
  3823.         _StubMsg.Buffer = (unsigned char __RPC_FAR *)(((long)_StubMsg.Buffer + 3) & ~ 0x3);
  3824.         *(( HRESULT __RPC_FAR * )_StubMsg.Buffer)++ = _RetVal;
  3825.         
  3826.         }
  3827.     RpcFinally
  3828.         {
  3829.         NdrPointerFree( &_StubMsg,
  3830.                         (unsigned char __RPC_FAR *)str,
  3831.                         &__MIDL_TypeFormatString.Format[290] );
  3832.         
  3833.         }
  3834.     RpcEndFinally
  3835.     _pRpcMessage->BufferLength = 
  3836.         (unsigned int)((long)_StubMsg.Buffer - (long)_pRpcMessage->Buffer);
  3837.     
  3838. }
  3839.  
  3840.  
  3841. /* [id] */ HRESULT STDMETHODCALLTYPE IStlStringList_RemoveAll_Proxy( 
  3842.     IStlStringList __RPC_FAR * This)
  3843. {
  3844.  
  3845.     HRESULT _RetVal;
  3846.     
  3847.     RPC_MESSAGE _RpcMessage;
  3848.     
  3849.     MIDL_STUB_MESSAGE _StubMsg;
  3850.     
  3851.     RpcTryExcept
  3852.         {
  3853.         NdrProxyInitialize(
  3854.                       ( void __RPC_FAR *  )This,
  3855.                       ( PRPC_MESSAGE  )&_RpcMessage,
  3856.                       ( PMIDL_STUB_MESSAGE  )&_StubMsg,
  3857.                       ( PMIDL_STUB_DESC  )&Object_StubDesc,
  3858.                       8);
  3859.         
  3860.         
  3861.         
  3862.         RpcTryFinally
  3863.             {
  3864.             
  3865.             _StubMsg.BufferLength = 0U;
  3866.             NdrProxyGetBuffer(This, &_StubMsg);
  3867.             NdrProxySendReceive(This, &_StubMsg);
  3868.             
  3869.             if ( (_RpcMessage.DataRepresentation & 0X0000FFFFUL) != NDR_LOCAL_DATA_REPRESENTATION )
  3870.                 NdrConvert( (PMIDL_STUB_MESSAGE) &_StubMsg, (PFORMAT_STRING) &__MIDL_ProcFormatString.Format[34] );
  3871.             
  3872.             _RetVal = *(( HRESULT __RPC_FAR * )_StubMsg.Buffer)++;
  3873.             
  3874.             }
  3875.         RpcFinally
  3876.             {
  3877.             NdrProxyFreeBuffer(This, &_StubMsg);
  3878.             
  3879.             }
  3880.         RpcEndFinally
  3881.         
  3882.         }
  3883.     RpcExcept(_StubMsg.dwStubPhase != PROXY_SENDRECEIVE)
  3884.         {
  3885.         _RetVal = NdrProxyErrorHandler(RpcExceptionCode());
  3886.         }
  3887.     RpcEndExcept
  3888.     return _RetVal;
  3889. }
  3890.  
  3891. void __RPC_STUB IStlStringList_RemoveAll_Stub(
  3892.     IRpcStubBuffer *This,
  3893.     IRpcChannelBuffer *_pRpcChannelBuffer,
  3894.     PRPC_MESSAGE _pRpcMessage,
  3895.     DWORD *_pdwStubPhase)
  3896. {
  3897.     HRESULT _RetVal;
  3898.     MIDL_STUB_MESSAGE _StubMsg;
  3899.     
  3900. NdrStubInitialize(
  3901.                      _pRpcMessage,
  3902.                      &_StubMsg,
  3903.                      &Object_StubDesc,
  3904.                      _pRpcChannelBuffer);
  3905.     RpcTryFinally
  3906.         {
  3907.         
  3908.         *_pdwStubPhase = STUB_CALL_SERVER;
  3909.         _RetVal = (((IStlStringList *) ((CStdStubBuffer *)This)->pvServerObject)->lpVtbl) -> RemoveAll((IStlStringList *) ((CStdStubBuffer *)This)->pvServerObject);
  3910.         
  3911.         *_pdwStubPhase = STUB_MARSHAL;
  3912.         
  3913.         _StubMsg.BufferLength = 4U;
  3914.         NdrStubGetBuffer(This, _pRpcChannelBuffer, &_StubMsg);
  3915.         *(( HRESULT __RPC_FAR * )_StubMsg.Buffer)++ = _RetVal;
  3916.         
  3917.         }
  3918.     RpcFinally
  3919.         {
  3920.         }
  3921.     RpcEndFinally
  3922.     _pRpcMessage->BufferLength = 
  3923.         (unsigned int)((long)_StubMsg.Buffer - (long)_pRpcMessage->Buffer);
  3924.     
  3925. }
  3926.  
  3927.  
  3928. /* [id] */ HRESULT STDMETHODCALLTYPE IStlStringList_First_Proxy( 
  3929.     IStlStringList __RPC_FAR * This)
  3930. {
  3931.  
  3932.     HRESULT _RetVal;
  3933.     
  3934.     RPC_MESSAGE _RpcMessage;
  3935.     
  3936.     MIDL_STUB_MESSAGE _StubMsg;
  3937.     
  3938.     RpcTryExcept
  3939.         {
  3940.         NdrProxyInitialize(
  3941.                       ( void __RPC_FAR *  )This,
  3942.                       ( PRPC_MESSAGE  )&_RpcMessage,
  3943.                       ( PMIDL_STUB_MESSAGE  )&_StubMsg,
  3944.                       ( PMIDL_STUB_DESC  )&Object_StubDesc,
  3945.                       9);
  3946.         
  3947.         
  3948.         
  3949.         RpcTryFinally
  3950.             {
  3951.             
  3952.             _StubMsg.BufferLength = 0U;
  3953.             NdrProxyGetBuffer(This, &_StubMsg);
  3954.             NdrProxySendReceive(This, &_StubMsg);
  3955.             
  3956.             if ( (_RpcMessage.DataRepresentation & 0X0000FFFFUL) != NDR_LOCAL_DATA_REPRESENTATION )
  3957.                 NdrConvert( (PMIDL_STUB_MESSAGE) &_StubMsg, (PFORMAT_STRING) &__MIDL_ProcFormatString.Format[34] );
  3958.             
  3959.             _RetVal = *(( HRESULT __RPC_FAR * )_StubMsg.Buffer)++;
  3960.             
  3961.             }
  3962.         RpcFinally
  3963.             {
  3964.             NdrProxyFreeBuffer(This, &_StubMsg);
  3965.             
  3966.             }
  3967.         RpcEndFinally
  3968.         
  3969.         }
  3970.     RpcExcept(_StubMsg.dwStubPhase != PROXY_SENDRECEIVE)
  3971.         {
  3972.         _RetVal = NdrProxyErrorHandler(RpcExceptionCode());
  3973.         }
  3974.     RpcEndExcept
  3975.     return _RetVal;
  3976. }
  3977.  
  3978. void __RPC_STUB IStlStringList_First_Stub(
  3979.     IRpcStubBuffer *This,
  3980.     IRpcChannelBuffer *_pRpcChannelBuffer,
  3981.     PRPC_MESSAGE _pRpcMessage,
  3982.     DWORD *_pdwStubPhase)
  3983. {
  3984.     HRESULT _RetVal;
  3985.     MIDL_STUB_MESSAGE _StubMsg;
  3986.     
  3987. NdrStubInitialize(
  3988.                      _pRpcMessage,
  3989.                      &_StubMsg,
  3990.                      &Object_StubDesc,
  3991.                      _pRpcChannelBuffer);
  3992.     RpcTryFinally
  3993.         {
  3994.         
  3995.         *_pdwStubPhase = STUB_CALL_SERVER;
  3996.         _RetVal = (((IStlStringList *) ((CStdStubBuffer *)This)->pvServerObject)->lpVtbl) -> First((IStlStringList *) ((CStdStubBuffer *)This)->pvServerObject);
  3997.         
  3998.         *_pdwStubPhase = STUB_MARSHAL;
  3999.         
  4000.         _StubMsg.BufferLength = 4U;
  4001.         NdrStubGetBuffer(This, _pRpcChannelBuffer, &_StubMsg);
  4002.         *(( HRESULT __RPC_FAR * )_StubMsg.Buffer)++ = _RetVal;
  4003.         
  4004.         }
  4005.     RpcFinally
  4006.         {
  4007.         }
  4008.     RpcEndFinally
  4009.     _pRpcMessage->BufferLength = 
  4010.         (unsigned int)((long)_StubMsg.Buffer - (long)_pRpcMessage->Buffer);
  4011.     
  4012. }
  4013.  
  4014.  
  4015. /* [id] */ HRESULT STDMETHODCALLTYPE IStlStringList_Next_Proxy( 
  4016.     IStlStringList __RPC_FAR * This,
  4017.     /* [out] */ BSTR __RPC_FAR *str,
  4018.     /* [retval][out] */ VARIANT_BOOL __RPC_FAR *b)
  4019. {
  4020.  
  4021.     HRESULT _RetVal;
  4022.     
  4023.     RPC_MESSAGE _RpcMessage;
  4024.     
  4025.     MIDL_STUB_MESSAGE _StubMsg;
  4026.     
  4027.     MIDL_memset(
  4028.                str,
  4029.                0,
  4030.                sizeof( BSTR  ));
  4031.     RpcTryExcept
  4032.         {
  4033.         NdrProxyInitialize(
  4034.                       ( void __RPC_FAR *  )This,
  4035.                       ( PRPC_MESSAGE  )&_RpcMessage,
  4036.                       ( PMIDL_STUB_MESSAGE  )&_StubMsg,
  4037.                       ( PMIDL_STUB_DESC  )&Object_StubDesc,
  4038.                       10);
  4039.         
  4040.         
  4041.         
  4042.         RpcTryFinally
  4043.             {
  4044.             
  4045.             _StubMsg.BufferLength = 0U;
  4046.             NdrProxyGetBuffer(This, &_StubMsg);
  4047.             NdrProxySendReceive(This, &_StubMsg);
  4048.             
  4049.             if ( (_RpcMessage.DataRepresentation & 0X0000FFFFUL) != NDR_LOCAL_DATA_REPRESENTATION )
  4050.                 NdrConvert( (PMIDL_STUB_MESSAGE) &_StubMsg, (PFORMAT_STRING) &__MIDL_ProcFormatString.Format[192] );
  4051.             
  4052.             NdrUserMarshalUnmarshall( (PMIDL_STUB_MESSAGE) &_StubMsg,
  4053.                                       (unsigned char __RPC_FAR * __RPC_FAR *)&str,
  4054.                                       (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[308],
  4055.                                       (unsigned char)0 );
  4056.             
  4057.             _StubMsg.Buffer = (unsigned char __RPC_FAR *)(((long)_StubMsg.Buffer + 1) & ~ 0x1);
  4058.             *b = *(( VARIANT_BOOL __RPC_FAR * )_StubMsg.Buffer)++;
  4059.             
  4060.             _StubMsg.Buffer = (unsigned char __RPC_FAR *)(((long)_StubMsg.Buffer + 3) & ~ 0x3);
  4061.             _RetVal = *(( HRESULT __RPC_FAR * )_StubMsg.Buffer)++;
  4062.             
  4063.             }
  4064.         RpcFinally
  4065.             {
  4066.             NdrProxyFreeBuffer(This, &_StubMsg);
  4067.             
  4068.             }
  4069.         RpcEndFinally
  4070.         
  4071.         }
  4072.     RpcExcept(_StubMsg.dwStubPhase != PROXY_SENDRECEIVE)
  4073.         {
  4074.         NdrClearOutParameters(
  4075.                          ( PMIDL_STUB_MESSAGE  )&_StubMsg,
  4076.                          ( PFORMAT_STRING  )&__MIDL_TypeFormatString.Format[304],
  4077.                          ( void __RPC_FAR * )str);
  4078.         NdrClearOutParameters(
  4079.                          ( PMIDL_STUB_MESSAGE  )&_StubMsg,
  4080.                          ( PFORMAT_STRING  )&__MIDL_TypeFormatString.Format[104],
  4081.                          ( void __RPC_FAR * )b);
  4082.         _RetVal = NdrProxyErrorHandler(RpcExceptionCode());
  4083.         }
  4084.     RpcEndExcept
  4085.     return _RetVal;
  4086. }
  4087.  
  4088. void __RPC_STUB IStlStringList_Next_Stub(
  4089.     IRpcStubBuffer *This,
  4090.     IRpcChannelBuffer *_pRpcChannelBuffer,
  4091.     PRPC_MESSAGE _pRpcMessage,
  4092.     DWORD *_pdwStubPhase)
  4093. {
  4094.     BSTR _M25;
  4095.     VARIANT_BOOL _M26;
  4096.     HRESULT _RetVal;
  4097.     MIDL_STUB_MESSAGE _StubMsg;
  4098.     VARIANT_BOOL __RPC_FAR *b;
  4099.     BSTR __RPC_FAR *str;
  4100.     
  4101. NdrStubInitialize(
  4102.                      _pRpcMessage,
  4103.                      &_StubMsg,
  4104.                      &Object_StubDesc,
  4105.                      _pRpcChannelBuffer);
  4106.     str = 0;
  4107.     b = 0;
  4108.     RpcTryFinally
  4109.         {
  4110.         str = &_M25;
  4111.         MIDL_memset(
  4112.                str,
  4113.                0,
  4114.                sizeof( BSTR  ));
  4115.         b = &_M26;
  4116.         
  4117.         *_pdwStubPhase = STUB_CALL_SERVER;
  4118.         _RetVal = (((IStlStringList *) ((CStdStubBuffer *)This)->pvServerObject)->lpVtbl) -> Next(
  4119.         (IStlStringList *) ((CStdStubBuffer *)This)->pvServerObject,
  4120.         str,
  4121.         b);
  4122.         
  4123.         *_pdwStubPhase = STUB_MARSHAL;
  4124.         
  4125.         _StubMsg.BufferLength = 4U + 5U + 10U;
  4126.         NdrUserMarshalBufferSize( (PMIDL_STUB_MESSAGE) &_StubMsg,
  4127.                                   (unsigned char __RPC_FAR *)str,
  4128.                                   (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[308] );
  4129.         
  4130.         _StubMsg.BufferLength += 16;
  4131.         
  4132.         NdrStubGetBuffer(This, _pRpcChannelBuffer, &_StubMsg);
  4133.         NdrUserMarshalMarshall( (PMIDL_STUB_MESSAGE)& _StubMsg,
  4134.                                 (unsigned char __RPC_FAR *)str,
  4135.                                 (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[308] );
  4136.         
  4137.         _StubMsg.Buffer = (unsigned char __RPC_FAR *)(((long)_StubMsg.Buffer + 1) & ~ 0x1);
  4138.         *(( VARIANT_BOOL __RPC_FAR * )_StubMsg.Buffer)++ = *b;
  4139.         
  4140.         _StubMsg.Buffer = (unsigned char __RPC_FAR *)(((long)_StubMsg.Buffer + 3) & ~ 0x3);
  4141.         *(( HRESULT __RPC_FAR * )_StubMsg.Buffer)++ = _RetVal;
  4142.         
  4143.         }
  4144.     RpcFinally
  4145.         {
  4146.         NdrPointerFree( &_StubMsg,
  4147.                         (unsigned char __RPC_FAR *)str,
  4148.                         &__MIDL_TypeFormatString.Format[304] );
  4149.         
  4150.         }
  4151.     RpcEndFinally
  4152.     _pRpcMessage->BufferLength = 
  4153.         (unsigned int)((long)_StubMsg.Buffer - (long)_pRpcMessage->Buffer);
  4154.     
  4155. }
  4156.  
  4157.  
  4158. /* [propget][id] */ HRESULT STDMETHODCALLTYPE IStlStringList_get_Count_Proxy( 
  4159.     IStlStringList __RPC_FAR * This,
  4160.     /* [retval][out] */ UINT __RPC_FAR *dw)
  4161. {
  4162.  
  4163.     HRESULT _RetVal;
  4164.     
  4165.     RPC_MESSAGE _RpcMessage;
  4166.     
  4167.     MIDL_STUB_MESSAGE _StubMsg;
  4168.     
  4169.     RpcTryExcept
  4170.         {
  4171.         NdrProxyInitialize(
  4172.                       ( void __RPC_FAR *  )This,
  4173.                       ( PRPC_MESSAGE  )&_RpcMessage,
  4174.                       ( PMIDL_STUB_MESSAGE  )&_StubMsg,
  4175.                       ( PMIDL_STUB_DESC  )&Object_StubDesc,
  4176.                       11);
  4177.         
  4178.         
  4179.         
  4180.         RpcTryFinally
  4181.             {
  4182.             
  4183.             _StubMsg.BufferLength = 0U;
  4184.             NdrProxyGetBuffer(This, &_StubMsg);
  4185.             NdrProxySendReceive(This, &_StubMsg);
  4186.             
  4187.             if ( (_RpcMessage.DataRepresentation & 0X0000FFFFUL) != NDR_LOCAL_DATA_REPRESENTATION )
  4188.                 NdrConvert( (PMIDL_STUB_MESSAGE) &_StubMsg, (PFORMAT_STRING) &__MIDL_ProcFormatString.Format[56] );
  4189.             
  4190.             *dw = *(( UINT __RPC_FAR * )_StubMsg.Buffer)++;
  4191.             
  4192.             _RetVal = *(( HRESULT __RPC_FAR * )_StubMsg.Buffer)++;
  4193.             
  4194.             }
  4195.         RpcFinally
  4196.             {
  4197.             NdrProxyFreeBuffer(This, &_StubMsg);
  4198.             
  4199.             }
  4200.         RpcEndFinally
  4201.         
  4202.         }
  4203.     RpcExcept(_StubMsg.dwStubPhase != PROXY_SENDRECEIVE)
  4204.         {
  4205.         NdrClearOutParameters(
  4206.                          ( PMIDL_STUB_MESSAGE  )&_StubMsg,
  4207.                          ( PFORMAT_STRING  )&__MIDL_TypeFormatString.Format[136],
  4208.                          ( void __RPC_FAR * )dw);
  4209.         _RetVal = NdrProxyErrorHandler(RpcExceptionCode());
  4210.         }
  4211.     RpcEndExcept
  4212.     return _RetVal;
  4213. }
  4214.  
  4215. void __RPC_STUB IStlStringList_get_Count_Stub(
  4216.     IRpcStubBuffer *This,
  4217.     IRpcChannelBuffer *_pRpcChannelBuffer,
  4218.     PRPC_MESSAGE _pRpcMessage,
  4219.     DWORD *_pdwStubPhase)
  4220. {
  4221.     UINT _M27;
  4222.     HRESULT _RetVal;
  4223.     MIDL_STUB_MESSAGE _StubMsg;
  4224.     UINT __RPC_FAR *dw;
  4225.     
  4226. NdrStubInitialize(
  4227.                      _pRpcMessage,
  4228.                      &_StubMsg,
  4229.                      &Object_StubDesc,
  4230.                      _pRpcChannelBuffer);
  4231.     dw = 0;
  4232.     RpcTryFinally
  4233.         {
  4234.         dw = &_M27;
  4235.         
  4236.         *_pdwStubPhase = STUB_CALL_SERVER;
  4237.         _RetVal = (((IStlStringList *) ((CStdStubBuffer *)This)->pvServerObject)->lpVtbl) -> get_Count((IStlStringList *) ((CStdStubBuffer *)This)->pvServerObject,dw);
  4238.         
  4239.         *_pdwStubPhase = STUB_MARSHAL;
  4240.         
  4241.         _StubMsg.BufferLength = 4U + 4U;
  4242.         NdrStubGetBuffer(This, _pRpcChannelBuffer, &_StubMsg);
  4243.         *(( UINT __RPC_FAR * )_StubMsg.Buffer)++ = *dw;
  4244.         
  4245.         *(( HRESULT __RPC_FAR * )_StubMsg.Buffer)++ = _RetVal;
  4246.         
  4247.         }
  4248.     RpcFinally
  4249.         {
  4250.         }
  4251.     RpcEndFinally
  4252.     _pRpcMessage->BufferLength = 
  4253.         (unsigned int)((long)_StubMsg.Buffer - (long)_pRpcMessage->Buffer);
  4254.     
  4255. }
  4256.  
  4257. const CINTERFACE_PROXY_VTABLE(12) _IStlStringListProxyVtbl = 
  4258. {
  4259.     &IID_IStlStringList,
  4260.     IUnknown_QueryInterface_Proxy,
  4261.     IUnknown_AddRef_Proxy,
  4262.     IUnknown_Release_Proxy ,
  4263.     IStlStringList_Find_Proxy ,
  4264.     IStlStringList_put_SetAt_Proxy ,
  4265.     IStlStringList_put_Add_Proxy ,
  4266.     IStlStringList_put_InsertBefore_Proxy ,
  4267.     IStlStringList_get_Remove_Proxy ,
  4268.     IStlStringList_RemoveAll_Proxy ,
  4269.     IStlStringList_First_Proxy ,
  4270.     IStlStringList_Next_Proxy ,
  4271.     IStlStringList_get_Count_Proxy
  4272. };
  4273.  
  4274.  
  4275. static const PRPC_STUB_FUNCTION IStlStringList_table[] =
  4276. {
  4277.     IStlStringList_Find_Stub,
  4278.     IStlStringList_put_SetAt_Stub,
  4279.     IStlStringList_put_Add_Stub,
  4280.     IStlStringList_put_InsertBefore_Stub,
  4281.     IStlStringList_get_Remove_Stub,
  4282.     IStlStringList_RemoveAll_Stub,
  4283.     IStlStringList_First_Stub,
  4284.     IStlStringList_Next_Stub,
  4285.     IStlStringList_get_Count_Stub
  4286. };
  4287.  
  4288. const CInterfaceStubVtbl _IStlStringListStubVtbl =
  4289. {
  4290.     &IID_IStlStringList,
  4291.     0,
  4292.     12,
  4293.     &IStlStringList_table[-3],
  4294.     CStdStubBuffer_METHODS
  4295. };
  4296.  
  4297.  
  4298. /* Object interface: IStlMyStructList, ver. 0.0,
  4299.    GUID={0x7CE086E7,0x3E78,0x11D0,{0xAE,0x6B,0x00,0xC0,0x4F,0xD7,0xD0,0x6E}} */
  4300.  
  4301.  
  4302. extern const MIDL_STUB_DESC Object_StubDesc;
  4303.  
  4304.  
  4305. #pragma code_seg(".orpc")
  4306.  
  4307. /* [id] */ HRESULT STDMETHODCALLTYPE IStlMyStructList_Find_Proxy( 
  4308.     IStlMyStructList __RPC_FAR * This,
  4309.     /* [in] */ IMyStruct __RPC_FAR *str,
  4310.     /* [retval][out] */ VARIANT_BOOL __RPC_FAR *b)
  4311. {
  4312.  
  4313.     HRESULT _RetVal;
  4314.     
  4315.     RPC_MESSAGE _RpcMessage;
  4316.     
  4317.     MIDL_STUB_MESSAGE _StubMsg;
  4318.     
  4319.     RpcTryExcept
  4320.         {
  4321.         NdrProxyInitialize(
  4322.                       ( void __RPC_FAR *  )This,
  4323.                       ( PRPC_MESSAGE  )&_RpcMessage,
  4324.                       ( PMIDL_STUB_MESSAGE  )&_StubMsg,
  4325.                       ( PMIDL_STUB_DESC  )&Object_StubDesc,
  4326.                       3);
  4327.         
  4328.         
  4329.         
  4330.         RpcTryFinally
  4331.             {
  4332.             
  4333.             _StubMsg.BufferLength = 0U;
  4334.             NdrComplexStructBufferSize( (PMIDL_STUB_MESSAGE) &_StubMsg,
  4335.                                         (unsigned char __RPC_FAR *)str,
  4336.                                         (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[56] );
  4337.             
  4338.             NdrProxyGetBuffer(This, &_StubMsg);
  4339.             NdrComplexStructMarshall( (PMIDL_STUB_MESSAGE)& _StubMsg,
  4340.                                       (unsigned char __RPC_FAR *)str,
  4341.                                       (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[56] );
  4342.             
  4343.             NdrProxySendReceive(This, &_StubMsg);
  4344.             
  4345.             if ( (_RpcMessage.DataRepresentation & 0X0000FFFFUL) != NDR_LOCAL_DATA_REPRESENTATION )
  4346.                 NdrConvert( (PMIDL_STUB_MESSAGE) &_StubMsg, (PFORMAT_STRING) &__MIDL_ProcFormatString.Format[202] );
  4347.             
  4348.             *b = *(( VARIANT_BOOL __RPC_FAR * )_StubMsg.Buffer)++;
  4349.             
  4350.             _StubMsg.Buffer += 2;
  4351.             _RetVal = *(( HRESULT __RPC_FAR * )_StubMsg.Buffer)++;
  4352.             
  4353.             }
  4354.         RpcFinally
  4355.             {
  4356.             NdrProxyFreeBuffer(This, &_StubMsg);
  4357.             
  4358.             }
  4359.         RpcEndFinally
  4360.         
  4361.         }
  4362.     RpcExcept(_StubMsg.dwStubPhase != PROXY_SENDRECEIVE)
  4363.         {
  4364.         NdrClearOutParameters(
  4365.                          ( PMIDL_STUB_MESSAGE  )&_StubMsg,
  4366.                          ( PFORMAT_STRING  )&__MIDL_TypeFormatString.Format[104],
  4367.                          ( void __RPC_FAR * )b);
  4368.         _RetVal = NdrProxyErrorHandler(RpcExceptionCode());
  4369.         }
  4370.     RpcEndExcept
  4371.     return _RetVal;
  4372. }
  4373.  
  4374. void __RPC_STUB IStlMyStructList_Find_Stub(
  4375.     IRpcStubBuffer *This,
  4376.     IRpcChannelBuffer *_pRpcChannelBuffer,
  4377.     PRPC_MESSAGE _pRpcMessage,
  4378.     DWORD *_pdwStubPhase)
  4379. {
  4380.     VARIANT_BOOL _M28;
  4381.     HRESULT _RetVal;
  4382.     MIDL_STUB_MESSAGE _StubMsg;
  4383.     VARIANT_BOOL __RPC_FAR *b;
  4384.     IMyStruct __RPC_FAR *str;
  4385.     
  4386. NdrStubInitialize(
  4387.                      _pRpcMessage,
  4388.                      &_StubMsg,
  4389.                      &Object_StubDesc,
  4390.                      _pRpcChannelBuffer);
  4391.     str = 0;
  4392.     b = 0;
  4393.     RpcTryFinally
  4394.         {
  4395.         if ( (_pRpcMessage->DataRepresentation & 0X0000FFFFUL) != NDR_LOCAL_DATA_REPRESENTATION )
  4396.             NdrConvert( (PMIDL_STUB_MESSAGE) &_StubMsg, (PFORMAT_STRING) &__MIDL_ProcFormatString.Format[202] );
  4397.         
  4398.         NdrComplexStructUnmarshall( (PMIDL_STUB_MESSAGE) &_StubMsg,
  4399.                                     (unsigned char __RPC_FAR * __RPC_FAR *)&str,
  4400.                                     (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[56],
  4401.                                     (unsigned char)0 );
  4402.         
  4403.         b = &_M28;
  4404.         
  4405.         *_pdwStubPhase = STUB_CALL_SERVER;
  4406.         _RetVal = (((IStlMyStructList *) ((CStdStubBuffer *)This)->pvServerObject)->lpVtbl) -> Find(
  4407.         (IStlMyStructList *) ((CStdStubBuffer *)This)->pvServerObject,
  4408.         str,
  4409.         b);
  4410.         
  4411.         *_pdwStubPhase = STUB_MARSHAL;
  4412.         
  4413.         _StubMsg.BufferLength = 2U + 6U;
  4414.         NdrStubGetBuffer(This, _pRpcChannelBuffer, &_StubMsg);
  4415.         *(( VARIANT_BOOL __RPC_FAR * )_StubMsg.Buffer)++ = *b;
  4416.         
  4417.         _StubMsg.Buffer += 2;
  4418.         *(( HRESULT __RPC_FAR * )_StubMsg.Buffer)++ = _RetVal;
  4419.         
  4420.         }
  4421.     RpcFinally
  4422.         {
  4423.         NdrPointerFree( &_StubMsg,
  4424.                         (unsigned char __RPC_FAR *)str,
  4425.                         &__MIDL_TypeFormatString.Format[82] );
  4426.         
  4427.         }
  4428.     RpcEndFinally
  4429.     _pRpcMessage->BufferLength = 
  4430.         (unsigned int)((long)_StubMsg.Buffer - (long)_pRpcMessage->Buffer);
  4431.     
  4432. }
  4433.  
  4434.  
  4435. /* [propput][id] */ HRESULT STDMETHODCALLTYPE IStlMyStructList_put_SetAt_Proxy( 
  4436.     IStlMyStructList __RPC_FAR * This,
  4437.     /* [in] */ IMyStruct __RPC_FAR *str)
  4438. {
  4439.  
  4440.     HRESULT _RetVal;
  4441.     
  4442.     RPC_MESSAGE _RpcMessage;
  4443.     
  4444.     MIDL_STUB_MESSAGE _StubMsg;
  4445.     
  4446.     RpcTryExcept
  4447.         {
  4448.         NdrProxyInitialize(
  4449.                       ( void __RPC_FAR *  )This,
  4450.                       ( PRPC_MESSAGE  )&_RpcMessage,
  4451.                       ( PMIDL_STUB_MESSAGE  )&_StubMsg,
  4452.                       ( PMIDL_STUB_DESC  )&Object_StubDesc,
  4453.                       4);
  4454.         
  4455.         
  4456.         
  4457.         RpcTryFinally
  4458.             {
  4459.             
  4460.             _StubMsg.BufferLength = 0U;
  4461.             NdrComplexStructBufferSize( (PMIDL_STUB_MESSAGE) &_StubMsg,
  4462.                                         (unsigned char __RPC_FAR *)str,
  4463.                                         (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[56] );
  4464.             
  4465.             NdrProxyGetBuffer(This, &_StubMsg);
  4466.             NdrComplexStructMarshall( (PMIDL_STUB_MESSAGE)& _StubMsg,
  4467.                                       (unsigned char __RPC_FAR *)str,
  4468.                                       (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[56] );
  4469.             
  4470.             NdrProxySendReceive(This, &_StubMsg);
  4471.             
  4472.             if ( (_RpcMessage.DataRepresentation & 0X0000FFFFUL) != NDR_LOCAL_DATA_REPRESENTATION )
  4473.                 NdrConvert( (PMIDL_STUB_MESSAGE) &_StubMsg, (PFORMAT_STRING) &__MIDL_ProcFormatString.Format[212] );
  4474.             
  4475.             _RetVal = *(( HRESULT __RPC_FAR * )_StubMsg.Buffer)++;
  4476.             
  4477.             }
  4478.         RpcFinally
  4479.             {
  4480.             NdrProxyFreeBuffer(This, &_StubMsg);
  4481.             
  4482.             }
  4483.         RpcEndFinally
  4484.         
  4485.         }
  4486.     RpcExcept(_StubMsg.dwStubPhase != PROXY_SENDRECEIVE)
  4487.         {
  4488.         _RetVal = NdrProxyErrorHandler(RpcExceptionCode());
  4489.         }
  4490.     RpcEndExcept
  4491.     return _RetVal;
  4492. }
  4493.  
  4494. void __RPC_STUB IStlMyStructList_put_SetAt_Stub(
  4495.     IRpcStubBuffer *This,
  4496.     IRpcChannelBuffer *_pRpcChannelBuffer,
  4497.     PRPC_MESSAGE _pRpcMessage,
  4498.     DWORD *_pdwStubPhase)
  4499. {
  4500.     HRESULT _RetVal;
  4501.     MIDL_STUB_MESSAGE _StubMsg;
  4502.     IMyStruct __RPC_FAR *str;
  4503.     
  4504. NdrStubInitialize(
  4505.                      _pRpcMessage,
  4506.                      &_StubMsg,
  4507.                      &Object_StubDesc,
  4508.                      _pRpcChannelBuffer);
  4509.     str = 0;
  4510.     RpcTryFinally
  4511.         {
  4512.         if ( (_pRpcMessage->DataRepresentation & 0X0000FFFFUL) != NDR_LOCAL_DATA_REPRESENTATION )
  4513.             NdrConvert( (PMIDL_STUB_MESSAGE) &_StubMsg, (PFORMAT_STRING) &__MIDL_ProcFormatString.Format[212] );
  4514.         
  4515.         NdrComplexStructUnmarshall( (PMIDL_STUB_MESSAGE) &_StubMsg,
  4516.                                     (unsigned char __RPC_FAR * __RPC_FAR *)&str,
  4517.                                     (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[56],
  4518.                                     (unsigned char)0 );
  4519.         
  4520.         
  4521.         *_pdwStubPhase = STUB_CALL_SERVER;
  4522.         _RetVal = (((IStlMyStructList *) ((CStdStubBuffer *)This)->pvServerObject)->lpVtbl) -> put_SetAt((IStlMyStructList *) ((CStdStubBuffer *)This)->pvServerObject,str);
  4523.         
  4524.         *_pdwStubPhase = STUB_MARSHAL;
  4525.         
  4526.         _StubMsg.BufferLength = 4U;
  4527.         NdrStubGetBuffer(This, _pRpcChannelBuffer, &_StubMsg);
  4528.         *(( HRESULT __RPC_FAR * )_StubMsg.Buffer)++ = _RetVal;
  4529.         
  4530.         }
  4531.     RpcFinally
  4532.         {
  4533.         NdrPointerFree( &_StubMsg,
  4534.                         (unsigned char __RPC_FAR *)str,
  4535.                         &__MIDL_TypeFormatString.Format[82] );
  4536.         
  4537.         }
  4538.     RpcEndFinally
  4539.     _pRpcMessage->BufferLength = 
  4540.         (unsigned int)((long)_StubMsg.Buffer - (long)_pRpcMessage->Buffer);
  4541.     
  4542. }
  4543.  
  4544.  
  4545. /* [propput][id] */ HRESULT STDMETHODCALLTYPE IStlMyStructList_put_Add_Proxy( 
  4546.     IStlMyStructList __RPC_FAR * This,
  4547.     /* [in] */ IMyStruct __RPC_FAR *str)
  4548. {
  4549.  
  4550.     HRESULT _RetVal;
  4551.     
  4552.     RPC_MESSAGE _RpcMessage;
  4553.     
  4554.     MIDL_STUB_MESSAGE _StubMsg;
  4555.     
  4556.     RpcTryExcept
  4557.         {
  4558.         NdrProxyInitialize(
  4559.                       ( void __RPC_FAR *  )This,
  4560.                       ( PRPC_MESSAGE  )&_RpcMessage,
  4561.                       ( PMIDL_STUB_MESSAGE  )&_StubMsg,
  4562.                       ( PMIDL_STUB_DESC  )&Object_StubDesc,
  4563.                       5);
  4564.         
  4565.         
  4566.         
  4567.         RpcTryFinally
  4568.             {
  4569.             
  4570.             _StubMsg.BufferLength = 0U;
  4571.             NdrComplexStructBufferSize( (PMIDL_STUB_MESSAGE) &_StubMsg,
  4572.                                         (unsigned char __RPC_FAR *)str,
  4573.                                         (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[56] );
  4574.             
  4575.             NdrProxyGetBuffer(This, &_StubMsg);
  4576.             NdrComplexStructMarshall( (PMIDL_STUB_MESSAGE)& _StubMsg,
  4577.                                       (unsigned char __RPC_FAR *)str,
  4578.                                       (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[56] );
  4579.             
  4580.             NdrProxySendReceive(This, &_StubMsg);
  4581.             
  4582.             if ( (_RpcMessage.DataRepresentation & 0X0000FFFFUL) != NDR_LOCAL_DATA_REPRESENTATION )
  4583.                 NdrConvert( (PMIDL_STUB_MESSAGE) &_StubMsg, (PFORMAT_STRING) &__MIDL_ProcFormatString.Format[212] );
  4584.             
  4585.             _RetVal = *(( HRESULT __RPC_FAR * )_StubMsg.Buffer)++;
  4586.             
  4587.             }
  4588.         RpcFinally
  4589.             {
  4590.             NdrProxyFreeBuffer(This, &_StubMsg);
  4591.             
  4592.             }
  4593.         RpcEndFinally
  4594.         
  4595.         }
  4596.     RpcExcept(_StubMsg.dwStubPhase != PROXY_SENDRECEIVE)
  4597.         {
  4598.         _RetVal = NdrProxyErrorHandler(RpcExceptionCode());
  4599.         }
  4600.     RpcEndExcept
  4601.     return _RetVal;
  4602. }
  4603.  
  4604. void __RPC_STUB IStlMyStructList_put_Add_Stub(
  4605.     IRpcStubBuffer *This,
  4606.     IRpcChannelBuffer *_pRpcChannelBuffer,
  4607.     PRPC_MESSAGE _pRpcMessage,
  4608.     DWORD *_pdwStubPhase)
  4609. {
  4610.     HRESULT _RetVal;
  4611.     MIDL_STUB_MESSAGE _StubMsg;
  4612.     IMyStruct __RPC_FAR *str;
  4613.     
  4614. NdrStubInitialize(
  4615.                      _pRpcMessage,
  4616.                      &_StubMsg,
  4617.                      &Object_StubDesc,
  4618.                      _pRpcChannelBuffer);
  4619.     str = 0;
  4620.     RpcTryFinally
  4621.         {
  4622.         if ( (_pRpcMessage->DataRepresentation & 0X0000FFFFUL) != NDR_LOCAL_DATA_REPRESENTATION )
  4623.             NdrConvert( (PMIDL_STUB_MESSAGE) &_StubMsg, (PFORMAT_STRING) &__MIDL_ProcFormatString.Format[212] );
  4624.         
  4625.         NdrComplexStructUnmarshall( (PMIDL_STUB_MESSAGE) &_StubMsg,
  4626.                                     (unsigned char __RPC_FAR * __RPC_FAR *)&str,
  4627.                                     (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[56],
  4628.                                     (unsigned char)0 );
  4629.         
  4630.         
  4631.         *_pdwStubPhase = STUB_CALL_SERVER;
  4632.         _RetVal = (((IStlMyStructList *) ((CStdStubBuffer *)This)->pvServerObject)->lpVtbl) -> put_Add((IStlMyStructList *) ((CStdStubBuffer *)This)->pvServerObject,str);
  4633.         
  4634.         *_pdwStubPhase = STUB_MARSHAL;
  4635.         
  4636.         _StubMsg.BufferLength = 4U;
  4637.         NdrStubGetBuffer(This, _pRpcChannelBuffer, &_StubMsg);
  4638.         *(( HRESULT __RPC_FAR * )_StubMsg.Buffer)++ = _RetVal;
  4639.         
  4640.         }
  4641.     RpcFinally
  4642.         {
  4643.         NdrPointerFree( &_StubMsg,
  4644.                         (unsigned char __RPC_FAR *)str,
  4645.                         &__MIDL_TypeFormatString.Format[82] );
  4646.         
  4647.         }
  4648.     RpcEndFinally
  4649.     _pRpcMessage->BufferLength = 
  4650.         (unsigned int)((long)_StubMsg.Buffer - (long)_pRpcMessage->Buffer);
  4651.     
  4652. }
  4653.  
  4654.  
  4655. /* [propput][id] */ HRESULT STDMETHODCALLTYPE IStlMyStructList_put_InsertBefore_Proxy( 
  4656.     IStlMyStructList __RPC_FAR * This,
  4657.     /* [in] */ IMyStruct __RPC_FAR *str)
  4658. {
  4659.  
  4660.     HRESULT _RetVal;
  4661.     
  4662.     RPC_MESSAGE _RpcMessage;
  4663.     
  4664.     MIDL_STUB_MESSAGE _StubMsg;
  4665.     
  4666.     RpcTryExcept
  4667.         {
  4668.         NdrProxyInitialize(
  4669.                       ( void __RPC_FAR *  )This,
  4670.                       ( PRPC_MESSAGE  )&_RpcMessage,
  4671.                       ( PMIDL_STUB_MESSAGE  )&_StubMsg,
  4672.                       ( PMIDL_STUB_DESC  )&Object_StubDesc,
  4673.                       6);
  4674.         
  4675.         
  4676.         
  4677.         RpcTryFinally
  4678.             {
  4679.             
  4680.             _StubMsg.BufferLength = 0U;
  4681.             NdrComplexStructBufferSize( (PMIDL_STUB_MESSAGE) &_StubMsg,
  4682.                                         (unsigned char __RPC_FAR *)str,
  4683.                                         (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[56] );
  4684.             
  4685.             NdrProxyGetBuffer(This, &_StubMsg);
  4686.             NdrComplexStructMarshall( (PMIDL_STUB_MESSAGE)& _StubMsg,
  4687.                                       (unsigned char __RPC_FAR *)str,
  4688.                                       (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[56] );
  4689.             
  4690.             NdrProxySendReceive(This, &_StubMsg);
  4691.             
  4692.             if ( (_RpcMessage.DataRepresentation & 0X0000FFFFUL) != NDR_LOCAL_DATA_REPRESENTATION )
  4693.                 NdrConvert( (PMIDL_STUB_MESSAGE) &_StubMsg, (PFORMAT_STRING) &__MIDL_ProcFormatString.Format[212] );
  4694.             
  4695.             _RetVal = *(( HRESULT __RPC_FAR * )_StubMsg.Buffer)++;
  4696.             
  4697.             }
  4698.         RpcFinally
  4699.             {
  4700.             NdrProxyFreeBuffer(This, &_StubMsg);
  4701.             
  4702.             }
  4703.         RpcEndFinally
  4704.         
  4705.         }
  4706.     RpcExcept(_StubMsg.dwStubPhase != PROXY_SENDRECEIVE)
  4707.         {
  4708.         _RetVal = NdrProxyErrorHandler(RpcExceptionCode());
  4709.         }
  4710.     RpcEndExcept
  4711.     return _RetVal;
  4712. }
  4713.  
  4714. void __RPC_STUB IStlMyStructList_put_InsertBefore_Stub(
  4715.     IRpcStubBuffer *This,
  4716.     IRpcChannelBuffer *_pRpcChannelBuffer,
  4717.     PRPC_MESSAGE _pRpcMessage,
  4718.     DWORD *_pdwStubPhase)
  4719. {
  4720.     HRESULT _RetVal;
  4721.     MIDL_STUB_MESSAGE _StubMsg;
  4722.     IMyStruct __RPC_FAR *str;
  4723.     
  4724. NdrStubInitialize(
  4725.                      _pRpcMessage,
  4726.                      &_StubMsg,
  4727.                      &Object_StubDesc,
  4728.                      _pRpcChannelBuffer);
  4729.     str = 0;
  4730.     RpcTryFinally
  4731.         {
  4732.         if ( (_pRpcMessage->DataRepresentation & 0X0000FFFFUL) != NDR_LOCAL_DATA_REPRESENTATION )
  4733.             NdrConvert( (PMIDL_STUB_MESSAGE) &_StubMsg, (PFORMAT_STRING) &__MIDL_ProcFormatString.Format[212] );
  4734.         
  4735.         NdrComplexStructUnmarshall( (PMIDL_STUB_MESSAGE) &_StubMsg,
  4736.                                     (unsigned char __RPC_FAR * __RPC_FAR *)&str,
  4737.                                     (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[56],
  4738.                                     (unsigned char)0 );
  4739.         
  4740.         
  4741.         *_pdwStubPhase = STUB_CALL_SERVER;
  4742.         _RetVal = (((IStlMyStructList *) ((CStdStubBuffer *)This)->pvServerObject)->lpVtbl) -> put_InsertBefore((IStlMyStructList *) ((CStdStubBuffer *)This)->pvServerObject,str);
  4743.         
  4744.         *_pdwStubPhase = STUB_MARSHAL;
  4745.         
  4746.         _StubMsg.BufferLength = 4U;
  4747.         NdrStubGetBuffer(This, _pRpcChannelBuffer, &_StubMsg);
  4748.         *(( HRESULT __RPC_FAR * )_StubMsg.Buffer)++ = _RetVal;
  4749.         
  4750.         }
  4751.     RpcFinally
  4752.         {
  4753.         NdrPointerFree( &_StubMsg,
  4754.                         (unsigned char __RPC_FAR *)str,
  4755.                         &__MIDL_TypeFormatString.Format[82] );
  4756.         
  4757.         }
  4758.     RpcEndFinally
  4759.     _pRpcMessage->BufferLength = 
  4760.         (unsigned int)((long)_StubMsg.Buffer - (long)_pRpcMessage->Buffer);
  4761.     
  4762. }
  4763.  
  4764.  
  4765. /* [propget][id] */ HRESULT STDMETHODCALLTYPE IStlMyStructList_get_Remove_Proxy( 
  4766.     IStlMyStructList __RPC_FAR * This,
  4767.     /* [retval][out] */ IMyStruct __RPC_FAR *__RPC_FAR *str)
  4768. {
  4769.  
  4770.     HRESULT _RetVal;
  4771.     
  4772.     RPC_MESSAGE _RpcMessage;
  4773.     
  4774.     MIDL_STUB_MESSAGE _StubMsg;
  4775.     
  4776.     *str = 0;
  4777.     RpcTryExcept
  4778.         {
  4779.         NdrProxyInitialize(
  4780.                       ( void __RPC_FAR *  )This,
  4781.                       ( PRPC_MESSAGE  )&_RpcMessage,
  4782.                       ( PMIDL_STUB_MESSAGE  )&_StubMsg,
  4783.                       ( PMIDL_STUB_DESC  )&Object_StubDesc,
  4784.                       7);
  4785.         
  4786.         
  4787.         
  4788.         RpcTryFinally
  4789.             {
  4790.             
  4791.             _StubMsg.BufferLength = 0U;
  4792.             NdrProxyGetBuffer(This, &_StubMsg);
  4793.             NdrProxySendReceive(This, &_StubMsg);
  4794.             
  4795.             if ( (_RpcMessage.DataRepresentation & 0X0000FFFFUL) != NDR_LOCAL_DATA_REPRESENTATION )
  4796.                 NdrConvert( (PMIDL_STUB_MESSAGE) &_StubMsg, (PFORMAT_STRING) &__MIDL_ProcFormatString.Format[218] );
  4797.             
  4798.             NdrPointerUnmarshall( (PMIDL_STUB_MESSAGE) &_StubMsg,
  4799.                                   (unsigned char __RPC_FAR * __RPC_FAR *)&str,
  4800.                                   (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[34],
  4801.                                   (unsigned char)0 );
  4802.             
  4803.             _StubMsg.Buffer = (unsigned char __RPC_FAR *)(((long)_StubMsg.Buffer + 3) & ~ 0x3);
  4804.             _RetVal = *(( HRESULT __RPC_FAR * )_StubMsg.Buffer)++;
  4805.             
  4806.             }
  4807.         RpcFinally
  4808.             {
  4809.             NdrProxyFreeBuffer(This, &_StubMsg);
  4810.             
  4811.             }
  4812.         RpcEndFinally
  4813.         
  4814.         }
  4815.     RpcExcept(_StubMsg.dwStubPhase != PROXY_SENDRECEIVE)
  4816.         {
  4817.         NdrClearOutParameters(
  4818.                          ( PMIDL_STUB_MESSAGE  )&_StubMsg,
  4819.                          ( PFORMAT_STRING  )&__MIDL_TypeFormatString.Format[34],
  4820.                          ( void __RPC_FAR * )str);
  4821.         _RetVal = NdrProxyErrorHandler(RpcExceptionCode());
  4822.         }
  4823.     RpcEndExcept
  4824.     return _RetVal;
  4825. }
  4826.  
  4827. void __RPC_STUB IStlMyStructList_get_Remove_Stub(
  4828.     IRpcStubBuffer *This,
  4829.     IRpcChannelBuffer *_pRpcChannelBuffer,
  4830.     PRPC_MESSAGE _pRpcMessage,
  4831.     DWORD *_pdwStubPhase)
  4832. {
  4833.     IMyStruct __RPC_FAR *_M29;
  4834.     HRESULT _RetVal;
  4835.     MIDL_STUB_MESSAGE _StubMsg;
  4836.     IMyStruct __RPC_FAR *__RPC_FAR *str;
  4837.     
  4838. NdrStubInitialize(
  4839.                      _pRpcMessage,
  4840.                      &_StubMsg,
  4841.                      &Object_StubDesc,
  4842.                      _pRpcChannelBuffer);
  4843.     str = 0;
  4844.     RpcTryFinally
  4845.         {
  4846.         str = &_M29;
  4847.         _M29 = 0;
  4848.         
  4849.         *_pdwStubPhase = STUB_CALL_SERVER;
  4850.         _RetVal = (((IStlMyStructList *) ((CStdStubBuffer *)This)->pvServerObject)->lpVtbl) -> get_Remove((IStlMyStructList *) ((CStdStubBuffer *)This)->pvServerObject,str);
  4851.         
  4852.         *_pdwStubPhase = STUB_MARSHAL;
  4853.         
  4854.         _StubMsg.BufferLength = 4U + 11U;
  4855.         NdrPointerBufferSize( (PMIDL_STUB_MESSAGE) &_StubMsg,
  4856.                               (unsigned char __RPC_FAR *)str,
  4857.                               (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[34] );
  4858.         
  4859.         _StubMsg.BufferLength += 16;
  4860.         
  4861.         NdrStubGetBuffer(This, _pRpcChannelBuffer, &_StubMsg);
  4862.         NdrPointerMarshall( (PMIDL_STUB_MESSAGE)& _StubMsg,
  4863.                             (unsigned char __RPC_FAR *)str,
  4864.                             (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[34] );
  4865.         
  4866.         _StubMsg.Buffer = (unsigned char __RPC_FAR *)(((long)_StubMsg.Buffer + 3) & ~ 0x3);
  4867.         *(( HRESULT __RPC_FAR * )_StubMsg.Buffer)++ = _RetVal;
  4868.         
  4869.         }
  4870.     RpcFinally
  4871.         {
  4872.         NdrPointerFree( &_StubMsg,
  4873.                         (unsigned char __RPC_FAR *)str,
  4874.                         &__MIDL_TypeFormatString.Format[34] );
  4875.         
  4876.         }
  4877.     RpcEndFinally
  4878.     _pRpcMessage->BufferLength = 
  4879.         (unsigned int)((long)_StubMsg.Buffer - (long)_pRpcMessage->Buffer);
  4880.     
  4881. }
  4882.  
  4883.  
  4884. /* [id] */ HRESULT STDMETHODCALLTYPE IStlMyStructList_RemoveAll_Proxy( 
  4885.     IStlMyStructList __RPC_FAR * This)
  4886. {
  4887.  
  4888.     HRESULT _RetVal;
  4889.     
  4890.     RPC_MESSAGE _RpcMessage;
  4891.     
  4892.     MIDL_STUB_MESSAGE _StubMsg;
  4893.     
  4894.     RpcTryExcept
  4895.         {
  4896.         NdrProxyInitialize(
  4897.                       ( void __RPC_FAR *  )This,
  4898.                       ( PRPC_MESSAGE  )&_RpcMessage,
  4899.                       ( PMIDL_STUB_MESSAGE  )&_StubMsg,
  4900.                       ( PMIDL_STUB_DESC  )&Object_StubDesc,
  4901.                       8);
  4902.         
  4903.         
  4904.         
  4905.         RpcTryFinally
  4906.             {
  4907.             
  4908.             _StubMsg.BufferLength = 0U;
  4909.             NdrProxyGetBuffer(This, &_StubMsg);
  4910.             NdrProxySendReceive(This, &_StubMsg);
  4911.             
  4912.             if ( (_RpcMessage.DataRepresentation & 0X0000FFFFUL) != NDR_LOCAL_DATA_REPRESENTATION )
  4913.                 NdrConvert( (PMIDL_STUB_MESSAGE) &_StubMsg, (PFORMAT_STRING) &__MIDL_ProcFormatString.Format[34] );
  4914.             
  4915.             _RetVal = *(( HRESULT __RPC_FAR * )_StubMsg.Buffer)++;
  4916.             
  4917.             }
  4918.         RpcFinally
  4919.             {
  4920.             NdrProxyFreeBuffer(This, &_StubMsg);
  4921.             
  4922.             }
  4923.         RpcEndFinally
  4924.         
  4925.         }
  4926.     RpcExcept(_StubMsg.dwStubPhase != PROXY_SENDRECEIVE)
  4927.         {
  4928.         _RetVal = NdrProxyErrorHandler(RpcExceptionCode());
  4929.         }
  4930.     RpcEndExcept
  4931.     return _RetVal;
  4932. }
  4933.  
  4934. void __RPC_STUB IStlMyStructList_RemoveAll_Stub(
  4935.     IRpcStubBuffer *This,
  4936.     IRpcChannelBuffer *_pRpcChannelBuffer,
  4937.     PRPC_MESSAGE _pRpcMessage,
  4938.     DWORD *_pdwStubPhase)
  4939. {
  4940.     HRESULT _RetVal;
  4941.     MIDL_STUB_MESSAGE _StubMsg;
  4942.     
  4943. NdrStubInitialize(
  4944.                      _pRpcMessage,
  4945.                      &_StubMsg,
  4946.                      &Object_StubDesc,
  4947.                      _pRpcChannelBuffer);
  4948.     RpcTryFinally
  4949.         {
  4950.         
  4951.         *_pdwStubPhase = STUB_CALL_SERVER;
  4952.         _RetVal = (((IStlMyStructList *) ((CStdStubBuffer *)This)->pvServerObject)->lpVtbl) -> RemoveAll((IStlMyStructList *) ((CStdStubBuffer *)This)->pvServerObject);
  4953.         
  4954.         *_pdwStubPhase = STUB_MARSHAL;
  4955.         
  4956.         _StubMsg.BufferLength = 4U;
  4957.         NdrStubGetBuffer(This, _pRpcChannelBuffer, &_StubMsg);
  4958.         *(( HRESULT __RPC_FAR * )_StubMsg.Buffer)++ = _RetVal;
  4959.         
  4960.         }
  4961.     RpcFinally
  4962.         {
  4963.         }
  4964.     RpcEndFinally
  4965.     _pRpcMessage->BufferLength = 
  4966.         (unsigned int)((long)_StubMsg.Buffer - (long)_pRpcMessage->Buffer);
  4967.     
  4968. }
  4969.  
  4970.  
  4971. /* [id] */ HRESULT STDMETHODCALLTYPE IStlMyStructList_First_Proxy( 
  4972.     IStlMyStructList __RPC_FAR * This)
  4973. {
  4974.  
  4975.     HRESULT _RetVal;
  4976.     
  4977.     RPC_MESSAGE _RpcMessage;
  4978.     
  4979.     MIDL_STUB_MESSAGE _StubMsg;
  4980.     
  4981.     RpcTryExcept
  4982.         {
  4983.         NdrProxyInitialize(
  4984.                       ( void __RPC_FAR *  )This,
  4985.                       ( PRPC_MESSAGE  )&_RpcMessage,
  4986.                       ( PMIDL_STUB_MESSAGE  )&_StubMsg,
  4987.                       ( PMIDL_STUB_DESC  )&Object_StubDesc,
  4988.                       9);
  4989.         
  4990.         
  4991.         
  4992.         RpcTryFinally
  4993.             {
  4994.             
  4995.             _StubMsg.BufferLength = 0U;
  4996.             NdrProxyGetBuffer(This, &_StubMsg);
  4997.             NdrProxySendReceive(This, &_StubMsg);
  4998.             
  4999.             if ( (_RpcMessage.DataRepresentation & 0X0000FFFFUL) != NDR_LOCAL_DATA_REPRESENTATION )
  5000.                 NdrConvert( (PMIDL_STUB_MESSAGE) &_StubMsg, (PFORMAT_STRING) &__MIDL_ProcFormatString.Format[34] );
  5001.             
  5002.             _RetVal = *(( HRESULT __RPC_FAR * )_StubMsg.Buffer)++;
  5003.             
  5004.             }
  5005.         RpcFinally
  5006.             {
  5007.             NdrProxyFreeBuffer(This, &_StubMsg);
  5008.             
  5009.             }
  5010.         RpcEndFinally
  5011.         
  5012.         }
  5013.     RpcExcept(_StubMsg.dwStubPhase != PROXY_SENDRECEIVE)
  5014.         {
  5015.         _RetVal = NdrProxyErrorHandler(RpcExceptionCode());
  5016.         }
  5017.     RpcEndExcept
  5018.     return _RetVal;
  5019. }
  5020.  
  5021. void __RPC_STUB IStlMyStructList_First_Stub(
  5022.     IRpcStubBuffer *This,
  5023.     IRpcChannelBuffer *_pRpcChannelBuffer,
  5024.     PRPC_MESSAGE _pRpcMessage,
  5025.     DWORD *_pdwStubPhase)
  5026. {
  5027.     HRESULT _RetVal;
  5028.     MIDL_STUB_MESSAGE _StubMsg;
  5029.     
  5030. NdrStubInitialize(
  5031.                      _pRpcMessage,
  5032.                      &_StubMsg,
  5033.                      &Object_StubDesc,
  5034.                      _pRpcChannelBuffer);
  5035.     RpcTryFinally
  5036.         {
  5037.         
  5038.         *_pdwStubPhase = STUB_CALL_SERVER;
  5039.         _RetVal = (((IStlMyStructList *) ((CStdStubBuffer *)This)->pvServerObject)->lpVtbl) -> First((IStlMyStructList *) ((CStdStubBuffer *)This)->pvServerObject);
  5040.         
  5041.         *_pdwStubPhase = STUB_MARSHAL;
  5042.         
  5043.         _StubMsg.BufferLength = 4U;
  5044.         NdrStubGetBuffer(This, _pRpcChannelBuffer, &_StubMsg);
  5045.         *(( HRESULT __RPC_FAR * )_StubMsg.Buffer)++ = _RetVal;
  5046.         
  5047.         }
  5048.     RpcFinally
  5049.         {
  5050.         }
  5051.     RpcEndFinally
  5052.     _pRpcMessage->BufferLength = 
  5053.         (unsigned int)((long)_StubMsg.Buffer - (long)_pRpcMessage->Buffer);
  5054.     
  5055. }
  5056.  
  5057.  
  5058. /* [id] */ HRESULT STDMETHODCALLTYPE IStlMyStructList_Next_Proxy( 
  5059.     IStlMyStructList __RPC_FAR * This,
  5060.     /* [out] */ IMyStruct __RPC_FAR *__RPC_FAR *str,
  5061.     /* [retval][out] */ VARIANT_BOOL __RPC_FAR *b)
  5062. {
  5063.  
  5064.     HRESULT _RetVal;
  5065.     
  5066.     RPC_MESSAGE _RpcMessage;
  5067.     
  5068.     MIDL_STUB_MESSAGE _StubMsg;
  5069.     
  5070.     *str = 0;
  5071.     RpcTryExcept
  5072.         {
  5073.         NdrProxyInitialize(
  5074.                       ( void __RPC_FAR *  )This,
  5075.                       ( PRPC_MESSAGE  )&_RpcMessage,
  5076.                       ( PMIDL_STUB_MESSAGE  )&_StubMsg,
  5077.                       ( PMIDL_STUB_DESC  )&Object_StubDesc,
  5078.                       10);
  5079.         
  5080.         
  5081.         
  5082.         RpcTryFinally
  5083.             {
  5084.             
  5085.             _StubMsg.BufferLength = 0U;
  5086.             NdrProxyGetBuffer(This, &_StubMsg);
  5087.             NdrProxySendReceive(This, &_StubMsg);
  5088.             
  5089.             if ( (_RpcMessage.DataRepresentation & 0X0000FFFFUL) != NDR_LOCAL_DATA_REPRESENTATION )
  5090.                 NdrConvert( (PMIDL_STUB_MESSAGE) &_StubMsg, (PFORMAT_STRING) &__MIDL_ProcFormatString.Format[224] );
  5091.             
  5092.             NdrPointerUnmarshall( (PMIDL_STUB_MESSAGE) &_StubMsg,
  5093.                                   (unsigned char __RPC_FAR * __RPC_FAR *)&str,
  5094.                                   (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[34],
  5095.                                   (unsigned char)0 );
  5096.             
  5097.             _StubMsg.Buffer = (unsigned char __RPC_FAR *)(((long)_StubMsg.Buffer + 1) & ~ 0x1);
  5098.             *b = *(( VARIANT_BOOL __RPC_FAR * )_StubMsg.Buffer)++;
  5099.             
  5100.             _StubMsg.Buffer = (unsigned char __RPC_FAR *)(((long)_StubMsg.Buffer + 3) & ~ 0x3);
  5101.             _RetVal = *(( HRESULT __RPC_FAR * )_StubMsg.Buffer)++;
  5102.             
  5103.             }
  5104.         RpcFinally
  5105.             {
  5106.             NdrProxyFreeBuffer(This, &_StubMsg);
  5107.             
  5108.             }
  5109.         RpcEndFinally
  5110.         
  5111.         }
  5112.     RpcExcept(_StubMsg.dwStubPhase != PROXY_SENDRECEIVE)
  5113.         {
  5114.         NdrClearOutParameters(
  5115.                          ( PMIDL_STUB_MESSAGE  )&_StubMsg,
  5116.                          ( PFORMAT_STRING  )&__MIDL_TypeFormatString.Format[34],
  5117.                          ( void __RPC_FAR * )str);
  5118.         NdrClearOutParameters(
  5119.                          ( PMIDL_STUB_MESSAGE  )&_StubMsg,
  5120.                          ( PFORMAT_STRING  )&__MIDL_TypeFormatString.Format[104],
  5121.                          ( void __RPC_FAR * )b);
  5122.         _RetVal = NdrProxyErrorHandler(RpcExceptionCode());
  5123.         }
  5124.     RpcEndExcept
  5125.     return _RetVal;
  5126. }
  5127.  
  5128. void __RPC_STUB IStlMyStructList_Next_Stub(
  5129.     IRpcStubBuffer *This,
  5130.     IRpcChannelBuffer *_pRpcChannelBuffer,
  5131.     PRPC_MESSAGE _pRpcMessage,
  5132.     DWORD *_pdwStubPhase)
  5133. {
  5134.     IMyStruct __RPC_FAR *_M30;
  5135.     VARIANT_BOOL _M31;
  5136.     HRESULT _RetVal;
  5137.     MIDL_STUB_MESSAGE _StubMsg;
  5138.     VARIANT_BOOL __RPC_FAR *b;
  5139.     IMyStruct __RPC_FAR *__RPC_FAR *str;
  5140.     
  5141. NdrStubInitialize(
  5142.                      _pRpcMessage,
  5143.                      &_StubMsg,
  5144.                      &Object_StubDesc,
  5145.                      _pRpcChannelBuffer);
  5146.     str = 0;
  5147.     b = 0;
  5148.     RpcTryFinally
  5149.         {
  5150.         str = &_M30;
  5151.         _M30 = 0;
  5152.         b = &_M31;
  5153.         
  5154.         *_pdwStubPhase = STUB_CALL_SERVER;
  5155.         _RetVal = (((IStlMyStructList *) ((CStdStubBuffer *)This)->pvServerObject)->lpVtbl) -> Next(
  5156.         (IStlMyStructList *) ((CStdStubBuffer *)This)->pvServerObject,
  5157.         str,
  5158.         b);
  5159.         
  5160.         *_pdwStubPhase = STUB_MARSHAL;
  5161.         
  5162.         _StubMsg.BufferLength = 4U + 5U + 10U;
  5163.         NdrPointerBufferSize( (PMIDL_STUB_MESSAGE) &_StubMsg,
  5164.                               (unsigned char __RPC_FAR *)str,
  5165.                               (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[34] );
  5166.         
  5167.         _StubMsg.BufferLength += 16;
  5168.         
  5169.         NdrStubGetBuffer(This, _pRpcChannelBuffer, &_StubMsg);
  5170.         NdrPointerMarshall( (PMIDL_STUB_MESSAGE)& _StubMsg,
  5171.                             (unsigned char __RPC_FAR *)str,
  5172.                             (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[34] );
  5173.         
  5174.         _StubMsg.Buffer = (unsigned char __RPC_FAR *)(((long)_StubMsg.Buffer + 1) & ~ 0x1);
  5175.         *(( VARIANT_BOOL __RPC_FAR * )_StubMsg.Buffer)++ = *b;
  5176.         
  5177.         _StubMsg.Buffer = (unsigned char __RPC_FAR *)(((long)_StubMsg.Buffer + 3) & ~ 0x3);
  5178.         *(( HRESULT __RPC_FAR * )_StubMsg.Buffer)++ = _RetVal;
  5179.         
  5180.         }
  5181.     RpcFinally
  5182.         {
  5183.         NdrPointerFree( &_StubMsg,
  5184.                         (unsigned char __RPC_FAR *)str,
  5185.                         &__MIDL_TypeFormatString.Format[34] );
  5186.         
  5187.         }
  5188.     RpcEndFinally
  5189.     _pRpcMessage->BufferLength = 
  5190.         (unsigned int)((long)_StubMsg.Buffer - (long)_pRpcMessage->Buffer);
  5191.     
  5192. }
  5193.  
  5194.  
  5195. /* [propget][id] */ HRESULT STDMETHODCALLTYPE IStlMyStructList_get_Count_Proxy( 
  5196.     IStlMyStructList __RPC_FAR * This,
  5197.     /* [retval][out] */ UINT __RPC_FAR *dw)
  5198. {
  5199.  
  5200.     HRESULT _RetVal;
  5201.     
  5202.     RPC_MESSAGE _RpcMessage;
  5203.     
  5204.     MIDL_STUB_MESSAGE _StubMsg;
  5205.     
  5206.     RpcTryExcept
  5207.         {
  5208.         NdrProxyInitialize(
  5209.                       ( void __RPC_FAR *  )This,
  5210.                       ( PRPC_MESSAGE  )&_RpcMessage,
  5211.                       ( PMIDL_STUB_MESSAGE  )&_StubMsg,
  5212.                       ( PMIDL_STUB_DESC  )&Object_StubDesc,
  5213.                       11);
  5214.         
  5215.         
  5216.         
  5217.         RpcTryFinally
  5218.             {
  5219.             
  5220.             _StubMsg.BufferLength = 0U;
  5221.             NdrProxyGetBuffer(This, &_StubMsg);
  5222.             NdrProxySendReceive(This, &_StubMsg);
  5223.             
  5224.             if ( (_RpcMessage.DataRepresentation & 0X0000FFFFUL) != NDR_LOCAL_DATA_REPRESENTATION )
  5225.                 NdrConvert( (PMIDL_STUB_MESSAGE) &_StubMsg, (PFORMAT_STRING) &__MIDL_ProcFormatString.Format[56] );
  5226.             
  5227.             *dw = *(( UINT __RPC_FAR * )_StubMsg.Buffer)++;
  5228.             
  5229.             _RetVal = *(( HRESULT __RPC_FAR * )_StubMsg.Buffer)++;
  5230.             
  5231.             }
  5232.         RpcFinally
  5233.             {
  5234.             NdrProxyFreeBuffer(This, &_StubMsg);
  5235.             
  5236.             }
  5237.         RpcEndFinally
  5238.         
  5239.         }
  5240.     RpcExcept(_StubMsg.dwStubPhase != PROXY_SENDRECEIVE)
  5241.         {
  5242.         NdrClearOutParameters(
  5243.                          ( PMIDL_STUB_MESSAGE  )&_StubMsg,
  5244.                          ( PFORMAT_STRING  )&__MIDL_TypeFormatString.Format[136],
  5245.                          ( void __RPC_FAR * )dw);
  5246.         _RetVal = NdrProxyErrorHandler(RpcExceptionCode());
  5247.         }
  5248.     RpcEndExcept
  5249.     return _RetVal;
  5250. }
  5251.  
  5252. void __RPC_STUB IStlMyStructList_get_Count_Stub(
  5253.     IRpcStubBuffer *This,
  5254.     IRpcChannelBuffer *_pRpcChannelBuffer,
  5255.     PRPC_MESSAGE _pRpcMessage,
  5256.     DWORD *_pdwStubPhase)
  5257. {
  5258.     UINT _M32;
  5259.     HRESULT _RetVal;
  5260.     MIDL_STUB_MESSAGE _StubMsg;
  5261.     UINT __RPC_FAR *dw;
  5262.     
  5263. NdrStubInitialize(
  5264.                      _pRpcMessage,
  5265.                      &_StubMsg,
  5266.                      &Object_StubDesc,
  5267.                      _pRpcChannelBuffer);
  5268.     dw = 0;
  5269.     RpcTryFinally
  5270.         {
  5271.         dw = &_M32;
  5272.         
  5273.         *_pdwStubPhase = STUB_CALL_SERVER;
  5274.         _RetVal = (((IStlMyStructList *) ((CStdStubBuffer *)This)->pvServerObject)->lpVtbl) -> get_Count((IStlMyStructList *) ((CStdStubBuffer *)This)->pvServerObject,dw);
  5275.         
  5276.         *_pdwStubPhase = STUB_MARSHAL;
  5277.         
  5278.         _StubMsg.BufferLength = 4U + 4U;
  5279.         NdrStubGetBuffer(This, _pRpcChannelBuffer, &_StubMsg);
  5280.         *(( UINT __RPC_FAR * )_StubMsg.Buffer)++ = *dw;
  5281.         
  5282.         *(( HRESULT __RPC_FAR * )_StubMsg.Buffer)++ = _RetVal;
  5283.         
  5284.         }
  5285.     RpcFinally
  5286.         {
  5287.         }
  5288.     RpcEndFinally
  5289.     _pRpcMessage->BufferLength = 
  5290.         (unsigned int)((long)_StubMsg.Buffer - (long)_pRpcMessage->Buffer);
  5291.     
  5292. }
  5293.  
  5294. const CINTERFACE_PROXY_VTABLE(12) _IStlMyStructListProxyVtbl = 
  5295. {
  5296.     &IID_IStlMyStructList,
  5297.     IUnknown_QueryInterface_Proxy,
  5298.     IUnknown_AddRef_Proxy,
  5299.     IUnknown_Release_Proxy ,
  5300.     IStlMyStructList_Find_Proxy ,
  5301.     IStlMyStructList_put_SetAt_Proxy ,
  5302.     IStlMyStructList_put_Add_Proxy ,
  5303.     IStlMyStructList_put_InsertBefore_Proxy ,
  5304.     IStlMyStructList_get_Remove_Proxy ,
  5305.     IStlMyStructList_RemoveAll_Proxy ,
  5306.     IStlMyStructList_First_Proxy ,
  5307.     IStlMyStructList_Next_Proxy ,
  5308.     IStlMyStructList_get_Count_Proxy
  5309. };
  5310.  
  5311.  
  5312. static const PRPC_STUB_FUNCTION IStlMyStructList_table[] =
  5313. {
  5314.     IStlMyStructList_Find_Stub,
  5315.     IStlMyStructList_put_SetAt_Stub,
  5316.     IStlMyStructList_put_Add_Stub,
  5317.     IStlMyStructList_put_InsertBefore_Stub,
  5318.     IStlMyStructList_get_Remove_Stub,
  5319.     IStlMyStructList_RemoveAll_Stub,
  5320.     IStlMyStructList_First_Stub,
  5321.     IStlMyStructList_Next_Stub,
  5322.     IStlMyStructList_get_Count_Stub
  5323. };
  5324.  
  5325. const CInterfaceStubVtbl _IStlMyStructListStubVtbl =
  5326. {
  5327.     &IID_IStlMyStructList,
  5328.     0,
  5329.     12,
  5330.     &IStlMyStructList_table[-3],
  5331.     CStdStubBuffer_METHODS
  5332. };
  5333.  
  5334.  
  5335. /* Object interface: IStlintList, ver. 0.0,
  5336.    GUID={0x7CE086EC,0x3E78,0x11D0,{0xAE,0x6B,0x00,0xC0,0x4F,0xD7,0xD0,0x6E}} */
  5337.  
  5338.  
  5339. extern const MIDL_STUB_DESC Object_StubDesc;
  5340.  
  5341.  
  5342. #pragma code_seg(".orpc")
  5343.  
  5344. /* [id] */ HRESULT STDMETHODCALLTYPE IStlintList_Find_Proxy( 
  5345.     IStlintList __RPC_FAR * This,
  5346.     /* [in] */ long n,
  5347.     /* [retval][out] */ VARIANT_BOOL __RPC_FAR *b)
  5348. {
  5349.  
  5350.     HRESULT _RetVal;
  5351.     
  5352.     RPC_MESSAGE _RpcMessage;
  5353.     
  5354.     MIDL_STUB_MESSAGE _StubMsg;
  5355.     
  5356.     RpcTryExcept
  5357.         {
  5358.         NdrProxyInitialize(
  5359.                       ( void __RPC_FAR *  )This,
  5360.                       ( PRPC_MESSAGE  )&_RpcMessage,
  5361.                       ( PMIDL_STUB_MESSAGE  )&_StubMsg,
  5362.                       ( PMIDL_STUB_DESC  )&Object_StubDesc,
  5363.                       3);
  5364.         
  5365.         
  5366.         
  5367.         RpcTryFinally
  5368.             {
  5369.             
  5370.             _StubMsg.BufferLength = 4U;
  5371.             NdrProxyGetBuffer(This, &_StubMsg);
  5372.             *(( long __RPC_FAR * )_StubMsg.Buffer)++ = n;
  5373.             
  5374.             NdrProxySendReceive(This, &_StubMsg);
  5375.             
  5376.             if ( (_RpcMessage.DataRepresentation & 0X0000FFFFUL) != NDR_LOCAL_DATA_REPRESENTATION )
  5377.                 NdrConvert( (PMIDL_STUB_MESSAGE) &_StubMsg, (PFORMAT_STRING) &__MIDL_ProcFormatString.Format[234] );
  5378.             
  5379.             *b = *(( VARIANT_BOOL __RPC_FAR * )_StubMsg.Buffer)++;
  5380.             
  5381.             _StubMsg.Buffer += 2;
  5382.             _RetVal = *(( HRESULT __RPC_FAR * )_StubMsg.Buffer)++;
  5383.             
  5384.             }
  5385.         RpcFinally
  5386.             {
  5387.             NdrProxyFreeBuffer(This, &_StubMsg);
  5388.             
  5389.             }
  5390.         RpcEndFinally
  5391.         
  5392.         }
  5393.     RpcExcept(_StubMsg.dwStubPhase != PROXY_SENDRECEIVE)
  5394.         {
  5395.         NdrClearOutParameters(
  5396.                          ( PMIDL_STUB_MESSAGE  )&_StubMsg,
  5397.                          ( PFORMAT_STRING  )&__MIDL_TypeFormatString.Format[104],
  5398.                          ( void __RPC_FAR * )b);
  5399.         _RetVal = NdrProxyErrorHandler(RpcExceptionCode());
  5400.         }
  5401.     RpcEndExcept
  5402.     return _RetVal;
  5403. }
  5404.  
  5405. void __RPC_STUB IStlintList_Find_Stub(
  5406.     IRpcStubBuffer *This,
  5407.     IRpcChannelBuffer *_pRpcChannelBuffer,
  5408.     PRPC_MESSAGE _pRpcMessage,
  5409.     DWORD *_pdwStubPhase)
  5410. {
  5411.     VARIANT_BOOL _M33;
  5412.     HRESULT _RetVal;
  5413.     MIDL_STUB_MESSAGE _StubMsg;
  5414.     VARIANT_BOOL __RPC_FAR *b;
  5415.     long n;
  5416.     
  5417. NdrStubInitialize(
  5418.                      _pRpcMessage,
  5419.                      &_StubMsg,
  5420.                      &Object_StubDesc,
  5421.                      _pRpcChannelBuffer);
  5422.     b = 0;
  5423.     RpcTryFinally
  5424.         {
  5425.         if ( (_pRpcMessage->DataRepresentation & 0X0000FFFFUL) != NDR_LOCAL_DATA_REPRESENTATION )
  5426.             NdrConvert( (PMIDL_STUB_MESSAGE) &_StubMsg, (PFORMAT_STRING) &__MIDL_ProcFormatString.Format[234] );
  5427.         
  5428.         n = *(( long __RPC_FAR * )_StubMsg.Buffer)++;
  5429.         
  5430.         b = &_M33;
  5431.         
  5432.         *_pdwStubPhase = STUB_CALL_SERVER;
  5433.         _RetVal = (((IStlintList *) ((CStdStubBuffer *)This)->pvServerObject)->lpVtbl) -> Find(
  5434.         (IStlintList *) ((CStdStubBuffer *)This)->pvServerObject,
  5435.         n,
  5436.         b);
  5437.         
  5438.         *_pdwStubPhase = STUB_MARSHAL;
  5439.         
  5440.         _StubMsg.BufferLength = 2U + 6U;
  5441.         NdrStubGetBuffer(This, _pRpcChannelBuffer, &_StubMsg);
  5442.         *(( VARIANT_BOOL __RPC_FAR * )_StubMsg.Buffer)++ = *b;
  5443.         
  5444.         _StubMsg.Buffer += 2;
  5445.         *(( HRESULT __RPC_FAR * )_StubMsg.Buffer)++ = _RetVal;
  5446.         
  5447.         }
  5448.     RpcFinally
  5449.         {
  5450.         }
  5451.     RpcEndFinally
  5452.     _pRpcMessage->BufferLength = 
  5453.         (unsigned int)((long)_StubMsg.Buffer - (long)_pRpcMessage->Buffer);
  5454.     
  5455. }
  5456.  
  5457.  
  5458. /* [propput][id] */ HRESULT STDMETHODCALLTYPE IStlintList_put_SetAt_Proxy( 
  5459.     IStlintList __RPC_FAR * This,
  5460.     /* [in] */ long n)
  5461. {
  5462.  
  5463.     HRESULT _RetVal;
  5464.     
  5465.     RPC_MESSAGE _RpcMessage;
  5466.     
  5467.     MIDL_STUB_MESSAGE _StubMsg;
  5468.     
  5469.     RpcTryExcept
  5470.         {
  5471.         NdrProxyInitialize(
  5472.                       ( void __RPC_FAR *  )This,
  5473.                       ( PRPC_MESSAGE  )&_RpcMessage,
  5474.                       ( PMIDL_STUB_MESSAGE  )&_StubMsg,
  5475.                       ( PMIDL_STUB_DESC  )&Object_StubDesc,
  5476.                       4);
  5477.         
  5478.         
  5479.         
  5480.         RpcTryFinally
  5481.             {
  5482.             
  5483.             _StubMsg.BufferLength = 4U;
  5484.             NdrProxyGetBuffer(This, &_StubMsg);
  5485.             *(( long __RPC_FAR * )_StubMsg.Buffer)++ = n;
  5486.             
  5487.             NdrProxySendReceive(This, &_StubMsg);
  5488.             
  5489.             if ( (_RpcMessage.DataRepresentation & 0X0000FFFFUL) != NDR_LOCAL_DATA_REPRESENTATION )
  5490.                 NdrConvert( (PMIDL_STUB_MESSAGE) &_StubMsg, (PFORMAT_STRING) &__MIDL_ProcFormatString.Format[242] );
  5491.             
  5492.             _RetVal = *(( HRESULT __RPC_FAR * )_StubMsg.Buffer)++;
  5493.             
  5494.             }
  5495.         RpcFinally
  5496.             {
  5497.             NdrProxyFreeBuffer(This, &_StubMsg);
  5498.             
  5499.             }
  5500.         RpcEndFinally
  5501.         
  5502.         }
  5503.     RpcExcept(_StubMsg.dwStubPhase != PROXY_SENDRECEIVE)
  5504.         {
  5505.         _RetVal = NdrProxyErrorHandler(RpcExceptionCode());
  5506.         }
  5507.     RpcEndExcept
  5508.     return _RetVal;
  5509. }
  5510.  
  5511. void __RPC_STUB IStlintList_put_SetAt_Stub(
  5512.     IRpcStubBuffer *This,
  5513.     IRpcChannelBuffer *_pRpcChannelBuffer,
  5514.     PRPC_MESSAGE _pRpcMessage,
  5515.     DWORD *_pdwStubPhase)
  5516. {
  5517.     HRESULT _RetVal;
  5518.     MIDL_STUB_MESSAGE _StubMsg;
  5519.     long n;
  5520.     
  5521. NdrStubInitialize(
  5522.                      _pRpcMessage,
  5523.                      &_StubMsg,
  5524.                      &Object_StubDesc,
  5525.                      _pRpcChannelBuffer);
  5526.     RpcTryFinally
  5527.         {
  5528.         if ( (_pRpcMessage->DataRepresentation & 0X0000FFFFUL) != NDR_LOCAL_DATA_REPRESENTATION )
  5529.             NdrConvert( (PMIDL_STUB_MESSAGE) &_StubMsg, (PFORMAT_STRING) &__MIDL_ProcFormatString.Format[242] );
  5530.         
  5531.         n = *(( long __RPC_FAR * )_StubMsg.Buffer)++;
  5532.         
  5533.         
  5534.         *_pdwStubPhase = STUB_CALL_SERVER;
  5535.         _RetVal = (((IStlintList *) ((CStdStubBuffer *)This)->pvServerObject)->lpVtbl) -> put_SetAt((IStlintList *) ((CStdStubBuffer *)This)->pvServerObject,n);
  5536.         
  5537.         *_pdwStubPhase = STUB_MARSHAL;
  5538.         
  5539.         _StubMsg.BufferLength = 4U;
  5540.         NdrStubGetBuffer(This, _pRpcChannelBuffer, &_StubMsg);
  5541.         *(( HRESULT __RPC_FAR * )_StubMsg.Buffer)++ = _RetVal;
  5542.         
  5543.         }
  5544.     RpcFinally
  5545.         {
  5546.         }
  5547.     RpcEndFinally
  5548.     _pRpcMessage->BufferLength = 
  5549.         (unsigned int)((long)_StubMsg.Buffer - (long)_pRpcMessage->Buffer);
  5550.     
  5551. }
  5552.  
  5553.  
  5554. /* [propput][id] */ HRESULT STDMETHODCALLTYPE IStlintList_put_Add_Proxy( 
  5555.     IStlintList __RPC_FAR * This,
  5556.     /* [in] */ long n)
  5557. {
  5558.  
  5559.     HRESULT _RetVal;
  5560.     
  5561.     RPC_MESSAGE _RpcMessage;
  5562.     
  5563.     MIDL_STUB_MESSAGE _StubMsg;
  5564.     
  5565.     RpcTryExcept
  5566.         {
  5567.         NdrProxyInitialize(
  5568.                       ( void __RPC_FAR *  )This,
  5569.                       ( PRPC_MESSAGE  )&_RpcMessage,
  5570.                       ( PMIDL_STUB_MESSAGE  )&_StubMsg,
  5571.                       ( PMIDL_STUB_DESC  )&Object_StubDesc,
  5572.                       5);
  5573.         
  5574.         
  5575.         
  5576.         RpcTryFinally
  5577.             {
  5578.             
  5579.             _StubMsg.BufferLength = 4U;
  5580.             NdrProxyGetBuffer(This, &_StubMsg);
  5581.             *(( long __RPC_FAR * )_StubMsg.Buffer)++ = n;
  5582.             
  5583.             NdrProxySendReceive(This, &_StubMsg);
  5584.             
  5585.             if ( (_RpcMessage.DataRepresentation & 0X0000FFFFUL) != NDR_LOCAL_DATA_REPRESENTATION )
  5586.                 NdrConvert( (PMIDL_STUB_MESSAGE) &_StubMsg, (PFORMAT_STRING) &__MIDL_ProcFormatString.Format[242] );
  5587.             
  5588.             _RetVal = *(( HRESULT __RPC_FAR * )_StubMsg.Buffer)++;
  5589.             
  5590.             }
  5591.         RpcFinally
  5592.             {
  5593.             NdrProxyFreeBuffer(This, &_StubMsg);
  5594.             
  5595.             }
  5596.         RpcEndFinally
  5597.         
  5598.         }
  5599.     RpcExcept(_StubMsg.dwStubPhase != PROXY_SENDRECEIVE)
  5600.         {
  5601.         _RetVal = NdrProxyErrorHandler(RpcExceptionCode());
  5602.         }
  5603.     RpcEndExcept
  5604.     return _RetVal;
  5605. }
  5606.  
  5607. void __RPC_STUB IStlintList_put_Add_Stub(
  5608.     IRpcStubBuffer *This,
  5609.     IRpcChannelBuffer *_pRpcChannelBuffer,
  5610.     PRPC_MESSAGE _pRpcMessage,
  5611.     DWORD *_pdwStubPhase)
  5612. {
  5613.     HRESULT _RetVal;
  5614.     MIDL_STUB_MESSAGE _StubMsg;
  5615.     long n;
  5616.     
  5617. NdrStubInitialize(
  5618.                      _pRpcMessage,
  5619.                      &_StubMsg,
  5620.                      &Object_StubDesc,
  5621.                      _pRpcChannelBuffer);
  5622.     RpcTryFinally
  5623.         {
  5624.         if ( (_pRpcMessage->DataRepresentation & 0X0000FFFFUL) != NDR_LOCAL_DATA_REPRESENTATION )
  5625.             NdrConvert( (PMIDL_STUB_MESSAGE) &_StubMsg, (PFORMAT_STRING) &__MIDL_ProcFormatString.Format[242] );
  5626.         
  5627.         n = *(( long __RPC_FAR * )_StubMsg.Buffer)++;
  5628.         
  5629.         
  5630.         *_pdwStubPhase = STUB_CALL_SERVER;
  5631.         _RetVal = (((IStlintList *) ((CStdStubBuffer *)This)->pvServerObject)->lpVtbl) -> put_Add((IStlintList *) ((CStdStubBuffer *)This)->pvServerObject,n);
  5632.         
  5633.         *_pdwStubPhase = STUB_MARSHAL;
  5634.         
  5635.         _StubMsg.BufferLength = 4U;
  5636.         NdrStubGetBuffer(This, _pRpcChannelBuffer, &_StubMsg);
  5637.         *(( HRESULT __RPC_FAR * )_StubMsg.Buffer)++ = _RetVal;
  5638.         
  5639.         }
  5640.     RpcFinally
  5641.         {
  5642.         }
  5643.     RpcEndFinally
  5644.     _pRpcMessage->BufferLength = 
  5645.         (unsigned int)((long)_StubMsg.Buffer - (long)_pRpcMessage->Buffer);
  5646.     
  5647. }
  5648.  
  5649.  
  5650. /* [propput][id] */ HRESULT STDMETHODCALLTYPE IStlintList_put_InsertBefore_Proxy( 
  5651.     IStlintList __RPC_FAR * This,
  5652.     /* [in] */ long n)
  5653. {
  5654.  
  5655.     HRESULT _RetVal;
  5656.     
  5657.     RPC_MESSAGE _RpcMessage;
  5658.     
  5659.     MIDL_STUB_MESSAGE _StubMsg;
  5660.     
  5661.     RpcTryExcept
  5662.         {
  5663.         NdrProxyInitialize(
  5664.                       ( void __RPC_FAR *  )This,
  5665.                       ( PRPC_MESSAGE  )&_RpcMessage,
  5666.                       ( PMIDL_STUB_MESSAGE  )&_StubMsg,
  5667.                       ( PMIDL_STUB_DESC  )&Object_StubDesc,
  5668.                       6);
  5669.         
  5670.         
  5671.         
  5672.         RpcTryFinally
  5673.             {
  5674.             
  5675.             _StubMsg.BufferLength = 4U;
  5676.             NdrProxyGetBuffer(This, &_StubMsg);
  5677.             *(( long __RPC_FAR * )_StubMsg.Buffer)++ = n;
  5678.             
  5679.             NdrProxySendReceive(This, &_StubMsg);
  5680.             
  5681.             if ( (_RpcMessage.DataRepresentation & 0X0000FFFFUL) != NDR_LOCAL_DATA_REPRESENTATION )
  5682.                 NdrConvert( (PMIDL_STUB_MESSAGE) &_StubMsg, (PFORMAT_STRING) &__MIDL_ProcFormatString.Format[242] );
  5683.             
  5684.             _RetVal = *(( HRESULT __RPC_FAR * )_StubMsg.Buffer)++;
  5685.             
  5686.             }
  5687.         RpcFinally
  5688.             {
  5689.             NdrProxyFreeBuffer(This, &_StubMsg);
  5690.             
  5691.             }
  5692.         RpcEndFinally
  5693.         
  5694.         }
  5695.     RpcExcept(_StubMsg.dwStubPhase != PROXY_SENDRECEIVE)
  5696.         {
  5697.         _RetVal = NdrProxyErrorHandler(RpcExceptionCode());
  5698.         }
  5699.     RpcEndExcept
  5700.     return _RetVal;
  5701. }
  5702.  
  5703. void __RPC_STUB IStlintList_put_InsertBefore_Stub(
  5704.     IRpcStubBuffer *This,
  5705.     IRpcChannelBuffer *_pRpcChannelBuffer,
  5706.     PRPC_MESSAGE _pRpcMessage,
  5707.     DWORD *_pdwStubPhase)
  5708. {
  5709.     HRESULT _RetVal;
  5710.     MIDL_STUB_MESSAGE _StubMsg;
  5711.     long n;
  5712.     
  5713. NdrStubInitialize(
  5714.                      _pRpcMessage,
  5715.                      &_StubMsg,
  5716.                      &Object_StubDesc,
  5717.                      _pRpcChannelBuffer);
  5718.     RpcTryFinally
  5719.         {
  5720.         if ( (_pRpcMessage->DataRepresentation & 0X0000FFFFUL) != NDR_LOCAL_DATA_REPRESENTATION )
  5721.             NdrConvert( (PMIDL_STUB_MESSAGE) &_StubMsg, (PFORMAT_STRING) &__MIDL_ProcFormatString.Format[242] );
  5722.         
  5723.         n = *(( long __RPC_FAR * )_StubMsg.Buffer)++;
  5724.         
  5725.         
  5726.         *_pdwStubPhase = STUB_CALL_SERVER;
  5727.         _RetVal = (((IStlintList *) ((CStdStubBuffer *)This)->pvServerObject)->lpVtbl) -> put_InsertBefore((IStlintList *) ((CStdStubBuffer *)This)->pvServerObject,n);
  5728.         
  5729.         *_pdwStubPhase = STUB_MARSHAL;
  5730.         
  5731.         _StubMsg.BufferLength = 4U;
  5732.         NdrStubGetBuffer(This, _pRpcChannelBuffer, &_StubMsg);
  5733.         *(( HRESULT __RPC_FAR * )_StubMsg.Buffer)++ = _RetVal;
  5734.         
  5735.         }
  5736.     RpcFinally
  5737.         {
  5738.         }
  5739.     RpcEndFinally
  5740.     _pRpcMessage->BufferLength = 
  5741.         (unsigned int)((long)_StubMsg.Buffer - (long)_pRpcMessage->Buffer);
  5742.     
  5743. }
  5744.  
  5745.  
  5746. /* [propget][id] */ HRESULT STDMETHODCALLTYPE IStlintList_get_Remove_Proxy( 
  5747.     IStlintList __RPC_FAR * This,
  5748.     /* [retval][out] */ long __RPC_FAR *n)
  5749. {
  5750.  
  5751.     HRESULT _RetVal;
  5752.     
  5753.     RPC_MESSAGE _RpcMessage;
  5754.     
  5755.     MIDL_STUB_MESSAGE _StubMsg;
  5756.     
  5757.     RpcTryExcept
  5758.         {
  5759.         NdrProxyInitialize(
  5760.                       ( void __RPC_FAR *  )This,
  5761.                       ( PRPC_MESSAGE  )&_RpcMessage,
  5762.                       ( PMIDL_STUB_MESSAGE  )&_StubMsg,
  5763.                       ( PMIDL_STUB_DESC  )&Object_StubDesc,
  5764.                       7);
  5765.         
  5766.         
  5767.         
  5768.         RpcTryFinally
  5769.             {
  5770.             
  5771.             _StubMsg.BufferLength = 0U;
  5772.             NdrProxyGetBuffer(This, &_StubMsg);
  5773.             NdrProxySendReceive(This, &_StubMsg);
  5774.             
  5775.             if ( (_RpcMessage.DataRepresentation & 0X0000FFFFUL) != NDR_LOCAL_DATA_REPRESENTATION )
  5776.                 NdrConvert( (PMIDL_STUB_MESSAGE) &_StubMsg, (PFORMAT_STRING) &__MIDL_ProcFormatString.Format[56] );
  5777.             
  5778.             *n = *(( long __RPC_FAR * )_StubMsg.Buffer)++;
  5779.             
  5780.             _RetVal = *(( HRESULT __RPC_FAR * )_StubMsg.Buffer)++;
  5781.             
  5782.             }
  5783.         RpcFinally
  5784.             {
  5785.             NdrProxyFreeBuffer(This, &_StubMsg);
  5786.             
  5787.             }
  5788.         RpcEndFinally
  5789.         
  5790.         }
  5791.     RpcExcept(_StubMsg.dwStubPhase != PROXY_SENDRECEIVE)
  5792.         {
  5793.         NdrClearOutParameters(
  5794.                          ( PMIDL_STUB_MESSAGE  )&_StubMsg,
  5795.                          ( PFORMAT_STRING  )&__MIDL_TypeFormatString.Format[136],
  5796.                          ( void __RPC_FAR * )n);
  5797.         _RetVal = NdrProxyErrorHandler(RpcExceptionCode());
  5798.         }
  5799.     RpcEndExcept
  5800.     return _RetVal;
  5801. }
  5802.  
  5803. void __RPC_STUB IStlintList_get_Remove_Stub(
  5804.     IRpcStubBuffer *This,
  5805.     IRpcChannelBuffer *_pRpcChannelBuffer,
  5806.     PRPC_MESSAGE _pRpcMessage,
  5807.     DWORD *_pdwStubPhase)
  5808. {
  5809.     long _M34;
  5810.     HRESULT _RetVal;
  5811.     MIDL_STUB_MESSAGE _StubMsg;
  5812.     long __RPC_FAR *n;
  5813.     
  5814. NdrStubInitialize(
  5815.                      _pRpcMessage,
  5816.                      &_StubMsg,
  5817.                      &Object_StubDesc,
  5818.                      _pRpcChannelBuffer);
  5819.     n = 0;
  5820.     RpcTryFinally
  5821.         {
  5822.         n = &_M34;
  5823.         
  5824.         *_pdwStubPhase = STUB_CALL_SERVER;
  5825.         _RetVal = (((IStlintList *) ((CStdStubBuffer *)This)->pvServerObject)->lpVtbl) -> get_Remove((IStlintList *) ((CStdStubBuffer *)This)->pvServerObject,n);
  5826.         
  5827.         *_pdwStubPhase = STUB_MARSHAL;
  5828.         
  5829.         _StubMsg.BufferLength = 4U + 4U;
  5830.         NdrStubGetBuffer(This, _pRpcChannelBuffer, &_StubMsg);
  5831.         *(( long __RPC_FAR * )_StubMsg.Buffer)++ = *n;
  5832.         
  5833.         *(( HRESULT __RPC_FAR * )_StubMsg.Buffer)++ = _RetVal;
  5834.         
  5835.         }
  5836.     RpcFinally
  5837.         {
  5838.         }
  5839.     RpcEndFinally
  5840.     _pRpcMessage->BufferLength = 
  5841.         (unsigned int)((long)_StubMsg.Buffer - (long)_pRpcMessage->Buffer);
  5842.     
  5843. }
  5844.  
  5845.  
  5846. /* [id] */ HRESULT STDMETHODCALLTYPE IStlintList_RemoveAll_Proxy( 
  5847.     IStlintList __RPC_FAR * This)
  5848. {
  5849.  
  5850.     HRESULT _RetVal;
  5851.     
  5852.     RPC_MESSAGE _RpcMessage;
  5853.     
  5854.     MIDL_STUB_MESSAGE _StubMsg;
  5855.     
  5856.     RpcTryExcept
  5857.         {
  5858.         NdrProxyInitialize(
  5859.                       ( void __RPC_FAR *  )This,
  5860.                       ( PRPC_MESSAGE  )&_RpcMessage,
  5861.                       ( PMIDL_STUB_MESSAGE  )&_StubMsg,
  5862.                       ( PMIDL_STUB_DESC  )&Object_StubDesc,
  5863.                       8);
  5864.         
  5865.         
  5866.         
  5867.         RpcTryFinally
  5868.             {
  5869.             
  5870.             _StubMsg.BufferLength = 0U;
  5871.             NdrProxyGetBuffer(This, &_StubMsg);
  5872.             NdrProxySendReceive(This, &_StubMsg);
  5873.             
  5874.             if ( (_RpcMessage.DataRepresentation & 0X0000FFFFUL) != NDR_LOCAL_DATA_REPRESENTATION )
  5875.                 NdrConvert( (PMIDL_STUB_MESSAGE) &_StubMsg, (PFORMAT_STRING) &__MIDL_ProcFormatString.Format[34] );
  5876.             
  5877.             _RetVal = *(( HRESULT __RPC_FAR * )_StubMsg.Buffer)++;
  5878.             
  5879.             }
  5880.         RpcFinally
  5881.             {
  5882.             NdrProxyFreeBuffer(This, &_StubMsg);
  5883.             
  5884.             }
  5885.         RpcEndFinally
  5886.         
  5887.         }
  5888.     RpcExcept(_StubMsg.dwStubPhase != PROXY_SENDRECEIVE)
  5889.         {
  5890.         _RetVal = NdrProxyErrorHandler(RpcExceptionCode());
  5891.         }
  5892.     RpcEndExcept
  5893.     return _RetVal;
  5894. }
  5895.  
  5896. void __RPC_STUB IStlintList_RemoveAll_Stub(
  5897.     IRpcStubBuffer *This,
  5898.     IRpcChannelBuffer *_pRpcChannelBuffer,
  5899.     PRPC_MESSAGE _pRpcMessage,
  5900.     DWORD *_pdwStubPhase)
  5901. {
  5902.     HRESULT _RetVal;
  5903.     MIDL_STUB_MESSAGE _StubMsg;
  5904.     
  5905. NdrStubInitialize(
  5906.                      _pRpcMessage,
  5907.                      &_StubMsg,
  5908.                      &Object_StubDesc,
  5909.                      _pRpcChannelBuffer);
  5910.     RpcTryFinally
  5911.         {
  5912.         
  5913.         *_pdwStubPhase = STUB_CALL_SERVER;
  5914.         _RetVal = (((IStlintList *) ((CStdStubBuffer *)This)->pvServerObject)->lpVtbl) -> RemoveAll((IStlintList *) ((CStdStubBuffer *)This)->pvServerObject);
  5915.         
  5916.         *_pdwStubPhase = STUB_MARSHAL;
  5917.         
  5918.         _StubMsg.BufferLength = 4U;
  5919.         NdrStubGetBuffer(This, _pRpcChannelBuffer, &_StubMsg);
  5920.         *(( HRESULT __RPC_FAR * )_StubMsg.Buffer)++ = _RetVal;
  5921.         
  5922.         }
  5923.     RpcFinally
  5924.         {
  5925.         }
  5926.     RpcEndFinally
  5927.     _pRpcMessage->BufferLength = 
  5928.         (unsigned int)((long)_StubMsg.Buffer - (long)_pRpcMessage->Buffer);
  5929.     
  5930. }
  5931.  
  5932.  
  5933. /* [id] */ HRESULT STDMETHODCALLTYPE IStlintList_First_Proxy( 
  5934.     IStlintList __RPC_FAR * This)
  5935. {
  5936.  
  5937.     HRESULT _RetVal;
  5938.     
  5939.     RPC_MESSAGE _RpcMessage;
  5940.     
  5941.     MIDL_STUB_MESSAGE _StubMsg;
  5942.     
  5943.     RpcTryExcept
  5944.         {
  5945.         NdrProxyInitialize(
  5946.                       ( void __RPC_FAR *  )This,
  5947.                       ( PRPC_MESSAGE  )&_RpcMessage,
  5948.                       ( PMIDL_STUB_MESSAGE  )&_StubMsg,
  5949.                       ( PMIDL_STUB_DESC  )&Object_StubDesc,
  5950.                       9);
  5951.         
  5952.         
  5953.         
  5954.         RpcTryFinally
  5955.             {
  5956.             
  5957.             _StubMsg.BufferLength = 0U;
  5958.             NdrProxyGetBuffer(This, &_StubMsg);
  5959.             NdrProxySendReceive(This, &_StubMsg);
  5960.             
  5961.             if ( (_RpcMessage.DataRepresentation & 0X0000FFFFUL) != NDR_LOCAL_DATA_REPRESENTATION )
  5962.                 NdrConvert( (PMIDL_STUB_MESSAGE) &_StubMsg, (PFORMAT_STRING) &__MIDL_ProcFormatString.Format[34] );
  5963.             
  5964.             _RetVal = *(( HRESULT __RPC_FAR * )_StubMsg.Buffer)++;
  5965.             
  5966.             }
  5967.         RpcFinally
  5968.             {
  5969.             NdrProxyFreeBuffer(This, &_StubMsg);
  5970.             
  5971.             }
  5972.         RpcEndFinally
  5973.         
  5974.         }
  5975.     RpcExcept(_StubMsg.dwStubPhase != PROXY_SENDRECEIVE)
  5976.         {
  5977.         _RetVal = NdrProxyErrorHandler(RpcExceptionCode());
  5978.         }
  5979.     RpcEndExcept
  5980.     return _RetVal;
  5981. }
  5982.  
  5983. void __RPC_STUB IStlintList_First_Stub(
  5984.     IRpcStubBuffer *This,
  5985.     IRpcChannelBuffer *_pRpcChannelBuffer,
  5986.     PRPC_MESSAGE _pRpcMessage,
  5987.     DWORD *_pdwStubPhase)
  5988. {
  5989.     HRESULT _RetVal;
  5990.     MIDL_STUB_MESSAGE _StubMsg;
  5991.     
  5992. NdrStubInitialize(
  5993.                      _pRpcMessage,
  5994.                      &_StubMsg,
  5995.                      &Object_StubDesc,
  5996.                      _pRpcChannelBuffer);
  5997.     RpcTryFinally
  5998.         {
  5999.         
  6000.         *_pdwStubPhase = STUB_CALL_SERVER;
  6001.         _RetVal = (((IStlintList *) ((CStdStubBuffer *)This)->pvServerObject)->lpVtbl) -> First((IStlintList *) ((CStdStubBuffer *)This)->pvServerObject);
  6002.         
  6003.         *_pdwStubPhase = STUB_MARSHAL;
  6004.         
  6005.         _StubMsg.BufferLength = 4U;
  6006.         NdrStubGetBuffer(This, _pRpcChannelBuffer, &_StubMsg);
  6007.         *(( HRESULT __RPC_FAR * )_StubMsg.Buffer)++ = _RetVal;
  6008.         
  6009.         }
  6010.     RpcFinally
  6011.         {
  6012.         }
  6013.     RpcEndFinally
  6014.     _pRpcMessage->BufferLength = 
  6015.         (unsigned int)((long)_StubMsg.Buffer - (long)_pRpcMessage->Buffer);
  6016.     
  6017. }
  6018.  
  6019.  
  6020. /* [id] */ HRESULT STDMETHODCALLTYPE IStlintList_Next_Proxy( 
  6021.     IStlintList __RPC_FAR * This,
  6022.     /* [out] */ long __RPC_FAR *n,
  6023.     /* [retval][out] */ VARIANT_BOOL __RPC_FAR *b)
  6024. {
  6025.  
  6026.     HRESULT _RetVal;
  6027.     
  6028.     RPC_MESSAGE _RpcMessage;
  6029.     
  6030.     MIDL_STUB_MESSAGE _StubMsg;
  6031.     
  6032.     RpcTryExcept
  6033.         {
  6034.         NdrProxyInitialize(
  6035.                       ( void __RPC_FAR *  )This,
  6036.                       ( PRPC_MESSAGE  )&_RpcMessage,
  6037.                       ( PMIDL_STUB_MESSAGE  )&_StubMsg,
  6038.                       ( PMIDL_STUB_DESC  )&Object_StubDesc,
  6039.                       10);
  6040.         
  6041.         
  6042.         
  6043.         RpcTryFinally
  6044.             {
  6045.             
  6046.             _StubMsg.BufferLength = 0U;
  6047.             NdrProxyGetBuffer(This, &_StubMsg);
  6048.             NdrProxySendReceive(This, &_StubMsg);
  6049.             
  6050.             if ( (_RpcMessage.DataRepresentation & 0X0000FFFFUL) != NDR_LOCAL_DATA_REPRESENTATION )
  6051.                 NdrConvert( (PMIDL_STUB_MESSAGE) &_StubMsg, (PFORMAT_STRING) &__MIDL_ProcFormatString.Format[246] );
  6052.             
  6053.             *n = *(( long __RPC_FAR * )_StubMsg.Buffer)++;
  6054.             
  6055.             *b = *(( VARIANT_BOOL __RPC_FAR * )_StubMsg.Buffer)++;
  6056.             
  6057.             _StubMsg.Buffer += 2;
  6058.             _RetVal = *(( HRESULT __RPC_FAR * )_StubMsg.Buffer)++;
  6059.             
  6060.             }
  6061.         RpcFinally
  6062.             {
  6063.             NdrProxyFreeBuffer(This, &_StubMsg);
  6064.             
  6065.             }
  6066.         RpcEndFinally
  6067.         
  6068.         }
  6069.     RpcExcept(_StubMsg.dwStubPhase != PROXY_SENDRECEIVE)
  6070.         {
  6071.         NdrClearOutParameters(
  6072.                          ( PMIDL_STUB_MESSAGE  )&_StubMsg,
  6073.                          ( PFORMAT_STRING  )&__MIDL_TypeFormatString.Format[136],
  6074.                          ( void __RPC_FAR * )n);
  6075.         NdrClearOutParameters(
  6076.                          ( PMIDL_STUB_MESSAGE  )&_StubMsg,
  6077.                          ( PFORMAT_STRING  )&__MIDL_TypeFormatString.Format[104],
  6078.                          ( void __RPC_FAR * )b);
  6079.         _RetVal = NdrProxyErrorHandler(RpcExceptionCode());
  6080.         }
  6081.     RpcEndExcept
  6082.     return _RetVal;
  6083. }
  6084.  
  6085. void __RPC_STUB IStlintList_Next_Stub(
  6086.     IRpcStubBuffer *This,
  6087.     IRpcChannelBuffer *_pRpcChannelBuffer,
  6088.     PRPC_MESSAGE _pRpcMessage,
  6089.     DWORD *_pdwStubPhase)
  6090. {
  6091.     long _M35;
  6092.     VARIANT_BOOL _M36;
  6093.     HRESULT _RetVal;
  6094.     MIDL_STUB_MESSAGE _StubMsg;
  6095.     VARIANT_BOOL __RPC_FAR *b;
  6096.     long __RPC_FAR *n;
  6097.     
  6098. NdrStubInitialize(
  6099.                      _pRpcMessage,
  6100.                      &_StubMsg,
  6101.                      &Object_StubDesc,
  6102.                      _pRpcChannelBuffer);
  6103.     n = 0;
  6104.     b = 0;
  6105.     RpcTryFinally
  6106.         {
  6107.         n = &_M35;
  6108.         b = &_M36;
  6109.         
  6110.         *_pdwStubPhase = STUB_CALL_SERVER;
  6111.         _RetVal = (((IStlintList *) ((CStdStubBuffer *)This)->pvServerObject)->lpVtbl) -> Next(
  6112.         (IStlintList *) ((CStdStubBuffer *)This)->pvServerObject,
  6113.         n,
  6114.         b);
  6115.         
  6116.         *_pdwStubPhase = STUB_MARSHAL;
  6117.         
  6118.         _StubMsg.BufferLength = 4U + 2U + 6U;
  6119.         NdrStubGetBuffer(This, _pRpcChannelBuffer, &_StubMsg);
  6120.         *(( long __RPC_FAR * )_StubMsg.Buffer)++ = *n;
  6121.         
  6122.         *(( VARIANT_BOOL __RPC_FAR * )_StubMsg.Buffer)++ = *b;
  6123.         
  6124.         _StubMsg.Buffer += 2;
  6125.         *(( HRESULT __RPC_FAR * )_StubMsg.Buffer)++ = _RetVal;
  6126.         
  6127.         }
  6128.     RpcFinally
  6129.         {
  6130.         }
  6131.     RpcEndFinally
  6132.     _pRpcMessage->BufferLength = 
  6133.         (unsigned int)((long)_StubMsg.Buffer - (long)_pRpcMessage->Buffer);
  6134.     
  6135. }
  6136.  
  6137.  
  6138. /* [propget][id] */ HRESULT STDMETHODCALLTYPE IStlintList_get_Count_Proxy( 
  6139.     IStlintList __RPC_FAR * This,
  6140.     /* [retval][out] */ UINT __RPC_FAR *dw)
  6141. {
  6142.  
  6143.     HRESULT _RetVal;
  6144.     
  6145.     RPC_MESSAGE _RpcMessage;
  6146.     
  6147.     MIDL_STUB_MESSAGE _StubMsg;
  6148.     
  6149.     RpcTryExcept
  6150.         {
  6151.         NdrProxyInitialize(
  6152.                       ( void __RPC_FAR *  )This,
  6153.                       ( PRPC_MESSAGE  )&_RpcMessage,
  6154.                       ( PMIDL_STUB_MESSAGE  )&_StubMsg,
  6155.                       ( PMIDL_STUB_DESC  )&Object_StubDesc,
  6156.                       11);
  6157.         
  6158.         
  6159.         
  6160.         RpcTryFinally
  6161.             {
  6162.             
  6163.             _StubMsg.BufferLength = 0U;
  6164.             NdrProxyGetBuffer(This, &_StubMsg);
  6165.             NdrProxySendReceive(This, &_StubMsg);
  6166.             
  6167.             if ( (_RpcMessage.DataRepresentation & 0X0000FFFFUL) != NDR_LOCAL_DATA_REPRESENTATION )
  6168.                 NdrConvert( (PMIDL_STUB_MESSAGE) &_StubMsg, (PFORMAT_STRING) &__MIDL_ProcFormatString.Format[56] );
  6169.             
  6170.             *dw = *(( UINT __RPC_FAR * )_StubMsg.Buffer)++;
  6171.             
  6172.             _RetVal = *(( HRESULT __RPC_FAR * )_StubMsg.Buffer)++;
  6173.             
  6174.             }
  6175.         RpcFinally
  6176.             {
  6177.             NdrProxyFreeBuffer(This, &_StubMsg);
  6178.             
  6179.             }
  6180.         RpcEndFinally
  6181.         
  6182.         }
  6183.     RpcExcept(_StubMsg.dwStubPhase != PROXY_SENDRECEIVE)
  6184.         {
  6185.         NdrClearOutParameters(
  6186.                          ( PMIDL_STUB_MESSAGE  )&_StubMsg,
  6187.                          ( PFORMAT_STRING  )&__MIDL_TypeFormatString.Format[136],
  6188.                          ( void __RPC_FAR * )dw);
  6189.         _RetVal = NdrProxyErrorHandler(RpcExceptionCode());
  6190.         }
  6191.     RpcEndExcept
  6192.     return _RetVal;
  6193. }
  6194.  
  6195. void __RPC_STUB IStlintList_get_Count_Stub(
  6196.     IRpcStubBuffer *This,
  6197.     IRpcChannelBuffer *_pRpcChannelBuffer,
  6198.     PRPC_MESSAGE _pRpcMessage,
  6199.     DWORD *_pdwStubPhase)
  6200. {
  6201.     UINT _M37;
  6202.     HRESULT _RetVal;
  6203.     MIDL_STUB_MESSAGE _StubMsg;
  6204.     UINT __RPC_FAR *dw;
  6205.     
  6206. NdrStubInitialize(
  6207.                      _pRpcMessage,
  6208.                      &_StubMsg,
  6209.                      &Object_StubDesc,
  6210.                      _pRpcChannelBuffer);
  6211.     dw = 0;
  6212.     RpcTryFinally
  6213.         {
  6214.         dw = &_M37;
  6215.         
  6216.         *_pdwStubPhase = STUB_CALL_SERVER;
  6217.         _RetVal = (((IStlintList *) ((CStdStubBuffer *)This)->pvServerObject)->lpVtbl) -> get_Count((IStlintList *) ((CStdStubBuffer *)This)->pvServerObject,dw);
  6218.         
  6219.         *_pdwStubPhase = STUB_MARSHAL;
  6220.         
  6221.         _StubMsg.BufferLength = 4U + 4U;
  6222.         NdrStubGetBuffer(This, _pRpcChannelBuffer, &_StubMsg);
  6223.         *(( UINT __RPC_FAR * )_StubMsg.Buffer)++ = *dw;
  6224.         
  6225.         *(( HRESULT __RPC_FAR * )_StubMsg.Buffer)++ = _RetVal;
  6226.         
  6227.         }
  6228.     RpcFinally
  6229.         {
  6230.         }
  6231.     RpcEndFinally
  6232.     _pRpcMessage->BufferLength = 
  6233.         (unsigned int)((long)_StubMsg.Buffer - (long)_pRpcMessage->Buffer);
  6234.     
  6235. }
  6236.  
  6237. const CINTERFACE_PROXY_VTABLE(12) _IStlintListProxyVtbl = 
  6238. {
  6239.     &IID_IStlintList,
  6240.     IUnknown_QueryInterface_Proxy,
  6241.     IUnknown_AddRef_Proxy,
  6242.     IUnknown_Release_Proxy ,
  6243.     IStlintList_Find_Proxy ,
  6244.     IStlintList_put_SetAt_Proxy ,
  6245.     IStlintList_put_Add_Proxy ,
  6246.     IStlintList_put_InsertBefore_Proxy ,
  6247.     IStlintList_get_Remove_Proxy ,
  6248.     IStlintList_RemoveAll_Proxy ,
  6249.     IStlintList_First_Proxy ,
  6250.     IStlintList_Next_Proxy ,
  6251.     IStlintList_get_Count_Proxy
  6252. };
  6253.  
  6254.  
  6255. static const PRPC_STUB_FUNCTION IStlintList_table[] =
  6256. {
  6257.     IStlintList_Find_Stub,
  6258.     IStlintList_put_SetAt_Stub,
  6259.     IStlintList_put_Add_Stub,
  6260.     IStlintList_put_InsertBefore_Stub,
  6261.     IStlintList_get_Remove_Stub,
  6262.     IStlintList_RemoveAll_Stub,
  6263.     IStlintList_First_Stub,
  6264.     IStlintList_Next_Stub,
  6265.     IStlintList_get_Count_Stub
  6266. };
  6267.  
  6268. const CInterfaceStubVtbl _IStlintListStubVtbl =
  6269. {
  6270.     &IID_IStlintList,
  6271.     0,
  6272.     12,
  6273.     &IStlintList_table[-3],
  6274.     CStdStubBuffer_METHODS
  6275. };
  6276.  
  6277.  
  6278. /* Object interface: IStlArrays, ver. 0.0,
  6279.    GUID={0x7CE086F1,0x3E78,0x11D0,{0xAE,0x6B,0x00,0xC0,0x4F,0xD7,0xD0,0x6E}} */
  6280.  
  6281.  
  6282. extern const MIDL_STUB_DESC Object_StubDesc;
  6283.  
  6284.  
  6285. #pragma code_seg(".orpc")
  6286. const CINTERFACE_PROXY_VTABLE(3) _IStlArraysProxyVtbl = 
  6287. {
  6288.     &IID_IStlArrays,
  6289.     IUnknown_QueryInterface_Proxy,
  6290.     IUnknown_AddRef_Proxy,
  6291.     IUnknown_Release_Proxy
  6292. };
  6293.  
  6294.  
  6295. static const PRPC_STUB_FUNCTION IStlArrays_table[] =
  6296. {
  6297.     0    /* a dummy for an empty interface */
  6298. };
  6299.  
  6300. const CInterfaceStubVtbl _IStlArraysStubVtbl =
  6301. {
  6302.     &IID_IStlArrays,
  6303.     0,
  6304.     3,
  6305.     &IStlArrays_table[-3],
  6306.     CStdStubBuffer_METHODS
  6307. };
  6308.  
  6309.  
  6310. /* Object interface: IStlDWordArray, ver. 0.0,
  6311.    GUID={0x7CE086F6,0x3E78,0x11D0,{0xAE,0x6B,0x00,0xC0,0x4F,0xD7,0xD0,0x6E}} */
  6312.  
  6313.  
  6314. extern const MIDL_STUB_DESC Object_StubDesc;
  6315.  
  6316.  
  6317. #pragma code_seg(".orpc")
  6318.  
  6319. /* [propget][id] */ HRESULT STDMETHODCALLTYPE IStlDWordArray_get_Array_Proxy( 
  6320.     IStlDWordArray __RPC_FAR * This,
  6321.     /* [in] */ long idx,
  6322.     /* [retval][out] */ DWORD __RPC_FAR *dw)
  6323. {
  6324.  
  6325.     HRESULT _RetVal;
  6326.     
  6327.     RPC_MESSAGE _RpcMessage;
  6328.     
  6329.     MIDL_STUB_MESSAGE _StubMsg;
  6330.     
  6331.     RpcTryExcept
  6332.         {
  6333.         NdrProxyInitialize(
  6334.                       ( void __RPC_FAR *  )This,
  6335.                       ( PRPC_MESSAGE  )&_RpcMessage,
  6336.                       ( PMIDL_STUB_MESSAGE  )&_StubMsg,
  6337.                       ( PMIDL_STUB_DESC  )&Object_StubDesc,
  6338.                       3);
  6339.         
  6340.         
  6341.         
  6342.         RpcTryFinally
  6343.             {
  6344.             
  6345.             _StubMsg.BufferLength = 4U;
  6346.             NdrProxyGetBuffer(This, &_StubMsg);
  6347.             *(( long __RPC_FAR * )_StubMsg.Buffer)++ = idx;
  6348.             
  6349.             NdrProxySendReceive(This, &_StubMsg);
  6350.             
  6351.             if ( (_RpcMessage.DataRepresentation & 0X0000FFFFUL) != NDR_LOCAL_DATA_REPRESENTATION )
  6352.                 NdrConvert( (PMIDL_STUB_MESSAGE) &_StubMsg, (PFORMAT_STRING) &__MIDL_ProcFormatString.Format[256] );
  6353.             
  6354.             *dw = *(( DWORD __RPC_FAR * )_StubMsg.Buffer)++;
  6355.             
  6356.             _RetVal = *(( HRESULT __RPC_FAR * )_StubMsg.Buffer)++;
  6357.             
  6358.             }
  6359.         RpcFinally
  6360.             {
  6361.             NdrProxyFreeBuffer(This, &_StubMsg);
  6362.             
  6363.             }
  6364.         RpcEndFinally
  6365.         
  6366.         }
  6367.     RpcExcept(_StubMsg.dwStubPhase != PROXY_SENDRECEIVE)
  6368.         {
  6369.         NdrClearOutParameters(
  6370.                          ( PMIDL_STUB_MESSAGE  )&_StubMsg,
  6371.                          ( PFORMAT_STRING  )&__MIDL_TypeFormatString.Format[136],
  6372.                          ( void __RPC_FAR * )dw);
  6373.         _RetVal = NdrProxyErrorHandler(RpcExceptionCode());
  6374.         }
  6375.     RpcEndExcept
  6376.     return _RetVal;
  6377. }
  6378.  
  6379. void __RPC_STUB IStlDWordArray_get_Array_Stub(
  6380.     IRpcStubBuffer *This,
  6381.     IRpcChannelBuffer *_pRpcChannelBuffer,
  6382.     PRPC_MESSAGE _pRpcMessage,
  6383.     DWORD *_pdwStubPhase)
  6384. {
  6385.     DWORD _M38;
  6386.     HRESULT _RetVal;
  6387.     MIDL_STUB_MESSAGE _StubMsg;
  6388.     DWORD __RPC_FAR *dw;
  6389.     long idx;
  6390.     
  6391. NdrStubInitialize(
  6392.                      _pRpcMessage,
  6393.                      &_StubMsg,
  6394.                      &Object_StubDesc,
  6395.                      _pRpcChannelBuffer);
  6396.     dw = 0;
  6397.     RpcTryFinally
  6398.         {
  6399.         if ( (_pRpcMessage->DataRepresentation & 0X0000FFFFUL) != NDR_LOCAL_DATA_REPRESENTATION )
  6400.             NdrConvert( (PMIDL_STUB_MESSAGE) &_StubMsg, (PFORMAT_STRING) &__MIDL_ProcFormatString.Format[256] );
  6401.         
  6402.         idx = *(( long __RPC_FAR * )_StubMsg.Buffer)++;
  6403.         
  6404.         dw = &_M38;
  6405.         
  6406.         *_pdwStubPhase = STUB_CALL_SERVER;
  6407.         _RetVal = (((IStlDWordArray *) ((CStdStubBuffer *)This)->pvServerObject)->lpVtbl) -> get_Array(
  6408.              (IStlDWordArray *) ((CStdStubBuffer *)This)->pvServerObject,
  6409.              idx,
  6410.              dw);
  6411.         
  6412.         *_pdwStubPhase = STUB_MARSHAL;
  6413.         
  6414.         _StubMsg.BufferLength = 4U + 4U;
  6415.         NdrStubGetBuffer(This, _pRpcChannelBuffer, &_StubMsg);
  6416.         *(( DWORD __RPC_FAR * )_StubMsg.Buffer)++ = *dw;
  6417.         
  6418.         *(( HRESULT __RPC_FAR * )_StubMsg.Buffer)++ = _RetVal;
  6419.         
  6420.         }
  6421.     RpcFinally
  6422.         {
  6423.         }
  6424.     RpcEndFinally
  6425.     _pRpcMessage->BufferLength = 
  6426.         (unsigned int)((long)_StubMsg.Buffer - (long)_pRpcMessage->Buffer);
  6427.     
  6428. }
  6429.  
  6430.  
  6431. /* [propput][id] */ HRESULT STDMETHODCALLTYPE IStlDWordArray_put_Array_Proxy( 
  6432.     IStlDWordArray __RPC_FAR * This,
  6433.     /* [in] */ long idx,
  6434.     /* [in] */ DWORD dw)
  6435. {
  6436.  
  6437.     HRESULT _RetVal;
  6438.     
  6439.     RPC_MESSAGE _RpcMessage;
  6440.     
  6441.     MIDL_STUB_MESSAGE _StubMsg;
  6442.     
  6443.     RpcTryExcept
  6444.         {
  6445.         NdrProxyInitialize(
  6446.                       ( void __RPC_FAR *  )This,
  6447.                       ( PRPC_MESSAGE  )&_RpcMessage,
  6448.                       ( PMIDL_STUB_MESSAGE  )&_StubMsg,
  6449.                       ( PMIDL_STUB_DESC  )&Object_StubDesc,
  6450.                       4);
  6451.         
  6452.         
  6453.         
  6454.         RpcTryFinally
  6455.             {
  6456.             
  6457.             _StubMsg.BufferLength = 4U + 4U;
  6458.             NdrProxyGetBuffer(This, &_StubMsg);
  6459.             *(( long __RPC_FAR * )_StubMsg.Buffer)++ = idx;
  6460.             
  6461.             *(( DWORD __RPC_FAR * )_StubMsg.Buffer)++ = dw;
  6462.             
  6463.             NdrProxySendReceive(This, &_StubMsg);
  6464.             
  6465.             if ( (_RpcMessage.DataRepresentation & 0X0000FFFFUL) != NDR_LOCAL_DATA_REPRESENTATION )
  6466.                 NdrConvert( (PMIDL_STUB_MESSAGE) &_StubMsg, (PFORMAT_STRING) &__MIDL_ProcFormatString.Format[264] );
  6467.             
  6468.             _RetVal = *(( HRESULT __RPC_FAR * )_StubMsg.Buffer)++;
  6469.             
  6470.             }
  6471.         RpcFinally
  6472.             {
  6473.             NdrProxyFreeBuffer(This, &_StubMsg);
  6474.             
  6475.             }
  6476.         RpcEndFinally
  6477.         
  6478.         }
  6479.     RpcExcept(_StubMsg.dwStubPhase != PROXY_SENDRECEIVE)
  6480.         {
  6481.         _RetVal = NdrProxyErrorHandler(RpcExceptionCode());
  6482.         }
  6483.     RpcEndExcept
  6484.     return _RetVal;
  6485. }
  6486.  
  6487. void __RPC_STUB IStlDWordArray_put_Array_Stub(
  6488.     IRpcStubBuffer *This,
  6489.     IRpcChannelBuffer *_pRpcChannelBuffer,
  6490.     PRPC_MESSAGE _pRpcMessage,
  6491.     DWORD *_pdwStubPhase)
  6492. {
  6493.     HRESULT _RetVal;
  6494.     MIDL_STUB_MESSAGE _StubMsg;
  6495.     DWORD dw;
  6496.     long idx;
  6497.     
  6498. NdrStubInitialize(
  6499.                      _pRpcMessage,
  6500.                      &_StubMsg,
  6501.                      &Object_StubDesc,
  6502.                      _pRpcChannelBuffer);
  6503.     RpcTryFinally
  6504.         {
  6505.         if ( (_pRpcMessage->DataRepresentation & 0X0000FFFFUL) != NDR_LOCAL_DATA_REPRESENTATION )
  6506.             NdrConvert( (PMIDL_STUB_MESSAGE) &_StubMsg, (PFORMAT_STRING) &__MIDL_ProcFormatString.Format[264] );
  6507.         
  6508.         idx = *(( long __RPC_FAR * )_StubMsg.Buffer)++;
  6509.         
  6510.         dw = *(( DWORD __RPC_FAR * )_StubMsg.Buffer)++;
  6511.         
  6512.         
  6513.         *_pdwStubPhase = STUB_CALL_SERVER;
  6514.         _RetVal = (((IStlDWordArray *) ((CStdStubBuffer *)This)->pvServerObject)->lpVtbl) -> put_Array(
  6515.              (IStlDWordArray *) ((CStdStubBuffer *)This)->pvServerObject,
  6516.              idx,
  6517.              dw);
  6518.         
  6519.         *_pdwStubPhase = STUB_MARSHAL;
  6520.         
  6521.         _StubMsg.BufferLength = 4U;
  6522.         NdrStubGetBuffer(This, _pRpcChannelBuffer, &_StubMsg);
  6523.         *(( HRESULT __RPC_FAR * )_StubMsg.Buffer)++ = _RetVal;
  6524.         
  6525.         }
  6526.     RpcFinally
  6527.         {
  6528.         }
  6529.     RpcEndFinally
  6530.     _pRpcMessage->BufferLength = 
  6531.         (unsigned int)((long)_StubMsg.Buffer - (long)_pRpcMessage->Buffer);
  6532.     
  6533. }
  6534.  
  6535.  
  6536. /* [propput][id] */ HRESULT STDMETHODCALLTYPE IStlDWordArray_put_Add_Proxy( 
  6537.     IStlDWordArray __RPC_FAR * This,
  6538.     /* [in] */ DWORD dw)
  6539. {
  6540.  
  6541.     HRESULT _RetVal;
  6542.     
  6543.     RPC_MESSAGE _RpcMessage;
  6544.     
  6545.     MIDL_STUB_MESSAGE _StubMsg;
  6546.     
  6547.     RpcTryExcept
  6548.         {
  6549.         NdrProxyInitialize(
  6550.                       ( void __RPC_FAR *  )This,
  6551.                       ( PRPC_MESSAGE  )&_RpcMessage,
  6552.                       ( PMIDL_STUB_MESSAGE  )&_StubMsg,
  6553.                       ( PMIDL_STUB_DESC  )&Object_StubDesc,
  6554.                       5);
  6555.         
  6556.         
  6557.         
  6558.         RpcTryFinally
  6559.             {
  6560.             
  6561.             _StubMsg.BufferLength = 4U;
  6562.             NdrProxyGetBuffer(This, &_StubMsg);
  6563.             *(( DWORD __RPC_FAR * )_StubMsg.Buffer)++ = dw;
  6564.             
  6565.             NdrProxySendReceive(This, &_StubMsg);
  6566.             
  6567.             if ( (_RpcMessage.DataRepresentation & 0X0000FFFFUL) != NDR_LOCAL_DATA_REPRESENTATION )
  6568.                 NdrConvert( (PMIDL_STUB_MESSAGE) &_StubMsg, (PFORMAT_STRING) &__MIDL_ProcFormatString.Format[242] );
  6569.             
  6570.             _RetVal = *(( HRESULT __RPC_FAR * )_StubMsg.Buffer)++;
  6571.             
  6572.             }
  6573.         RpcFinally
  6574.             {
  6575.             NdrProxyFreeBuffer(This, &_StubMsg);
  6576.             
  6577.             }
  6578.         RpcEndFinally
  6579.         
  6580.         }
  6581.     RpcExcept(_StubMsg.dwStubPhase != PROXY_SENDRECEIVE)
  6582.         {
  6583.         _RetVal = NdrProxyErrorHandler(RpcExceptionCode());
  6584.         }
  6585.     RpcEndExcept
  6586.     return _RetVal;
  6587. }
  6588.  
  6589. void __RPC_STUB IStlDWordArray_put_Add_Stub(
  6590.     IRpcStubBuffer *This,
  6591.     IRpcChannelBuffer *_pRpcChannelBuffer,
  6592.     PRPC_MESSAGE _pRpcMessage,
  6593.     DWORD *_pdwStubPhase)
  6594. {
  6595.     HRESULT _RetVal;
  6596.     MIDL_STUB_MESSAGE _StubMsg;
  6597.     DWORD dw;
  6598.     
  6599. NdrStubInitialize(
  6600.                      _pRpcMessage,
  6601.                      &_StubMsg,
  6602.                      &Object_StubDesc,
  6603.                      _pRpcChannelBuffer);
  6604.     RpcTryFinally
  6605.         {
  6606.         if ( (_pRpcMessage->DataRepresentation & 0X0000FFFFUL) != NDR_LOCAL_DATA_REPRESENTATION )
  6607.             NdrConvert( (PMIDL_STUB_MESSAGE) &_StubMsg, (PFORMAT_STRING) &__MIDL_ProcFormatString.Format[242] );
  6608.         
  6609.         dw = *(( DWORD __RPC_FAR * )_StubMsg.Buffer)++;
  6610.         
  6611.         
  6612.         *_pdwStubPhase = STUB_CALL_SERVER;
  6613.         _RetVal = (((IStlDWordArray *) ((CStdStubBuffer *)This)->pvServerObject)->lpVtbl) -> put_Add((IStlDWordArray *) ((CStdStubBuffer *)This)->pvServerObject,dw);
  6614.         
  6615.         *_pdwStubPhase = STUB_MARSHAL;
  6616.         
  6617.         _StubMsg.BufferLength = 4U;
  6618.         NdrStubGetBuffer(This, _pRpcChannelBuffer, &_StubMsg);
  6619.         *(( HRESULT __RPC_FAR * )_StubMsg.Buffer)++ = _RetVal;
  6620.         
  6621.         }
  6622.     RpcFinally
  6623.         {
  6624.         }
  6625.     RpcEndFinally
  6626.     _pRpcMessage->BufferLength = 
  6627.         (unsigned int)((long)_StubMsg.Buffer - (long)_pRpcMessage->Buffer);
  6628.     
  6629. }
  6630.  
  6631.  
  6632. /* [propget][id] */ HRESULT STDMETHODCALLTYPE IStlDWordArray_get_Remove_Proxy( 
  6633.     IStlDWordArray __RPC_FAR * This,
  6634.     /* [in] */ long idx,
  6635.     /* [retval][out] */ DWORD __RPC_FAR *dw)
  6636. {
  6637.  
  6638.     HRESULT _RetVal;
  6639.     
  6640.     RPC_MESSAGE _RpcMessage;
  6641.     
  6642.     MIDL_STUB_MESSAGE _StubMsg;
  6643.     
  6644.     RpcTryExcept
  6645.         {
  6646.         NdrProxyInitialize(
  6647.                       ( void __RPC_FAR *  )This,
  6648.                       ( PRPC_MESSAGE  )&_RpcMessage,
  6649.                       ( PMIDL_STUB_MESSAGE  )&_StubMsg,
  6650.                       ( PMIDL_STUB_DESC  )&Object_StubDesc,
  6651.                       6);
  6652.         
  6653.         
  6654.         
  6655.         RpcTryFinally
  6656.             {
  6657.             
  6658.             _StubMsg.BufferLength = 4U;
  6659.             NdrProxyGetBuffer(This, &_StubMsg);
  6660.             *(( long __RPC_FAR * )_StubMsg.Buffer)++ = idx;
  6661.             
  6662.             NdrProxySendReceive(This, &_StubMsg);
  6663.             
  6664.             if ( (_RpcMessage.DataRepresentation & 0X0000FFFFUL) != NDR_LOCAL_DATA_REPRESENTATION )
  6665.                 NdrConvert( (PMIDL_STUB_MESSAGE) &_StubMsg, (PFORMAT_STRING) &__MIDL_ProcFormatString.Format[256] );
  6666.             
  6667.             *dw = *(( DWORD __RPC_FAR * )_StubMsg.Buffer)++;
  6668.             
  6669.             _RetVal = *(( HRESULT __RPC_FAR * )_StubMsg.Buffer)++;
  6670.             
  6671.             }
  6672.         RpcFinally
  6673.             {
  6674.             NdrProxyFreeBuffer(This, &_StubMsg);
  6675.             
  6676.             }
  6677.         RpcEndFinally
  6678.         
  6679.         }
  6680.     RpcExcept(_StubMsg.dwStubPhase != PROXY_SENDRECEIVE)
  6681.         {
  6682.         NdrClearOutParameters(
  6683.                          ( PMIDL_STUB_MESSAGE  )&_StubMsg,
  6684.                          ( PFORMAT_STRING  )&__MIDL_TypeFormatString.Format[136],
  6685.                          ( void __RPC_FAR * )dw);
  6686.         _RetVal = NdrProxyErrorHandler(RpcExceptionCode());
  6687.         }
  6688.     RpcEndExcept
  6689.     return _RetVal;
  6690. }
  6691.  
  6692. void __RPC_STUB IStlDWordArray_get_Remove_Stub(
  6693.     IRpcStubBuffer *This,
  6694.     IRpcChannelBuffer *_pRpcChannelBuffer,
  6695.     PRPC_MESSAGE _pRpcMessage,
  6696.     DWORD *_pdwStubPhase)
  6697. {
  6698.     DWORD _M39;
  6699.     HRESULT _RetVal;
  6700.     MIDL_STUB_MESSAGE _StubMsg;
  6701.     DWORD __RPC_FAR *dw;
  6702.     long idx;
  6703.     
  6704. NdrStubInitialize(
  6705.                      _pRpcMessage,
  6706.                      &_StubMsg,
  6707.                      &Object_StubDesc,
  6708.                      _pRpcChannelBuffer);
  6709.     dw = 0;
  6710.     RpcTryFinally
  6711.         {
  6712.         if ( (_pRpcMessage->DataRepresentation & 0X0000FFFFUL) != NDR_LOCAL_DATA_REPRESENTATION )
  6713.             NdrConvert( (PMIDL_STUB_MESSAGE) &_StubMsg, (PFORMAT_STRING) &__MIDL_ProcFormatString.Format[256] );
  6714.         
  6715.         idx = *(( long __RPC_FAR * )_StubMsg.Buffer)++;
  6716.         
  6717.         dw = &_M39;
  6718.         
  6719.         *_pdwStubPhase = STUB_CALL_SERVER;
  6720.         _RetVal = (((IStlDWordArray *) ((CStdStubBuffer *)This)->pvServerObject)->lpVtbl) -> get_Remove(
  6721.               (IStlDWordArray *) ((CStdStubBuffer *)This)->pvServerObject,
  6722.               idx,
  6723.               dw);
  6724.         
  6725.         *_pdwStubPhase = STUB_MARSHAL;
  6726.         
  6727.         _StubMsg.BufferLength = 4U + 4U;
  6728.         NdrStubGetBuffer(This, _pRpcChannelBuffer, &_StubMsg);
  6729.         *(( DWORD __RPC_FAR * )_StubMsg.Buffer)++ = *dw;
  6730.         
  6731.         *(( HRESULT __RPC_FAR * )_StubMsg.Buffer)++ = _RetVal;
  6732.         
  6733.         }
  6734.     RpcFinally
  6735.         {
  6736.         }
  6737.     RpcEndFinally
  6738.     _pRpcMessage->BufferLength = 
  6739.         (unsigned int)((long)_StubMsg.Buffer - (long)_pRpcMessage->Buffer);
  6740.     
  6741. }
  6742.  
  6743.  
  6744. /* [id] */ HRESULT STDMETHODCALLTYPE IStlDWordArray_RemoveAll_Proxy( 
  6745.     IStlDWordArray __RPC_FAR * This)
  6746. {
  6747.  
  6748.     HRESULT _RetVal;
  6749.     
  6750.     RPC_MESSAGE _RpcMessage;
  6751.     
  6752.     MIDL_STUB_MESSAGE _StubMsg;
  6753.     
  6754.     RpcTryExcept
  6755.         {
  6756.         NdrProxyInitialize(
  6757.                       ( void __RPC_FAR *  )This,
  6758.                       ( PRPC_MESSAGE  )&_RpcMessage,
  6759.                       ( PMIDL_STUB_MESSAGE  )&_StubMsg,
  6760.                       ( PMIDL_STUB_DESC  )&Object_StubDesc,
  6761.                       7);
  6762.         
  6763.         
  6764.         
  6765.         RpcTryFinally
  6766.             {
  6767.             
  6768.             _StubMsg.BufferLength = 0U;
  6769.             NdrProxyGetBuffer(This, &_StubMsg);
  6770.             NdrProxySendReceive(This, &_StubMsg);
  6771.             
  6772.             if ( (_RpcMessage.DataRepresentation & 0X0000FFFFUL) != NDR_LOCAL_DATA_REPRESENTATION )
  6773.                 NdrConvert( (PMIDL_STUB_MESSAGE) &_StubMsg, (PFORMAT_STRING) &__MIDL_ProcFormatString.Format[34] );
  6774.             
  6775.             _RetVal = *(( HRESULT __RPC_FAR * )_StubMsg.Buffer)++;
  6776.             
  6777.             }
  6778.         RpcFinally
  6779.             {
  6780.             NdrProxyFreeBuffer(This, &_StubMsg);
  6781.             
  6782.             }
  6783.         RpcEndFinally
  6784.         
  6785.         }
  6786.     RpcExcept(_StubMsg.dwStubPhase != PROXY_SENDRECEIVE)
  6787.         {
  6788.         _RetVal = NdrProxyErrorHandler(RpcExceptionCode());
  6789.         }
  6790.     RpcEndExcept
  6791.     return _RetVal;
  6792. }
  6793.  
  6794. void __RPC_STUB IStlDWordArray_RemoveAll_Stub(
  6795.     IRpcStubBuffer *This,
  6796.     IRpcChannelBuffer *_pRpcChannelBuffer,
  6797.     PRPC_MESSAGE _pRpcMessage,
  6798.     DWORD *_pdwStubPhase)
  6799. {
  6800.     HRESULT _RetVal;
  6801.     MIDL_STUB_MESSAGE _StubMsg;
  6802.     
  6803. NdrStubInitialize(
  6804.                      _pRpcMessage,
  6805.                      &_StubMsg,
  6806.                      &Object_StubDesc,
  6807.                      _pRpcChannelBuffer);
  6808.     RpcTryFinally
  6809.         {
  6810.         
  6811.         *_pdwStubPhase = STUB_CALL_SERVER;
  6812.         _RetVal = (((IStlDWordArray *) ((CStdStubBuffer *)This)->pvServerObject)->lpVtbl) -> RemoveAll((IStlDWordArray *) ((CStdStubBuffer *)This)->pvServerObject);
  6813.         
  6814.         *_pdwStubPhase = STUB_MARSHAL;
  6815.         
  6816.         _StubMsg.BufferLength = 4U;
  6817.         NdrStubGetBuffer(This, _pRpcChannelBuffer, &_StubMsg);
  6818.         *(( HRESULT __RPC_FAR * )_StubMsg.Buffer)++ = _RetVal;
  6819.         
  6820.         }
  6821.     RpcFinally
  6822.         {
  6823.         }
  6824.     RpcEndFinally
  6825.     _pRpcMessage->BufferLength = 
  6826.         (unsigned int)((long)_StubMsg.Buffer - (long)_pRpcMessage->Buffer);
  6827.     
  6828. }
  6829.  
  6830.  
  6831. /* [id] */ HRESULT STDMETHODCALLTYPE IStlDWordArray_First_Proxy( 
  6832.     IStlDWordArray __RPC_FAR * This)
  6833. {
  6834.  
  6835.     HRESULT _RetVal;
  6836.     
  6837.     RPC_MESSAGE _RpcMessage;
  6838.     
  6839.     MIDL_STUB_MESSAGE _StubMsg;
  6840.     
  6841.     RpcTryExcept
  6842.         {
  6843.         NdrProxyInitialize(
  6844.                       ( void __RPC_FAR *  )This,
  6845.                       ( PRPC_MESSAGE  )&_RpcMessage,
  6846.                       ( PMIDL_STUB_MESSAGE  )&_StubMsg,
  6847.                       ( PMIDL_STUB_DESC  )&Object_StubDesc,
  6848.                       8);
  6849.         
  6850.         
  6851.         
  6852.         RpcTryFinally
  6853.             {
  6854.             
  6855.             _StubMsg.BufferLength = 0U;
  6856.             NdrProxyGetBuffer(This, &_StubMsg);
  6857.             NdrProxySendReceive(This, &_StubMsg);
  6858.             
  6859.             if ( (_RpcMessage.DataRepresentation & 0X0000FFFFUL) != NDR_LOCAL_DATA_REPRESENTATION )
  6860.                 NdrConvert( (PMIDL_STUB_MESSAGE) &_StubMsg, (PFORMAT_STRING) &__MIDL_ProcFormatString.Format[34] );
  6861.             
  6862.             _RetVal = *(( HRESULT __RPC_FAR * )_StubMsg.Buffer)++;
  6863.             
  6864.             }
  6865.         RpcFinally
  6866.             {
  6867.             NdrProxyFreeBuffer(This, &_StubMsg);
  6868.             
  6869.             }
  6870.         RpcEndFinally
  6871.         
  6872.         }
  6873.     RpcExcept(_StubMsg.dwStubPhase != PROXY_SENDRECEIVE)
  6874.         {
  6875.         _RetVal = NdrProxyErrorHandler(RpcExceptionCode());
  6876.         }
  6877.     RpcEndExcept
  6878.     return _RetVal;
  6879. }
  6880.  
  6881. void __RPC_STUB IStlDWordArray_First_Stub(
  6882.     IRpcStubBuffer *This,
  6883.     IRpcChannelBuffer *_pRpcChannelBuffer,
  6884.     PRPC_MESSAGE _pRpcMessage,
  6885.     DWORD *_pdwStubPhase)
  6886. {
  6887.     HRESULT _RetVal;
  6888.     MIDL_STUB_MESSAGE _StubMsg;
  6889.     
  6890. NdrStubInitialize(
  6891.                      _pRpcMessage,
  6892.                      &_StubMsg,
  6893.                      &Object_StubDesc,
  6894.                      _pRpcChannelBuffer);
  6895.     RpcTryFinally
  6896.         {
  6897.         
  6898.         *_pdwStubPhase = STUB_CALL_SERVER;
  6899.         _RetVal = (((IStlDWordArray *) ((CStdStubBuffer *)This)->pvServerObject)->lpVtbl) -> First((IStlDWordArray *) ((CStdStubBuffer *)This)->pvServerObject);
  6900.         
  6901.         *_pdwStubPhase = STUB_MARSHAL;
  6902.         
  6903.         _StubMsg.BufferLength = 4U;
  6904.         NdrStubGetBuffer(This, _pRpcChannelBuffer, &_StubMsg);
  6905.         *(( HRESULT __RPC_FAR * )_StubMsg.Buffer)++ = _RetVal;
  6906.         
  6907.         }
  6908.     RpcFinally
  6909.         {
  6910.         }
  6911.     RpcEndFinally
  6912.     _pRpcMessage->BufferLength = 
  6913.         (unsigned int)((long)_StubMsg.Buffer - (long)_pRpcMessage->Buffer);
  6914.     
  6915. }
  6916.  
  6917.  
  6918. /* [id] */ HRESULT STDMETHODCALLTYPE IStlDWordArray_Next_Proxy( 
  6919.     IStlDWordArray __RPC_FAR * This,
  6920.     /* [out] */ DWORD __RPC_FAR *pt,
  6921.     /* [retval][out] */ VARIANT_BOOL __RPC_FAR *b)
  6922. {
  6923.  
  6924.     HRESULT _RetVal;
  6925.     
  6926.     RPC_MESSAGE _RpcMessage;
  6927.     
  6928.     MIDL_STUB_MESSAGE _StubMsg;
  6929.     
  6930.     RpcTryExcept
  6931.         {
  6932.         NdrProxyInitialize(
  6933.                       ( void __RPC_FAR *  )This,
  6934.                       ( PRPC_MESSAGE  )&_RpcMessage,
  6935.                       ( PMIDL_STUB_MESSAGE  )&_StubMsg,
  6936.                       ( PMIDL_STUB_DESC  )&Object_StubDesc,
  6937.                       9);
  6938.         
  6939.         
  6940.         
  6941.         RpcTryFinally
  6942.             {
  6943.             
  6944.             _StubMsg.BufferLength = 0U;
  6945.             NdrProxyGetBuffer(This, &_StubMsg);
  6946.             NdrProxySendReceive(This, &_StubMsg);
  6947.             
  6948.             if ( (_RpcMessage.DataRepresentation & 0X0000FFFFUL) != NDR_LOCAL_DATA_REPRESENTATION )
  6949.                 NdrConvert( (PMIDL_STUB_MESSAGE) &_StubMsg, (PFORMAT_STRING) &__MIDL_ProcFormatString.Format[246] );
  6950.             
  6951.             *pt = *(( DWORD __RPC_FAR * )_StubMsg.Buffer)++;
  6952.             
  6953.             *b = *(( VARIANT_BOOL __RPC_FAR * )_StubMsg.Buffer)++;
  6954.             
  6955.             _StubMsg.Buffer += 2;
  6956.             _RetVal = *(( HRESULT __RPC_FAR * )_StubMsg.Buffer)++;
  6957.             
  6958.             }
  6959.         RpcFinally
  6960.             {
  6961.             NdrProxyFreeBuffer(This, &_StubMsg);
  6962.             
  6963.             }
  6964.         RpcEndFinally
  6965.         
  6966.         }
  6967.     RpcExcept(_StubMsg.dwStubPhase != PROXY_SENDRECEIVE)
  6968.         {
  6969.         NdrClearOutParameters(
  6970.                          ( PMIDL_STUB_MESSAGE  )&_StubMsg,
  6971.                          ( PFORMAT_STRING  )&__MIDL_TypeFormatString.Format[136],
  6972.                          ( void __RPC_FAR * )pt);
  6973.         NdrClearOutParameters(
  6974.                          ( PMIDL_STUB_MESSAGE  )&_StubMsg,
  6975.                          ( PFORMAT_STRING  )&__MIDL_TypeFormatString.Format[104],
  6976.                          ( void __RPC_FAR * )b);
  6977.         _RetVal = NdrProxyErrorHandler(RpcExceptionCode());
  6978.         }
  6979.     RpcEndExcept
  6980.     return _RetVal;
  6981. }
  6982.  
  6983. void __RPC_STUB IStlDWordArray_Next_Stub(
  6984.     IRpcStubBuffer *This,
  6985.     IRpcChannelBuffer *_pRpcChannelBuffer,
  6986.     PRPC_MESSAGE _pRpcMessage,
  6987.     DWORD *_pdwStubPhase)
  6988. {
  6989.     DWORD _M40;
  6990.     VARIANT_BOOL _M41;
  6991.     HRESULT _RetVal;
  6992.     MIDL_STUB_MESSAGE _StubMsg;
  6993.     VARIANT_BOOL __RPC_FAR *b;
  6994.     DWORD __RPC_FAR *pt;
  6995.     
  6996. NdrStubInitialize(
  6997.                      _pRpcMessage,
  6998.                      &_StubMsg,
  6999.                      &Object_StubDesc,
  7000.                      _pRpcChannelBuffer);
  7001.     pt = 0;
  7002.     b = 0;
  7003.     RpcTryFinally
  7004.         {
  7005.         pt = &_M40;
  7006.         b = &_M41;
  7007.         
  7008.         *_pdwStubPhase = STUB_CALL_SERVER;
  7009.         _RetVal = (((IStlDWordArray *) ((CStdStubBuffer *)This)->pvServerObject)->lpVtbl) -> Next(
  7010.         (IStlDWordArray *) ((CStdStubBuffer *)This)->pvServerObject,
  7011.         pt,
  7012.         b);
  7013.         
  7014.         *_pdwStubPhase = STUB_MARSHAL;
  7015.         
  7016.         _StubMsg.BufferLength = 4U + 2U + 6U;
  7017.         NdrStubGetBuffer(This, _pRpcChannelBuffer, &_StubMsg);
  7018.         *(( DWORD __RPC_FAR * )_StubMsg.Buffer)++ = *pt;
  7019.         
  7020.         *(( VARIANT_BOOL __RPC_FAR * )_StubMsg.Buffer)++ = *b;
  7021.         
  7022.         _StubMsg.Buffer += 2;
  7023.         *(( HRESULT __RPC_FAR * )_StubMsg.Buffer)++ = _RetVal;
  7024.         
  7025.         }
  7026.     RpcFinally
  7027.         {
  7028.         }
  7029.     RpcEndFinally
  7030.     _pRpcMessage->BufferLength = 
  7031.         (unsigned int)((long)_StubMsg.Buffer - (long)_pRpcMessage->Buffer);
  7032.     
  7033. }
  7034.  
  7035.  
  7036. /* [propget][id] */ HRESULT STDMETHODCALLTYPE IStlDWordArray_get_Count_Proxy( 
  7037.     IStlDWordArray __RPC_FAR * This,
  7038.     /* [retval][out] */ UINT __RPC_FAR *dw)
  7039. {
  7040.  
  7041.     HRESULT _RetVal;
  7042.     
  7043.     RPC_MESSAGE _RpcMessage;
  7044.     
  7045.     MIDL_STUB_MESSAGE _StubMsg;
  7046.     
  7047.     RpcTryExcept
  7048.         {
  7049.         NdrProxyInitialize(
  7050.                       ( void __RPC_FAR *  )This,
  7051.                       ( PRPC_MESSAGE  )&_RpcMessage,
  7052.                       ( PMIDL_STUB_MESSAGE  )&_StubMsg,
  7053.                       ( PMIDL_STUB_DESC  )&Object_StubDesc,
  7054.                       10);
  7055.         
  7056.         
  7057.         
  7058.         RpcTryFinally
  7059.             {
  7060.             
  7061.             _StubMsg.BufferLength = 0U;
  7062.             NdrProxyGetBuffer(This, &_StubMsg);
  7063.             NdrProxySendReceive(This, &_StubMsg);
  7064.             
  7065.             if ( (_RpcMessage.DataRepresentation & 0X0000FFFFUL) != NDR_LOCAL_DATA_REPRESENTATION )
  7066.                 NdrConvert( (PMIDL_STUB_MESSAGE) &_StubMsg, (PFORMAT_STRING) &__MIDL_ProcFormatString.Format[56] );
  7067.             
  7068.             *dw = *(( UINT __RPC_FAR * )_StubMsg.Buffer)++;
  7069.             
  7070.             _RetVal = *(( HRESULT __RPC_FAR * )_StubMsg.Buffer)++;
  7071.             
  7072.             }
  7073.         RpcFinally
  7074.             {
  7075.             NdrProxyFreeBuffer(This, &_StubMsg);
  7076.             
  7077.             }
  7078.         RpcEndFinally
  7079.         
  7080.         }
  7081.     RpcExcept(_StubMsg.dwStubPhase != PROXY_SENDRECEIVE)
  7082.         {
  7083.         NdrClearOutParameters(
  7084.                          ( PMIDL_STUB_MESSAGE  )&_StubMsg,
  7085.                          ( PFORMAT_STRING  )&__MIDL_TypeFormatString.Format[136],
  7086.                          ( void __RPC_FAR * )dw);
  7087.         _RetVal = NdrProxyErrorHandler(RpcExceptionCode());
  7088.         }
  7089.     RpcEndExcept
  7090.     return _RetVal;
  7091. }
  7092.  
  7093. void __RPC_STUB IStlDWordArray_get_Count_Stub(
  7094.     IRpcStubBuffer *This,
  7095.     IRpcChannelBuffer *_pRpcChannelBuffer,
  7096.     PRPC_MESSAGE _pRpcMessage,
  7097.     DWORD *_pdwStubPhase)
  7098. {
  7099.     UINT _M42;
  7100.     HRESULT _RetVal;
  7101.     MIDL_STUB_MESSAGE _StubMsg;
  7102.     UINT __RPC_FAR *dw;
  7103.     
  7104. NdrStubInitialize(
  7105.                      _pRpcMessage,
  7106.                      &_StubMsg,
  7107.                      &Object_StubDesc,
  7108.                      _pRpcChannelBuffer);
  7109.     dw = 0;
  7110.     RpcTryFinally
  7111.         {
  7112.         dw = &_M42;
  7113.         
  7114.         *_pdwStubPhase = STUB_CALL_SERVER;
  7115.         _RetVal = (((IStlDWordArray *) ((CStdStubBuffer *)This)->pvServerObject)->lpVtbl) -> get_Count((IStlDWordArray *) ((CStdStubBuffer *)This)->pvServerObject,dw);
  7116.         
  7117.         *_pdwStubPhase = STUB_MARSHAL;
  7118.         
  7119.         _StubMsg.BufferLength = 4U + 4U;
  7120.         NdrStubGetBuffer(This, _pRpcChannelBuffer, &_StubMsg);
  7121.         *(( UINT __RPC_FAR * )_StubMsg.Buffer)++ = *dw;
  7122.         
  7123.         *(( HRESULT __RPC_FAR * )_StubMsg.Buffer)++ = _RetVal;
  7124.         
  7125.         }
  7126.     RpcFinally
  7127.         {
  7128.         }
  7129.     RpcEndFinally
  7130.     _pRpcMessage->BufferLength = 
  7131.         (unsigned int)((long)_StubMsg.Buffer - (long)_pRpcMessage->Buffer);
  7132.     
  7133. }
  7134.  
  7135. const CINTERFACE_PROXY_VTABLE(11) _IStlDWordArrayProxyVtbl = 
  7136. {
  7137.     &IID_IStlDWordArray,
  7138.     IUnknown_QueryInterface_Proxy,
  7139.     IUnknown_AddRef_Proxy,
  7140.     IUnknown_Release_Proxy ,
  7141.     IStlDWordArray_get_Array_Proxy ,
  7142.     IStlDWordArray_put_Array_Proxy ,
  7143.     IStlDWordArray_put_Add_Proxy ,
  7144.     IStlDWordArray_get_Remove_Proxy ,
  7145.     IStlDWordArray_RemoveAll_Proxy ,
  7146.     IStlDWordArray_First_Proxy ,
  7147.     IStlDWordArray_Next_Proxy ,
  7148.     IStlDWordArray_get_Count_Proxy
  7149. };
  7150.  
  7151.  
  7152. static const PRPC_STUB_FUNCTION IStlDWordArray_table[] =
  7153. {
  7154.     IStlDWordArray_get_Array_Stub,
  7155.     IStlDWordArray_put_Array_Stub,
  7156.     IStlDWordArray_put_Add_Stub,
  7157.     IStlDWordArray_get_Remove_Stub,
  7158.     IStlDWordArray_RemoveAll_Stub,
  7159.     IStlDWordArray_First_Stub,
  7160.     IStlDWordArray_Next_Stub,
  7161.     IStlDWordArray_get_Count_Stub
  7162. };
  7163.  
  7164. const CInterfaceStubVtbl _IStlDWordArrayStubVtbl =
  7165. {
  7166.     &IID_IStlDWordArray,
  7167.     0,
  7168.     11,
  7169.     &IStlDWordArray_table[-3],
  7170.     CStdStubBuffer_METHODS
  7171. };
  7172.  
  7173.  
  7174. /* Object interface: IStlMyObjectArray, ver. 0.0,
  7175.    GUID={0x7CE086FB,0x3E78,0x11D0,{0xAE,0x6B,0x00,0xC0,0x4F,0xD7,0xD0,0x6E}} */
  7176.  
  7177.  
  7178. extern const MIDL_STUB_DESC Object_StubDesc;
  7179.  
  7180.  
  7181. #pragma code_seg(".orpc")
  7182.  
  7183. /* [propget][id] */ HRESULT STDMETHODCALLTYPE IStlMyObjectArray_get_Array_Proxy( 
  7184.     IStlMyObjectArray __RPC_FAR * This,
  7185.     /* [in] */ long idx,
  7186.     /* [retval][out] */ IMyStruct __RPC_FAR *__RPC_FAR *str)
  7187. {
  7188.  
  7189.     HRESULT _RetVal;
  7190.     
  7191.     RPC_MESSAGE _RpcMessage;
  7192.     
  7193.     MIDL_STUB_MESSAGE _StubMsg;
  7194.     
  7195.     *str = 0;
  7196.     RpcTryExcept
  7197.         {
  7198.         NdrProxyInitialize(
  7199.                       ( void __RPC_FAR *  )This,
  7200.                       ( PRPC_MESSAGE  )&_RpcMessage,
  7201.                       ( PMIDL_STUB_MESSAGE  )&_StubMsg,
  7202.                       ( PMIDL_STUB_DESC  )&Object_StubDesc,
  7203.                       3);
  7204.         
  7205.         
  7206.         
  7207.         RpcTryFinally
  7208.             {
  7209.             
  7210.             _StubMsg.BufferLength = 4U;
  7211.             NdrProxyGetBuffer(This, &_StubMsg);
  7212.             *(( long __RPC_FAR * )_StubMsg.Buffer)++ = idx;
  7213.             
  7214.             NdrProxySendReceive(This, &_StubMsg);
  7215.             
  7216.             if ( (_RpcMessage.DataRepresentation & 0X0000FFFFUL) != NDR_LOCAL_DATA_REPRESENTATION )
  7217.                 NdrConvert( (PMIDL_STUB_MESSAGE) &_StubMsg, (PFORMAT_STRING) &__MIDL_ProcFormatString.Format[62] );
  7218.             
  7219.             NdrPointerUnmarshall( (PMIDL_STUB_MESSAGE) &_StubMsg,
  7220.                                   (unsigned char __RPC_FAR * __RPC_FAR *)&str,
  7221.                                   (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[34],
  7222.                                   (unsigned char)0 );
  7223.             
  7224.             _StubMsg.Buffer = (unsigned char __RPC_FAR *)(((long)_StubMsg.Buffer + 3) & ~ 0x3);
  7225.             _RetVal = *(( HRESULT __RPC_FAR * )_StubMsg.Buffer)++;
  7226.             
  7227.             }
  7228.         RpcFinally
  7229.             {
  7230.             NdrProxyFreeBuffer(This, &_StubMsg);
  7231.             
  7232.             }
  7233.         RpcEndFinally
  7234.         
  7235.         }
  7236.     RpcExcept(_StubMsg.dwStubPhase != PROXY_SENDRECEIVE)
  7237.         {
  7238.         NdrClearOutParameters(
  7239.                          ( PMIDL_STUB_MESSAGE  )&_StubMsg,
  7240.                          ( PFORMAT_STRING  )&__MIDL_TypeFormatString.Format[34],
  7241.                          ( void __RPC_FAR * )str);
  7242.         _RetVal = NdrProxyErrorHandler(RpcExceptionCode());
  7243.         }
  7244.     RpcEndExcept
  7245.     return _RetVal;
  7246. }
  7247.  
  7248. void __RPC_STUB IStlMyObjectArray_get_Array_Stub(
  7249.     IRpcStubBuffer *This,
  7250.     IRpcChannelBuffer *_pRpcChannelBuffer,
  7251.     PRPC_MESSAGE _pRpcMessage,
  7252.     DWORD *_pdwStubPhase)
  7253. {
  7254.     IMyStruct __RPC_FAR *_M43;
  7255.     HRESULT _RetVal;
  7256.     MIDL_STUB_MESSAGE _StubMsg;
  7257.     long idx;
  7258.     IMyStruct __RPC_FAR *__RPC_FAR *str;
  7259.     
  7260. NdrStubInitialize(
  7261.                      _pRpcMessage,
  7262.                      &_StubMsg,
  7263.                      &Object_StubDesc,
  7264.                      _pRpcChannelBuffer);
  7265.     str = 0;
  7266.     RpcTryFinally
  7267.         {
  7268.         if ( (_pRpcMessage->DataRepresentation & 0X0000FFFFUL) != NDR_LOCAL_DATA_REPRESENTATION )
  7269.             NdrConvert( (PMIDL_STUB_MESSAGE) &_StubMsg, (PFORMAT_STRING) &__MIDL_ProcFormatString.Format[62] );
  7270.         
  7271.         idx = *(( long __RPC_FAR * )_StubMsg.Buffer)++;
  7272.         
  7273.         str = &_M43;
  7274.         _M43 = 0;
  7275.         
  7276.         *_pdwStubPhase = STUB_CALL_SERVER;
  7277.         _RetVal = (((IStlMyObjectArray *) ((CStdStubBuffer *)This)->pvServerObject)->lpVtbl) -> get_Array(
  7278.              (IStlMyObjectArray *) ((CStdStubBuffer *)This)->pvServerObject,
  7279.              idx,
  7280.              str);
  7281.         
  7282.         *_pdwStubPhase = STUB_MARSHAL;
  7283.         
  7284.         _StubMsg.BufferLength = 4U + 11U;
  7285.         NdrPointerBufferSize( (PMIDL_STUB_MESSAGE) &_StubMsg,
  7286.                               (unsigned char __RPC_FAR *)str,
  7287.                               (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[34] );
  7288.         
  7289.         _StubMsg.BufferLength += 16;
  7290.         
  7291.         NdrStubGetBuffer(This, _pRpcChannelBuffer, &_StubMsg);
  7292.         NdrPointerMarshall( (PMIDL_STUB_MESSAGE)& _StubMsg,
  7293.                             (unsigned char __RPC_FAR *)str,
  7294.                             (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[34] );
  7295.         
  7296.         _StubMsg.Buffer = (unsigned char __RPC_FAR *)(((long)_StubMsg.Buffer + 3) & ~ 0x3);
  7297.         *(( HRESULT __RPC_FAR * )_StubMsg.Buffer)++ = _RetVal;
  7298.         
  7299.         }
  7300.     RpcFinally
  7301.         {
  7302.         NdrPointerFree( &_StubMsg,
  7303.                         (unsigned char __RPC_FAR *)str,
  7304.                         &__MIDL_TypeFormatString.Format[34] );
  7305.         
  7306.         }
  7307.     RpcEndFinally
  7308.     _pRpcMessage->BufferLength = 
  7309.         (unsigned int)((long)_StubMsg.Buffer - (long)_pRpcMessage->Buffer);
  7310.     
  7311. }
  7312.  
  7313.  
  7314. /* [propput][id] */ HRESULT STDMETHODCALLTYPE IStlMyObjectArray_put_Array_Proxy( 
  7315.     IStlMyObjectArray __RPC_FAR * This,
  7316.     /* [in] */ long idx,
  7317.     /* [in] */ IMyStruct __RPC_FAR *str)
  7318. {
  7319.  
  7320.     HRESULT _RetVal;
  7321.     
  7322.     RPC_MESSAGE _RpcMessage;
  7323.     
  7324.     MIDL_STUB_MESSAGE _StubMsg;
  7325.     
  7326.     RpcTryExcept
  7327.         {
  7328.         NdrProxyInitialize(
  7329.                       ( void __RPC_FAR *  )This,
  7330.                       ( PRPC_MESSAGE  )&_RpcMessage,
  7331.                       ( PMIDL_STUB_MESSAGE  )&_StubMsg,
  7332.                       ( PMIDL_STUB_DESC  )&Object_StubDesc,
  7333.                       4);
  7334.         
  7335.         
  7336.         
  7337.         RpcTryFinally
  7338.             {
  7339.             
  7340.             _StubMsg.BufferLength = 4U + 0U;
  7341.             NdrComplexStructBufferSize( (PMIDL_STUB_MESSAGE) &_StubMsg,
  7342.                                         (unsigned char __RPC_FAR *)str,
  7343.                                         (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[56] );
  7344.             
  7345.             NdrProxyGetBuffer(This, &_StubMsg);
  7346.             *(( long __RPC_FAR * )_StubMsg.Buffer)++ = idx;
  7347.             
  7348.             NdrComplexStructMarshall( (PMIDL_STUB_MESSAGE)& _StubMsg,
  7349.                                       (unsigned char __RPC_FAR *)str,
  7350.                                       (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[56] );
  7351.             
  7352.             NdrProxySendReceive(This, &_StubMsg);
  7353.             
  7354.             if ( (_RpcMessage.DataRepresentation & 0X0000FFFFUL) != NDR_LOCAL_DATA_REPRESENTATION )
  7355.                 NdrConvert( (PMIDL_STUB_MESSAGE) &_StubMsg, (PFORMAT_STRING) &__MIDL_ProcFormatString.Format[70] );
  7356.             
  7357.             _RetVal = *(( HRESULT __RPC_FAR * )_StubMsg.Buffer)++;
  7358.             
  7359.             }
  7360.         RpcFinally
  7361.             {
  7362.             NdrProxyFreeBuffer(This, &_StubMsg);
  7363.             
  7364.             }
  7365.         RpcEndFinally
  7366.         
  7367.         }
  7368.     RpcExcept(_StubMsg.dwStubPhase != PROXY_SENDRECEIVE)
  7369.         {
  7370.         _RetVal = NdrProxyErrorHandler(RpcExceptionCode());
  7371.         }
  7372.     RpcEndExcept
  7373.     return _RetVal;
  7374. }
  7375.  
  7376. void __RPC_STUB IStlMyObjectArray_put_Array_Stub(
  7377.     IRpcStubBuffer *This,
  7378.     IRpcChannelBuffer *_pRpcChannelBuffer,
  7379.     PRPC_MESSAGE _pRpcMessage,
  7380.     DWORD *_pdwStubPhase)
  7381. {
  7382.     HRESULT _RetVal;
  7383.     MIDL_STUB_MESSAGE _StubMsg;
  7384.     long idx;
  7385.     IMyStruct __RPC_FAR *str;
  7386.     
  7387. NdrStubInitialize(
  7388.                      _pRpcMessage,
  7389.                      &_StubMsg,
  7390.                      &Object_StubDesc,
  7391.                      _pRpcChannelBuffer);
  7392.     str = 0;
  7393.     RpcTryFinally
  7394.         {
  7395.         if ( (_pRpcMessage->DataRepresentation & 0X0000FFFFUL) != NDR_LOCAL_DATA_REPRESENTATION )
  7396.             NdrConvert( (PMIDL_STUB_MESSAGE) &_StubMsg, (PFORMAT_STRING) &__MIDL_ProcFormatString.Format[70] );
  7397.         
  7398.         idx = *(( long __RPC_FAR * )_StubMsg.Buffer)++;
  7399.         
  7400.         NdrComplexStructUnmarshall( (PMIDL_STUB_MESSAGE) &_StubMsg,
  7401.                                     (unsigned char __RPC_FAR * __RPC_FAR *)&str,
  7402.                                     (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[56],
  7403.                                     (unsigned char)0 );
  7404.         
  7405.         
  7406.         *_pdwStubPhase = STUB_CALL_SERVER;
  7407.         _RetVal = (((IStlMyObjectArray *) ((CStdStubBuffer *)This)->pvServerObject)->lpVtbl) -> put_Array(
  7408.              (IStlMyObjectArray *) ((CStdStubBuffer *)This)->pvServerObject,
  7409.              idx,
  7410.              str);
  7411.         
  7412.         *_pdwStubPhase = STUB_MARSHAL;
  7413.         
  7414.         _StubMsg.BufferLength = 4U;
  7415.         NdrStubGetBuffer(This, _pRpcChannelBuffer, &_StubMsg);
  7416.         *(( HRESULT __RPC_FAR * )_StubMsg.Buffer)++ = _RetVal;
  7417.         
  7418.         }
  7419.     RpcFinally
  7420.         {
  7421.         NdrPointerFree( &_StubMsg,
  7422.                         (unsigned char __RPC_FAR *)str,
  7423.                         &__MIDL_TypeFormatString.Format[82] );
  7424.         
  7425.         }
  7426.     RpcEndFinally
  7427.     _pRpcMessage->BufferLength = 
  7428.         (unsigned int)((long)_StubMsg.Buffer - (long)_pRpcMessage->Buffer);
  7429.     
  7430. }
  7431.  
  7432.  
  7433. /* [propput][id] */ HRESULT STDMETHODCALLTYPE IStlMyObjectArray_put_Add_Proxy( 
  7434.     IStlMyObjectArray __RPC_FAR * This,
  7435.     /* [in] */ IMyStruct __RPC_FAR *str)
  7436. {
  7437.  
  7438.     HRESULT _RetVal;
  7439.     
  7440.     RPC_MESSAGE _RpcMessage;
  7441.     
  7442.     MIDL_STUB_MESSAGE _StubMsg;
  7443.     
  7444.     RpcTryExcept
  7445.         {
  7446.         NdrProxyInitialize(
  7447.                       ( void __RPC_FAR *  )This,
  7448.                       ( PRPC_MESSAGE  )&_RpcMessage,
  7449.                       ( PMIDL_STUB_MESSAGE  )&_StubMsg,
  7450.                       ( PMIDL_STUB_DESC  )&Object_StubDesc,
  7451.                       5);
  7452.         
  7453.         
  7454.         
  7455.         RpcTryFinally
  7456.             {
  7457.             
  7458.             _StubMsg.BufferLength = 0U;
  7459.             NdrComplexStructBufferSize( (PMIDL_STUB_MESSAGE) &_StubMsg,
  7460.                                         (unsigned char __RPC_FAR *)str,
  7461.                                         (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[56] );
  7462.             
  7463.             NdrProxyGetBuffer(This, &_StubMsg);
  7464.             NdrComplexStructMarshall( (PMIDL_STUB_MESSAGE)& _StubMsg,
  7465.                                       (unsigned char __RPC_FAR *)str,
  7466.                                       (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[56] );
  7467.             
  7468.             NdrProxySendReceive(This, &_StubMsg);
  7469.             
  7470.             if ( (_RpcMessage.DataRepresentation & 0X0000FFFFUL) != NDR_LOCAL_DATA_REPRESENTATION )
  7471.                 NdrConvert( (PMIDL_STUB_MESSAGE) &_StubMsg, (PFORMAT_STRING) &__MIDL_ProcFormatString.Format[212] );
  7472.             
  7473.             _RetVal = *(( HRESULT __RPC_FAR * )_StubMsg.Buffer)++;
  7474.             
  7475.             }
  7476.         RpcFinally
  7477.             {
  7478.             NdrProxyFreeBuffer(This, &_StubMsg);
  7479.             
  7480.             }
  7481.         RpcEndFinally
  7482.         
  7483.         }
  7484.     RpcExcept(_StubMsg.dwStubPhase != PROXY_SENDRECEIVE)
  7485.         {
  7486.         _RetVal = NdrProxyErrorHandler(RpcExceptionCode());
  7487.         }
  7488.     RpcEndExcept
  7489.     return _RetVal;
  7490. }
  7491.  
  7492. void __RPC_STUB IStlMyObjectArray_put_Add_Stub(
  7493.     IRpcStubBuffer *This,
  7494.     IRpcChannelBuffer *_pRpcChannelBuffer,
  7495.     PRPC_MESSAGE _pRpcMessage,
  7496.     DWORD *_pdwStubPhase)
  7497. {
  7498.     HRESULT _RetVal;
  7499.     MIDL_STUB_MESSAGE _StubMsg;
  7500.     IMyStruct __RPC_FAR *str;
  7501.     
  7502. NdrStubInitialize(
  7503.                      _pRpcMessage,
  7504.                      &_StubMsg,
  7505.                      &Object_StubDesc,
  7506.                      _pRpcChannelBuffer);
  7507.     str = 0;
  7508.     RpcTryFinally
  7509.         {
  7510.         if ( (_pRpcMessage->DataRepresentation & 0X0000FFFFUL) != NDR_LOCAL_DATA_REPRESENTATION )
  7511.             NdrConvert( (PMIDL_STUB_MESSAGE) &_StubMsg, (PFORMAT_STRING) &__MIDL_ProcFormatString.Format[212] );
  7512.         
  7513.         NdrComplexStructUnmarshall( (PMIDL_STUB_MESSAGE) &_StubMsg,
  7514.                                     (unsigned char __RPC_FAR * __RPC_FAR *)&str,
  7515.                                     (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[56],
  7516.                                     (unsigned char)0 );
  7517.         
  7518.         
  7519.         *_pdwStubPhase = STUB_CALL_SERVER;
  7520.         _RetVal = (((IStlMyObjectArray *) ((CStdStubBuffer *)This)->pvServerObject)->lpVtbl) -> put_Add((IStlMyObjectArray *) ((CStdStubBuffer *)This)->pvServerObject,str);
  7521.         
  7522.         *_pdwStubPhase = STUB_MARSHAL;
  7523.         
  7524.         _StubMsg.BufferLength = 4U;
  7525.         NdrStubGetBuffer(This, _pRpcChannelBuffer, &_StubMsg);
  7526.         *(( HRESULT __RPC_FAR * )_StubMsg.Buffer)++ = _RetVal;
  7527.         
  7528.         }
  7529.     RpcFinally
  7530.         {
  7531.         NdrPointerFree( &_StubMsg,
  7532.                         (unsigned char __RPC_FAR *)str,
  7533.                         &__MIDL_TypeFormatString.Format[82] );
  7534.         
  7535.         }
  7536.     RpcEndFinally
  7537.     _pRpcMessage->BufferLength = 
  7538.         (unsigned int)((long)_StubMsg.Buffer - (long)_pRpcMessage->Buffer);
  7539.     
  7540. }
  7541.  
  7542.  
  7543. /* [propget][id] */ HRESULT STDMETHODCALLTYPE IStlMyObjectArray_get_Remove_Proxy( 
  7544.     IStlMyObjectArray __RPC_FAR * This,
  7545.     /* [in] */ long idx,
  7546.     /* [retval][out] */ IMyStruct __RPC_FAR *__RPC_FAR *str)
  7547. {
  7548.  
  7549.     HRESULT _RetVal;
  7550.     
  7551.     RPC_MESSAGE _RpcMessage;
  7552.     
  7553.     MIDL_STUB_MESSAGE _StubMsg;
  7554.     
  7555.     *str = 0;
  7556.     RpcTryExcept
  7557.         {
  7558.         NdrProxyInitialize(
  7559.                       ( void __RPC_FAR *  )This,
  7560.                       ( PRPC_MESSAGE  )&_RpcMessage,
  7561.                       ( PMIDL_STUB_MESSAGE  )&_StubMsg,
  7562.                       ( PMIDL_STUB_DESC  )&Object_StubDesc,
  7563.                       6);
  7564.         
  7565.         
  7566.         
  7567.         RpcTryFinally
  7568.             {
  7569.             
  7570.             _StubMsg.BufferLength = 4U;
  7571.             NdrProxyGetBuffer(This, &_StubMsg);
  7572.             *(( long __RPC_FAR * )_StubMsg.Buffer)++ = idx;
  7573.             
  7574.             NdrProxySendReceive(This, &_StubMsg);
  7575.             
  7576.             if ( (_RpcMessage.DataRepresentation & 0X0000FFFFUL) != NDR_LOCAL_DATA_REPRESENTATION )
  7577.                 NdrConvert( (PMIDL_STUB_MESSAGE) &_StubMsg, (PFORMAT_STRING) &__MIDL_ProcFormatString.Format[62] );
  7578.             
  7579.             NdrPointerUnmarshall( (PMIDL_STUB_MESSAGE) &_StubMsg,
  7580.                                   (unsigned char __RPC_FAR * __RPC_FAR *)&str,
  7581.                                   (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[34],
  7582.                                   (unsigned char)0 );
  7583.             
  7584.             _StubMsg.Buffer = (unsigned char __RPC_FAR *)(((long)_StubMsg.Buffer + 3) & ~ 0x3);
  7585.             _RetVal = *(( HRESULT __RPC_FAR * )_StubMsg.Buffer)++;
  7586.             
  7587.             }
  7588.         RpcFinally
  7589.             {
  7590.             NdrProxyFreeBuffer(This, &_StubMsg);
  7591.             
  7592.             }
  7593.         RpcEndFinally
  7594.         
  7595.         }
  7596.     RpcExcept(_StubMsg.dwStubPhase != PROXY_SENDRECEIVE)
  7597.         {
  7598.         NdrClearOutParameters(
  7599.                          ( PMIDL_STUB_MESSAGE  )&_StubMsg,
  7600.                          ( PFORMAT_STRING  )&__MIDL_TypeFormatString.Format[34],
  7601.                          ( void __RPC_FAR * )str);
  7602.         _RetVal = NdrProxyErrorHandler(RpcExceptionCode());
  7603.         }
  7604.     RpcEndExcept
  7605.     return _RetVal;
  7606. }
  7607.  
  7608. void __RPC_STUB IStlMyObjectArray_get_Remove_Stub(
  7609.     IRpcStubBuffer *This,
  7610.     IRpcChannelBuffer *_pRpcChannelBuffer,
  7611.     PRPC_MESSAGE _pRpcMessage,
  7612.     DWORD *_pdwStubPhase)
  7613. {
  7614.     IMyStruct __RPC_FAR *_M44;
  7615.     HRESULT _RetVal;
  7616.     MIDL_STUB_MESSAGE _StubMsg;
  7617.     long idx;
  7618.     IMyStruct __RPC_FAR *__RPC_FAR *str;
  7619.     
  7620. NdrStubInitialize(
  7621.                      _pRpcMessage,
  7622.                      &_StubMsg,
  7623.                      &Object_StubDesc,
  7624.                      _pRpcChannelBuffer);
  7625.     str = 0;
  7626.     RpcTryFinally
  7627.         {
  7628.         if ( (_pRpcMessage->DataRepresentation & 0X0000FFFFUL) != NDR_LOCAL_DATA_REPRESENTATION )
  7629.             NdrConvert( (PMIDL_STUB_MESSAGE) &_StubMsg, (PFORMAT_STRING) &__MIDL_ProcFormatString.Format[62] );
  7630.         
  7631.         idx = *(( long __RPC_FAR * )_StubMsg.Buffer)++;
  7632.         
  7633.         str = &_M44;
  7634.         _M44 = 0;
  7635.         
  7636.         *_pdwStubPhase = STUB_CALL_SERVER;
  7637.         _RetVal = (((IStlMyObjectArray *) ((CStdStubBuffer *)This)->pvServerObject)->lpVtbl) -> get_Remove(
  7638.               (IStlMyObjectArray *) ((CStdStubBuffer *)This)->pvServerObject,
  7639.               idx,
  7640.               str);
  7641.         
  7642.         *_pdwStubPhase = STUB_MARSHAL;
  7643.         
  7644.         _StubMsg.BufferLength = 4U + 11U;
  7645.         NdrPointerBufferSize( (PMIDL_STUB_MESSAGE) &_StubMsg,
  7646.                               (unsigned char __RPC_FAR *)str,
  7647.                               (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[34] );
  7648.         
  7649.         _StubMsg.BufferLength += 16;
  7650.         
  7651.         NdrStubGetBuffer(This, _pRpcChannelBuffer, &_StubMsg);
  7652.         NdrPointerMarshall( (PMIDL_STUB_MESSAGE)& _StubMsg,
  7653.                             (unsigned char __RPC_FAR *)str,
  7654.                             (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[34] );
  7655.         
  7656.         _StubMsg.Buffer = (unsigned char __RPC_FAR *)(((long)_StubMsg.Buffer + 3) & ~ 0x3);
  7657.         *(( HRESULT __RPC_FAR * )_StubMsg.Buffer)++ = _RetVal;
  7658.         
  7659.         }
  7660.     RpcFinally
  7661.         {
  7662.         NdrPointerFree( &_StubMsg,
  7663.                         (unsigned char __RPC_FAR *)str,
  7664.                         &__MIDL_TypeFormatString.Format[34] );
  7665.         
  7666.         }
  7667.     RpcEndFinally
  7668.     _pRpcMessage->BufferLength = 
  7669.         (unsigned int)((long)_StubMsg.Buffer - (long)_pRpcMessage->Buffer);
  7670.     
  7671. }
  7672.  
  7673.  
  7674. /* [id] */ HRESULT STDMETHODCALLTYPE IStlMyObjectArray_RemoveAll_Proxy( 
  7675.     IStlMyObjectArray __RPC_FAR * This)
  7676. {
  7677.  
  7678.     HRESULT _RetVal;
  7679.     
  7680.     RPC_MESSAGE _RpcMessage;
  7681.     
  7682.     MIDL_STUB_MESSAGE _StubMsg;
  7683.     
  7684.     RpcTryExcept
  7685.         {
  7686.         NdrProxyInitialize(
  7687.                       ( void __RPC_FAR *  )This,
  7688.                       ( PRPC_MESSAGE  )&_RpcMessage,
  7689.                       ( PMIDL_STUB_MESSAGE  )&_StubMsg,
  7690.                       ( PMIDL_STUB_DESC  )&Object_StubDesc,
  7691.                       7);
  7692.         
  7693.         
  7694.         
  7695.         RpcTryFinally
  7696.             {
  7697.             
  7698.             _StubMsg.BufferLength = 0U;
  7699.             NdrProxyGetBuffer(This, &_StubMsg);
  7700.             NdrProxySendReceive(This, &_StubMsg);
  7701.             
  7702.             if ( (_RpcMessage.DataRepresentation & 0X0000FFFFUL) != NDR_LOCAL_DATA_REPRESENTATION )
  7703.                 NdrConvert( (PMIDL_STUB_MESSAGE) &_StubMsg, (PFORMAT_STRING) &__MIDL_ProcFormatString.Format[34] );
  7704.             
  7705.             _RetVal = *(( HRESULT __RPC_FAR * )_StubMsg.Buffer)++;
  7706.             
  7707.             }
  7708.         RpcFinally
  7709.             {
  7710.             NdrProxyFreeBuffer(This, &_StubMsg);
  7711.             
  7712.             }
  7713.         RpcEndFinally
  7714.         
  7715.         }
  7716.     RpcExcept(_StubMsg.dwStubPhase != PROXY_SENDRECEIVE)
  7717.         {
  7718.         _RetVal = NdrProxyErrorHandler(RpcExceptionCode());
  7719.         }
  7720.     RpcEndExcept
  7721.     return _RetVal;
  7722. }
  7723.  
  7724. void __RPC_STUB IStlMyObjectArray_RemoveAll_Stub(
  7725.     IRpcStubBuffer *This,
  7726.     IRpcChannelBuffer *_pRpcChannelBuffer,
  7727.     PRPC_MESSAGE _pRpcMessage,
  7728.     DWORD *_pdwStubPhase)
  7729. {
  7730.     HRESULT _RetVal;
  7731.     MIDL_STUB_MESSAGE _StubMsg;
  7732.     
  7733. NdrStubInitialize(
  7734.                      _pRpcMessage,
  7735.                      &_StubMsg,
  7736.                      &Object_StubDesc,
  7737.                      _pRpcChannelBuffer);
  7738.     RpcTryFinally
  7739.         {
  7740.         
  7741.         *_pdwStubPhase = STUB_CALL_SERVER;
  7742.         _RetVal = (((IStlMyObjectArray *) ((CStdStubBuffer *)This)->pvServerObject)->lpVtbl) -> RemoveAll((IStlMyObjectArray *) ((CStdStubBuffer *)This)->pvServerObject);
  7743.         
  7744.         *_pdwStubPhase = STUB_MARSHAL;
  7745.         
  7746.         _StubMsg.BufferLength = 4U;
  7747.         NdrStubGetBuffer(This, _pRpcChannelBuffer, &_StubMsg);
  7748.         *(( HRESULT __RPC_FAR * )_StubMsg.Buffer)++ = _RetVal;
  7749.         
  7750.         }
  7751.     RpcFinally
  7752.         {
  7753.         }
  7754.     RpcEndFinally
  7755.     _pRpcMessage->BufferLength = 
  7756.         (unsigned int)((long)_StubMsg.Buffer - (long)_pRpcMessage->Buffer);
  7757.     
  7758. }
  7759.  
  7760.  
  7761. /* [id] */ HRESULT STDMETHODCALLTYPE IStlMyObjectArray_First_Proxy( 
  7762.     IStlMyObjectArray __RPC_FAR * This)
  7763. {
  7764.  
  7765.     HRESULT _RetVal;
  7766.     
  7767.     RPC_MESSAGE _RpcMessage;
  7768.     
  7769.     MIDL_STUB_MESSAGE _StubMsg;
  7770.     
  7771.     RpcTryExcept
  7772.         {
  7773.         NdrProxyInitialize(
  7774.                       ( void __RPC_FAR *  )This,
  7775.                       ( PRPC_MESSAGE  )&_RpcMessage,
  7776.                       ( PMIDL_STUB_MESSAGE  )&_StubMsg,
  7777.                       ( PMIDL_STUB_DESC  )&Object_StubDesc,
  7778.                       8);
  7779.         
  7780.         
  7781.         
  7782.         RpcTryFinally
  7783.             {
  7784.             
  7785.             _StubMsg.BufferLength = 0U;
  7786.             NdrProxyGetBuffer(This, &_StubMsg);
  7787.             NdrProxySendReceive(This, &_StubMsg);
  7788.             
  7789.             if ( (_RpcMessage.DataRepresentation & 0X0000FFFFUL) != NDR_LOCAL_DATA_REPRESENTATION )
  7790.                 NdrConvert( (PMIDL_STUB_MESSAGE) &_StubMsg, (PFORMAT_STRING) &__MIDL_ProcFormatString.Format[34] );
  7791.             
  7792.             _RetVal = *(( HRESULT __RPC_FAR * )_StubMsg.Buffer)++;
  7793.             
  7794.             }
  7795.         RpcFinally
  7796.             {
  7797.             NdrProxyFreeBuffer(This, &_StubMsg);
  7798.             
  7799.             }
  7800.         RpcEndFinally
  7801.         
  7802.         }
  7803.     RpcExcept(_StubMsg.dwStubPhase != PROXY_SENDRECEIVE)
  7804.         {
  7805.         _RetVal = NdrProxyErrorHandler(RpcExceptionCode());
  7806.         }
  7807.     RpcEndExcept
  7808.     return _RetVal;
  7809. }
  7810.  
  7811. void __RPC_STUB IStlMyObjectArray_First_Stub(
  7812.     IRpcStubBuffer *This,
  7813.     IRpcChannelBuffer *_pRpcChannelBuffer,
  7814.     PRPC_MESSAGE _pRpcMessage,
  7815.     DWORD *_pdwStubPhase)
  7816. {
  7817.     HRESULT _RetVal;
  7818.     MIDL_STUB_MESSAGE _StubMsg;
  7819.     
  7820. NdrStubInitialize(
  7821.                      _pRpcMessage,
  7822.                      &_StubMsg,
  7823.                      &Object_StubDesc,
  7824.                      _pRpcChannelBuffer);
  7825.     RpcTryFinally
  7826.         {
  7827.         
  7828.         *_pdwStubPhase = STUB_CALL_SERVER;
  7829.         _RetVal = (((IStlMyObjectArray *) ((CStdStubBuffer *)This)->pvServerObject)->lpVtbl) -> First((IStlMyObjectArray *) ((CStdStubBuffer *)This)->pvServerObject);
  7830.         
  7831.         *_pdwStubPhase = STUB_MARSHAL;
  7832.         
  7833.         _StubMsg.BufferLength = 4U;
  7834.         NdrStubGetBuffer(This, _pRpcChannelBuffer, &_StubMsg);
  7835.         *(( HRESULT __RPC_FAR * )_StubMsg.Buffer)++ = _RetVal;
  7836.         
  7837.         }
  7838.     RpcFinally
  7839.         {
  7840.         }
  7841.     RpcEndFinally
  7842.     _pRpcMessage->BufferLength = 
  7843.         (unsigned int)((long)_StubMsg.Buffer - (long)_pRpcMessage->Buffer);
  7844.     
  7845. }
  7846.  
  7847.  
  7848. /* [id] */ HRESULT STDMETHODCALLTYPE IStlMyObjectArray_Next_Proxy( 
  7849.     IStlMyObjectArray __RPC_FAR * This,
  7850.     /* [out] */ IMyStruct __RPC_FAR *__RPC_FAR *pt,
  7851.     /* [retval][out] */ VARIANT_BOOL __RPC_FAR *b)
  7852. {
  7853.  
  7854.     HRESULT _RetVal;
  7855.     
  7856.     RPC_MESSAGE _RpcMessage;
  7857.     
  7858.     MIDL_STUB_MESSAGE _StubMsg;
  7859.     
  7860.     *pt = 0;
  7861.     RpcTryExcept
  7862.         {
  7863.         NdrProxyInitialize(
  7864.                       ( void __RPC_FAR *  )This,
  7865.                       ( PRPC_MESSAGE  )&_RpcMessage,
  7866.                       ( PMIDL_STUB_MESSAGE  )&_StubMsg,
  7867.                       ( PMIDL_STUB_DESC  )&Object_StubDesc,
  7868.                       9);
  7869.         
  7870.         
  7871.         
  7872.         RpcTryFinally
  7873.             {
  7874.             
  7875.             _StubMsg.BufferLength = 0U;
  7876.             NdrProxyGetBuffer(This, &_StubMsg);
  7877.             NdrProxySendReceive(This, &_StubMsg);
  7878.             
  7879.             if ( (_RpcMessage.DataRepresentation & 0X0000FFFFUL) != NDR_LOCAL_DATA_REPRESENTATION )
  7880.                 NdrConvert( (PMIDL_STUB_MESSAGE) &_StubMsg, (PFORMAT_STRING) &__MIDL_ProcFormatString.Format[224] );
  7881.             
  7882.             NdrPointerUnmarshall( (PMIDL_STUB_MESSAGE) &_StubMsg,
  7883.                                   (unsigned char __RPC_FAR * __RPC_FAR *)&pt,
  7884.                                   (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[34],
  7885.                                   (unsigned char)0 );
  7886.             
  7887.             _StubMsg.Buffer = (unsigned char __RPC_FAR *)(((long)_StubMsg.Buffer + 1) & ~ 0x1);
  7888.             *b = *(( VARIANT_BOOL __RPC_FAR * )_StubMsg.Buffer)++;
  7889.             
  7890.             _StubMsg.Buffer = (unsigned char __RPC_FAR *)(((long)_StubMsg.Buffer + 3) & ~ 0x3);
  7891.             _RetVal = *(( HRESULT __RPC_FAR * )_StubMsg.Buffer)++;
  7892.             
  7893.             }
  7894.         RpcFinally
  7895.             {
  7896.             NdrProxyFreeBuffer(This, &_StubMsg);
  7897.             
  7898.             }
  7899.         RpcEndFinally
  7900.         
  7901.         }
  7902.     RpcExcept(_StubMsg.dwStubPhase != PROXY_SENDRECEIVE)
  7903.         {
  7904.         NdrClearOutParameters(
  7905.                          ( PMIDL_STUB_MESSAGE  )&_StubMsg,
  7906.                          ( PFORMAT_STRING  )&__MIDL_TypeFormatString.Format[34],
  7907.                          ( void __RPC_FAR * )pt);
  7908.         NdrClearOutParameters(
  7909.                          ( PMIDL_STUB_MESSAGE  )&_StubMsg,
  7910.                          ( PFORMAT_STRING  )&__MIDL_TypeFormatString.Format[104],
  7911.                          ( void __RPC_FAR * )b);
  7912.         _RetVal = NdrProxyErrorHandler(RpcExceptionCode());
  7913.         }
  7914.     RpcEndExcept
  7915.     return _RetVal;
  7916. }
  7917.  
  7918. void __RPC_STUB IStlMyObjectArray_Next_Stub(
  7919.     IRpcStubBuffer *This,
  7920.     IRpcChannelBuffer *_pRpcChannelBuffer,
  7921.     PRPC_MESSAGE _pRpcMessage,
  7922.     DWORD *_pdwStubPhase)
  7923. {
  7924.     IMyStruct __RPC_FAR *_M45;
  7925.     VARIANT_BOOL _M46;
  7926.     HRESULT _RetVal;
  7927.     MIDL_STUB_MESSAGE _StubMsg;
  7928.     VARIANT_BOOL __RPC_FAR *b;
  7929.     IMyStruct __RPC_FAR *__RPC_FAR *pt;
  7930.     
  7931. NdrStubInitialize(
  7932.                      _pRpcMessage,
  7933.                      &_StubMsg,
  7934.                      &Object_StubDesc,
  7935.                      _pRpcChannelBuffer);
  7936.     pt = 0;
  7937.     b = 0;
  7938.     RpcTryFinally
  7939.         {
  7940.         pt = &_M45;
  7941.         _M45 = 0;
  7942.         b = &_M46;
  7943.         
  7944.         *_pdwStubPhase = STUB_CALL_SERVER;
  7945.         _RetVal = (((IStlMyObjectArray *) ((CStdStubBuffer *)This)->pvServerObject)->lpVtbl) -> Next(
  7946.         (IStlMyObjectArray *) ((CStdStubBuffer *)This)->pvServerObject,
  7947.         pt,
  7948.         b);
  7949.         
  7950.         *_pdwStubPhase = STUB_MARSHAL;
  7951.         
  7952.         _StubMsg.BufferLength = 4U + 5U + 10U;
  7953.         NdrPointerBufferSize( (PMIDL_STUB_MESSAGE) &_StubMsg,
  7954.                               (unsigned char __RPC_FAR *)pt,
  7955.                               (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[34] );
  7956.         
  7957.         _StubMsg.BufferLength += 16;
  7958.         
  7959.         NdrStubGetBuffer(This, _pRpcChannelBuffer, &_StubMsg);
  7960.         NdrPointerMarshall( (PMIDL_STUB_MESSAGE)& _StubMsg,
  7961.                             (unsigned char __RPC_FAR *)pt,
  7962.                             (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[34] );
  7963.         
  7964.         _StubMsg.Buffer = (unsigned char __RPC_FAR *)(((long)_StubMsg.Buffer + 1) & ~ 0x1);
  7965.         *(( VARIANT_BOOL __RPC_FAR * )_StubMsg.Buffer)++ = *b;
  7966.         
  7967.         _StubMsg.Buffer = (unsigned char __RPC_FAR *)(((long)_StubMsg.Buffer + 3) & ~ 0x3);
  7968.         *(( HRESULT __RPC_FAR * )_StubMsg.Buffer)++ = _RetVal;
  7969.         
  7970.         }
  7971.     RpcFinally
  7972.         {
  7973.         NdrPointerFree( &_StubMsg,
  7974.                         (unsigned char __RPC_FAR *)pt,
  7975.                         &__MIDL_TypeFormatString.Format[34] );
  7976.         
  7977.         }
  7978.     RpcEndFinally
  7979.     _pRpcMessage->BufferLength = 
  7980.         (unsigned int)((long)_StubMsg.Buffer - (long)_pRpcMessage->Buffer);
  7981.     
  7982. }
  7983.  
  7984.  
  7985. /* [propget][id] */ HRESULT STDMETHODCALLTYPE IStlMyObjectArray_get_Count_Proxy( 
  7986.     IStlMyObjectArray __RPC_FAR * This,
  7987.     /* [retval][out] */ UINT __RPC_FAR *dw)
  7988. {
  7989.  
  7990.     HRESULT _RetVal;
  7991.     
  7992.     RPC_MESSAGE _RpcMessage;
  7993.     
  7994.     MIDL_STUB_MESSAGE _StubMsg;
  7995.     
  7996.     RpcTryExcept
  7997.         {
  7998.         NdrProxyInitialize(
  7999.                       ( void __RPC_FAR *  )This,
  8000.                       ( PRPC_MESSAGE  )&_RpcMessage,
  8001.                       ( PMIDL_STUB_MESSAGE  )&_StubMsg,
  8002.                       ( PMIDL_STUB_DESC  )&Object_StubDesc,
  8003.                       10);
  8004.         
  8005.         
  8006.         
  8007.         RpcTryFinally
  8008.             {
  8009.             
  8010.             _StubMsg.BufferLength = 0U;
  8011.             NdrProxyGetBuffer(This, &_StubMsg);
  8012.             NdrProxySendReceive(This, &_StubMsg);
  8013.             
  8014.             if ( (_RpcMessage.DataRepresentation & 0X0000FFFFUL) != NDR_LOCAL_DATA_REPRESENTATION )
  8015.                 NdrConvert( (PMIDL_STUB_MESSAGE) &_StubMsg, (PFORMAT_STRING) &__MIDL_ProcFormatString.Format[56] );
  8016.             
  8017.             *dw = *(( UINT __RPC_FAR * )_StubMsg.Buffer)++;
  8018.             
  8019.             _RetVal = *(( HRESULT __RPC_FAR * )_StubMsg.Buffer)++;
  8020.             
  8021.             }
  8022.         RpcFinally
  8023.             {
  8024.             NdrProxyFreeBuffer(This, &_StubMsg);
  8025.             
  8026.             }
  8027.         RpcEndFinally
  8028.         
  8029.         }
  8030.     RpcExcept(_StubMsg.dwStubPhase != PROXY_SENDRECEIVE)
  8031.         {
  8032.         NdrClearOutParameters(
  8033.                          ( PMIDL_STUB_MESSAGE  )&_StubMsg,
  8034.                          ( PFORMAT_STRING  )&__MIDL_TypeFormatString.Format[136],
  8035.                          ( void __RPC_FAR * )dw);
  8036.         _RetVal = NdrProxyErrorHandler(RpcExceptionCode());
  8037.         }
  8038.     RpcEndExcept
  8039.     return _RetVal;
  8040. }
  8041.  
  8042. void __RPC_STUB IStlMyObjectArray_get_Count_Stub(
  8043.     IRpcStubBuffer *This,
  8044.     IRpcChannelBuffer *_pRpcChannelBuffer,
  8045.     PRPC_MESSAGE _pRpcMessage,
  8046.     DWORD *_pdwStubPhase)
  8047. {
  8048.     UINT _M47;
  8049.     HRESULT _RetVal;
  8050.     MIDL_STUB_MESSAGE _StubMsg;
  8051.     UINT __RPC_FAR *dw;
  8052.     
  8053. NdrStubInitialize(
  8054.                      _pRpcMessage,
  8055.                      &_StubMsg,
  8056.                      &Object_StubDesc,
  8057.                      _pRpcChannelBuffer);
  8058.     dw = 0;
  8059.     RpcTryFinally
  8060.         {
  8061.         dw = &_M47;
  8062.         
  8063.         *_pdwStubPhase = STUB_CALL_SERVER;
  8064.         _RetVal = (((IStlMyObjectArray *) ((CStdStubBuffer *)This)->pvServerObject)->lpVtbl) -> get_Count((IStlMyObjectArray *) ((CStdStubBuffer *)This)->pvServerObject,dw);
  8065.         
  8066.         *_pdwStubPhase = STUB_MARSHAL;
  8067.         
  8068.         _StubMsg.BufferLength = 4U + 4U;
  8069.         NdrStubGetBuffer(This, _pRpcChannelBuffer, &_StubMsg);
  8070.         *(( UINT __RPC_FAR * )_StubMsg.Buffer)++ = *dw;
  8071.         
  8072.         *(( HRESULT __RPC_FAR * )_StubMsg.Buffer)++ = _RetVal;
  8073.         
  8074.         }
  8075.     RpcFinally
  8076.         {
  8077.         }
  8078.     RpcEndFinally
  8079.     _pRpcMessage->BufferLength = 
  8080.         (unsigned int)((long)_StubMsg.Buffer - (long)_pRpcMessage->Buffer);
  8081.     
  8082. }
  8083.  
  8084. const CINTERFACE_PROXY_VTABLE(11) _IStlMyObjectArrayProxyVtbl = 
  8085. {
  8086.     &IID_IStlMyObjectArray,
  8087.     IUnknown_QueryInterface_Proxy,
  8088.     IUnknown_AddRef_Proxy,
  8089.     IUnknown_Release_Proxy ,
  8090.     IStlMyObjectArray_get_Array_Proxy ,
  8091.     IStlMyObjectArray_put_Array_Proxy ,
  8092.     IStlMyObjectArray_put_Add_Proxy ,
  8093.     IStlMyObjectArray_get_Remove_Proxy ,
  8094.     IStlMyObjectArray_RemoveAll_Proxy ,
  8095.     IStlMyObjectArray_First_Proxy ,
  8096.     IStlMyObjectArray_Next_Proxy ,
  8097.     IStlMyObjectArray_get_Count_Proxy
  8098. };
  8099.  
  8100.  
  8101. static const PRPC_STUB_FUNCTION IStlMyObjectArray_table[] =
  8102. {
  8103.     IStlMyObjectArray_get_Array_Stub,
  8104.     IStlMyObjectArray_put_Array_Stub,
  8105.     IStlMyObjectArray_put_Add_Stub,
  8106.     IStlMyObjectArray_get_Remove_Stub,
  8107.     IStlMyObjectArray_RemoveAll_Stub,
  8108.     IStlMyObjectArray_First_Stub,
  8109.     IStlMyObjectArray_Next_Stub,
  8110.     IStlMyObjectArray_get_Count_Stub
  8111. };
  8112.  
  8113. const CInterfaceStubVtbl _IStlMyObjectArrayStubVtbl =
  8114. {
  8115.     &IID_IStlMyObjectArray,
  8116.     0,
  8117.     11,
  8118.     &IStlMyObjectArray_table[-3],
  8119.     CStdStubBuffer_METHODS
  8120. };
  8121.  
  8122.  
  8123. /* Object interface: IStlPointArray, ver. 0.0,
  8124.    GUID={0x7CE08700,0x3E78,0x11D0,{0xAE,0x6B,0x00,0xC0,0x4F,0xD7,0xD0,0x6E}} */
  8125.  
  8126.  
  8127. extern const MIDL_STUB_DESC Object_StubDesc;
  8128.  
  8129.  
  8130. #pragma code_seg(".orpc")
  8131.  
  8132. /* [propget][id] */ HRESULT STDMETHODCALLTYPE IStlPointArray_get_Array_Proxy( 
  8133.     IStlPointArray __RPC_FAR * This,
  8134.     /* [in] */ long idx,
  8135.     /* [retval][out] */ POINT __RPC_FAR *pt)
  8136. {
  8137.  
  8138.     HRESULT _RetVal;
  8139.     
  8140.     RPC_MESSAGE _RpcMessage;
  8141.     
  8142.     MIDL_STUB_MESSAGE _StubMsg;
  8143.     
  8144.     MIDL_memset(
  8145.                pt,
  8146.                0,
  8147.                sizeof( POINT  ));
  8148.     RpcTryExcept
  8149.         {
  8150.         NdrProxyInitialize(
  8151.                       ( void __RPC_FAR *  )This,
  8152.                       ( PRPC_MESSAGE  )&_RpcMessage,
  8153.                       ( PMIDL_STUB_MESSAGE  )&_StubMsg,
  8154.                       ( PMIDL_STUB_DESC  )&Object_StubDesc,
  8155.                       3);
  8156.         
  8157.         
  8158.         
  8159.         RpcTryFinally
  8160.             {
  8161.             
  8162.             _StubMsg.BufferLength = 4U;
  8163.             NdrProxyGetBuffer(This, &_StubMsg);
  8164.             *(( long __RPC_FAR * )_StubMsg.Buffer)++ = idx;
  8165.             
  8166.             NdrProxySendReceive(This, &_StubMsg);
  8167.             
  8168.             if ( (_RpcMessage.DataRepresentation & 0X0000FFFFUL) != NDR_LOCAL_DATA_REPRESENTATION )
  8169.                 NdrConvert( (PMIDL_STUB_MESSAGE) &_StubMsg, (PFORMAT_STRING) &__MIDL_ProcFormatString.Format[270] );
  8170.             
  8171.             NdrSimpleStructUnmarshall( (PMIDL_STUB_MESSAGE) &_StubMsg,
  8172.                                        (unsigned char __RPC_FAR * __RPC_FAR *)&pt,
  8173.                                        (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[322],
  8174.                                        (unsigned char)0 );
  8175.             
  8176.             _RetVal = *(( HRESULT __RPC_FAR * )_StubMsg.Buffer)++;
  8177.             
  8178.             }
  8179.         RpcFinally
  8180.             {
  8181.             NdrProxyFreeBuffer(This, &_StubMsg);
  8182.             
  8183.             }
  8184.         RpcEndFinally
  8185.         
  8186.         }
  8187.     RpcExcept(_StubMsg.dwStubPhase != PROXY_SENDRECEIVE)
  8188.         {
  8189.         NdrClearOutParameters(
  8190.                          ( PMIDL_STUB_MESSAGE  )&_StubMsg,
  8191.                          ( PFORMAT_STRING  )&__MIDL_TypeFormatString.Format[318],
  8192.                          ( void __RPC_FAR * )pt);
  8193.         _RetVal = NdrProxyErrorHandler(RpcExceptionCode());
  8194.         }
  8195.     RpcEndExcept
  8196.     return _RetVal;
  8197. }
  8198.  
  8199. void __RPC_STUB IStlPointArray_get_Array_Stub(
  8200.     IRpcStubBuffer *This,
  8201.     IRpcChannelBuffer *_pRpcChannelBuffer,
  8202.     PRPC_MESSAGE _pRpcMessage,
  8203.     DWORD *_pdwStubPhase)
  8204. {
  8205.     HRESULT _RetVal;
  8206.     MIDL_STUB_MESSAGE _StubMsg;
  8207.     POINT _ptM;
  8208.     long idx;
  8209.     POINT __RPC_FAR *pt;
  8210.     
  8211. NdrStubInitialize(
  8212.                      _pRpcMessage,
  8213.                      &_StubMsg,
  8214.                      &Object_StubDesc,
  8215.                      _pRpcChannelBuffer);
  8216.     pt = 0;
  8217.     RpcTryFinally
  8218.         {
  8219.         if ( (_pRpcMessage->DataRepresentation & 0X0000FFFFUL) != NDR_LOCAL_DATA_REPRESENTATION )
  8220.             NdrConvert( (PMIDL_STUB_MESSAGE) &_StubMsg, (PFORMAT_STRING) &__MIDL_ProcFormatString.Format[270] );
  8221.         
  8222.         idx = *(( long __RPC_FAR * )_StubMsg.Buffer)++;
  8223.         
  8224.         pt = &_ptM;
  8225.         
  8226.         *_pdwStubPhase = STUB_CALL_SERVER;
  8227.         _RetVal = (((IStlPointArray *) ((CStdStubBuffer *)This)->pvServerObject)->lpVtbl) -> get_Array(
  8228.              (IStlPointArray *) ((CStdStubBuffer *)This)->pvServerObject,
  8229.              idx,
  8230.              pt);
  8231.         
  8232.         *_pdwStubPhase = STUB_MARSHAL;
  8233.         
  8234.         _StubMsg.BufferLength = 0U + 11U;
  8235.         NdrSimpleStructBufferSize( (PMIDL_STUB_MESSAGE) &_StubMsg,
  8236.                                    (unsigned char __RPC_FAR *)pt,
  8237.                                    (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[322] );
  8238.         
  8239.         _StubMsg.BufferLength += 16;
  8240.         
  8241.         NdrStubGetBuffer(This, _pRpcChannelBuffer, &_StubMsg);
  8242.         NdrSimpleStructMarshall( (PMIDL_STUB_MESSAGE)& _StubMsg,
  8243.                                  (unsigned char __RPC_FAR *)pt,
  8244.                                  (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[322] );
  8245.         
  8246.         *(( HRESULT __RPC_FAR * )_StubMsg.Buffer)++ = _RetVal;
  8247.         
  8248.         }
  8249.     RpcFinally
  8250.         {
  8251.         }
  8252.     RpcEndFinally
  8253.     _pRpcMessage->BufferLength = 
  8254.         (unsigned int)((long)_StubMsg.Buffer - (long)_pRpcMessage->Buffer);
  8255.     
  8256. }
  8257.  
  8258.  
  8259. /* [propput][id] */ HRESULT STDMETHODCALLTYPE IStlPointArray_put_Array_Proxy( 
  8260.     IStlPointArray __RPC_FAR * This,
  8261.     /* [in] */ long idx,
  8262.     /* [in] */ POINT pt)
  8263. {
  8264.  
  8265.     HRESULT _RetVal;
  8266.     
  8267.     RPC_MESSAGE _RpcMessage;
  8268.     
  8269.     MIDL_STUB_MESSAGE _StubMsg;
  8270.     
  8271.     RpcTryExcept
  8272.         {
  8273.         NdrProxyInitialize(
  8274.                       ( void __RPC_FAR *  )This,
  8275.                       ( PRPC_MESSAGE  )&_RpcMessage,
  8276.                       ( PMIDL_STUB_MESSAGE  )&_StubMsg,
  8277.                       ( PMIDL_STUB_DESC  )&Object_StubDesc,
  8278.                       4);
  8279.         
  8280.         
  8281.         
  8282.         RpcTryFinally
  8283.             {
  8284.             
  8285.             _StubMsg.BufferLength = 4U + 0U;
  8286.             NdrSimpleStructBufferSize( (PMIDL_STUB_MESSAGE) &_StubMsg,
  8287.                                        (unsigned char __RPC_FAR *)&pt,
  8288.                                        (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[322] );
  8289.             
  8290.             NdrProxyGetBuffer(This, &_StubMsg);
  8291.             *(( long __RPC_FAR * )_StubMsg.Buffer)++ = idx;
  8292.             
  8293.             NdrSimpleStructMarshall( (PMIDL_STUB_MESSAGE)& _StubMsg,
  8294.                                      (unsigned char __RPC_FAR *)&pt,
  8295.                                      (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[322] );
  8296.             
  8297.             NdrProxySendReceive(This, &_StubMsg);
  8298.             
  8299.             if ( (_RpcMessage.DataRepresentation & 0X0000FFFFUL) != NDR_LOCAL_DATA_REPRESENTATION )
  8300.                 NdrConvert( (PMIDL_STUB_MESSAGE) &_StubMsg, (PFORMAT_STRING) &__MIDL_ProcFormatString.Format[278] );
  8301.             
  8302.             _RetVal = *(( HRESULT __RPC_FAR * )_StubMsg.Buffer)++;
  8303.             
  8304.             }
  8305.         RpcFinally
  8306.             {
  8307.             NdrProxyFreeBuffer(This, &_StubMsg);
  8308.             
  8309.             }
  8310.         RpcEndFinally
  8311.         
  8312.         }
  8313.     RpcExcept(_StubMsg.dwStubPhase != PROXY_SENDRECEIVE)
  8314.         {
  8315.         _RetVal = NdrProxyErrorHandler(RpcExceptionCode());
  8316.         }
  8317.     RpcEndExcept
  8318.     return _RetVal;
  8319. }
  8320.  
  8321. void __RPC_STUB IStlPointArray_put_Array_Stub(
  8322.     IRpcStubBuffer *This,
  8323.     IRpcChannelBuffer *_pRpcChannelBuffer,
  8324.     PRPC_MESSAGE _pRpcMessage,
  8325.     DWORD *_pdwStubPhase)
  8326. {
  8327.     HRESULT _RetVal;
  8328.     MIDL_STUB_MESSAGE _StubMsg;
  8329.     void __RPC_FAR *_p_pt;
  8330.     long idx;
  8331.     POINT pt;
  8332.     
  8333. NdrStubInitialize(
  8334.                      _pRpcMessage,
  8335.                      &_StubMsg,
  8336.                      &Object_StubDesc,
  8337.                      _pRpcChannelBuffer);
  8338.     _p_pt = &pt;
  8339.     MIDL_memset(
  8340.                _p_pt,
  8341.                0,
  8342.                sizeof( POINT  ));
  8343.     RpcTryFinally
  8344.         {
  8345.         if ( (_pRpcMessage->DataRepresentation & 0X0000FFFFUL) != NDR_LOCAL_DATA_REPRESENTATION )
  8346.             NdrConvert( (PMIDL_STUB_MESSAGE) &_StubMsg, (PFORMAT_STRING) &__MIDL_ProcFormatString.Format[278] );
  8347.         
  8348.         idx = *(( long __RPC_FAR * )_StubMsg.Buffer)++;
  8349.         
  8350.         NdrSimpleStructUnmarshall( (PMIDL_STUB_MESSAGE) &_StubMsg,
  8351.                                    (unsigned char __RPC_FAR * __RPC_FAR *)&_p_pt,
  8352.                                    (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[322],
  8353.                                    (unsigned char)0 );
  8354.         
  8355.         
  8356.         *_pdwStubPhase = STUB_CALL_SERVER;
  8357.         _RetVal = (((IStlPointArray *) ((CStdStubBuffer *)This)->pvServerObject)->lpVtbl) -> put_Array(
  8358.              (IStlPointArray *) ((CStdStubBuffer *)This)->pvServerObject,
  8359.              idx,
  8360.              pt);
  8361.         
  8362.         *_pdwStubPhase = STUB_MARSHAL;
  8363.         
  8364.         _StubMsg.BufferLength = 4U;
  8365.         NdrStubGetBuffer(This, _pRpcChannelBuffer, &_StubMsg);
  8366.         *(( HRESULT __RPC_FAR * )_StubMsg.Buffer)++ = _RetVal;
  8367.         
  8368.         }
  8369.     RpcFinally
  8370.         {
  8371.         }
  8372.     RpcEndFinally
  8373.     _pRpcMessage->BufferLength = 
  8374.         (unsigned int)((long)_StubMsg.Buffer - (long)_pRpcMessage->Buffer);
  8375.     
  8376. }
  8377.  
  8378.  
  8379. /* [propput][id] */ HRESULT STDMETHODCALLTYPE IStlPointArray_put_Add_Proxy( 
  8380.     IStlPointArray __RPC_FAR * This,
  8381.     /* [in] */ POINT pt)
  8382. {
  8383.  
  8384.     HRESULT _RetVal;
  8385.     
  8386.     RPC_MESSAGE _RpcMessage;
  8387.     
  8388.     MIDL_STUB_MESSAGE _StubMsg;
  8389.     
  8390.     RpcTryExcept
  8391.         {
  8392.         NdrProxyInitialize(
  8393.                       ( void __RPC_FAR *  )This,
  8394.                       ( PRPC_MESSAGE  )&_RpcMessage,
  8395.                       ( PMIDL_STUB_MESSAGE  )&_StubMsg,
  8396.                       ( PMIDL_STUB_DESC  )&Object_StubDesc,
  8397.                       5);
  8398.         
  8399.         
  8400.         
  8401.         RpcTryFinally
  8402.             {
  8403.             
  8404.             _StubMsg.BufferLength = 0U;
  8405.             NdrSimpleStructBufferSize( (PMIDL_STUB_MESSAGE) &_StubMsg,
  8406.                                        (unsigned char __RPC_FAR *)&pt,
  8407.                                        (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[322] );
  8408.             
  8409.             NdrProxyGetBuffer(This, &_StubMsg);
  8410.             NdrSimpleStructMarshall( (PMIDL_STUB_MESSAGE)& _StubMsg,
  8411.                                      (unsigned char __RPC_FAR *)&pt,
  8412.                                      (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[322] );
  8413.             
  8414.             NdrProxySendReceive(This, &_StubMsg);
  8415.             
  8416.             if ( (_RpcMessage.DataRepresentation & 0X0000FFFFUL) != NDR_LOCAL_DATA_REPRESENTATION )
  8417.                 NdrConvert( (PMIDL_STUB_MESSAGE) &_StubMsg, (PFORMAT_STRING) &__MIDL_ProcFormatString.Format[286] );
  8418.             
  8419.             _RetVal = *(( HRESULT __RPC_FAR * )_StubMsg.Buffer)++;
  8420.             
  8421.             }
  8422.         RpcFinally
  8423.             {
  8424.             NdrProxyFreeBuffer(This, &_StubMsg);
  8425.             
  8426.             }
  8427.         RpcEndFinally
  8428.         
  8429.         }
  8430.     RpcExcept(_StubMsg.dwStubPhase != PROXY_SENDRECEIVE)
  8431.         {
  8432.         _RetVal = NdrProxyErrorHandler(RpcExceptionCode());
  8433.         }
  8434.     RpcEndExcept
  8435.     return _RetVal;
  8436. }
  8437.  
  8438. void __RPC_STUB IStlPointArray_put_Add_Stub(
  8439.     IRpcStubBuffer *This,
  8440.     IRpcChannelBuffer *_pRpcChannelBuffer,
  8441.     PRPC_MESSAGE _pRpcMessage,
  8442.     DWORD *_pdwStubPhase)
  8443. {
  8444.     HRESULT _RetVal;
  8445.     MIDL_STUB_MESSAGE _StubMsg;
  8446.     void __RPC_FAR *_p_pt;
  8447.     POINT pt;
  8448.     
  8449. NdrStubInitialize(
  8450.                      _pRpcMessage,
  8451.                      &_StubMsg,
  8452.                      &Object_StubDesc,
  8453.                      _pRpcChannelBuffer);
  8454.     _p_pt = &pt;
  8455.     MIDL_memset(
  8456.                _p_pt,
  8457.                0,
  8458.                sizeof( POINT  ));
  8459.     RpcTryFinally
  8460.         {
  8461.         if ( (_pRpcMessage->DataRepresentation & 0X0000FFFFUL) != NDR_LOCAL_DATA_REPRESENTATION )
  8462.             NdrConvert( (PMIDL_STUB_MESSAGE) &_StubMsg, (PFORMAT_STRING) &__MIDL_ProcFormatString.Format[286] );
  8463.         
  8464.         NdrSimpleStructUnmarshall( (PMIDL_STUB_MESSAGE) &_StubMsg,
  8465.                                    (unsigned char __RPC_FAR * __RPC_FAR *)&_p_pt,
  8466.                                    (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[322],
  8467.                                    (unsigned char)0 );
  8468.         
  8469.         
  8470.         *_pdwStubPhase = STUB_CALL_SERVER;
  8471.         _RetVal = (((IStlPointArray *) ((CStdStubBuffer *)This)->pvServerObject)->lpVtbl) -> put_Add((IStlPointArray *) ((CStdStubBuffer *)This)->pvServerObject,pt);
  8472.         
  8473.         *_pdwStubPhase = STUB_MARSHAL;
  8474.         
  8475.         _StubMsg.BufferLength = 4U;
  8476.         NdrStubGetBuffer(This, _pRpcChannelBuffer, &_StubMsg);
  8477.         *(( HRESULT __RPC_FAR * )_StubMsg.Buffer)++ = _RetVal;
  8478.         
  8479.         }
  8480.     RpcFinally
  8481.         {
  8482.         }
  8483.     RpcEndFinally
  8484.     _pRpcMessage->BufferLength = 
  8485.         (unsigned int)((long)_StubMsg.Buffer - (long)_pRpcMessage->Buffer);
  8486.     
  8487. }
  8488.  
  8489.  
  8490. /* [propget][id] */ HRESULT STDMETHODCALLTYPE IStlPointArray_get_Remove_Proxy( 
  8491.     IStlPointArray __RPC_FAR * This,
  8492.     /* [in] */ long idx,
  8493.     /* [retval][out] */ POINT __RPC_FAR *pt)
  8494. {
  8495.  
  8496.     HRESULT _RetVal;
  8497.     
  8498.     RPC_MESSAGE _RpcMessage;
  8499.     
  8500.     MIDL_STUB_MESSAGE _StubMsg;
  8501.     
  8502.     MIDL_memset(
  8503.                pt,
  8504.                0,
  8505.                sizeof( POINT  ));
  8506.     RpcTryExcept
  8507.         {
  8508.         NdrProxyInitialize(
  8509.                       ( void __RPC_FAR *  )This,
  8510.                       ( PRPC_MESSAGE  )&_RpcMessage,
  8511.                       ( PMIDL_STUB_MESSAGE  )&_StubMsg,
  8512.                       ( PMIDL_STUB_DESC  )&Object_StubDesc,
  8513.                       6);
  8514.         
  8515.         
  8516.         
  8517.         RpcTryFinally
  8518.             {
  8519.             
  8520.             _StubMsg.BufferLength = 4U;
  8521.             NdrProxyGetBuffer(This, &_StubMsg);
  8522.             *(( long __RPC_FAR * )_StubMsg.Buffer)++ = idx;
  8523.             
  8524.             NdrProxySendReceive(This, &_StubMsg);
  8525.             
  8526.             if ( (_RpcMessage.DataRepresentation & 0X0000FFFFUL) != NDR_LOCAL_DATA_REPRESENTATION )
  8527.                 NdrConvert( (PMIDL_STUB_MESSAGE) &_StubMsg, (PFORMAT_STRING) &__MIDL_ProcFormatString.Format[270] );
  8528.             
  8529.             NdrSimpleStructUnmarshall( (PMIDL_STUB_MESSAGE) &_StubMsg,
  8530.                                        (unsigned char __RPC_FAR * __RPC_FAR *)&pt,
  8531.                                        (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[322],
  8532.                                        (unsigned char)0 );
  8533.             
  8534.             _RetVal = *(( HRESULT __RPC_FAR * )_StubMsg.Buffer)++;
  8535.             
  8536.             }
  8537.         RpcFinally
  8538.             {
  8539.             NdrProxyFreeBuffer(This, &_StubMsg);
  8540.             
  8541.             }
  8542.         RpcEndFinally
  8543.         
  8544.         }
  8545.     RpcExcept(_StubMsg.dwStubPhase != PROXY_SENDRECEIVE)
  8546.         {
  8547.         NdrClearOutParameters(
  8548.                          ( PMIDL_STUB_MESSAGE  )&_StubMsg,
  8549.                          ( PFORMAT_STRING  )&__MIDL_TypeFormatString.Format[318],
  8550.                          ( void __RPC_FAR * )pt);
  8551.         _RetVal = NdrProxyErrorHandler(RpcExceptionCode());
  8552.         }
  8553.     RpcEndExcept
  8554.     return _RetVal;
  8555. }
  8556.  
  8557. void __RPC_STUB IStlPointArray_get_Remove_Stub(
  8558.     IRpcStubBuffer *This,
  8559.     IRpcChannelBuffer *_pRpcChannelBuffer,
  8560.     PRPC_MESSAGE _pRpcMessage,
  8561.     DWORD *_pdwStubPhase)
  8562. {
  8563.     HRESULT _RetVal;
  8564.     MIDL_STUB_MESSAGE _StubMsg;
  8565.     POINT _ptM;
  8566.     long idx;
  8567.     POINT __RPC_FAR *pt;
  8568.     
  8569. NdrStubInitialize(
  8570.                      _pRpcMessage,
  8571.                      &_StubMsg,
  8572.                      &Object_StubDesc,
  8573.                      _pRpcChannelBuffer);
  8574.     pt = 0;
  8575.     RpcTryFinally
  8576.         {
  8577.         if ( (_pRpcMessage->DataRepresentation & 0X0000FFFFUL) != NDR_LOCAL_DATA_REPRESENTATION )
  8578.             NdrConvert( (PMIDL_STUB_MESSAGE) &_StubMsg, (PFORMAT_STRING) &__MIDL_ProcFormatString.Format[270] );
  8579.         
  8580.         idx = *(( long __RPC_FAR * )_StubMsg.Buffer)++;
  8581.         
  8582.         pt = &_ptM;
  8583.         
  8584.         *_pdwStubPhase = STUB_CALL_SERVER;
  8585.         _RetVal = (((IStlPointArray *) ((CStdStubBuffer *)This)->pvServerObject)->lpVtbl) -> get_Remove(
  8586.               (IStlPointArray *) ((CStdStubBuffer *)This)->pvServerObject,
  8587.               idx,
  8588.               pt);
  8589.         
  8590.         *_pdwStubPhase = STUB_MARSHAL;
  8591.         
  8592.         _StubMsg.BufferLength = 0U + 11U;
  8593.         NdrSimpleStructBufferSize( (PMIDL_STUB_MESSAGE) &_StubMsg,
  8594.                                    (unsigned char __RPC_FAR *)pt,
  8595.                                    (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[322] );
  8596.         
  8597.         _StubMsg.BufferLength += 16;
  8598.         
  8599.         NdrStubGetBuffer(This, _pRpcChannelBuffer, &_StubMsg);
  8600.         NdrSimpleStructMarshall( (PMIDL_STUB_MESSAGE)& _StubMsg,
  8601.                                  (unsigned char __RPC_FAR *)pt,
  8602.                                  (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[322] );
  8603.         
  8604.         *(( HRESULT __RPC_FAR * )_StubMsg.Buffer)++ = _RetVal;
  8605.         
  8606.         }
  8607.     RpcFinally
  8608.         {
  8609.         }
  8610.     RpcEndFinally
  8611.     _pRpcMessage->BufferLength = 
  8612.         (unsigned int)((long)_StubMsg.Buffer - (long)_pRpcMessage->Buffer);
  8613.     
  8614. }
  8615.  
  8616.  
  8617. /* [id] */ HRESULT STDMETHODCALLTYPE IStlPointArray_RemoveAll_Proxy( 
  8618.     IStlPointArray __RPC_FAR * This)
  8619. {
  8620.  
  8621.     HRESULT _RetVal;
  8622.     
  8623.     RPC_MESSAGE _RpcMessage;
  8624.     
  8625.     MIDL_STUB_MESSAGE _StubMsg;
  8626.     
  8627.     RpcTryExcept
  8628.         {
  8629.         NdrProxyInitialize(
  8630.                       ( void __RPC_FAR *  )This,
  8631.                       ( PRPC_MESSAGE  )&_RpcMessage,
  8632.                       ( PMIDL_STUB_MESSAGE  )&_StubMsg,
  8633.                       ( PMIDL_STUB_DESC  )&Object_StubDesc,
  8634.                       7);
  8635.         
  8636.         
  8637.         
  8638.         RpcTryFinally
  8639.             {
  8640.             
  8641.             _StubMsg.BufferLength = 0U;
  8642.             NdrProxyGetBuffer(This, &_StubMsg);
  8643.             NdrProxySendReceive(This, &_StubMsg);
  8644.             
  8645.             if ( (_RpcMessage.DataRepresentation & 0X0000FFFFUL) != NDR_LOCAL_DATA_REPRESENTATION )
  8646.                 NdrConvert( (PMIDL_STUB_MESSAGE) &_StubMsg, (PFORMAT_STRING) &__MIDL_ProcFormatString.Format[34] );
  8647.             
  8648.             _RetVal = *(( HRESULT __RPC_FAR * )_StubMsg.Buffer)++;
  8649.             
  8650.             }
  8651.         RpcFinally
  8652.             {
  8653.             NdrProxyFreeBuffer(This, &_StubMsg);
  8654.             
  8655.             }
  8656.         RpcEndFinally
  8657.         
  8658.         }
  8659.     RpcExcept(_StubMsg.dwStubPhase != PROXY_SENDRECEIVE)
  8660.         {
  8661.         _RetVal = NdrProxyErrorHandler(RpcExceptionCode());
  8662.         }
  8663.     RpcEndExcept
  8664.     return _RetVal;
  8665. }
  8666.  
  8667. void __RPC_STUB IStlPointArray_RemoveAll_Stub(
  8668.     IRpcStubBuffer *This,
  8669.     IRpcChannelBuffer *_pRpcChannelBuffer,
  8670.     PRPC_MESSAGE _pRpcMessage,
  8671.     DWORD *_pdwStubPhase)
  8672. {
  8673.     HRESULT _RetVal;
  8674.     MIDL_STUB_MESSAGE _StubMsg;
  8675.     
  8676. NdrStubInitialize(
  8677.                      _pRpcMessage,
  8678.                      &_StubMsg,
  8679.                      &Object_StubDesc,
  8680.                      _pRpcChannelBuffer);
  8681.     RpcTryFinally
  8682.         {
  8683.         
  8684.         *_pdwStubPhase = STUB_CALL_SERVER;
  8685.         _RetVal = (((IStlPointArray *) ((CStdStubBuffer *)This)->pvServerObject)->lpVtbl) -> RemoveAll((IStlPointArray *) ((CStdStubBuffer *)This)->pvServerObject);
  8686.         
  8687.         *_pdwStubPhase = STUB_MARSHAL;
  8688.         
  8689.         _StubMsg.BufferLength = 4U;
  8690.         NdrStubGetBuffer(This, _pRpcChannelBuffer, &_StubMsg);
  8691.         *(( HRESULT __RPC_FAR * )_StubMsg.Buffer)++ = _RetVal;
  8692.         
  8693.         }
  8694.     RpcFinally
  8695.         {
  8696.         }
  8697.     RpcEndFinally
  8698.     _pRpcMessage->BufferLength = 
  8699.         (unsigned int)((long)_StubMsg.Buffer - (long)_pRpcMessage->Buffer);
  8700.     
  8701. }
  8702.  
  8703.  
  8704. /* [id] */ HRESULT STDMETHODCALLTYPE IStlPointArray_First_Proxy( 
  8705.     IStlPointArray __RPC_FAR * This)
  8706. {
  8707.  
  8708.     HRESULT _RetVal;
  8709.     
  8710.     RPC_MESSAGE _RpcMessage;
  8711.     
  8712.     MIDL_STUB_MESSAGE _StubMsg;
  8713.     
  8714.     RpcTryExcept
  8715.         {
  8716.         NdrProxyInitialize(
  8717.                       ( void __RPC_FAR *  )This,
  8718.                       ( PRPC_MESSAGE  )&_RpcMessage,
  8719.                       ( PMIDL_STUB_MESSAGE  )&_StubMsg,
  8720.                       ( PMIDL_STUB_DESC  )&Object_StubDesc,
  8721.                       8);
  8722.         
  8723.         
  8724.         
  8725.         RpcTryFinally
  8726.             {
  8727.             
  8728.             _StubMsg.BufferLength = 0U;
  8729.             NdrProxyGetBuffer(This, &_StubMsg);
  8730.             NdrProxySendReceive(This, &_StubMsg);
  8731.             
  8732.             if ( (_RpcMessage.DataRepresentation & 0X0000FFFFUL) != NDR_LOCAL_DATA_REPRESENTATION )
  8733.                 NdrConvert( (PMIDL_STUB_MESSAGE) &_StubMsg, (PFORMAT_STRING) &__MIDL_ProcFormatString.Format[34] );
  8734.             
  8735.             _RetVal = *(( HRESULT __RPC_FAR * )_StubMsg.Buffer)++;
  8736.             
  8737.             }
  8738.         RpcFinally
  8739.             {
  8740.             NdrProxyFreeBuffer(This, &_StubMsg);
  8741.             
  8742.             }
  8743.         RpcEndFinally
  8744.         
  8745.         }
  8746.     RpcExcept(_StubMsg.dwStubPhase != PROXY_SENDRECEIVE)
  8747.         {
  8748.         _RetVal = NdrProxyErrorHandler(RpcExceptionCode());
  8749.         }
  8750.     RpcEndExcept
  8751.     return _RetVal;
  8752. }
  8753.  
  8754. void __RPC_STUB IStlPointArray_First_Stub(
  8755.     IRpcStubBuffer *This,
  8756.     IRpcChannelBuffer *_pRpcChannelBuffer,
  8757.     PRPC_MESSAGE _pRpcMessage,
  8758.     DWORD *_pdwStubPhase)
  8759. {
  8760.     HRESULT _RetVal;
  8761.     MIDL_STUB_MESSAGE _StubMsg;
  8762.     
  8763. NdrStubInitialize(
  8764.                      _pRpcMessage,
  8765.                      &_StubMsg,
  8766.                      &Object_StubDesc,
  8767.                      _pRpcChannelBuffer);
  8768.     RpcTryFinally
  8769.         {
  8770.         
  8771.         *_pdwStubPhase = STUB_CALL_SERVER;
  8772.         _RetVal = (((IStlPointArray *) ((CStdStubBuffer *)This)->pvServerObject)->lpVtbl) -> First((IStlPointArray *) ((CStdStubBuffer *)This)->pvServerObject);
  8773.         
  8774.         *_pdwStubPhase = STUB_MARSHAL;
  8775.         
  8776.         _StubMsg.BufferLength = 4U;
  8777.         NdrStubGetBuffer(This, _pRpcChannelBuffer, &_StubMsg);
  8778.         *(( HRESULT __RPC_FAR * )_StubMsg.Buffer)++ = _RetVal;
  8779.         
  8780.         }
  8781.     RpcFinally
  8782.         {
  8783.         }
  8784.     RpcEndFinally
  8785.     _pRpcMessage->BufferLength = 
  8786.         (unsigned int)((long)_StubMsg.Buffer - (long)_pRpcMessage->Buffer);
  8787.     
  8788. }
  8789.  
  8790.  
  8791. /* [id] */ HRESULT STDMETHODCALLTYPE IStlPointArray_Next_Proxy( 
  8792.     IStlPointArray __RPC_FAR * This,
  8793.     /* [out] */ POINT __RPC_FAR *pt,
  8794.     /* [retval][out] */ VARIANT_BOOL __RPC_FAR *b)
  8795. {
  8796.  
  8797.     HRESULT _RetVal;
  8798.     
  8799.     RPC_MESSAGE _RpcMessage;
  8800.     
  8801.     MIDL_STUB_MESSAGE _StubMsg;
  8802.     
  8803.     MIDL_memset(
  8804.                pt,
  8805.                0,
  8806.                sizeof( POINT  ));
  8807.     RpcTryExcept
  8808.         {
  8809.         NdrProxyInitialize(
  8810.                       ( void __RPC_FAR *  )This,
  8811.                       ( PRPC_MESSAGE  )&_RpcMessage,
  8812.                       ( PMIDL_STUB_MESSAGE  )&_StubMsg,
  8813.                       ( PMIDL_STUB_DESC  )&Object_StubDesc,
  8814.                       9);
  8815.         
  8816.         
  8817.         
  8818.         RpcTryFinally
  8819.             {
  8820.             
  8821.             _StubMsg.BufferLength = 0U;
  8822.             NdrProxyGetBuffer(This, &_StubMsg);
  8823.             NdrProxySendReceive(This, &_StubMsg);
  8824.             
  8825.             if ( (_RpcMessage.DataRepresentation & 0X0000FFFFUL) != NDR_LOCAL_DATA_REPRESENTATION )
  8826.                 NdrConvert( (PMIDL_STUB_MESSAGE) &_StubMsg, (PFORMAT_STRING) &__MIDL_ProcFormatString.Format[292] );
  8827.             
  8828.             NdrSimpleStructUnmarshall( (PMIDL_STUB_MESSAGE) &_StubMsg,
  8829.                                        (unsigned char __RPC_FAR * __RPC_FAR *)&pt,
  8830.                                        (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[322],
  8831.                                        (unsigned char)0 );
  8832.             
  8833.             *b = *(( VARIANT_BOOL __RPC_FAR * )_StubMsg.Buffer)++;
  8834.             
  8835.             _StubMsg.Buffer += 2;
  8836.             _RetVal = *(( HRESULT __RPC_FAR * )_StubMsg.Buffer)++;
  8837.             
  8838.             }
  8839.         RpcFinally
  8840.             {
  8841.             NdrProxyFreeBuffer(This, &_StubMsg);
  8842.             
  8843.             }
  8844.         RpcEndFinally
  8845.         
  8846.         }
  8847.     RpcExcept(_StubMsg.dwStubPhase != PROXY_SENDRECEIVE)
  8848.         {
  8849.         NdrClearOutParameters(
  8850.                          ( PMIDL_STUB_MESSAGE  )&_StubMsg,
  8851.                          ( PFORMAT_STRING  )&__MIDL_TypeFormatString.Format[318],
  8852.                          ( void __RPC_FAR * )pt);
  8853.         NdrClearOutParameters(
  8854.                          ( PMIDL_STUB_MESSAGE  )&_StubMsg,
  8855.                          ( PFORMAT_STRING  )&__MIDL_TypeFormatString.Format[104],
  8856.                          ( void __RPC_FAR * )b);
  8857.         _RetVal = NdrProxyErrorHandler(RpcExceptionCode());
  8858.         }
  8859.     RpcEndExcept
  8860.     return _RetVal;
  8861. }
  8862.  
  8863. void __RPC_STUB IStlPointArray_Next_Stub(
  8864.     IRpcStubBuffer *This,
  8865.     IRpcChannelBuffer *_pRpcChannelBuffer,
  8866.     PRPC_MESSAGE _pRpcMessage,
  8867.     DWORD *_pdwStubPhase)
  8868. {
  8869.     VARIANT_BOOL _M48;
  8870.     HRESULT _RetVal;
  8871.     MIDL_STUB_MESSAGE _StubMsg;
  8872.     POINT _ptM;
  8873.     VARIANT_BOOL __RPC_FAR *b;
  8874.     POINT __RPC_FAR *pt;
  8875.     
  8876. NdrStubInitialize(
  8877.                      _pRpcMessage,
  8878.                      &_StubMsg,
  8879.                      &Object_StubDesc,
  8880.                      _pRpcChannelBuffer);
  8881.     pt = 0;
  8882.     b = 0;
  8883.     RpcTryFinally
  8884.         {
  8885.         pt = &_ptM;
  8886.         b = &_M48;
  8887.         
  8888.         *_pdwStubPhase = STUB_CALL_SERVER;
  8889.         _RetVal = (((IStlPointArray *) ((CStdStubBuffer *)This)->pvServerObject)->lpVtbl) -> Next(
  8890.         (IStlPointArray *) ((CStdStubBuffer *)This)->pvServerObject,
  8891.         pt,
  8892.         b);
  8893.         
  8894.         *_pdwStubPhase = STUB_MARSHAL;
  8895.         
  8896.         _StubMsg.BufferLength = 0U + 5U + 10U;
  8897.         NdrSimpleStructBufferSize( (PMIDL_STUB_MESSAGE) &_StubMsg,
  8898.                                    (unsigned char __RPC_FAR *)pt,
  8899.                                    (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[322] );
  8900.         
  8901.         _StubMsg.BufferLength += 16;
  8902.         
  8903.         NdrStubGetBuffer(This, _pRpcChannelBuffer, &_StubMsg);
  8904.         NdrSimpleStructMarshall( (PMIDL_STUB_MESSAGE)& _StubMsg,
  8905.                                  (unsigned char __RPC_FAR *)pt,
  8906.                                  (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[322] );
  8907.         
  8908.         *(( VARIANT_BOOL __RPC_FAR * )_StubMsg.Buffer)++ = *b;
  8909.         
  8910.         _StubMsg.Buffer += 2;
  8911.         *(( HRESULT __RPC_FAR * )_StubMsg.Buffer)++ = _RetVal;
  8912.         
  8913.         }
  8914.     RpcFinally
  8915.         {
  8916.         }
  8917.     RpcEndFinally
  8918.     _pRpcMessage->BufferLength = 
  8919.         (unsigned int)((long)_StubMsg.Buffer - (long)_pRpcMessage->Buffer);
  8920.     
  8921. }
  8922.  
  8923.  
  8924. /* [propget][id] */ HRESULT STDMETHODCALLTYPE IStlPointArray_get_Count_Proxy( 
  8925.     IStlPointArray __RPC_FAR * This,
  8926.     /* [retval][out] */ UINT __RPC_FAR *dw)
  8927. {
  8928.  
  8929.     HRESULT _RetVal;
  8930.     
  8931.     RPC_MESSAGE _RpcMessage;
  8932.     
  8933.     MIDL_STUB_MESSAGE _StubMsg;
  8934.     
  8935.     RpcTryExcept
  8936.         {
  8937.         NdrProxyInitialize(
  8938.                       ( void __RPC_FAR *  )This,
  8939.                       ( PRPC_MESSAGE  )&_RpcMessage,
  8940.                       ( PMIDL_STUB_MESSAGE  )&_StubMsg,
  8941.                       ( PMIDL_STUB_DESC  )&Object_StubDesc,
  8942.                       10);
  8943.         
  8944.         
  8945.         
  8946.         RpcTryFinally
  8947.             {
  8948.             
  8949.             _StubMsg.BufferLength = 0U;
  8950.             NdrProxyGetBuffer(This, &_StubMsg);
  8951.             NdrProxySendReceive(This, &_StubMsg);
  8952.             
  8953.             if ( (_RpcMessage.DataRepresentation & 0X0000FFFFUL) != NDR_LOCAL_DATA_REPRESENTATION )
  8954.                 NdrConvert( (PMIDL_STUB_MESSAGE) &_StubMsg, (PFORMAT_STRING) &__MIDL_ProcFormatString.Format[56] );
  8955.             
  8956.             *dw = *(( UINT __RPC_FAR * )_StubMsg.Buffer)++;
  8957.             
  8958.             _RetVal = *(( HRESULT __RPC_FAR * )_StubMsg.Buffer)++;
  8959.             
  8960.             }
  8961.         RpcFinally
  8962.             {
  8963.             NdrProxyFreeBuffer(This, &_StubMsg);
  8964.             
  8965.             }
  8966.         RpcEndFinally
  8967.         
  8968.         }
  8969.     RpcExcept(_StubMsg.dwStubPhase != PROXY_SENDRECEIVE)
  8970.         {
  8971.         NdrClearOutParameters(
  8972.                          ( PMIDL_STUB_MESSAGE  )&_StubMsg,
  8973.                          ( PFORMAT_STRING  )&__MIDL_TypeFormatString.Format[136],
  8974.                          ( void __RPC_FAR * )dw);
  8975.         _RetVal = NdrProxyErrorHandler(RpcExceptionCode());
  8976.         }
  8977.     RpcEndExcept
  8978.     return _RetVal;
  8979. }
  8980.  
  8981. void __RPC_STUB IStlPointArray_get_Count_Stub(
  8982.     IRpcStubBuffer *This,
  8983.     IRpcChannelBuffer *_pRpcChannelBuffer,
  8984.     PRPC_MESSAGE _pRpcMessage,
  8985.     DWORD *_pdwStubPhase)
  8986. {
  8987.     UINT _M49;
  8988.     HRESULT _RetVal;
  8989.     MIDL_STUB_MESSAGE _StubMsg;
  8990.     UINT __RPC_FAR *dw;
  8991.     
  8992. NdrStubInitialize(
  8993.                      _pRpcMessage,
  8994.                      &_StubMsg,
  8995.                      &Object_StubDesc,
  8996.                      _pRpcChannelBuffer);
  8997.     dw = 0;
  8998.     RpcTryFinally
  8999.         {
  9000.         dw = &_M49;
  9001.         
  9002.         *_pdwStubPhase = STUB_CALL_SERVER;
  9003.         _RetVal = (((IStlPointArray *) ((CStdStubBuffer *)This)->pvServerObject)->lpVtbl) -> get_Count((IStlPointArray *) ((CStdStubBuffer *)This)->pvServerObject,dw);
  9004.         
  9005.         *_pdwStubPhase = STUB_MARSHAL;
  9006.         
  9007.         _StubMsg.BufferLength = 4U + 4U;
  9008.         NdrStubGetBuffer(This, _pRpcChannelBuffer, &_StubMsg);
  9009.         *(( UINT __RPC_FAR * )_StubMsg.Buffer)++ = *dw;
  9010.         
  9011.         *(( HRESULT __RPC_FAR * )_StubMsg.Buffer)++ = _RetVal;
  9012.         
  9013.         }
  9014.     RpcFinally
  9015.         {
  9016.         }
  9017.     RpcEndFinally
  9018.     _pRpcMessage->BufferLength = 
  9019.         (unsigned int)((long)_StubMsg.Buffer - (long)_pRpcMessage->Buffer);
  9020.     
  9021. }
  9022.  
  9023. extern const USER_MARSHAL_ROUTINE_QUADRUPLE UserMarshalRoutines[1];
  9024.  
  9025. static const MIDL_STUB_DESC Object_StubDesc = 
  9026.     {
  9027.     0,
  9028.     NdrOleAllocate,
  9029.     NdrOleFree,
  9030.     0,
  9031.     0,
  9032.     0,
  9033.     0,
  9034.     0,
  9035.     __MIDL_TypeFormatString.Format,
  9036.     0, /* -error bounds_check flag */
  9037.     0x20000, /* Ndr library version */
  9038.     0,
  9039.     0x301004c, /* MIDL Version 3.1.76 */
  9040.     0,
  9041.     UserMarshalRoutines,
  9042.     0,  /* Reserved1 */
  9043.     0,  /* Reserved2 */
  9044.     0,  /* Reserved3 */
  9045.     0,  /* Reserved4 */
  9046.     0   /* Reserved5 */
  9047.     };
  9048.  
  9049. const CINTERFACE_PROXY_VTABLE(11) _IStlPointArrayProxyVtbl = 
  9050. {
  9051.     &IID_IStlPointArray,
  9052.     IUnknown_QueryInterface_Proxy,
  9053.     IUnknown_AddRef_Proxy,
  9054.     IUnknown_Release_Proxy ,
  9055.     IStlPointArray_get_Array_Proxy ,
  9056.     IStlPointArray_put_Array_Proxy ,
  9057.     IStlPointArray_put_Add_Proxy ,
  9058.     IStlPointArray_get_Remove_Proxy ,
  9059.     IStlPointArray_RemoveAll_Proxy ,
  9060.     IStlPointArray_First_Proxy ,
  9061.     IStlPointArray_Next_Proxy ,
  9062.     IStlPointArray_get_Count_Proxy
  9063. };
  9064.  
  9065.  
  9066. static const PRPC_STUB_FUNCTION IStlPointArray_table[] =
  9067. {
  9068.     IStlPointArray_get_Array_Stub,
  9069.     IStlPointArray_put_Array_Stub,
  9070.     IStlPointArray_put_Add_Stub,
  9071.     IStlPointArray_get_Remove_Stub,
  9072.     IStlPointArray_RemoveAll_Stub,
  9073.     IStlPointArray_First_Stub,
  9074.     IStlPointArray_Next_Stub,
  9075.     IStlPointArray_get_Count_Stub
  9076. };
  9077.  
  9078. const CInterfaceStubVtbl _IStlPointArrayStubVtbl =
  9079. {
  9080.     &IID_IStlPointArray,
  9081.     0,
  9082.     11,
  9083.     &IStlPointArray_table[-3],
  9084.     CStdStubBuffer_METHODS
  9085. };
  9086.  
  9087. #pragma data_seg(".rdata")
  9088.  
  9089. static const USER_MARSHAL_ROUTINE_QUADRUPLE UserMarshalRoutines[1] = 
  9090.         {
  9091.             
  9092.             {
  9093.             BSTR_UserSize
  9094.             ,BSTR_UserMarshal
  9095.             ,BSTR_UserUnmarshal
  9096.             ,BSTR_UserFree
  9097.             }
  9098.  
  9099.         };
  9100.  
  9101.  
  9102. #if !defined(__RPC_WIN32__)
  9103. #error  Invalid build platform for this stub.
  9104. #endif
  9105.  
  9106. #if !(TARGET_IS_NT40_OR_LATER)
  9107. #error You need a Windows NT 4.0 or later to run this stub because it uses these features:
  9108. #error   [wire_marshal] or [user_marshal] attribute.
  9109. #error However, your C/C++ compilation flags indicate you intend to run this app on earlier systems.
  9110. #error This app will die there with the RPC_X_WRONG_STUB_VERSION error.
  9111. #endif
  9112.  
  9113.  
  9114. static const MIDL_PROC_FORMAT_STRING __MIDL_ProcFormatString =
  9115.     {
  9116.         0,
  9117.         {
  9118.             
  9119.             0x4d,        /* FC_IN_PARAM */
  9120. #ifndef _ALPHA_
  9121.             0x1,        /* x86, MIPS & PPC Stack size = 1 */
  9122. #else
  9123.             0x2,        /* Alpha Stack size = 2 */
  9124. #endif
  9125. /*  2 */    NdrFcShort( 0x18 ),    /* Type Offset=24 */
  9126. /*  4 */    
  9127.             0x51,        /* FC_OUT_PARAM */
  9128. #ifndef _ALPHA_
  9129.             0x1,        /* x86, MIPS & PPC Stack size = 1 */
  9130. #else
  9131.             0x2,        /* Alpha Stack size = 2 */
  9132. #endif
  9133. /*  6 */    NdrFcShort( 0x22 ),    /* Type Offset=34 */
  9134. /*  8 */    0x53,        /* FC_RETURN_PARAM_BASETYPE */
  9135.             0x8,        /* FC_LONG */
  9136. /* 10 */    
  9137.             0x4d,        /* FC_IN_PARAM */
  9138. #ifndef _ALPHA_
  9139.             0x1,        /* x86, MIPS & PPC Stack size = 1 */
  9140. #else
  9141.             0x2,        /* Alpha Stack size = 2 */
  9142. #endif
  9143. /* 12 */    NdrFcShort( 0x48 ),    /* Type Offset=72 */
  9144. /* 14 */    
  9145.             0x4d,        /* FC_IN_PARAM */
  9146. #ifndef _ALPHA_
  9147.             0x1,        /* x86, MIPS & PPC Stack size = 1 */
  9148. #else
  9149.             0x2,        /* Alpha Stack size = 2 */
  9150. #endif
  9151. /* 16 */    NdrFcShort( 0x52 ),    /* Type Offset=82 */
  9152. /* 18 */    0x53,        /* FC_RETURN_PARAM_BASETYPE */
  9153.             0x8,        /* FC_LONG */
  9154. /* 20 */    
  9155.             0x4d,        /* FC_IN_PARAM */
  9156. #ifndef _ALPHA_
  9157.             0x1,        /* x86, MIPS & PPC Stack size = 1 */
  9158. #else
  9159.             0x2,        /* Alpha Stack size = 2 */
  9160. #endif
  9161. /* 22 */    NdrFcShort( 0x56 ),    /* Type Offset=86 */
  9162. /* 24 */    
  9163.             0x4d,        /* FC_IN_PARAM */
  9164. #ifndef _ALPHA_
  9165.             0x1,        /* x86, MIPS & PPC Stack size = 1 */
  9166. #else
  9167.             0x2,        /* Alpha Stack size = 2 */
  9168. #endif
  9169. /* 26 */    NdrFcShort( 0x60 ),    /* Type Offset=96 */
  9170. /* 28 */    
  9171.             0x51,        /* FC_OUT_PARAM */
  9172. #ifndef _ALPHA_
  9173.             0x1,        /* x86, MIPS & PPC Stack size = 1 */
  9174. #else
  9175.             0x2,        /* Alpha Stack size = 2 */
  9176. #endif
  9177. /* 30 */    NdrFcShort( 0x68 ),    /* Type Offset=104 */
  9178. /* 32 */    0x53,        /* FC_RETURN_PARAM_BASETYPE */
  9179.             0x8,        /* FC_LONG */
  9180. /* 34 */    0x53,        /* FC_RETURN_PARAM_BASETYPE */
  9181.             0x8,        /* FC_LONG */
  9182. /* 36 */    
  9183.             0x51,        /* FC_OUT_PARAM */
  9184. #ifndef _ALPHA_
  9185.             0x1,        /* x86, MIPS & PPC Stack size = 1 */
  9186. #else
  9187.             0x2,        /* Alpha Stack size = 2 */
  9188. #endif
  9189. /* 38 */    NdrFcShort( 0x6c ),    /* Type Offset=108 */
  9190. /* 40 */    
  9191.             0x51,        /* FC_OUT_PARAM */
  9192. #ifndef _ALPHA_
  9193.             0x1,        /* x86, MIPS & PPC Stack size = 1 */
  9194. #else
  9195.             0x2,        /* Alpha Stack size = 2 */
  9196. #endif
  9197. /* 42 */    NdrFcShort( 0x22 ),    /* Type Offset=34 */
  9198. /* 44 */    
  9199.             0x51,        /* FC_OUT_PARAM */
  9200. #ifndef _ALPHA_
  9201.             0x1,        /* x86, MIPS & PPC Stack size = 1 */
  9202. #else
  9203.             0x2,        /* Alpha Stack size = 2 */
  9204. #endif
  9205. /* 46 */    NdrFcShort( 0x68 ),    /* Type Offset=104 */
  9206. /* 48 */    0x53,        /* FC_RETURN_PARAM_BASETYPE */
  9207.             0x8,        /* FC_LONG */
  9208. /* 50 */    
  9209.             0x51,        /* FC_OUT_PARAM */
  9210. #ifndef _ALPHA_
  9211.             0x1,        /* x86, MIPS & PPC Stack size = 1 */
  9212. #else
  9213.             0x2,        /* Alpha Stack size = 2 */
  9214. #endif
  9215. /* 52 */    NdrFcShort( 0x7a ),    /* Type Offset=122 */
  9216. /* 54 */    0x53,        /* FC_RETURN_PARAM_BASETYPE */
  9217.             0x8,        /* FC_LONG */
  9218. /* 56 */    
  9219.             0x51,        /* FC_OUT_PARAM */
  9220. #ifndef _ALPHA_
  9221.             0x1,        /* x86, MIPS & PPC Stack size = 1 */
  9222. #else
  9223.             0x2,        /* Alpha Stack size = 2 */
  9224. #endif
  9225. /* 58 */    NdrFcShort( 0x88 ),    /* Type Offset=136 */
  9226. /* 60 */    0x53,        /* FC_RETURN_PARAM_BASETYPE */
  9227.             0x8,        /* FC_LONG */
  9228. /* 62 */    0x4e,        /* FC_IN_PARAM_BASETYPE */
  9229.             0x8,        /* FC_LONG */
  9230. /* 64 */    
  9231.             0x51,        /* FC_OUT_PARAM */
  9232. #ifndef _ALPHA_
  9233.             0x1,        /* x86, MIPS & PPC Stack size = 1 */
  9234. #else
  9235.             0x2,        /* Alpha Stack size = 2 */
  9236. #endif
  9237. /* 66 */    NdrFcShort( 0x22 ),    /* Type Offset=34 */
  9238. /* 68 */    0x53,        /* FC_RETURN_PARAM_BASETYPE */
  9239.             0x8,        /* FC_LONG */
  9240. /* 70 */    0x4e,        /* FC_IN_PARAM_BASETYPE */
  9241.             0x8,        /* FC_LONG */
  9242. /* 72 */    
  9243.             0x4d,        /* FC_IN_PARAM */
  9244. #ifndef _ALPHA_
  9245.             0x1,        /* x86, MIPS & PPC Stack size = 1 */
  9246. #else
  9247.             0x2,        /* Alpha Stack size = 2 */
  9248. #endif
  9249. /* 74 */    NdrFcShort( 0x52 ),    /* Type Offset=82 */
  9250. /* 76 */    0x53,        /* FC_RETURN_PARAM_BASETYPE */
  9251.             0x8,        /* FC_LONG */
  9252. /* 78 */    0x4e,        /* FC_IN_PARAM_BASETYPE */
  9253.             0x8,        /* FC_LONG */
  9254. /* 80 */    
  9255.             0x51,        /* FC_OUT_PARAM */
  9256. #ifndef _ALPHA_
  9257.             0x1,        /* x86, MIPS & PPC Stack size = 1 */
  9258. #else
  9259.             0x2,        /* Alpha Stack size = 2 */
  9260. #endif
  9261. /* 82 */    NdrFcShort( 0x22 ),    /* Type Offset=34 */
  9262. /* 84 */    
  9263.             0x51,        /* FC_OUT_PARAM */
  9264. #ifndef _ALPHA_
  9265.             0x1,        /* x86, MIPS & PPC Stack size = 1 */
  9266. #else
  9267.             0x2,        /* Alpha Stack size = 2 */
  9268. #endif
  9269. /* 86 */    NdrFcShort( 0x68 ),    /* Type Offset=104 */
  9270. /* 88 */    0x53,        /* FC_RETURN_PARAM_BASETYPE */
  9271.             0x8,        /* FC_LONG */
  9272. /* 90 */    
  9273.             0x51,        /* FC_OUT_PARAM */
  9274. #ifndef _ALPHA_
  9275.             0x1,        /* x86, MIPS & PPC Stack size = 1 */
  9276. #else
  9277.             0x2,        /* Alpha Stack size = 2 */
  9278. #endif
  9279. /* 92 */    NdrFcShort( 0x88 ),    /* Type Offset=136 */
  9280. /* 94 */    
  9281.             0x51,        /* FC_OUT_PARAM */
  9282. #ifndef _ALPHA_
  9283.             0x1,        /* x86, MIPS & PPC Stack size = 1 */
  9284. #else
  9285.             0x2,        /* Alpha Stack size = 2 */
  9286. #endif
  9287. /* 96 */    NdrFcShort( 0x22 ),    /* Type Offset=34 */
  9288. /* 98 */    
  9289.             0x51,        /* FC_OUT_PARAM */
  9290. #ifndef _ALPHA_
  9291.             0x1,        /* x86, MIPS & PPC Stack size = 1 */
  9292. #else
  9293.             0x2,        /* Alpha Stack size = 2 */
  9294. #endif
  9295. /* 100 */    NdrFcShort( 0x68 ),    /* Type Offset=104 */
  9296. /* 102 */    0x53,        /* FC_RETURN_PARAM_BASETYPE */
  9297.             0x8,        /* FC_LONG */
  9298. /* 104 */    
  9299.             0x4d,        /* FC_IN_PARAM */
  9300. #ifndef _ALPHA_
  9301.             0x1,        /* x86, MIPS & PPC Stack size = 1 */
  9302. #else
  9303.             0x2,        /* Alpha Stack size = 2 */
  9304. #endif
  9305. /* 106 */    NdrFcShort( 0x8c ),    /* Type Offset=140 */
  9306. /* 108 */    
  9307.             0x51,        /* FC_OUT_PARAM */
  9308. #ifndef _ALPHA_
  9309.             0x1,        /* x86, MIPS & PPC Stack size = 1 */
  9310. #else
  9311.             0x2,        /* Alpha Stack size = 2 */
  9312. #endif
  9313. /* 110 */    NdrFcShort( 0x96 ),    /* Type Offset=150 */
  9314. /* 112 */    0x53,        /* FC_RETURN_PARAM_BASETYPE */
  9315.             0x8,        /* FC_LONG */
  9316. /* 114 */    
  9317.             0x4d,        /* FC_IN_PARAM */
  9318. #ifndef _ALPHA_
  9319.             0x1,        /* x86, MIPS & PPC Stack size = 1 */
  9320. #else
  9321.             0x2,        /* Alpha Stack size = 2 */
  9322. #endif
  9323. /* 116 */    NdrFcShort( 0xa4 ),    /* Type Offset=164 */
  9324. /* 118 */    
  9325.             0x4d,        /* FC_IN_PARAM */
  9326. #ifndef _ALPHA_
  9327.             0x1,        /* x86, MIPS & PPC Stack size = 1 */
  9328. #else
  9329.             0x2,        /* Alpha Stack size = 2 */
  9330. #endif
  9331. /* 120 */    NdrFcShort( 0xae ),    /* Type Offset=174 */
  9332. /* 122 */    0x53,        /* FC_RETURN_PARAM_BASETYPE */
  9333.             0x8,        /* FC_LONG */
  9334. /* 124 */    
  9335.             0x4d,        /* FC_IN_PARAM */
  9336. #ifndef _ALPHA_
  9337.             0x1,        /* x86, MIPS & PPC Stack size = 1 */
  9338. #else
  9339.             0x2,        /* Alpha Stack size = 2 */
  9340. #endif
  9341. /* 126 */    NdrFcShort( 0xb8 ),    /* Type Offset=184 */
  9342. /* 128 */    
  9343.             0x51,        /* FC_OUT_PARAM */
  9344. #ifndef _ALPHA_
  9345.             0x1,        /* x86, MIPS & PPC Stack size = 1 */
  9346. #else
  9347.             0x2,        /* Alpha Stack size = 2 */
  9348. #endif
  9349. /* 130 */    NdrFcShort( 0xc2 ),    /* Type Offset=194 */
  9350. /* 132 */    
  9351.             0x51,        /* FC_OUT_PARAM */
  9352. #ifndef _ALPHA_
  9353.             0x1,        /* x86, MIPS & PPC Stack size = 1 */
  9354. #else
  9355.             0x2,        /* Alpha Stack size = 2 */
  9356. #endif
  9357. /* 134 */    NdrFcShort( 0x68 ),    /* Type Offset=104 */
  9358. /* 136 */    0x53,        /* FC_RETURN_PARAM_BASETYPE */
  9359.             0x8,        /* FC_LONG */
  9360. /* 138 */    
  9361.             0x51,        /* FC_OUT_PARAM */
  9362. #ifndef _ALPHA_
  9363.             0x1,        /* x86, MIPS & PPC Stack size = 1 */
  9364. #else
  9365.             0x2,        /* Alpha Stack size = 2 */
  9366. #endif
  9367. /* 140 */    NdrFcShort( 0xd0 ),    /* Type Offset=208 */
  9368. /* 142 */    
  9369.             0x51,        /* FC_OUT_PARAM */
  9370. #ifndef _ALPHA_
  9371.             0x1,        /* x86, MIPS & PPC Stack size = 1 */
  9372. #else
  9373.             0x2,        /* Alpha Stack size = 2 */
  9374. #endif
  9375. /* 144 */    NdrFcShort( 0xde ),    /* Type Offset=222 */
  9376. /* 146 */    
  9377.             0x51,        /* FC_OUT_PARAM */
  9378. #ifndef _ALPHA_
  9379.             0x1,        /* x86, MIPS & PPC Stack size = 1 */
  9380. #else
  9381.             0x2,        /* Alpha Stack size = 2 */
  9382. #endif
  9383. /* 148 */    NdrFcShort( 0x68 ),    /* Type Offset=104 */
  9384. /* 150 */    0x53,        /* FC_RETURN_PARAM_BASETYPE */
  9385.             0x8,        /* FC_LONG */
  9386. /* 152 */    
  9387.             0x51,        /* FC_OUT_PARAM */
  9388. #ifndef _ALPHA_
  9389.             0x1,        /* x86, MIPS & PPC Stack size = 1 */
  9390. #else
  9391.             0x2,        /* Alpha Stack size = 2 */
  9392. #endif
  9393. /* 154 */    NdrFcShort( 0xec ),    /* Type Offset=236 */
  9394. /* 156 */    0x53,        /* FC_RETURN_PARAM_BASETYPE */
  9395.             0x8,        /* FC_LONG */
  9396. /* 158 */    
  9397.             0x4d,        /* FC_IN_PARAM */
  9398. #ifndef _ALPHA_
  9399.             0x1,        /* x86, MIPS & PPC Stack size = 1 */
  9400. #else
  9401.             0x2,        /* Alpha Stack size = 2 */
  9402. #endif
  9403. /* 160 */    NdrFcShort( 0xfa ),    /* Type Offset=250 */
  9404. /* 162 */    
  9405.             0x51,        /* FC_OUT_PARAM */
  9406. #ifndef _ALPHA_
  9407.             0x1,        /* x86, MIPS & PPC Stack size = 1 */
  9408. #else
  9409.             0x2,        /* Alpha Stack size = 2 */
  9410. #endif
  9411. /* 164 */    NdrFcShort( 0x68 ),    /* Type Offset=104 */
  9412. /* 166 */    0x53,        /* FC_RETURN_PARAM_BASETYPE */
  9413.             0x8,        /* FC_LONG */
  9414. /* 168 */    
  9415.             0x4d,        /* FC_IN_PARAM */
  9416. #ifndef _ALPHA_
  9417.             0x1,        /* x86, MIPS & PPC Stack size = 1 */
  9418. #else
  9419.             0x2,        /* Alpha Stack size = 2 */
  9420. #endif
  9421. /* 170 */    NdrFcShort( 0x104 ),    /* Type Offset=260 */
  9422. /* 172 */    0x53,        /* FC_RETURN_PARAM_BASETYPE */
  9423.             0x8,        /* FC_LONG */
  9424. /* 174 */    
  9425.             0x4d,        /* FC_IN_PARAM */
  9426. #ifndef _ALPHA_
  9427.             0x1,        /* x86, MIPS & PPC Stack size = 1 */
  9428. #else
  9429.             0x2,        /* Alpha Stack size = 2 */
  9430. #endif
  9431. /* 176 */    NdrFcShort( 0x10e ),    /* Type Offset=270 */
  9432. /* 178 */    0x53,        /* FC_RETURN_PARAM_BASETYPE */
  9433.             0x8,        /* FC_LONG */
  9434. /* 180 */    
  9435.             0x4d,        /* FC_IN_PARAM */
  9436. #ifndef _ALPHA_
  9437.             0x1,        /* x86, MIPS & PPC Stack size = 1 */
  9438. #else
  9439.             0x2,        /* Alpha Stack size = 2 */
  9440. #endif
  9441. /* 182 */    NdrFcShort( 0x118 ),    /* Type Offset=280 */
  9442. /* 184 */    0x53,        /* FC_RETURN_PARAM_BASETYPE */
  9443.             0x8,        /* FC_LONG */
  9444. /* 186 */    
  9445.             0x51,        /* FC_OUT_PARAM */
  9446. #ifndef _ALPHA_
  9447.             0x1,        /* x86, MIPS & PPC Stack size = 1 */
  9448. #else
  9449.             0x2,        /* Alpha Stack size = 2 */
  9450. #endif
  9451. /* 188 */    NdrFcShort( 0x122 ),    /* Type Offset=290 */
  9452. /* 190 */    0x53,        /* FC_RETURN_PARAM_BASETYPE */
  9453.             0x8,        /* FC_LONG */
  9454. /* 192 */    
  9455.             0x51,        /* FC_OUT_PARAM */
  9456. #ifndef _ALPHA_
  9457.             0x1,        /* x86, MIPS & PPC Stack size = 1 */
  9458. #else
  9459.             0x2,        /* Alpha Stack size = 2 */
  9460. #endif
  9461. /* 194 */    NdrFcShort( 0x130 ),    /* Type Offset=304 */
  9462. /* 196 */    
  9463.             0x51,        /* FC_OUT_PARAM */
  9464. #ifndef _ALPHA_
  9465.             0x1,        /* x86, MIPS & PPC Stack size = 1 */
  9466. #else
  9467.             0x2,        /* Alpha Stack size = 2 */
  9468. #endif
  9469. /* 198 */    NdrFcShort( 0x68 ),    /* Type Offset=104 */
  9470. /* 200 */    0x53,        /* FC_RETURN_PARAM_BASETYPE */
  9471.             0x8,        /* FC_LONG */
  9472. /* 202 */    
  9473.             0x4d,        /* FC_IN_PARAM */
  9474. #ifndef _ALPHA_
  9475.             0x1,        /* x86, MIPS & PPC Stack size = 1 */
  9476. #else
  9477.             0x2,        /* Alpha Stack size = 2 */
  9478. #endif
  9479. /* 204 */    NdrFcShort( 0x52 ),    /* Type Offset=82 */
  9480. /* 206 */    
  9481.             0x51,        /* FC_OUT_PARAM */
  9482. #ifndef _ALPHA_
  9483.             0x1,        /* x86, MIPS & PPC Stack size = 1 */
  9484. #else
  9485.             0x2,        /* Alpha Stack size = 2 */
  9486. #endif
  9487. /* 208 */    NdrFcShort( 0x68 ),    /* Type Offset=104 */
  9488. /* 210 */    0x53,        /* FC_RETURN_PARAM_BASETYPE */
  9489.             0x8,        /* FC_LONG */
  9490. /* 212 */    
  9491.             0x4d,        /* FC_IN_PARAM */
  9492. #ifndef _ALPHA_
  9493.             0x1,        /* x86, MIPS & PPC Stack size = 1 */
  9494. #else
  9495.             0x2,        /* Alpha Stack size = 2 */
  9496. #endif
  9497. /* 214 */    NdrFcShort( 0x52 ),    /* Type Offset=82 */
  9498. /* 216 */    0x53,        /* FC_RETURN_PARAM_BASETYPE */
  9499.             0x8,        /* FC_LONG */
  9500. /* 218 */    
  9501.             0x51,        /* FC_OUT_PARAM */
  9502. #ifndef _ALPHA_
  9503.             0x1,        /* x86, MIPS & PPC Stack size = 1 */
  9504. #else
  9505.             0x2,        /* Alpha Stack size = 2 */
  9506. #endif
  9507. /* 220 */    NdrFcShort( 0x22 ),    /* Type Offset=34 */
  9508. /* 222 */    0x53,        /* FC_RETURN_PARAM_BASETYPE */
  9509.             0x8,        /* FC_LONG */
  9510. /* 224 */    
  9511.             0x51,        /* FC_OUT_PARAM */
  9512. #ifndef _ALPHA_
  9513.             0x1,        /* x86, MIPS & PPC Stack size = 1 */
  9514. #else
  9515.             0x2,        /* Alpha Stack size = 2 */
  9516. #endif
  9517. /* 226 */    NdrFcShort( 0x22 ),    /* Type Offset=34 */
  9518. /* 228 */    
  9519.             0x51,        /* FC_OUT_PARAM */
  9520. #ifndef _ALPHA_
  9521.             0x1,        /* x86, MIPS & PPC Stack size = 1 */
  9522. #else
  9523.             0x2,        /* Alpha Stack size = 2 */
  9524. #endif
  9525. /* 230 */    NdrFcShort( 0x68 ),    /* Type Offset=104 */
  9526. /* 232 */    0x53,        /* FC_RETURN_PARAM_BASETYPE */
  9527.             0x8,        /* FC_LONG */
  9528. /* 234 */    0x4e,        /* FC_IN_PARAM_BASETYPE */
  9529.             0x8,        /* FC_LONG */
  9530. /* 236 */    
  9531.             0x51,        /* FC_OUT_PARAM */
  9532. #ifndef _ALPHA_
  9533.             0x1,        /* x86, MIPS & PPC Stack size = 1 */
  9534. #else
  9535.             0x2,        /* Alpha Stack size = 2 */
  9536. #endif
  9537. /* 238 */    NdrFcShort( 0x68 ),    /* Type Offset=104 */
  9538. /* 240 */    0x53,        /* FC_RETURN_PARAM_BASETYPE */
  9539.             0x8,        /* FC_LONG */
  9540. /* 242 */    0x4e,        /* FC_IN_PARAM_BASETYPE */
  9541.             0x8,        /* FC_LONG */
  9542. /* 244 */    0x53,        /* FC_RETURN_PARAM_BASETYPE */
  9543.             0x8,        /* FC_LONG */
  9544. /* 246 */    
  9545.             0x51,        /* FC_OUT_PARAM */
  9546. #ifndef _ALPHA_
  9547.             0x1,        /* x86, MIPS & PPC Stack size = 1 */
  9548. #else
  9549.             0x2,        /* Alpha Stack size = 2 */
  9550. #endif
  9551. /* 248 */    NdrFcShort( 0x88 ),    /* Type Offset=136 */
  9552. /* 250 */    
  9553.             0x51,        /* FC_OUT_PARAM */
  9554. #ifndef _ALPHA_
  9555.             0x1,        /* x86, MIPS & PPC Stack size = 1 */
  9556. #else
  9557.             0x2,        /* Alpha Stack size = 2 */
  9558. #endif
  9559. /* 252 */    NdrFcShort( 0x68 ),    /* Type Offset=104 */
  9560. /* 254 */    0x53,        /* FC_RETURN_PARAM_BASETYPE */
  9561.             0x8,        /* FC_LONG */
  9562. /* 256 */    0x4e,        /* FC_IN_PARAM_BASETYPE */
  9563.             0x8,        /* FC_LONG */
  9564. /* 258 */    
  9565.             0x51,        /* FC_OUT_PARAM */
  9566. #ifndef _ALPHA_
  9567.             0x1,        /* x86, MIPS & PPC Stack size = 1 */
  9568. #else
  9569.             0x2,        /* Alpha Stack size = 2 */
  9570. #endif
  9571. /* 260 */    NdrFcShort( 0x88 ),    /* Type Offset=136 */
  9572. /* 262 */    0x53,        /* FC_RETURN_PARAM_BASETYPE */
  9573.             0x8,        /* FC_LONG */
  9574. /* 264 */    0x4e,        /* FC_IN_PARAM_BASETYPE */
  9575.             0x8,        /* FC_LONG */
  9576. /* 266 */    0x4e,        /* FC_IN_PARAM_BASETYPE */
  9577.             0x8,        /* FC_LONG */
  9578. /* 268 */    0x53,        /* FC_RETURN_PARAM_BASETYPE */
  9579.             0x8,        /* FC_LONG */
  9580. /* 270 */    0x4e,        /* FC_IN_PARAM_BASETYPE */
  9581.             0x8,        /* FC_LONG */
  9582. /* 272 */    
  9583.             0x51,        /* FC_OUT_PARAM */
  9584. #ifndef _ALPHA_
  9585.             0x1,        /* x86, MIPS & PPC Stack size = 1 */
  9586. #else
  9587.             0x2,        /* Alpha Stack size = 2 */
  9588. #endif
  9589. /* 274 */    NdrFcShort( 0x13e ),    /* Type Offset=318 */
  9590. /* 276 */    0x53,        /* FC_RETURN_PARAM_BASETYPE */
  9591.             0x8,        /* FC_LONG */
  9592. /* 278 */    0x4e,        /* FC_IN_PARAM_BASETYPE */
  9593.             0x8,        /* FC_LONG */
  9594. /* 280 */    
  9595.             0x4d,        /* FC_IN_PARAM */
  9596. #ifndef _ALPHA_
  9597.             0x2,        /* x86, MIPS & PPC Stack size = 2 */
  9598. #else
  9599.             0x2,        /* Alpha Stack size = 2 */
  9600. #endif
  9601. /* 282 */    NdrFcShort( 0x142 ),    /* Type Offset=322 */
  9602. /* 284 */    0x53,        /* FC_RETURN_PARAM_BASETYPE */
  9603.             0x8,        /* FC_LONG */
  9604. /* 286 */    
  9605.             0x4d,        /* FC_IN_PARAM */
  9606. #ifndef _ALPHA_
  9607.             0x2,        /* x86, MIPS & PPC Stack size = 2 */
  9608. #else
  9609.             0x2,        /* Alpha Stack size = 2 */
  9610. #endif
  9611. /* 288 */    NdrFcShort( 0x142 ),    /* Type Offset=322 */
  9612. /* 290 */    0x53,        /* FC_RETURN_PARAM_BASETYPE */
  9613.             0x8,        /* FC_LONG */
  9614. /* 292 */    
  9615.             0x51,        /* FC_OUT_PARAM */
  9616. #ifndef _ALPHA_
  9617.             0x1,        /* x86, MIPS & PPC Stack size = 1 */
  9618. #else
  9619.             0x2,        /* Alpha Stack size = 2 */
  9620. #endif
  9621. /* 294 */    NdrFcShort( 0x13e ),    /* Type Offset=318 */
  9622. /* 296 */    
  9623.             0x51,        /* FC_OUT_PARAM */
  9624. #ifndef _ALPHA_
  9625.             0x1,        /* x86, MIPS & PPC Stack size = 1 */
  9626. #else
  9627.             0x2,        /* Alpha Stack size = 2 */
  9628. #endif
  9629. /* 298 */    NdrFcShort( 0x68 ),    /* Type Offset=104 */
  9630. /* 300 */    0x53,        /* FC_RETURN_PARAM_BASETYPE */
  9631.             0x8,        /* FC_LONG */
  9632.  
  9633.             0x0
  9634.         }
  9635.     };
  9636.  
  9637. static const MIDL_TYPE_FORMAT_STRING __MIDL_TypeFormatString =
  9638.     {
  9639.         0,
  9640.         {
  9641.             0x12, 0x0,    /* FC_UP */
  9642. /*  2 */    NdrFcShort( 0xc ),    /* Offset= 12 (14) */
  9643. /*  4 */    
  9644.             0x1b,        /* FC_CARRAY */
  9645.             0x1,        /* 1 */
  9646. /*  6 */    NdrFcShort( 0x2 ),    /* 2 */
  9647. /*  8 */    0x9,        /* 9 */
  9648.             0x0,        /*  */
  9649. /* 10 */    NdrFcShort( 0xfffffffc ),    /* -4 */
  9650. /* 12 */    0x6,        /* FC_SHORT */
  9651.             0x5b,        /* FC_END */
  9652. /* 14 */    
  9653.             0x17,        /* FC_CSTRUCT */
  9654.             0x3,        /* 3 */
  9655. /* 16 */    NdrFcShort( 0x8 ),    /* 8 */
  9656. /* 18 */    NdrFcShort( 0xfffffff2 ),    /* Offset= -14 (4) */
  9657. /* 20 */    0x8,        /* FC_LONG */
  9658.             0x8,        /* FC_LONG */
  9659. /* 22 */    0x5c,        /* FC_PAD */
  9660.             0x5b,        /* FC_END */
  9661. /* 24 */    0xb4,        /* FC_USER_MARSHAL */
  9662.             0x83,        /* 131 */
  9663. /* 26 */    NdrFcShort( 0x0 ),    /* 0 */
  9664. /* 28 */    NdrFcShort( 0x4 ),    /* 4 */
  9665. /* 30 */    NdrFcShort( 0x0 ),    /* 0 */
  9666. /* 32 */    NdrFcShort( 0xffffffe0 ),    /* Offset= -32 (0) */
  9667. /* 34 */    
  9668.             0x11, 0x14,    /* FC_RP [alloced_on_stack] */
  9669. /* 36 */    NdrFcShort( 0x2 ),    /* Offset= 2 (38) */
  9670. /* 38 */    
  9671.             0x13, 0x0,    /* FC_OP */
  9672. /* 40 */    NdrFcShort( 0x10 ),    /* Offset= 16 (56) */
  9673. /* 42 */    
  9674.             0x13, 0x0,    /* FC_OP */
  9675. /* 44 */    NdrFcShort( 0xffffffe2 ),    /* Offset= -30 (14) */
  9676. /* 46 */    0xb4,        /* FC_USER_MARSHAL */
  9677.             0x83,        /* 131 */
  9678. /* 48 */    NdrFcShort( 0x0 ),    /* 0 */
  9679. /* 50 */    NdrFcShort( 0x4 ),    /* 4 */
  9680. /* 52 */    NdrFcShort( 0x0 ),    /* 0 */
  9681. /* 54 */    NdrFcShort( 0xfffffff4 ),    /* Offset= -12 (42) */
  9682. /* 56 */    
  9683.             0x1a,        /* FC_BOGUS_STRUCT */
  9684.             0x3,        /* 3 */
  9685. /* 58 */    NdrFcShort( 0xc ),    /* 12 */
  9686. /* 60 */    NdrFcShort( 0x0 ),    /* 0 */
  9687. /* 62 */    NdrFcShort( 0x0 ),    /* Offset= 0 (62) */
  9688. /* 64 */    0x8,        /* FC_LONG */
  9689.             0xa,        /* FC_FLOAT */
  9690. /* 66 */    0x4c,        /* FC_EMBEDDED_COMPLEX */
  9691.             0x0,        /* 0 */
  9692. /* 68 */    NdrFcShort( 0xffffffea ),    /* Offset= -22 (46) */
  9693. /* 70 */    0x5c,        /* FC_PAD */
  9694.             0x5b,        /* FC_END */
  9695. /* 72 */    0xb4,        /* FC_USER_MARSHAL */
  9696.             0x83,        /* 131 */
  9697. /* 74 */    NdrFcShort( 0x0 ),    /* 0 */
  9698. /* 76 */    NdrFcShort( 0x4 ),    /* 4 */
  9699. /* 78 */    NdrFcShort( 0x0 ),    /* 0 */
  9700. /* 80 */    NdrFcShort( 0xffffffb0 ),    /* Offset= -80 (0) */
  9701. /* 82 */    
  9702.             0x11, 0x0,    /* FC_RP */
  9703. /* 84 */    NdrFcShort( 0xffffffe4 ),    /* Offset= -28 (56) */
  9704. /* 86 */    0xb4,        /* FC_USER_MARSHAL */
  9705.             0x83,        /* 131 */
  9706. /* 88 */    NdrFcShort( 0x0 ),    /* 0 */
  9707. /* 90 */    NdrFcShort( 0x4 ),    /* 4 */
  9708. /* 92 */    NdrFcShort( 0x0 ),    /* 0 */
  9709. /* 94 */    NdrFcShort( 0xffffffa2 ),    /* Offset= -94 (0) */
  9710. /* 96 */    
  9711.             0x11, 0x10,    /* FC_RP */
  9712. /* 98 */    NdrFcShort( 0x2 ),    /* Offset= 2 (100) */
  9713. /* 100 */    
  9714.             0x12, 0x0,    /* FC_UP */
  9715. /* 102 */    NdrFcShort( 0xffffffd2 ),    /* Offset= -46 (56) */
  9716. /* 104 */    
  9717.             0x11, 0xc,    /* FC_RP [alloced_on_stack] [simple_pointer] */
  9718. /* 106 */    0x6,        /* FC_SHORT */
  9719.             0x5c,        /* FC_PAD */
  9720. /* 108 */    
  9721.             0x11, 0x4,    /* FC_RP [alloced_on_stack] */
  9722. /* 110 */    NdrFcShort( 0x2 ),    /* Offset= 2 (112) */
  9723. /* 112 */    0xb4,        /* FC_USER_MARSHAL */
  9724.             0x83,        /* 131 */
  9725. /* 114 */    NdrFcShort( 0x0 ),    /* 0 */
  9726. /* 116 */    NdrFcShort( 0x4 ),    /* 4 */
  9727. /* 118 */    NdrFcShort( 0x0 ),    /* 0 */
  9728. /* 120 */    NdrFcShort( 0xffffffb2 ),    /* Offset= -78 (42) */
  9729. /* 122 */    
  9730.             0x11, 0x4,    /* FC_RP [alloced_on_stack] */
  9731. /* 124 */    NdrFcShort( 0x2 ),    /* Offset= 2 (126) */
  9732. /* 126 */    0xb4,        /* FC_USER_MARSHAL */
  9733.             0x83,        /* 131 */
  9734. /* 128 */    NdrFcShort( 0x0 ),    /* 0 */
  9735. /* 130 */    NdrFcShort( 0x4 ),    /* 4 */
  9736. /* 132 */    NdrFcShort( 0x0 ),    /* 0 */
  9737. /* 134 */    NdrFcShort( 0xffffffa4 ),    /* Offset= -92 (42) */
  9738. /* 136 */    
  9739.             0x11, 0xc,    /* FC_RP [alloced_on_stack] [simple_pointer] */
  9740. /* 138 */    0x8,        /* FC_LONG */
  9741.             0x5c,        /* FC_PAD */
  9742. /* 140 */    0xb4,        /* FC_USER_MARSHAL */
  9743.             0x83,        /* 131 */
  9744. /* 142 */    NdrFcShort( 0x0 ),    /* 0 */
  9745. /* 144 */    NdrFcShort( 0x4 ),    /* 4 */
  9746. /* 146 */    NdrFcShort( 0x0 ),    /* 0 */
  9747. /* 148 */    NdrFcShort( 0xffffff6c ),    /* Offset= -148 (0) */
  9748. /* 150 */    
  9749.             0x11, 0x4,    /* FC_RP [alloced_on_stack] */
  9750. /* 152 */    NdrFcShort( 0x2 ),    /* Offset= 2 (154) */
  9751. /* 154 */    0xb4,        /* FC_USER_MARSHAL */
  9752.             0x83,        /* 131 */
  9753. /* 156 */    NdrFcShort( 0x0 ),    /* 0 */
  9754. /* 158 */    NdrFcShort( 0x4 ),    /* 4 */
  9755. /* 160 */    NdrFcShort( 0x0 ),    /* 0 */
  9756. /* 162 */    NdrFcShort( 0xffffff88 ),    /* Offset= -120 (42) */
  9757. /* 164 */    0xb4,        /* FC_USER_MARSHAL */
  9758.             0x83,        /* 131 */
  9759. /* 166 */    NdrFcShort( 0x0 ),    /* 0 */
  9760. /* 168 */    NdrFcShort( 0x4 ),    /* 4 */
  9761. /* 170 */    NdrFcShort( 0x0 ),    /* 0 */
  9762. /* 172 */    NdrFcShort( 0xffffff54 ),    /* Offset= -172 (0) */
  9763. /* 174 */    0xb4,        /* FC_USER_MARSHAL */
  9764.             0x83,        /* 131 */
  9765. /* 176 */    NdrFcShort( 0x0 ),    /* 0 */
  9766. /* 178 */    NdrFcShort( 0x4 ),    /* 4 */
  9767. /* 180 */    NdrFcShort( 0x0 ),    /* 0 */
  9768. /* 182 */    NdrFcShort( 0xffffff4a ),    /* Offset= -182 (0) */
  9769. /* 184 */    0xb4,        /* FC_USER_MARSHAL */
  9770.             0x83,        /* 131 */
  9771. /* 186 */    NdrFcShort( 0x0 ),    /* 0 */
  9772. /* 188 */    NdrFcShort( 0x4 ),    /* 4 */
  9773. /* 190 */    NdrFcShort( 0x0 ),    /* 0 */
  9774. /* 192 */    NdrFcShort( 0xffffff40 ),    /* Offset= -192 (0) */
  9775. /* 194 */    
  9776.             0x11, 0x4,    /* FC_RP [alloced_on_stack] */
  9777. /* 196 */    NdrFcShort( 0x2 ),    /* Offset= 2 (198) */
  9778. /* 198 */    0xb4,        /* FC_USER_MARSHAL */
  9779.             0x83,        /* 131 */
  9780. /* 200 */    NdrFcShort( 0x0 ),    /* 0 */
  9781. /* 202 */    NdrFcShort( 0x4 ),    /* 4 */
  9782. /* 204 */    NdrFcShort( 0x0 ),    /* 0 */
  9783. /* 206 */    NdrFcShort( 0xffffff5c ),    /* Offset= -164 (42) */
  9784. /* 208 */    
  9785.             0x11, 0x4,    /* FC_RP [alloced_on_stack] */
  9786. /* 210 */    NdrFcShort( 0x2 ),    /* Offset= 2 (212) */
  9787. /* 212 */    0xb4,        /* FC_USER_MARSHAL */
  9788.             0x83,        /* 131 */
  9789. /* 214 */    NdrFcShort( 0x0 ),    /* 0 */
  9790. /* 216 */    NdrFcShort( 0x4 ),    /* 4 */
  9791. /* 218 */    NdrFcShort( 0x0 ),    /* 0 */
  9792. /* 220 */    NdrFcShort( 0xffffff4e ),    /* Offset= -178 (42) */
  9793. /* 222 */    
  9794.             0x11, 0x4,    /* FC_RP [alloced_on_stack] */
  9795. /* 224 */    NdrFcShort( 0x2 ),    /* Offset= 2 (226) */
  9796. /* 226 */    0xb4,        /* FC_USER_MARSHAL */
  9797.             0x83,        /* 131 */
  9798. /* 228 */    NdrFcShort( 0x0 ),    /* 0 */
  9799. /* 230 */    NdrFcShort( 0x4 ),    /* 4 */
  9800. /* 232 */    NdrFcShort( 0x0 ),    /* 0 */
  9801. /* 234 */    NdrFcShort( 0xffffff40 ),    /* Offset= -192 (42) */
  9802. /* 236 */    
  9803.             0x11, 0x4,    /* FC_RP [alloced_on_stack] */
  9804. /* 238 */    NdrFcShort( 0x2 ),    /* Offset= 2 (240) */
  9805. /* 240 */    0xb4,        /* FC_USER_MARSHAL */
  9806.             0x83,        /* 131 */
  9807. /* 242 */    NdrFcShort( 0x0 ),    /* 0 */
  9808. /* 244 */    NdrFcShort( 0x4 ),    /* 4 */
  9809. /* 246 */    NdrFcShort( 0x0 ),    /* 0 */
  9810. /* 248 */    NdrFcShort( 0xffffff32 ),    /* Offset= -206 (42) */
  9811. /* 250 */    0xb4,        /* FC_USER_MARSHAL */
  9812.             0x83,        /* 131 */
  9813. /* 252 */    NdrFcShort( 0x0 ),    /* 0 */
  9814. /* 254 */    NdrFcShort( 0x4 ),    /* 4 */
  9815. /* 256 */    NdrFcShort( 0x0 ),    /* 0 */
  9816. /* 258 */    NdrFcShort( 0xfffffefe ),    /* Offset= -258 (0) */
  9817. /* 260 */    0xb4,        /* FC_USER_MARSHAL */
  9818.             0x83,        /* 131 */
  9819. /* 262 */    NdrFcShort( 0x0 ),    /* 0 */
  9820. /* 264 */    NdrFcShort( 0x4 ),    /* 4 */
  9821. /* 266 */    NdrFcShort( 0x0 ),    /* 0 */
  9822. /* 268 */    NdrFcShort( 0xfffffef4 ),    /* Offset= -268 (0) */
  9823. /* 270 */    0xb4,        /* FC_USER_MARSHAL */
  9824.             0x83,        /* 131 */
  9825. /* 272 */    NdrFcShort( 0x0 ),    /* 0 */
  9826. /* 274 */    NdrFcShort( 0x4 ),    /* 4 */
  9827. /* 276 */    NdrFcShort( 0x0 ),    /* 0 */
  9828. /* 278 */    NdrFcShort( 0xfffffeea ),    /* Offset= -278 (0) */
  9829. /* 280 */    0xb4,        /* FC_USER_MARSHAL */
  9830.             0x83,        /* 131 */
  9831. /* 282 */    NdrFcShort( 0x0 ),    /* 0 */
  9832. /* 284 */    NdrFcShort( 0x4 ),    /* 4 */
  9833. /* 286 */    NdrFcShort( 0x0 ),    /* 0 */
  9834. /* 288 */    NdrFcShort( 0xfffffee0 ),    /* Offset= -288 (0) */
  9835. /* 290 */    
  9836.             0x11, 0x4,    /* FC_RP [alloced_on_stack] */
  9837. /* 292 */    NdrFcShort( 0x2 ),    /* Offset= 2 (294) */
  9838. /* 294 */    0xb4,        /* FC_USER_MARSHAL */
  9839.             0x83,        /* 131 */
  9840. /* 296 */    NdrFcShort( 0x0 ),    /* 0 */
  9841. /* 298 */    NdrFcShort( 0x4 ),    /* 4 */
  9842. /* 300 */    NdrFcShort( 0x0 ),    /* 0 */
  9843. /* 302 */    NdrFcShort( 0xfffffefc ),    /* Offset= -260 (42) */
  9844. /* 304 */    
  9845.             0x11, 0x4,    /* FC_RP [alloced_on_stack] */
  9846. /* 306 */    NdrFcShort( 0x2 ),    /* Offset= 2 (308) */
  9847. /* 308 */    0xb4,        /* FC_USER_MARSHAL */
  9848.             0x83,        /* 131 */
  9849. /* 310 */    NdrFcShort( 0x0 ),    /* 0 */
  9850. /* 312 */    NdrFcShort( 0x4 ),    /* 4 */
  9851. /* 314 */    NdrFcShort( 0x0 ),    /* 0 */
  9852. /* 316 */    NdrFcShort( 0xfffffeee ),    /* Offset= -274 (42) */
  9853. /* 318 */    
  9854.             0x11, 0x4,    /* FC_RP [alloced_on_stack] */
  9855. /* 320 */    NdrFcShort( 0x2 ),    /* Offset= 2 (322) */
  9856. /* 322 */    
  9857.             0x15,        /* FC_STRUCT */
  9858.             0x3,        /* 3 */
  9859. /* 324 */    NdrFcShort( 0x8 ),    /* 8 */
  9860. /* 326 */    0x8,        /* FC_LONG */
  9861.             0x8,        /* FC_LONG */
  9862. /* 328 */    0x5c,        /* FC_PAD */
  9863.             0x5b,        /* FC_END */
  9864.  
  9865.             0x0
  9866.         }
  9867.     };
  9868.  
  9869. const CInterfaceProxyVtbl * _stlcoll_ProxyVtblList[] = 
  9870. {
  9871.     ( CInterfaceProxyVtbl *) &_IStlPointArrayProxyVtbl,
  9872.     ( CInterfaceProxyVtbl *) &_IStlMapsProxyVtbl,
  9873.     ( CInterfaceProxyVtbl *) &_IStlMapStringToMyObjectProxyVtbl,
  9874.     ( CInterfaceProxyVtbl *) &_IStlMapDWordToMyStructProxyVtbl,
  9875.     ( CInterfaceProxyVtbl *) &_IStlMapStringToStringProxyVtbl,
  9876.     ( CInterfaceProxyVtbl *) &_IStlListsProxyVtbl,
  9877.     ( CInterfaceProxyVtbl *) &_IStlStringListProxyVtbl,
  9878.     ( CInterfaceProxyVtbl *) &_IStlMyStructListProxyVtbl,
  9879.     ( CInterfaceProxyVtbl *) &_IStlintListProxyVtbl,
  9880.     ( CInterfaceProxyVtbl *) &_IStlArraysProxyVtbl,
  9881.     ( CInterfaceProxyVtbl *) &_IStlDWordArrayProxyVtbl,
  9882.     ( CInterfaceProxyVtbl *) &_IStlMyObjectArrayProxyVtbl,
  9883.     0
  9884. };
  9885.  
  9886. const CInterfaceStubVtbl * _stlcoll_StubVtblList[] = 
  9887. {
  9888.     ( CInterfaceStubVtbl *) &_IStlPointArrayStubVtbl,
  9889.     ( CInterfaceStubVtbl *) &_IStlMapsStubVtbl,
  9890.     ( CInterfaceStubVtbl *) &_IStlMapStringToMyObjectStubVtbl,
  9891.     ( CInterfaceStubVtbl *) &_IStlMapDWordToMyStructStubVtbl,
  9892.     ( CInterfaceStubVtbl *) &_IStlMapStringToStringStubVtbl,
  9893.     ( CInterfaceStubVtbl *) &_IStlListsStubVtbl,
  9894.     ( CInterfaceStubVtbl *) &_IStlStringListStubVtbl,
  9895.     ( CInterfaceStubVtbl *) &_IStlMyStructListStubVtbl,
  9896.     ( CInterfaceStubVtbl *) &_IStlintListStubVtbl,
  9897.     ( CInterfaceStubVtbl *) &_IStlArraysStubVtbl,
  9898.     ( CInterfaceStubVtbl *) &_IStlDWordArrayStubVtbl,
  9899.     ( CInterfaceStubVtbl *) &_IStlMyObjectArrayStubVtbl,
  9900.     0
  9901. };
  9902.  
  9903. PCInterfaceName const _stlcoll_InterfaceNamesList[] = 
  9904. {
  9905.     "IStlPointArray",
  9906.     "IStlMaps",
  9907.     "IStlMapStringToMyObject",
  9908.     "IStlMapDWordToMyStruct",
  9909.     "IStlMapStringToString",
  9910.     "IStlLists",
  9911.     "IStlStringList",
  9912.     "IStlMyStructList",
  9913.     "IStlintList",
  9914.     "IStlArrays",
  9915.     "IStlDWordArray",
  9916.     "IStlMyObjectArray",
  9917.     0
  9918. };
  9919.  
  9920.  
  9921. #define _stlcoll_CHECK_IID(n)    IID_GENERIC_CHECK_IID( _stlcoll, pIID, n)
  9922.  
  9923. int __stdcall _stlcoll_IID_Lookup( const IID * pIID, int * pIndex )
  9924. {
  9925.     IID_BS_LOOKUP_SETUP
  9926.  
  9927.     IID_BS_LOOKUP_INITIAL_TEST( _stlcoll, 12, 8 )
  9928.     IID_BS_LOOKUP_NEXT_TEST( _stlcoll, 4 )
  9929.     IID_BS_LOOKUP_NEXT_TEST( _stlcoll, 2 )
  9930.     IID_BS_LOOKUP_NEXT_TEST( _stlcoll, 1 )
  9931.     IID_BS_LOOKUP_RETURN_RESULT( _stlcoll, 12, *pIndex )
  9932.     
  9933. }
  9934.  
  9935. const ExtendedProxyFileInfo stlcoll_ProxyFileInfo = 
  9936. {
  9937.     (PCInterfaceProxyVtblList *) & _stlcoll_ProxyVtblList,
  9938.     (PCInterfaceStubVtblList *) & _stlcoll_StubVtblList,
  9939.     (const PCInterfaceName * ) & _stlcoll_InterfaceNamesList,
  9940.     0, // no delegation
  9941.     & _stlcoll_IID_Lookup, 
  9942.     12,
  9943.     1
  9944. };
  9945.