RPCSVC_C.C
上传用户:bangxh
上传日期:2007-01-31
资源大小:42235k
文件大小:60k
源码类别:

Windows编程

开发平台:

Visual C++

  1. /* this ALWAYS GENERATED file contains the RPC client stubs */
  2. /* File created by MIDL compiler version 3.03.0110 */
  3. /* at Mon Mar 30 03:08:52 1998
  4.  */
  5. /* Compiler settings for rpcsvc.idl:
  6.     Os (OptLev=s), W1, Zp8, env=Win32, ms_ext, c_ext
  7.     error checks: none
  8. */
  9. //@@MIDL_FILE_HEADING(  )
  10. #include <string.h>
  11. #if defined( _ALPHA_ )
  12. #include <stdarg.h>
  13. #endif
  14. #include "rpcsvc.h"
  15. #define TYPE_FORMAT_STRING_SIZE   395                               
  16. #define PROC_FORMAT_STRING_SIZE   141                               
  17. typedef struct _MIDL_TYPE_FORMAT_STRING
  18.     {
  19.     short          Pad;
  20.     unsigned char  Format[ TYPE_FORMAT_STRING_SIZE ];
  21.     } MIDL_TYPE_FORMAT_STRING;
  22. typedef struct _MIDL_PROC_FORMAT_STRING
  23.     {
  24.     short          Pad;
  25.     unsigned char  Format[ PROC_FORMAT_STRING_SIZE ];
  26.     } MIDL_PROC_FORMAT_STRING;
  27. extern const MIDL_TYPE_FORMAT_STRING __MIDL_TypeFormatString;
  28. extern const MIDL_PROC_FORMAT_STRING __MIDL_ProcFormatString;
  29. /* Standard interface: RpcServiceSample, ver. 1.0,
  30.    GUID={0x15cd3850,0x28ca,0x11ce,{0xa4,0xe8,0x00,0xaa,0x00,0x61,0x16,0xcb}} */
  31. static const RPC_CLIENT_INTERFACE RpcServiceSample___RpcClientInterface =
  32.     {
  33.     sizeof(RPC_CLIENT_INTERFACE),
  34.     {{0x15cd3850,0x28ca,0x11ce,{0xa4,0xe8,0x00,0xaa,0x00,0x61,0x16,0xcb}},{1,0}},
  35.     {{0x8A885D04,0x1CEB,0x11C9,{0x9F,0xE8,0x08,0x00,0x2B,0x10,0x48,0x60}},{2,0}},
  36.     0,
  37.     0,
  38.     0,
  39.     0,
  40.     0,
  41.     0
  42.     };
  43. RPC_IF_HANDLE RpcServiceSample_v1_0_c_ifspec = (RPC_IF_HANDLE)& RpcServiceSample___RpcClientInterface;
  44. extern const MIDL_STUB_DESC RpcServiceSample_StubDesc;
  45. static RPC_BINDING_HANDLE RpcServiceSample__MIDL_AutoBindHandle;
  46. /* [fault_status][comm_status] */ error_status_t Ping( 
  47.     /* [in] */ handle_t Binding)
  48. {
  49.     RPC_BINDING_HANDLE _Handle = 0;
  50.     
  51.     error_status_t _RetVal;
  52.     
  53.     RPC_MESSAGE _RpcMessage;
  54.     
  55.     RPC_STATUS _Status;
  56.     
  57.     MIDL_STUB_MESSAGE _StubMsg;
  58.     
  59.     RpcTryExcept
  60.         {
  61.         RpcTryFinally
  62.             {
  63.             NdrClientInitializeNew(
  64.                           ( PRPC_MESSAGE  )&_RpcMessage,
  65.                           ( PMIDL_STUB_MESSAGE  )&_StubMsg,
  66.                           ( PMIDL_STUB_DESC  )&RpcServiceSample_StubDesc,
  67.                           0);
  68.             
  69.             
  70.             _Handle = Binding;
  71.             
  72.             
  73.             _StubMsg.BufferLength = 0U;
  74.             NdrGetBuffer( (PMIDL_STUB_MESSAGE) &_StubMsg, _StubMsg.BufferLength, _Handle );
  75.             
  76.             NdrSendReceive( (PMIDL_STUB_MESSAGE) &_StubMsg, (unsigned char __RPC_FAR *) _StubMsg.Buffer );
  77.             
  78.             if ( (_RpcMessage.DataRepresentation & 0X0000FFFFUL) != NDR_LOCAL_DATA_REPRESENTATION )
  79.                 NdrConvert( (PMIDL_STUB_MESSAGE) &_StubMsg, (PFORMAT_STRING) &__MIDL_ProcFormatString.Format[0] );
  80.             
  81.             _RetVal = *(( error_status_t __RPC_FAR * )_StubMsg.Buffer)++;
  82.             
  83.             }
  84.         RpcFinally
  85.             {
  86.             NdrFreeBuffer( (PMIDL_STUB_MESSAGE) &_StubMsg );
  87.             
  88.             }
  89.         RpcEndFinally
  90.         
  91.         }
  92.     RpcExcept( 1 )
  93.         {
  94.         if(_Status = NdrMapCommAndFaultStatus(( PMIDL_STUB_MESSAGE  )&_StubMsg,( unsigned long __RPC_FAR * )&_RetVal,( unsigned long __RPC_FAR * )&_RetVal,RpcExceptionCode()))
  95.             {
  96.             RpcRaiseException(_Status);
  97.             }
  98.         }
  99.     RpcEndExcept
  100.     return _RetVal;
  101. }
  102. /* [fault_status][comm_status] */ error_status_t CheckSecurity( 
  103.     /* [in] */ handle_t Binding)
  104. {
  105.     RPC_BINDING_HANDLE _Handle = 0;
  106.     
  107.     error_status_t _RetVal;
  108.     
  109.     RPC_MESSAGE _RpcMessage;
  110.     
  111.     RPC_STATUS _Status;
  112.     
  113.     MIDL_STUB_MESSAGE _StubMsg;
  114.     
  115.     RpcTryExcept
  116.         {
  117.         RpcTryFinally
  118.             {
  119.             NdrClientInitializeNew(
  120.                           ( PRPC_MESSAGE  )&_RpcMessage,
  121.                           ( PMIDL_STUB_MESSAGE  )&_StubMsg,
  122.                           ( PMIDL_STUB_DESC  )&RpcServiceSample_StubDesc,
  123.                           1);
  124.             
  125.             
  126.             _Handle = Binding;
  127.             
  128.             
  129.             _StubMsg.BufferLength = 0U;
  130.             NdrGetBuffer( (PMIDL_STUB_MESSAGE) &_StubMsg, _StubMsg.BufferLength, _Handle );
  131.             
  132.             NdrSendReceive( (PMIDL_STUB_MESSAGE) &_StubMsg, (unsigned char __RPC_FAR *) _StubMsg.Buffer );
  133.             
  134.             if ( (_RpcMessage.DataRepresentation & 0X0000FFFFUL) != NDR_LOCAL_DATA_REPRESENTATION )
  135.                 NdrConvert( (PMIDL_STUB_MESSAGE) &_StubMsg, (PFORMAT_STRING) &__MIDL_ProcFormatString.Format[0] );
  136.             
  137.             _RetVal = *(( error_status_t __RPC_FAR * )_StubMsg.Buffer)++;
  138.             
  139.             }
  140.         RpcFinally
  141.             {
  142.             NdrFreeBuffer( (PMIDL_STUB_MESSAGE) &_StubMsg );
  143.             
  144.             }
  145.         RpcEndFinally
  146.         
  147.         }
  148.     RpcExcept( 1 )
  149.         {
  150.         if(_Status = NdrMapCommAndFaultStatus(( PMIDL_STUB_MESSAGE  )&_StubMsg,( unsigned long __RPC_FAR * )&_RetVal,( unsigned long __RPC_FAR * )&_RetVal,RpcExceptionCode()))
  151.             {
  152.             RpcRaiseException(_Status);
  153.             }
  154.         }
  155.     RpcEndExcept
  156.     return _RetVal;
  157. }
  158. /* [fault_status][comm_status] */ error_status_t BufferIn1( 
  159.     /* [in] */ handle_t Binding,
  160.     /* [in][size_is][length_is] */ byte __RPC_FAR Buffer[  ],
  161.     /* [in] */ unsigned long BufferLength,
  162.     /* [in] */ unsigned long BufferSize)
  163. {
  164.     RPC_BINDING_HANDLE _Handle = 0;
  165.     
  166.     error_status_t _RetVal;
  167.     
  168.     RPC_MESSAGE _RpcMessage;
  169.     
  170.     RPC_STATUS _Status;
  171.     
  172.     MIDL_STUB_MESSAGE _StubMsg;
  173.     
  174.     RpcTryExcept
  175.         {
  176.         RpcTryFinally
  177.             {
  178.             NdrClientInitializeNew(
  179.                           ( PRPC_MESSAGE  )&_RpcMessage,
  180.                           ( PMIDL_STUB_MESSAGE  )&_StubMsg,
  181.                           ( PMIDL_STUB_DESC  )&RpcServiceSample_StubDesc,
  182.                           2);
  183.             
  184.             
  185.             _Handle = Binding;
  186.             
  187.             
  188.             _StubMsg.BufferLength = 0U + 12U + 11U + 7U;
  189.             _StubMsg.MaxCount = BufferSize;
  190.             _StubMsg.Offset = 0;
  191.             _StubMsg.ActualCount = BufferLength;
  192.             
  193.             NdrConformantVaryingArrayBufferSize( (PMIDL_STUB_MESSAGE) &_StubMsg,
  194.                                                  (unsigned char __RPC_FAR *)Buffer,
  195.                                                  (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[0] );
  196.             
  197.             NdrGetBuffer( (PMIDL_STUB_MESSAGE) &_StubMsg, _StubMsg.BufferLength, _Handle );
  198.             
  199.             _StubMsg.MaxCount = BufferSize;
  200.             _StubMsg.Offset = 0;
  201.             _StubMsg.ActualCount = BufferLength;
  202.             
  203.             NdrConformantVaryingArrayMarshall( (PMIDL_STUB_MESSAGE)& _StubMsg,
  204.                                                (unsigned char __RPC_FAR *)Buffer,
  205.                                                (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[0] );
  206.             
  207.             _StubMsg.Buffer = (unsigned char __RPC_FAR *)(((long)_StubMsg.Buffer + 3) & ~ 0x3);
  208.             *(( unsigned long __RPC_FAR * )_StubMsg.Buffer)++ = BufferLength;
  209.             
  210.             *(( unsigned long __RPC_FAR * )_StubMsg.Buffer)++ = BufferSize;
  211.             
  212.             NdrSendReceive( (PMIDL_STUB_MESSAGE) &_StubMsg, (unsigned char __RPC_FAR *) _StubMsg.Buffer );
  213.             
  214.             if ( (_RpcMessage.DataRepresentation & 0X0000FFFFUL) != NDR_LOCAL_DATA_REPRESENTATION )
  215.                 NdrConvert( (PMIDL_STUB_MESSAGE) &_StubMsg, (PFORMAT_STRING) &__MIDL_ProcFormatString.Format[4] );
  216.             
  217.             _RetVal = *(( error_status_t __RPC_FAR * )_StubMsg.Buffer)++;
  218.             
  219.             }
  220.         RpcFinally
  221.             {
  222.             NdrFreeBuffer( (PMIDL_STUB_MESSAGE) &_StubMsg );
  223.             
  224.             }
  225.         RpcEndFinally
  226.         
  227.         }
  228.     RpcExcept( 1 )
  229.         {
  230.         if(_Status = NdrMapCommAndFaultStatus(( PMIDL_STUB_MESSAGE  )&_StubMsg,( unsigned long __RPC_FAR * )&_RetVal,( unsigned long __RPC_FAR * )&_RetVal,RpcExceptionCode()))
  231.             {
  232.             RpcRaiseException(_Status);
  233.             }
  234.         }
  235.     RpcEndExcept
  236.     return _RetVal;
  237. }
  238. /* [fault_status][comm_status] */ error_status_t BufferIn2( 
  239.     /* [in] */ handle_t Binding,
  240.     /* [in][length_is] */ byte __RPC_FAR Buffer[ 16384 ],
  241.     /* [in] */ unsigned long BufferLength)
  242. {
  243.     RPC_BINDING_HANDLE _Handle = 0;
  244.     
  245.     error_status_t _RetVal;
  246.     
  247.     RPC_MESSAGE _RpcMessage;
  248.     
  249.     RPC_STATUS _Status;
  250.     
  251.     MIDL_STUB_MESSAGE _StubMsg;
  252.     
  253.     RpcTryExcept
  254.         {
  255.         RpcTryFinally
  256.             {
  257.             NdrClientInitializeNew(
  258.                           ( PRPC_MESSAGE  )&_RpcMessage,
  259.                           ( PMIDL_STUB_MESSAGE  )&_StubMsg,
  260.                           ( PMIDL_STUB_DESC  )&RpcServiceSample_StubDesc,
  261.                           3);
  262.             
  263.             
  264.             _Handle = Binding;
  265.             
  266.             
  267.             _StubMsg.BufferLength = 0U + 0U + 11U;
  268.             _StubMsg.Offset = 0;
  269.             _StubMsg.ActualCount = BufferLength;
  270.             
  271.             NdrVaryingArrayBufferSize( (PMIDL_STUB_MESSAGE) &_StubMsg,
  272.                                        (unsigned char __RPC_FAR *)Buffer,
  273.                                        (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[14] );
  274.             
  275.             NdrGetBuffer( (PMIDL_STUB_MESSAGE) &_StubMsg, _StubMsg.BufferLength, _Handle );
  276.             
  277.             _StubMsg.Offset = 0;
  278.             _StubMsg.ActualCount = BufferLength;
  279.             
  280.             NdrVaryingArrayMarshall( (PMIDL_STUB_MESSAGE)& _StubMsg,
  281.                                      (unsigned char __RPC_FAR *)Buffer,
  282.                                      (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[14] );
  283.             
  284.             _StubMsg.Buffer = (unsigned char __RPC_FAR *)(((long)_StubMsg.Buffer + 3) & ~ 0x3);
  285.             *(( unsigned long __RPC_FAR * )_StubMsg.Buffer)++ = BufferLength;
  286.             
  287.             NdrSendReceive( (PMIDL_STUB_MESSAGE) &_StubMsg, (unsigned char __RPC_FAR *) _StubMsg.Buffer );
  288.             
  289.             if ( (_RpcMessage.DataRepresentation & 0X0000FFFFUL) != NDR_LOCAL_DATA_REPRESENTATION )
  290.                 NdrConvert( (PMIDL_STUB_MESSAGE) &_StubMsg, (PFORMAT_STRING) &__MIDL_ProcFormatString.Format[16] );
  291.             
  292.             _RetVal = *(( error_status_t __RPC_FAR * )_StubMsg.Buffer)++;
  293.             
  294.             }
  295.         RpcFinally
  296.             {
  297.             NdrFreeBuffer( (PMIDL_STUB_MESSAGE) &_StubMsg );
  298.             
  299.             }
  300.         RpcEndFinally
  301.         
  302.         }
  303.     RpcExcept( 1 )
  304.         {
  305.         if(_Status = NdrMapCommAndFaultStatus(( PMIDL_STUB_MESSAGE  )&_StubMsg,( unsigned long __RPC_FAR * )&_RetVal,( unsigned long __RPC_FAR * )&_RetVal,RpcExceptionCode()))
  306.             {
  307.             RpcRaiseException(_Status);
  308.             }
  309.         }
  310.     RpcEndExcept
  311.     return _RetVal;
  312. }
  313. /* [fault_status][comm_status] */ error_status_t BufferIn3( 
  314.     /* [in] */ handle_t Binding,
  315.     /* [in][size_is] */ byte __RPC_FAR Buffer[  ],
  316.     /* [in] */ unsigned long BufferLength)
  317. {
  318.     RPC_BINDING_HANDLE _Handle = 0;
  319.     
  320.     error_status_t _RetVal;
  321.     
  322.     RPC_MESSAGE _RpcMessage;
  323.     
  324.     RPC_STATUS _Status;
  325.     
  326.     MIDL_STUB_MESSAGE _StubMsg;
  327.     
  328.     RpcTryExcept
  329.         {
  330.         RpcTryFinally
  331.             {
  332.             NdrClientInitializeNew(
  333.                           ( PRPC_MESSAGE  )&_RpcMessage,
  334.                           ( PMIDL_STUB_MESSAGE  )&_StubMsg,
  335.                           ( PMIDL_STUB_DESC  )&RpcServiceSample_StubDesc,
  336.                           4);
  337.             
  338.             
  339.             _Handle = Binding;
  340.             
  341.             
  342.             _StubMsg.BufferLength = 0U + 4U + 11U;
  343.             _StubMsg.MaxCount = BufferLength;
  344.             
  345.             NdrConformantArrayBufferSize( (PMIDL_STUB_MESSAGE) &_StubMsg,
  346.                                           (unsigned char __RPC_FAR *)Buffer,
  347.                                           (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[28] );
  348.             
  349.             NdrGetBuffer( (PMIDL_STUB_MESSAGE) &_StubMsg, _StubMsg.BufferLength, _Handle );
  350.             
  351.             _StubMsg.MaxCount = BufferLength;
  352.             
  353.             NdrConformantArrayMarshall( (PMIDL_STUB_MESSAGE)& _StubMsg,
  354.                                         (unsigned char __RPC_FAR *)Buffer,
  355.                                         (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[28] );
  356.             
  357.             _StubMsg.Buffer = (unsigned char __RPC_FAR *)(((long)_StubMsg.Buffer + 3) & ~ 0x3);
  358.             *(( unsigned long __RPC_FAR * )_StubMsg.Buffer)++ = BufferLength;
  359.             
  360.             NdrSendReceive( (PMIDL_STUB_MESSAGE) &_StubMsg, (unsigned char __RPC_FAR *) _StubMsg.Buffer );
  361.             
  362.             if ( (_RpcMessage.DataRepresentation & 0X0000FFFFUL) != NDR_LOCAL_DATA_REPRESENTATION )
  363.                 NdrConvert( (PMIDL_STUB_MESSAGE) &_StubMsg, (PFORMAT_STRING) &__MIDL_ProcFormatString.Format[26] );
  364.             
  365.             _RetVal = *(( error_status_t __RPC_FAR * )_StubMsg.Buffer)++;
  366.             
  367.             }
  368.         RpcFinally
  369.             {
  370.             NdrFreeBuffer( (PMIDL_STUB_MESSAGE) &_StubMsg );
  371.             
  372.             }
  373.         RpcEndFinally
  374.         
  375.         }
  376.     RpcExcept( 1 )
  377.         {
  378.         if(_Status = NdrMapCommAndFaultStatus(( PMIDL_STUB_MESSAGE  )&_StubMsg,( unsigned long __RPC_FAR * )&_RetVal,( unsigned long __RPC_FAR * )&_RetVal,RpcExceptionCode()))
  379.             {
  380.             RpcRaiseException(_Status);
  381.             }
  382.         }
  383.     RpcEndExcept
  384.     return _RetVal;
  385. }
  386. /* [fault_status][comm_status] */ error_status_t BufferOut1( 
  387.     /* [in] */ handle_t Binding,
  388.     /* [length_is] */ byte __RPC_FAR Buffer[ 16384 ],
  389.     /* [out] */ unsigned long __RPC_FAR *pBufferLength)
  390. {
  391.     RPC_BINDING_HANDLE _Handle = 0;
  392.     
  393.     error_status_t _RetVal;
  394.     
  395.     RPC_MESSAGE _RpcMessage;
  396.     
  397.     RPC_STATUS _Status;
  398.     
  399.     MIDL_STUB_MESSAGE _StubMsg;
  400.     
  401.     RpcTryExcept
  402.         {
  403.         RpcTryFinally
  404.             {
  405.             NdrClientInitializeNew(
  406.                           ( PRPC_MESSAGE  )&_RpcMessage,
  407.                           ( PMIDL_STUB_MESSAGE  )&_StubMsg,
  408.                           ( PMIDL_STUB_DESC  )&RpcServiceSample_StubDesc,
  409.                           5);
  410.             
  411.             
  412.             _Handle = Binding;
  413.             
  414.             
  415.             _StubMsg.BufferLength = 0U + 0U;
  416.             _StubMsg.Offset = 0;
  417.             _StubMsg.ActualCount = pBufferLength ? *pBufferLength : 0;
  418.             
  419.             NdrVaryingArrayBufferSize( (PMIDL_STUB_MESSAGE) &_StubMsg,
  420.                                        (unsigned char __RPC_FAR *)Buffer,
  421.                                        (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[38] );
  422.             
  423.             NdrGetBuffer( (PMIDL_STUB_MESSAGE) &_StubMsg, _StubMsg.BufferLength, _Handle );
  424.             
  425.             _StubMsg.Offset = 0;
  426.             _StubMsg.ActualCount = pBufferLength ? *pBufferLength : 0;
  427.             
  428.             NdrVaryingArrayMarshall( (PMIDL_STUB_MESSAGE)& _StubMsg,
  429.                                      (unsigned char __RPC_FAR *)Buffer,
  430.                                      (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[38] );
  431.             
  432.             NdrSendReceive( (PMIDL_STUB_MESSAGE) &_StubMsg, (unsigned char __RPC_FAR *) _StubMsg.Buffer );
  433.             
  434.             if ( (_RpcMessage.DataRepresentation & 0X0000FFFFUL) != NDR_LOCAL_DATA_REPRESENTATION )
  435.                 NdrConvert( (PMIDL_STUB_MESSAGE) &_StubMsg, (PFORMAT_STRING) &__MIDL_ProcFormatString.Format[36] );
  436.             
  437.             *pBufferLength = *(( unsigned long __RPC_FAR * )_StubMsg.Buffer)++;
  438.             
  439.             _RetVal = *(( error_status_t __RPC_FAR * )_StubMsg.Buffer)++;
  440.             
  441.             }
  442.         RpcFinally
  443.             {
  444.             NdrFreeBuffer( (PMIDL_STUB_MESSAGE) &_StubMsg );
  445.             
  446.             }
  447.         RpcEndFinally
  448.         
  449.         }
  450.     RpcExcept( 1 )
  451.         {
  452.         if(_Status = NdrMapCommAndFaultStatus(( PMIDL_STUB_MESSAGE  )&_StubMsg,( unsigned long __RPC_FAR * )&_RetVal,( unsigned long __RPC_FAR * )&_RetVal,RpcExceptionCode()))
  453.             {
  454.             RpcRaiseException(_Status);
  455.             }
  456.         }
  457.     RpcEndExcept
  458.     return _RetVal;
  459. }
  460. /* [fault_status][comm_status] */ error_status_t BufferOut2( 
  461.     /* [in] */ handle_t Binding,
  462.     /* [out][length_is][size_is] */ byte __RPC_FAR Buffer[  ],
  463.     /* [in] */ unsigned long BufferSize,
  464.     /* [out] */ unsigned long __RPC_FAR *pBufferLength)
  465. {
  466.     RPC_BINDING_HANDLE _Handle = 0;
  467.     
  468.     error_status_t _RetVal;
  469.     
  470.     RPC_MESSAGE _RpcMessage;
  471.     
  472.     RPC_STATUS _Status;
  473.     
  474.     MIDL_STUB_MESSAGE _StubMsg;
  475.     
  476.     RpcTryExcept
  477.         {
  478.         RpcTryFinally
  479.             {
  480.             NdrClientInitializeNew(
  481.                           ( PRPC_MESSAGE  )&_RpcMessage,
  482.                           ( PMIDL_STUB_MESSAGE  )&_StubMsg,
  483.                           ( PMIDL_STUB_DESC  )&RpcServiceSample_StubDesc,
  484.                           6);
  485.             
  486.             
  487.             _Handle = Binding;
  488.             
  489.             
  490.             _StubMsg.BufferLength = 0U + 4U;
  491.             NdrGetBuffer( (PMIDL_STUB_MESSAGE) &_StubMsg, _StubMsg.BufferLength, _Handle );
  492.             
  493.             *(( unsigned long __RPC_FAR * )_StubMsg.Buffer)++ = BufferSize;
  494.             
  495.             NdrSendReceive( (PMIDL_STUB_MESSAGE) &_StubMsg, (unsigned char __RPC_FAR *) _StubMsg.Buffer );
  496.             
  497.             if ( (_RpcMessage.DataRepresentation & 0X0000FFFFUL) != NDR_LOCAL_DATA_REPRESENTATION )
  498.                 NdrConvert( (PMIDL_STUB_MESSAGE) &_StubMsg, (PFORMAT_STRING) &__MIDL_ProcFormatString.Format[48] );
  499.             
  500.             NdrConformantVaryingArrayUnmarshall( (PMIDL_STUB_MESSAGE) &_StubMsg,
  501.                                                  (unsigned char __RPC_FAR * __RPC_FAR *)&Buffer,
  502.                                                  (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[56],
  503.                                                  (unsigned char)0 );
  504.             
  505.             _StubMsg.Buffer = (unsigned char __RPC_FAR *)(((long)_StubMsg.Buffer + 3) & ~ 0x3);
  506.             *pBufferLength = *(( unsigned long __RPC_FAR * )_StubMsg.Buffer)++;
  507.             
  508.             _RetVal = *(( error_status_t __RPC_FAR * )_StubMsg.Buffer)++;
  509.             
  510.             }
  511.         RpcFinally
  512.             {
  513.             NdrFreeBuffer( (PMIDL_STUB_MESSAGE) &_StubMsg );
  514.             
  515.             }
  516.         RpcEndFinally
  517.         
  518.         }
  519.     RpcExcept( 1 )
  520.         {
  521.         if(_Status = NdrMapCommAndFaultStatus(( PMIDL_STUB_MESSAGE  )&_StubMsg,( unsigned long __RPC_FAR * )&_RetVal,( unsigned long __RPC_FAR * )&_RetVal,RpcExceptionCode()))
  522.             {
  523.             RpcRaiseException(_Status);
  524.             }
  525.         }
  526.     RpcEndExcept
  527.     return _RetVal;
  528. }
  529. /* [fault_status][comm_status] */ error_status_t BufferOut3( 
  530.     /* [in] */ handle_t Binding,
  531.     /* [out] */ BUFFER __RPC_FAR *pBuffer)
  532. {
  533.     RPC_BINDING_HANDLE _Handle = 0;
  534.     
  535.     error_status_t _RetVal;
  536.     
  537.     RPC_MESSAGE _RpcMessage;
  538.     
  539.     RPC_STATUS _Status;
  540.     
  541.     MIDL_STUB_MESSAGE _StubMsg;
  542.     
  543.     RpcTryExcept
  544.         {
  545.         RpcTryFinally
  546.             {
  547.             NdrClientInitializeNew(
  548.                           ( PRPC_MESSAGE  )&_RpcMessage,
  549.                           ( PMIDL_STUB_MESSAGE  )&_StubMsg,
  550.                           ( PMIDL_STUB_DESC  )&RpcServiceSample_StubDesc,
  551.                           7);
  552.             
  553.             
  554.             _Handle = Binding;
  555.             
  556.             
  557.             _StubMsg.BufferLength = 0U;
  558.             NdrGetBuffer( (PMIDL_STUB_MESSAGE) &_StubMsg, _StubMsg.BufferLength, _Handle );
  559.             
  560.             NdrSendReceive( (PMIDL_STUB_MESSAGE) &_StubMsg, (unsigned char __RPC_FAR *) _StubMsg.Buffer );
  561.             
  562.             if ( (_RpcMessage.DataRepresentation & 0X0000FFFFUL) != NDR_LOCAL_DATA_REPRESENTATION )
  563.                 NdrConvert( (PMIDL_STUB_MESSAGE) &_StubMsg, (PFORMAT_STRING) &__MIDL_ProcFormatString.Format[62] );
  564.             
  565.             NdrSimpleStructUnmarshall( (PMIDL_STUB_MESSAGE) &_StubMsg,
  566.                                        (unsigned char __RPC_FAR * __RPC_FAR *)&pBuffer,
  567.                                        (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[84],
  568.                                        (unsigned char)0 );
  569.             
  570.             _StubMsg.Buffer = (unsigned char __RPC_FAR *)(((long)_StubMsg.Buffer + 3) & ~ 0x3);
  571.             _RetVal = *(( error_status_t __RPC_FAR * )_StubMsg.Buffer)++;
  572.             
  573.             }
  574.         RpcFinally
  575.             {
  576.             NdrFreeBuffer( (PMIDL_STUB_MESSAGE) &_StubMsg );
  577.             
  578.             }
  579.         RpcEndFinally
  580.         
  581.         }
  582.     RpcExcept( 1 )
  583.         {
  584.         if(_Status = NdrMapCommAndFaultStatus(( PMIDL_STUB_MESSAGE  )&_StubMsg,( unsigned long __RPC_FAR * )&_RetVal,( unsigned long __RPC_FAR * )&_RetVal,RpcExceptionCode()))
  585.             {
  586.             RpcRaiseException(_Status);
  587.             }
  588.         }
  589.     RpcEndExcept
  590.     return _RetVal;
  591. }
  592. /* [fault_status][comm_status] */ error_status_t BufferOut4( 
  593.     /* [in] */ handle_t Binding,
  594.     /* [size_is][out] */ byte __RPC_FAR Buffer[  ],
  595.     /* [out][in] */ unsigned long __RPC_FAR *pBufferLength)
  596. {
  597.     RPC_BINDING_HANDLE _Handle = 0;
  598.     
  599.     error_status_t _RetVal;
  600.     
  601.     RPC_MESSAGE _RpcMessage;
  602.     
  603.     RPC_STATUS _Status;
  604.     
  605.     MIDL_STUB_MESSAGE _StubMsg;
  606.     
  607.     RpcTryExcept
  608.         {
  609.         RpcTryFinally
  610.             {
  611.             NdrClientInitializeNew(
  612.                           ( PRPC_MESSAGE  )&_RpcMessage,
  613.                           ( PMIDL_STUB_MESSAGE  )&_StubMsg,
  614.                           ( PMIDL_STUB_DESC  )&RpcServiceSample_StubDesc,
  615.                           8);
  616.             
  617.             
  618.             _Handle = Binding;
  619.             
  620.             
  621.             _StubMsg.BufferLength = 0U + 4U;
  622.             NdrGetBuffer( (PMIDL_STUB_MESSAGE) &_StubMsg, _StubMsg.BufferLength, _Handle );
  623.             
  624.             *(( unsigned long __RPC_FAR * )_StubMsg.Buffer)++ = *pBufferLength;
  625.             
  626.             NdrSendReceive( (PMIDL_STUB_MESSAGE) &_StubMsg, (unsigned char __RPC_FAR *) _StubMsg.Buffer );
  627.             
  628.             if ( (_RpcMessage.DataRepresentation & 0X0000FFFFUL) != NDR_LOCAL_DATA_REPRESENTATION )
  629.                 NdrConvert( (PMIDL_STUB_MESSAGE) &_StubMsg, (PFORMAT_STRING) &__MIDL_ProcFormatString.Format[70] );
  630.             
  631.             NdrConformantArrayUnmarshall( (PMIDL_STUB_MESSAGE) &_StubMsg,
  632.                                           (unsigned char __RPC_FAR * __RPC_FAR *)&Buffer,
  633.                                           (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[104],
  634.                                           (unsigned char)0 );
  635.             
  636.             _StubMsg.Buffer = (unsigned char __RPC_FAR *)(((long)_StubMsg.Buffer + 3) & ~ 0x3);
  637.             *pBufferLength = *(( unsigned long __RPC_FAR * )_StubMsg.Buffer)++;
  638.             
  639.             _RetVal = *(( error_status_t __RPC_FAR * )_StubMsg.Buffer)++;
  640.             
  641.             }
  642.         RpcFinally
  643.             {
  644.             NdrFreeBuffer( (PMIDL_STUB_MESSAGE) &_StubMsg );
  645.             
  646.             }
  647.         RpcEndFinally
  648.         
  649.         }
  650.     RpcExcept( 1 )
  651.         {
  652.         if(_Status = NdrMapCommAndFaultStatus(( PMIDL_STUB_MESSAGE  )&_StubMsg,( unsigned long __RPC_FAR * )&_RetVal,( unsigned long __RPC_FAR * )&_RetVal,RpcExceptionCode()))
  653.             {
  654.             RpcRaiseException(_Status);
  655.             }
  656.         }
  657.     RpcEndExcept
  658.     return _RetVal;
  659. }
  660. /* [fault_status][comm_status] */ error_status_t StructsIn1( 
  661.     /* [in] */ handle_t Binding,
  662.     /* [in] */ struct BAD1 __RPC_FAR array[ 50 ])
  663. {
  664.     RPC_BINDING_HANDLE _Handle = 0;
  665.     
  666.     error_status_t _RetVal;
  667.     
  668.     RPC_MESSAGE _RpcMessage;
  669.     
  670.     RPC_STATUS _Status;
  671.     
  672.     MIDL_STUB_MESSAGE _StubMsg;
  673.     
  674.     RpcTryExcept
  675.         {
  676.         RpcTryFinally
  677.             {
  678.             NdrClientInitializeNew(
  679.                           ( PRPC_MESSAGE  )&_RpcMessage,
  680.                           ( PMIDL_STUB_MESSAGE  )&_StubMsg,
  681.                           ( PMIDL_STUB_DESC  )&RpcServiceSample_StubDesc,
  682.                           9);
  683.             
  684.             
  685.             _Handle = Binding;
  686.             
  687.             
  688.             _StubMsg.BufferLength = 0U + 0U;
  689.             NdrComplexArrayBufferSize( (PMIDL_STUB_MESSAGE) &_StubMsg,
  690.                                        (unsigned char __RPC_FAR *)array,
  691.                                        (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[130] );
  692.             
  693.             NdrGetBuffer( (PMIDL_STUB_MESSAGE) &_StubMsg, _StubMsg.BufferLength, _Handle );
  694.             
  695.             NdrComplexArrayMarshall( (PMIDL_STUB_MESSAGE)& _StubMsg,
  696.                                      (unsigned char __RPC_FAR *)array,
  697.                                      (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[130] );
  698.             
  699.             NdrSendReceive( (PMIDL_STUB_MESSAGE) &_StubMsg, (unsigned char __RPC_FAR *) _StubMsg.Buffer );
  700.             
  701.             if ( (_RpcMessage.DataRepresentation & 0X0000FFFFUL) != NDR_LOCAL_DATA_REPRESENTATION )
  702.                 NdrConvert( (PMIDL_STUB_MESSAGE) &_StubMsg, (PFORMAT_STRING) &__MIDL_ProcFormatString.Format[82] );
  703.             
  704.             _RetVal = *(( error_status_t __RPC_FAR * )_StubMsg.Buffer)++;
  705.             
  706.             }
  707.         RpcFinally
  708.             {
  709.             NdrFreeBuffer( (PMIDL_STUB_MESSAGE) &_StubMsg );
  710.             
  711.             }
  712.         RpcEndFinally
  713.         
  714.         }
  715.     RpcExcept( 1 )
  716.         {
  717.         if(_Status = NdrMapCommAndFaultStatus(( PMIDL_STUB_MESSAGE  )&_StubMsg,( unsigned long __RPC_FAR * )&_RetVal,( unsigned long __RPC_FAR * )&_RetVal,RpcExceptionCode()))
  718.             {
  719.             RpcRaiseException(_Status);
  720.             }
  721.         }
  722.     RpcEndExcept
  723.     return _RetVal;
  724. }
  725. /* [fault_status][comm_status] */ error_status_t StructsIn2( 
  726.     /* [in] */ handle_t Binding,
  727.     /* [in] */ struct BAD2 __RPC_FAR array[ 50 ])
  728. {
  729.     RPC_BINDING_HANDLE _Handle = 0;
  730.     
  731.     error_status_t _RetVal;
  732.     
  733.     RPC_MESSAGE _RpcMessage;
  734.     
  735.     RPC_STATUS _Status;
  736.     
  737.     MIDL_STUB_MESSAGE _StubMsg;
  738.     
  739.     RpcTryExcept
  740.         {
  741.         RpcTryFinally
  742.             {
  743.             NdrClientInitializeNew(
  744.                           ( PRPC_MESSAGE  )&_RpcMessage,
  745.                           ( PMIDL_STUB_MESSAGE  )&_StubMsg,
  746.                           ( PMIDL_STUB_DESC  )&RpcServiceSample_StubDesc,
  747.                           10);
  748.             
  749.             
  750.             _Handle = Binding;
  751.             
  752.             
  753.             _StubMsg.BufferLength = 0U + 0U;
  754.             NdrComplexArrayBufferSize( (PMIDL_STUB_MESSAGE) &_StubMsg,
  755.                                        (unsigned char __RPC_FAR *)array,
  756.                                        (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[160] );
  757.             
  758.             NdrGetBuffer( (PMIDL_STUB_MESSAGE) &_StubMsg, _StubMsg.BufferLength, _Handle );
  759.             
  760.             NdrComplexArrayMarshall( (PMIDL_STUB_MESSAGE)& _StubMsg,
  761.                                      (unsigned char __RPC_FAR *)array,
  762.                                      (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[160] );
  763.             
  764.             NdrSendReceive( (PMIDL_STUB_MESSAGE) &_StubMsg, (unsigned char __RPC_FAR *) _StubMsg.Buffer );
  765.             
  766.             if ( (_RpcMessage.DataRepresentation & 0X0000FFFFUL) != NDR_LOCAL_DATA_REPRESENTATION )
  767.                 NdrConvert( (PMIDL_STUB_MESSAGE) &_StubMsg, (PFORMAT_STRING) &__MIDL_ProcFormatString.Format[90] );
  768.             
  769.             _RetVal = *(( error_status_t __RPC_FAR * )_StubMsg.Buffer)++;
  770.             
  771.             }
  772.         RpcFinally
  773.             {
  774.             NdrFreeBuffer( (PMIDL_STUB_MESSAGE) &_StubMsg );
  775.             
  776.             }
  777.         RpcEndFinally
  778.         
  779.         }
  780.     RpcExcept( 1 )
  781.         {
  782.         if(_Status = NdrMapCommAndFaultStatus(( PMIDL_STUB_MESSAGE  )&_StubMsg,( unsigned long __RPC_FAR * )&_RetVal,( unsigned long __RPC_FAR * )&_RetVal,RpcExceptionCode()))
  783.             {
  784.             RpcRaiseException(_Status);
  785.             }
  786.         }
  787.     RpcEndExcept
  788.     return _RetVal;
  789. }
  790. /* [fault_status][comm_status] */ error_status_t StructsIn3( 
  791.     /* [in] */ handle_t Binding,
  792.     /* [in] */ struct GOOD __RPC_FAR array[ 50 ])
  793. {
  794.     RPC_BINDING_HANDLE _Handle = 0;
  795.     
  796.     error_status_t _RetVal;
  797.     
  798.     RPC_MESSAGE _RpcMessage;
  799.     
  800.     RPC_STATUS _Status;
  801.     
  802.     MIDL_STUB_MESSAGE _StubMsg;
  803.     
  804.     RpcTryExcept
  805.         {
  806.         RpcTryFinally
  807.             {
  808.             NdrClientInitializeNew(
  809.                           ( PRPC_MESSAGE  )&_RpcMessage,
  810.                           ( PMIDL_STUB_MESSAGE  )&_StubMsg,
  811.                           ( PMIDL_STUB_DESC  )&RpcServiceSample_StubDesc,
  812.                           11);
  813.             
  814.             
  815.             _Handle = Binding;
  816.             
  817.             
  818.             _StubMsg.BufferLength = 0U + 0U;
  819.             NdrFixedArrayBufferSize( (PMIDL_STUB_MESSAGE) &_StubMsg,
  820.                                      (unsigned char __RPC_FAR *)array,
  821.                                      (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[186] );
  822.             
  823.             NdrGetBuffer( (PMIDL_STUB_MESSAGE) &_StubMsg, _StubMsg.BufferLength, _Handle );
  824.             
  825.             NdrFixedArrayMarshall( (PMIDL_STUB_MESSAGE)& _StubMsg,
  826.                                    (unsigned char __RPC_FAR *)array,
  827.                                    (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[186] );
  828.             
  829.             NdrSendReceive( (PMIDL_STUB_MESSAGE) &_StubMsg, (unsigned char __RPC_FAR *) _StubMsg.Buffer );
  830.             
  831.             if ( (_RpcMessage.DataRepresentation & 0X0000FFFFUL) != NDR_LOCAL_DATA_REPRESENTATION )
  832.                 NdrConvert( (PMIDL_STUB_MESSAGE) &_StubMsg, (PFORMAT_STRING) &__MIDL_ProcFormatString.Format[98] );
  833.             
  834.             _RetVal = *(( error_status_t __RPC_FAR * )_StubMsg.Buffer)++;
  835.             
  836.             }
  837.         RpcFinally
  838.             {
  839.             NdrFreeBuffer( (PMIDL_STUB_MESSAGE) &_StubMsg );
  840.             
  841.             }
  842.         RpcEndFinally
  843.         
  844.         }
  845.     RpcExcept( 1 )
  846.         {
  847.         if(_Status = NdrMapCommAndFaultStatus(( PMIDL_STUB_MESSAGE  )&_StubMsg,( unsigned long __RPC_FAR * )&_RetVal,( unsigned long __RPC_FAR * )&_RetVal,RpcExceptionCode()))
  848.             {
  849.             RpcRaiseException(_Status);
  850.             }
  851.         }
  852.     RpcEndExcept
  853.     return _RetVal;
  854. }
  855. /* [fault_status][comm_status] */ error_status_t ListIn( 
  856.     /* [in] */ handle_t Binding,
  857.     /* [in] */ PLIST pList)
  858. {
  859.     RPC_BINDING_HANDLE _Handle = 0;
  860.     
  861.     error_status_t _RetVal;
  862.     
  863.     RPC_MESSAGE _RpcMessage;
  864.     
  865.     RPC_STATUS _Status;
  866.     
  867.     MIDL_STUB_MESSAGE _StubMsg;
  868.     
  869.     RpcTryExcept
  870.         {
  871.         RpcTryFinally
  872.             {
  873.             NdrClientInitializeNew(
  874.                           ( PRPC_MESSAGE  )&_RpcMessage,
  875.                           ( PMIDL_STUB_MESSAGE  )&_StubMsg,
  876.                           ( PMIDL_STUB_DESC  )&RpcServiceSample_StubDesc,
  877.                           12);
  878.             
  879.             
  880.             _Handle = Binding;
  881.             
  882.             
  883.             _StubMsg.BufferLength = 0U + 4U;
  884.             NdrPointerBufferSize( (PMIDL_STUB_MESSAGE) &_StubMsg,
  885.                                   (unsigned char __RPC_FAR *)pList,
  886.                                   (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[196] );
  887.             
  888.             NdrGetBuffer( (PMIDL_STUB_MESSAGE) &_StubMsg, _StubMsg.BufferLength, _Handle );
  889.             
  890.             NdrPointerMarshall( (PMIDL_STUB_MESSAGE)& _StubMsg,
  891.                                 (unsigned char __RPC_FAR *)pList,
  892.                                 (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[196] );
  893.             
  894.             NdrSendReceive( (PMIDL_STUB_MESSAGE) &_StubMsg, (unsigned char __RPC_FAR *) _StubMsg.Buffer );
  895.             
  896.             if ( (_RpcMessage.DataRepresentation & 0X0000FFFFUL) != NDR_LOCAL_DATA_REPRESENTATION )
  897.                 NdrConvert( (PMIDL_STUB_MESSAGE) &_StubMsg, (PFORMAT_STRING) &__MIDL_ProcFormatString.Format[106] );
  898.             
  899.             _RetVal = *(( error_status_t __RPC_FAR * )_StubMsg.Buffer)++;
  900.             
  901.             }
  902.         RpcFinally
  903.             {
  904.             NdrFreeBuffer( (PMIDL_STUB_MESSAGE) &_StubMsg );
  905.             
  906.             }
  907.         RpcEndFinally
  908.         
  909.         }
  910.     RpcExcept( 1 )
  911.         {
  912.         if(_Status = NdrMapCommAndFaultStatus(( PMIDL_STUB_MESSAGE  )&_StubMsg,( unsigned long __RPC_FAR * )&_RetVal,( unsigned long __RPC_FAR * )&_RetVal,RpcExceptionCode()))
  913.             {
  914.             RpcRaiseException(_Status);
  915.             }
  916.         }
  917.     RpcEndExcept
  918.     return _RetVal;
  919. }
  920. /* [fault_status][comm_status] */ error_status_t ListOut1( 
  921.     /* [in] */ handle_t Binding,
  922.     /* [out] */ LIST __RPC_FAR *pListHead)
  923. {
  924.     RPC_BINDING_HANDLE _Handle = 0;
  925.     
  926.     error_status_t _RetVal;
  927.     
  928.     RPC_MESSAGE _RpcMessage;
  929.     
  930.     RPC_STATUS _Status;
  931.     
  932.     MIDL_STUB_MESSAGE _StubMsg;
  933.     
  934.     RpcTryExcept
  935.         {
  936.         RpcTryFinally
  937.             {
  938.             NdrClientInitializeNew(
  939.                           ( PRPC_MESSAGE  )&_RpcMessage,
  940.                           ( PMIDL_STUB_MESSAGE  )&_StubMsg,
  941.                           ( PMIDL_STUB_DESC  )&RpcServiceSample_StubDesc,
  942.                           13);
  943.             
  944.             
  945.             _Handle = Binding;
  946.             
  947.             
  948.             _StubMsg.BufferLength = 0U;
  949.             NdrGetBuffer( (PMIDL_STUB_MESSAGE) &_StubMsg, _StubMsg.BufferLength, _Handle );
  950.             
  951.             NdrSendReceive( (PMIDL_STUB_MESSAGE) &_StubMsg, (unsigned char __RPC_FAR *) _StubMsg.Buffer );
  952.             
  953.             if ( (_RpcMessage.DataRepresentation & 0X0000FFFFUL) != NDR_LOCAL_DATA_REPRESENTATION )
  954.                 NdrConvert( (PMIDL_STUB_MESSAGE) &_StubMsg, (PFORMAT_STRING) &__MIDL_ProcFormatString.Format[114] );
  955.             
  956.             NdrSimpleStructUnmarshall( (PMIDL_STUB_MESSAGE) &_StubMsg,
  957.                                        (unsigned char __RPC_FAR * __RPC_FAR *)&pListHead,
  958.                                        (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[200],
  959.                                        (unsigned char)0 );
  960.             
  961.             _StubMsg.Buffer = (unsigned char __RPC_FAR *)(((long)_StubMsg.Buffer + 3) & ~ 0x3);
  962.             _RetVal = *(( error_status_t __RPC_FAR * )_StubMsg.Buffer)++;
  963.             
  964.             }
  965.         RpcFinally
  966.             {
  967.             NdrFreeBuffer( (PMIDL_STUB_MESSAGE) &_StubMsg );
  968.             
  969.             }
  970.         RpcEndFinally
  971.         
  972.         }
  973.     RpcExcept( 1 )
  974.         {
  975.         if(_Status = NdrMapCommAndFaultStatus(( PMIDL_STUB_MESSAGE  )&_StubMsg,( unsigned long __RPC_FAR * )&_RetVal,( unsigned long __RPC_FAR * )&_RetVal,RpcExceptionCode()))
  976.             {
  977.             RpcRaiseException(_Status);
  978.             }
  979.         }
  980.     RpcEndExcept
  981.     return _RetVal;
  982. }
  983. /* [fault_status][comm_status] */ error_status_t ListOut2( 
  984.     /* [in] */ handle_t Binding,
  985.     /* [out] */ LIST __RPC_FAR *pListHead)
  986. {
  987.     RPC_BINDING_HANDLE _Handle = 0;
  988.     
  989.     error_status_t _RetVal;
  990.     
  991.     RPC_MESSAGE _RpcMessage;
  992.     
  993.     RPC_STATUS _Status;
  994.     
  995.     MIDL_STUB_MESSAGE _StubMsg;
  996.     
  997.     RpcTryExcept
  998.         {
  999.         RpcTryFinally
  1000.             {
  1001.             NdrClientInitializeNew(
  1002.                           ( PRPC_MESSAGE  )&_RpcMessage,
  1003.                           ( PMIDL_STUB_MESSAGE  )&_StubMsg,
  1004.                           ( PMIDL_STUB_DESC  )&RpcServiceSample_StubDesc,
  1005.                           14);
  1006.             
  1007.             
  1008.             _Handle = Binding;
  1009.             
  1010.             
  1011.             _StubMsg.BufferLength = 0U;
  1012.             NdrGetBuffer( (PMIDL_STUB_MESSAGE) &_StubMsg, _StubMsg.BufferLength, _Handle );
  1013.             
  1014.             NdrSendReceive( (PMIDL_STUB_MESSAGE) &_StubMsg, (unsigned char __RPC_FAR *) _StubMsg.Buffer );
  1015.             
  1016.             if ( (_RpcMessage.DataRepresentation & 0X0000FFFFUL) != NDR_LOCAL_DATA_REPRESENTATION )
  1017.                 NdrConvert( (PMIDL_STUB_MESSAGE) &_StubMsg, (PFORMAT_STRING) &__MIDL_ProcFormatString.Format[114] );
  1018.             
  1019.             NdrSimpleStructUnmarshall( (PMIDL_STUB_MESSAGE) &_StubMsg,
  1020.                                        (unsigned char __RPC_FAR * __RPC_FAR *)&pListHead,
  1021.                                        (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[200],
  1022.                                        (unsigned char)0 );
  1023.             
  1024.             _StubMsg.Buffer = (unsigned char __RPC_FAR *)(((long)_StubMsg.Buffer + 3) & ~ 0x3);
  1025.             _RetVal = *(( error_status_t __RPC_FAR * )_StubMsg.Buffer)++;
  1026.             
  1027.             }
  1028.         RpcFinally
  1029.             {
  1030.             NdrFreeBuffer( (PMIDL_STUB_MESSAGE) &_StubMsg );
  1031.             
  1032.             }
  1033.         RpcEndFinally
  1034.         
  1035.         }
  1036.     RpcExcept( 1 )
  1037.         {
  1038.         if(_Status = NdrMapCommAndFaultStatus(( PMIDL_STUB_MESSAGE  )&_StubMsg,( unsigned long __RPC_FAR * )&_RetVal,( unsigned long __RPC_FAR * )&_RetVal,RpcExceptionCode()))
  1039.             {
  1040.             RpcRaiseException(_Status);
  1041.             }
  1042.         }
  1043.     RpcEndExcept
  1044.     return _RetVal;
  1045. }
  1046. /* [fault_status][comm_status] */ error_status_t UnionCall1( 
  1047.     /* [in] */ handle_t Binding,
  1048.     /* [in] */ unsigned long Length,
  1049.     /* [size_is][in] */ BAD_UNION __RPC_FAR ArrayOfUnions[  ])
  1050. {
  1051.     RPC_BINDING_HANDLE _Handle = 0;
  1052.     
  1053.     error_status_t _RetVal;
  1054.     
  1055.     RPC_MESSAGE _RpcMessage;
  1056.     
  1057.     RPC_STATUS _Status;
  1058.     
  1059.     MIDL_STUB_MESSAGE _StubMsg;
  1060.     
  1061.     RpcTryExcept
  1062.         {
  1063.         RpcTryFinally
  1064.             {
  1065.             NdrClientInitializeNew(
  1066.                           ( PRPC_MESSAGE  )&_RpcMessage,
  1067.                           ( PMIDL_STUB_MESSAGE  )&_StubMsg,
  1068.                           ( PMIDL_STUB_DESC  )&RpcServiceSample_StubDesc,
  1069.                           15);
  1070.             
  1071.             
  1072.             _Handle = Binding;
  1073.             
  1074.             
  1075.             _StubMsg.BufferLength = 0U + 4U + 4U;
  1076.             _StubMsg.MaxCount = Length;
  1077.             
  1078.             NdrComplexArrayBufferSize( (PMIDL_STUB_MESSAGE) &_StubMsg,
  1079.                                        (unsigned char __RPC_FAR *)ArrayOfUnions,
  1080.                                        (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[264] );
  1081.             
  1082.             NdrGetBuffer( (PMIDL_STUB_MESSAGE) &_StubMsg, _StubMsg.BufferLength, _Handle );
  1083.             
  1084.             *(( unsigned long __RPC_FAR * )_StubMsg.Buffer)++ = Length;
  1085.             
  1086.             _StubMsg.MaxCount = Length;
  1087.             
  1088.             NdrComplexArrayMarshall( (PMIDL_STUB_MESSAGE)& _StubMsg,
  1089.                                      (unsigned char __RPC_FAR *)ArrayOfUnions,
  1090.                                      (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[264] );
  1091.             
  1092.             NdrSendReceive( (PMIDL_STUB_MESSAGE) &_StubMsg, (unsigned char __RPC_FAR *) _StubMsg.Buffer );
  1093.             
  1094.             if ( (_RpcMessage.DataRepresentation & 0X0000FFFFUL) != NDR_LOCAL_DATA_REPRESENTATION )
  1095.                 NdrConvert( (PMIDL_STUB_MESSAGE) &_StubMsg, (PFORMAT_STRING) &__MIDL_ProcFormatString.Format[122] );
  1096.             
  1097.             _RetVal = *(( error_status_t __RPC_FAR * )_StubMsg.Buffer)++;
  1098.             
  1099.             }
  1100.         RpcFinally
  1101.             {
  1102.             NdrFreeBuffer( (PMIDL_STUB_MESSAGE) &_StubMsg );
  1103.             
  1104.             }
  1105.         RpcEndFinally
  1106.         
  1107.         }
  1108.     RpcExcept( 1 )
  1109.         {
  1110.         if(_Status = NdrMapCommAndFaultStatus(( PMIDL_STUB_MESSAGE  )&_StubMsg,( unsigned long __RPC_FAR * )&_RetVal,( unsigned long __RPC_FAR * )&_RetVal,RpcExceptionCode()))
  1111.             {
  1112.             RpcRaiseException(_Status);
  1113.             }
  1114.         }
  1115.     RpcEndExcept
  1116.     return _RetVal;
  1117. }
  1118. /* [fault_status][comm_status] */ error_status_t UnionCall2( 
  1119.     /* [in] */ handle_t Binding,
  1120.     /* [in] */ GOOD_UNION __RPC_FAR *pUnionContainingArrays)
  1121. {
  1122.     RPC_BINDING_HANDLE _Handle = 0;
  1123.     
  1124.     error_status_t _RetVal;
  1125.     
  1126.     RPC_MESSAGE _RpcMessage;
  1127.     
  1128.     RPC_STATUS _Status;
  1129.     
  1130.     MIDL_STUB_MESSAGE _StubMsg;
  1131.     
  1132.     RpcTryExcept
  1133.         {
  1134.         RpcTryFinally
  1135.             {
  1136.             NdrClientInitializeNew(
  1137.                           ( PRPC_MESSAGE  )&_RpcMessage,
  1138.                           ( PMIDL_STUB_MESSAGE  )&_StubMsg,
  1139.                           ( PMIDL_STUB_DESC  )&RpcServiceSample_StubDesc,
  1140.                           16);
  1141.             
  1142.             
  1143.             _Handle = Binding;
  1144.             
  1145.             
  1146.             _StubMsg.BufferLength = 0U + 0U;
  1147.             NdrComplexStructBufferSize( (PMIDL_STUB_MESSAGE) &_StubMsg,
  1148.                                         (unsigned char __RPC_FAR *)pUnionContainingArrays,
  1149.                                         (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[380] );
  1150.             
  1151.             NdrGetBuffer( (PMIDL_STUB_MESSAGE) &_StubMsg, _StubMsg.BufferLength, _Handle );
  1152.             
  1153.             NdrComplexStructMarshall( (PMIDL_STUB_MESSAGE)& _StubMsg,
  1154.                                       (unsigned char __RPC_FAR *)pUnionContainingArrays,
  1155.                                       (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[380] );
  1156.             
  1157.             NdrSendReceive( (PMIDL_STUB_MESSAGE) &_StubMsg, (unsigned char __RPC_FAR *) _StubMsg.Buffer );
  1158.             
  1159.             if ( (_RpcMessage.DataRepresentation & 0X0000FFFFUL) != NDR_LOCAL_DATA_REPRESENTATION )
  1160.                 NdrConvert( (PMIDL_STUB_MESSAGE) &_StubMsg, (PFORMAT_STRING) &__MIDL_ProcFormatString.Format[132] );
  1161.             
  1162.             _RetVal = *(( error_status_t __RPC_FAR * )_StubMsg.Buffer)++;
  1163.             
  1164.             }
  1165.         RpcFinally
  1166.             {
  1167.             NdrFreeBuffer( (PMIDL_STUB_MESSAGE) &_StubMsg );
  1168.             
  1169.             }
  1170.         RpcEndFinally
  1171.         
  1172.         }
  1173.     RpcExcept( 1 )
  1174.         {
  1175.         if(_Status = NdrMapCommAndFaultStatus(( PMIDL_STUB_MESSAGE  )&_StubMsg,( unsigned long __RPC_FAR * )&_RetVal,( unsigned long __RPC_FAR * )&_RetVal,RpcExceptionCode()))
  1176.             {
  1177.             RpcRaiseException(_Status);
  1178.             }
  1179.         }
  1180.     RpcEndExcept
  1181.     return _RetVal;
  1182. }
  1183. static const MIDL_STUB_DESC RpcServiceSample_StubDesc = 
  1184.     {
  1185.     (void __RPC_FAR *)& RpcServiceSample___RpcClientInterface,
  1186.     MIDL_user_allocate,
  1187.     MIDL_user_free,
  1188.     &RpcServiceSample__MIDL_AutoBindHandle,
  1189.     0,
  1190.     0,
  1191.     0,
  1192.     0,
  1193.     __MIDL_TypeFormatString.Format,
  1194.     0, /* -error bounds_check flag */
  1195.     0x10001, /* Ndr library version */
  1196.     0,
  1197.     0x303006e, /* MIDL Version 3.3.110 */
  1198.     0,
  1199.     0,
  1200.     0,  /* Reserved1 */
  1201.     0,  /* Reserved2 */
  1202.     0,  /* Reserved3 */
  1203.     0,  /* Reserved4 */
  1204.     0   /* Reserved5 */
  1205.     };
  1206. #if !defined(__RPC_WIN32__)
  1207. #error  Invalid build platform for this stub.
  1208. #endif
  1209. static const MIDL_PROC_FORMAT_STRING __MIDL_ProcFormatString =
  1210.     {
  1211.         0,
  1212.         {
  1213. 0x4e, /* FC_IN_PARAM_BASETYPE */
  1214. 0xf, /* FC_IGNORE */
  1215. /*  2 */ 0x53, /* FC_RETURN_PARAM_BASETYPE */
  1216. 0x10, /* FC_ERROR_STATUS_T */
  1217. /*  4 */ 0x4e, /* FC_IN_PARAM_BASETYPE */
  1218. 0xf, /* FC_IGNORE */
  1219. /*  6 */
  1220. 0x4d, /* FC_IN_PARAM */
  1221. #ifndef _ALPHA_
  1222. 0x1, /* x86, MIPS & PPC Stack size = 1 */
  1223. #else
  1224. 0x2, /* Alpha Stack size = 2 */
  1225. #endif
  1226. /*  8 */ NdrFcShort( 0x0 ), /* Type Offset=0 */
  1227. /* 10 */ 0x4e, /* FC_IN_PARAM_BASETYPE */
  1228. 0x8, /* FC_LONG */
  1229. /* 12 */ 0x4e, /* FC_IN_PARAM_BASETYPE */
  1230. 0x8, /* FC_LONG */
  1231. /* 14 */ 0x53, /* FC_RETURN_PARAM_BASETYPE */
  1232. 0x10, /* FC_ERROR_STATUS_T */
  1233. /* 16 */ 0x4e, /* FC_IN_PARAM_BASETYPE */
  1234. 0xf, /* FC_IGNORE */
  1235. /* 18 */
  1236. 0x4d, /* FC_IN_PARAM */
  1237. #ifndef _ALPHA_
  1238. 0x1, /* x86, MIPS & PPC Stack size = 1 */
  1239. #else
  1240. 0x2, /* Alpha Stack size = 2 */
  1241. #endif
  1242. /* 20 */ NdrFcShort( 0xe ), /* Type Offset=14 */
  1243. /* 22 */ 0x4e, /* FC_IN_PARAM_BASETYPE */
  1244. 0x8, /* FC_LONG */
  1245. /* 24 */ 0x53, /* FC_RETURN_PARAM_BASETYPE */
  1246. 0x10, /* FC_ERROR_STATUS_T */
  1247. /* 26 */ 0x4e, /* FC_IN_PARAM_BASETYPE */
  1248. 0xf, /* FC_IGNORE */
  1249. /* 28 */
  1250. 0x4d, /* FC_IN_PARAM */
  1251. #ifndef _ALPHA_
  1252. 0x1, /* x86, MIPS & PPC Stack size = 1 */
  1253. #else
  1254. 0x2, /* Alpha Stack size = 2 */
  1255. #endif
  1256. /* 30 */ NdrFcShort( 0x1c ), /* Type Offset=28 */
  1257. /* 32 */ 0x4e, /* FC_IN_PARAM_BASETYPE */
  1258. 0x8, /* FC_LONG */
  1259. /* 34 */ 0x53, /* FC_RETURN_PARAM_BASETYPE */
  1260. 0x10, /* FC_ERROR_STATUS_T */
  1261. /* 36 */ 0x4e, /* FC_IN_PARAM_BASETYPE */
  1262. 0xf, /* FC_IGNORE */
  1263. /* 38 */
  1264. 0x4d, /* FC_IN_PARAM */
  1265. #ifndef _ALPHA_
  1266. 0x1, /* x86, MIPS & PPC Stack size = 1 */
  1267. #else
  1268. 0x2, /* Alpha Stack size = 2 */
  1269. #endif
  1270. /* 40 */ NdrFcShort( 0x26 ), /* Type Offset=38 */
  1271. /* 42 */
  1272. 0x51, /* FC_OUT_PARAM */
  1273. #ifndef _ALPHA_
  1274. 0x1, /* x86, MIPS & PPC Stack size = 1 */
  1275. #else
  1276. 0x2, /* Alpha Stack size = 2 */
  1277. #endif
  1278. /* 44 */ NdrFcShort( 0x34 ), /* Type Offset=52 */
  1279. /* 46 */ 0x53, /* FC_RETURN_PARAM_BASETYPE */
  1280. 0x10, /* FC_ERROR_STATUS_T */
  1281. /* 48 */ 0x4e, /* FC_IN_PARAM_BASETYPE */
  1282. 0xf, /* FC_IGNORE */
  1283. /* 50 */
  1284. 0x51, /* FC_OUT_PARAM */
  1285. #ifndef _ALPHA_
  1286. 0x1, /* x86, MIPS & PPC Stack size = 1 */
  1287. #else
  1288. 0x2, /* Alpha Stack size = 2 */
  1289. #endif
  1290. /* 52 */ NdrFcShort( 0x38 ), /* Type Offset=56 */
  1291. /* 54 */ 0x4e, /* FC_IN_PARAM_BASETYPE */
  1292. 0x8, /* FC_LONG */
  1293. /* 56 */
  1294. 0x51, /* FC_OUT_PARAM */
  1295. #ifndef _ALPHA_
  1296. 0x1, /* x86, MIPS & PPC Stack size = 1 */
  1297. #else
  1298. 0x2, /* Alpha Stack size = 2 */
  1299. #endif
  1300. /* 58 */ NdrFcShort( 0x34 ), /* Type Offset=52 */
  1301. /* 60 */ 0x53, /* FC_RETURN_PARAM_BASETYPE */
  1302. 0x10, /* FC_ERROR_STATUS_T */
  1303. /* 62 */ 0x4e, /* FC_IN_PARAM_BASETYPE */
  1304. 0xf, /* FC_IGNORE */
  1305. /* 64 */
  1306. 0x51, /* FC_OUT_PARAM */
  1307. #ifndef _ALPHA_
  1308. 0x1, /* x86, MIPS & PPC Stack size = 1 */
  1309. #else
  1310. 0x2, /* Alpha Stack size = 2 */
  1311. #endif
  1312. /* 66 */ NdrFcShort( 0x46 ), /* Type Offset=70 */
  1313. /* 68 */ 0x53, /* FC_RETURN_PARAM_BASETYPE */
  1314. 0x10, /* FC_ERROR_STATUS_T */
  1315. /* 70 */ 0x4e, /* FC_IN_PARAM_BASETYPE */
  1316. 0xf, /* FC_IGNORE */
  1317. /* 72 */
  1318. 0x51, /* FC_OUT_PARAM */
  1319. #ifndef _ALPHA_
  1320. 0x1, /* x86, MIPS & PPC Stack size = 1 */
  1321. #else
  1322. 0x2, /* Alpha Stack size = 2 */
  1323. #endif
  1324. /* 74 */ NdrFcShort( 0x68 ), /* Type Offset=104 */
  1325. /* 76 */
  1326. 0x50, /* FC_IN_OUT_PARAM */
  1327. #ifndef _ALPHA_
  1328. 0x1, /* x86, MIPS & PPC Stack size = 1 */
  1329. #else
  1330. 0x2, /* Alpha Stack size = 2 */
  1331. #endif
  1332. /* 78 */ NdrFcShort( 0x72 ), /* Type Offset=114 */
  1333. /* 80 */ 0x53, /* FC_RETURN_PARAM_BASETYPE */
  1334. 0x10, /* FC_ERROR_STATUS_T */
  1335. /* 82 */ 0x4e, /* FC_IN_PARAM_BASETYPE */
  1336. 0xf, /* FC_IGNORE */
  1337. /* 84 */
  1338. 0x4d, /* FC_IN_PARAM */
  1339. #ifndef _ALPHA_
  1340. 0x1, /* x86, MIPS & PPC Stack size = 1 */
  1341. #else
  1342. 0x2, /* Alpha Stack size = 2 */
  1343. #endif
  1344. /* 86 */ NdrFcShort( 0x82 ), /* Type Offset=130 */
  1345. /* 88 */ 0x53, /* FC_RETURN_PARAM_BASETYPE */
  1346. 0x10, /* FC_ERROR_STATUS_T */
  1347. /* 90 */ 0x4e, /* FC_IN_PARAM_BASETYPE */
  1348. 0xf, /* FC_IGNORE */
  1349. /* 92 */
  1350. 0x4d, /* FC_IN_PARAM */
  1351. #ifndef _ALPHA_
  1352. 0x1, /* x86, MIPS & PPC Stack size = 1 */
  1353. #else
  1354. 0x2, /* Alpha Stack size = 2 */
  1355. #endif
  1356. /* 94 */ NdrFcShort( 0xa0 ), /* Type Offset=160 */
  1357. /* 96 */ 0x53, /* FC_RETURN_PARAM_BASETYPE */
  1358. 0x10, /* FC_ERROR_STATUS_T */
  1359. /* 98 */ 0x4e, /* FC_IN_PARAM_BASETYPE */
  1360. 0xf, /* FC_IGNORE */
  1361. /* 100 */
  1362. 0x4d, /* FC_IN_PARAM */
  1363. #ifndef _ALPHA_
  1364. 0x1, /* x86, MIPS & PPC Stack size = 1 */
  1365. #else
  1366. 0x2, /* Alpha Stack size = 2 */
  1367. #endif
  1368. /* 102 */ NdrFcShort( 0xba ), /* Type Offset=186 */
  1369. /* 104 */ 0x53, /* FC_RETURN_PARAM_BASETYPE */
  1370. 0x10, /* FC_ERROR_STATUS_T */
  1371. /* 106 */ 0x4e, /* FC_IN_PARAM_BASETYPE */
  1372. 0xf, /* FC_IGNORE */
  1373. /* 108 */
  1374. 0x4d, /* FC_IN_PARAM */
  1375. #ifndef _ALPHA_
  1376. 0x1, /* x86, MIPS & PPC Stack size = 1 */
  1377. #else
  1378. 0x2, /* Alpha Stack size = 2 */
  1379. #endif
  1380. /* 110 */ NdrFcShort( 0xc4 ), /* Type Offset=196 */
  1381. /* 112 */ 0x53, /* FC_RETURN_PARAM_BASETYPE */
  1382. 0x10, /* FC_ERROR_STATUS_T */
  1383. /* 114 */ 0x4e, /* FC_IN_PARAM_BASETYPE */
  1384. 0xf, /* FC_IGNORE */
  1385. /* 116 */
  1386. 0x51, /* FC_OUT_PARAM */
  1387. #ifndef _ALPHA_
  1388. 0x1, /* x86, MIPS & PPC Stack size = 1 */
  1389. #else
  1390. 0x2, /* Alpha Stack size = 2 */
  1391. #endif
  1392. /* 118 */ NdrFcShort( 0xdc ), /* Type Offset=220 */
  1393. /* 120 */ 0x53, /* FC_RETURN_PARAM_BASETYPE */
  1394. 0x10, /* FC_ERROR_STATUS_T */
  1395. /* 122 */ 0x4e, /* FC_IN_PARAM_BASETYPE */
  1396. 0xf, /* FC_IGNORE */
  1397. /* 124 */ 0x4e, /* FC_IN_PARAM_BASETYPE */
  1398. 0x8, /* FC_LONG */
  1399. /* 126 */
  1400. 0x4d, /* FC_IN_PARAM */
  1401. #ifndef _ALPHA_
  1402. 0x1, /* x86, MIPS & PPC Stack size = 1 */
  1403. #else
  1404. 0x2, /* Alpha Stack size = 2 */
  1405. #endif
  1406. /* 128 */ NdrFcShort( 0x108 ), /* Type Offset=264 */
  1407. /* 130 */ 0x53, /* FC_RETURN_PARAM_BASETYPE */
  1408. 0x10, /* FC_ERROR_STATUS_T */
  1409. /* 132 */ 0x4e, /* FC_IN_PARAM_BASETYPE */
  1410. 0xf, /* FC_IGNORE */
  1411. /* 134 */
  1412. 0x4d, /* FC_IN_PARAM */
  1413. #ifndef _ALPHA_
  1414. 0x1, /* x86, MIPS & PPC Stack size = 1 */
  1415. #else
  1416. 0x2, /* Alpha Stack size = 2 */
  1417. #endif
  1418. /* 136 */ NdrFcShort( 0x11a ), /* Type Offset=282 */
  1419. /* 138 */ 0x53, /* FC_RETURN_PARAM_BASETYPE */
  1420. 0x10, /* FC_ERROR_STATUS_T */
  1421. 0x0
  1422.         }
  1423.     };
  1424. static const MIDL_TYPE_FORMAT_STRING __MIDL_TypeFormatString =
  1425.     {
  1426.         0,
  1427.         {
  1428. 0x1c, /* FC_CVARRAY */
  1429. 0x0, /* 0 */
  1430. /*  2 */ NdrFcShort( 0x1 ), /* 1 */
  1431. /*  4 */ 0x29, /* 41 */
  1432. 0x0, /*  */
  1433. #ifndef _ALPHA_
  1434. /*  6 */ NdrFcShort( 0xc ), /* x86, MIPS, PPC Stack size/offset = 12 */
  1435. #else
  1436. NdrFcShort( 0x18 ), /* Alpha Stack size/offset = 24 */
  1437. #endif
  1438. /*  8 */ 0x29, /* 41 */
  1439. 0x0, /*  */
  1440. #ifndef _ALPHA_
  1441. /* 10 */ NdrFcShort( 0x8 ), /* x86, MIPS, PPC Stack size/offset = 8 */
  1442. #else
  1443. NdrFcShort( 0x10 ), /* Alpha Stack size/offset = 16 */
  1444. #endif
  1445. /* 12 */ 0x1, /* FC_BYTE */
  1446. 0x5b, /* FC_END */
  1447. /* 14 */
  1448. 0x1f, /* FC_SMVARRAY */
  1449. 0x0, /* 0 */
  1450. /* 16 */ NdrFcShort( 0x4000 ), /* 16384 */
  1451. /* 18 */ NdrFcShort( 0x4000 ), /* 16384 */
  1452. /* 20 */ NdrFcShort( 0x1 ), /* 1 */
  1453. /* 22 */ 0x29, /* 41 */
  1454. 0x0, /*  */
  1455. #ifndef _ALPHA_
  1456. /* 24 */ NdrFcShort( 0x8 ), /* x86, MIPS, PPC Stack size/offset = 8 */
  1457. #else
  1458. NdrFcShort( 0x10 ), /* Alpha Stack size/offset = 16 */
  1459. #endif
  1460. /* 26 */ 0x1, /* FC_BYTE */
  1461. 0x5b, /* FC_END */
  1462. /* 28 */
  1463. 0x1b, /* FC_CARRAY */
  1464. 0x0, /* 0 */
  1465. /* 30 */ NdrFcShort( 0x1 ), /* 1 */
  1466. /* 32 */ 0x29, /* 41 */
  1467. 0x0, /*  */
  1468. #ifndef _ALPHA_
  1469. /* 34 */ NdrFcShort( 0x8 ), /* x86, MIPS, PPC Stack size/offset = 8 */
  1470. #else
  1471. NdrFcShort( 0x10 ), /* Alpha Stack size/offset = 16 */
  1472. #endif
  1473. /* 36 */ 0x1, /* FC_BYTE */
  1474. 0x5b, /* FC_END */
  1475. /* 38 */
  1476. 0x1f, /* FC_SMVARRAY */
  1477. 0x0, /* 0 */
  1478. /* 40 */ NdrFcShort( 0x4000 ), /* 16384 */
  1479. /* 42 */ NdrFcShort( 0x4000 ), /* 16384 */
  1480. /* 44 */ NdrFcShort( 0x1 ), /* 1 */
  1481. /* 46 */ 0x29, /* 41 */
  1482. 0x54, /* FC_DEREFERENCE */
  1483. #ifndef _ALPHA_
  1484. /* 48 */ NdrFcShort( 0x8 ), /* x86, MIPS, PPC Stack size/offset = 8 */
  1485. #else
  1486. NdrFcShort( 0x10 ), /* Alpha Stack size/offset = 16 */
  1487. #endif
  1488. /* 50 */ 0x1, /* FC_BYTE */
  1489. 0x5b, /* FC_END */
  1490. /* 52 */
  1491. 0x11, 0xc, /* FC_RP [alloced_on_stack] [simple_pointer] */
  1492. /* 54 */ 0x8, /* FC_LONG */
  1493. 0x5c, /* FC_PAD */
  1494. /* 56 */
  1495. 0x1c, /* FC_CVARRAY */
  1496. 0x0, /* 0 */
  1497. /* 58 */ NdrFcShort( 0x1 ), /* 1 */
  1498. /* 60 */ 0x29, /* 41 */
  1499. 0x0, /*  */
  1500. #ifndef _ALPHA_
  1501. /* 62 */ NdrFcShort( 0x8 ), /* x86, MIPS, PPC Stack size/offset = 8 */
  1502. #else
  1503. NdrFcShort( 0x10 ), /* Alpha Stack size/offset = 16 */
  1504. #endif
  1505. /* 64 */ 0x29, /* 41 */
  1506. 0x54, /* FC_DEREFERENCE */
  1507. #ifndef _ALPHA_
  1508. /* 66 */ NdrFcShort( 0xc ), /* x86, MIPS, PPC Stack size/offset = 12 */
  1509. #else
  1510. NdrFcShort( 0x18 ), /* Alpha Stack size/offset = 24 */
  1511. #endif
  1512. /* 68 */ 0x1, /* FC_BYTE */
  1513. 0x5b, /* FC_END */
  1514. /* 70 */
  1515. 0x11, 0x4, /* FC_RP [alloced_on_stack] */
  1516. /* 72 */ NdrFcShort( 0xc ), /* Offset= 12 (84) */
  1517. /* 74 */
  1518. 0x1b, /* FC_CARRAY */
  1519. 0x0, /* 0 */
  1520. /* 76 */ NdrFcShort( 0x1 ), /* 1 */
  1521. /* 78 */ 0x19, /* 25 */
  1522. 0x0, /*  */
  1523. /* 80 */ NdrFcShort( 0x0 ), /* 0 */
  1524. /* 82 */ 0x1, /* FC_BYTE */
  1525. 0x5b, /* FC_END */
  1526. /* 84 */
  1527. 0x16, /* FC_PSTRUCT */
  1528. 0x3, /* 3 */
  1529. /* 86 */ NdrFcShort( 0x8 ), /* 8 */
  1530. /* 88 */
  1531. 0x4b, /* FC_PP */
  1532. 0x5c, /* FC_PAD */
  1533. /* 90 */
  1534. 0x46, /* FC_NO_REPEAT */
  1535. 0x5c, /* FC_PAD */
  1536. /* 92 */ NdrFcShort( 0x4 ), /* 4 */
  1537. /* 94 */ NdrFcShort( 0x4 ), /* 4 */
  1538. /* 96 */ 0x12, 0x0, /* FC_UP */
  1539. /* 98 */ NdrFcShort( 0xffffffe8 ), /* Offset= -24 (74) */
  1540. /* 100 */
  1541. 0x5b, /* FC_END */
  1542. 0x8, /* FC_LONG */
  1543. /* 102 */ 0x8, /* FC_LONG */
  1544. 0x5b, /* FC_END */
  1545. /* 104 */
  1546. 0x1b, /* FC_CARRAY */
  1547. 0x0, /* 0 */
  1548. /* 106 */ NdrFcShort( 0x1 ), /* 1 */
  1549. /* 108 */ 0x29, /* 41 */
  1550. 0x54, /* FC_DEREFERENCE */
  1551. #ifndef _ALPHA_
  1552. /* 110 */ NdrFcShort( 0x8 ), /* x86, MIPS, PPC Stack size/offset = 8 */
  1553. #else
  1554. NdrFcShort( 0x10 ), /* Alpha Stack size/offset = 16 */
  1555. #endif
  1556. /* 112 */ 0x1, /* FC_BYTE */
  1557. 0x5b, /* FC_END */
  1558. /* 114 */
  1559. 0x11, 0x8, /* FC_RP [simple_pointer] */
  1560. /* 116 */ 0x8, /* FC_LONG */
  1561. 0x5c, /* FC_PAD */
  1562. /* 118 */
  1563. 0x1a, /* FC_BOGUS_STRUCT */
  1564. 0x3, /* 3 */
  1565. /* 120 */ NdrFcShort( 0x8 ), /* 8 */
  1566. /* 122 */ NdrFcShort( 0x0 ), /* 0 */
  1567. /* 124 */ NdrFcShort( 0x0 ), /* Offset= 0 (124) */
  1568. /* 126 */ 0x8, /* FC_LONG */
  1569. 0x6, /* FC_SHORT */
  1570. /* 128 */ 0x3e, /* FC_STRUCTPAD2 */
  1571. 0x5b, /* FC_END */
  1572. /* 130 */
  1573. 0x21, /* FC_BOGUS_ARRAY */
  1574. 0x3, /* 3 */
  1575. /* 132 */ NdrFcShort( 0x32 ), /* 50 */
  1576. /* 134 */ NdrFcLong( 0xffffffff ), /* -1 */
  1577. /* 138 */ NdrFcLong( 0xffffffff ), /* -1 */
  1578. /* 142 */ 0x4c, /* FC_EMBEDDED_COMPLEX */
  1579. 0x0, /* 0 */
  1580. /* 144 */ NdrFcShort( 0xffffffe6 ), /* Offset= -26 (118) */
  1581. /* 146 */ 0x5c, /* FC_PAD */
  1582. 0x5b, /* FC_END */
  1583. /* 148 */
  1584. 0x1a, /* FC_BOGUS_STRUCT */
  1585. 0x3, /* 3 */
  1586. /* 150 */ NdrFcShort( 0x8 ), /* 8 */
  1587. /* 152 */ NdrFcShort( 0x0 ), /* 0 */
  1588. /* 154 */ NdrFcShort( 0x0 ), /* Offset= 0 (154) */
  1589. /* 156 */ 0xd, /* FC_ENUM16 */
  1590. 0x8, /* FC_LONG */
  1591. /* 158 */ 0x5c, /* FC_PAD */
  1592. 0x5b, /* FC_END */
  1593. /* 160 */
  1594. 0x21, /* FC_BOGUS_ARRAY */
  1595. 0x3, /* 3 */
  1596. /* 162 */ NdrFcShort( 0x32 ), /* 50 */
  1597. /* 164 */ NdrFcLong( 0xffffffff ), /* -1 */
  1598. /* 168 */ NdrFcLong( 0xffffffff ), /* -1 */
  1599. /* 172 */ 0x4c, /* FC_EMBEDDED_COMPLEX */
  1600. 0x0, /* 0 */
  1601. /* 174 */ NdrFcShort( 0xffffffe6 ), /* Offset= -26 (148) */
  1602. /* 176 */ 0x5c, /* FC_PAD */
  1603. 0x5b, /* FC_END */
  1604. /* 178 */
  1605. 0x15, /* FC_STRUCT */
  1606. 0x3, /* 3 */
  1607. /* 180 */ NdrFcShort( 0xc ), /* 12 */
  1608. /* 182 */ 0xe, /* FC_ENUM32 */
  1609. 0x8, /* FC_LONG */
  1610. /* 184 */ 0x8, /* FC_LONG */
  1611. 0x5b, /* FC_END */
  1612. /* 186 */
  1613. 0x1d, /* FC_SMFARRAY */
  1614. 0x3, /* 3 */
  1615. /* 188 */ NdrFcShort( 0x258 ), /* 600 */
  1616. /* 190 */ 0x4c, /* FC_EMBEDDED_COMPLEX */
  1617. 0x0, /* 0 */
  1618. /* 192 */ NdrFcShort( 0xfffffff2 ), /* Offset= -14 (178) */
  1619. /* 194 */ 0x5c, /* FC_PAD */
  1620. 0x5b, /* FC_END */
  1621. /* 196 */
  1622. 0x12, 0x0, /* FC_UP */
  1623. /* 198 */ NdrFcShort( 0x2 ), /* Offset= 2 (200) */
  1624. /* 200 */
  1625. 0x16, /* FC_PSTRUCT */
  1626. 0x3, /* 3 */
  1627. /* 202 */ NdrFcShort( 0x8 ), /* 8 */
  1628. /* 204 */
  1629. 0x4b, /* FC_PP */
  1630. 0x5c, /* FC_PAD */
  1631. /* 206 */
  1632. 0x46, /* FC_NO_REPEAT */
  1633. 0x5c, /* FC_PAD */
  1634. /* 208 */ NdrFcShort( 0x0 ), /* 0 */
  1635. /* 210 */ NdrFcShort( 0x0 ), /* 0 */
  1636. /* 212 */ 0x12, 0x0, /* FC_UP */
  1637. /* 214 */ NdrFcShort( 0xfffffff2 ), /* Offset= -14 (200) */
  1638. /* 216 */
  1639. 0x5b, /* FC_END */
  1640. 0x8, /* FC_LONG */
  1641. /* 218 */ 0x8, /* FC_LONG */
  1642. 0x5b, /* FC_END */
  1643. /* 220 */
  1644. 0x11, 0x4, /* FC_RP [alloced_on_stack] */
  1645. /* 222 */ NdrFcShort( 0xffffffea ), /* Offset= -22 (200) */
  1646. /* 224 */
  1647. 0x2b, /* FC_NON_ENCAPSULATED_UNION */
  1648. 0x9, /* FC_ULONG */
  1649. /* 226 */ 0x9, /* 9 */
  1650. 0x0, /*  */
  1651. /* 228 */ NdrFcShort( 0xfffffff8 ), /* -8 */
  1652. /* 230 */ NdrFcShort( 0x2 ), /* Offset= 2 (232) */
  1653. /* 232 */ NdrFcShort( 0x8 ), /* 8 */
  1654. /* 234 */ NdrFcShort( 0x2 ), /* 2 */
  1655. /* 236 */ NdrFcLong( 0x1 ), /* 1 */
  1656. /* 240 */ NdrFcShort( 0xffff8008 ), /* Offset= -32760 (-32520) */
  1657. /* 242 */ NdrFcLong( 0x2 ), /* 2 */
  1658. /* 246 */ NdrFcShort( 0xffff800b ), /* Offset= -32757 (-32511) */
  1659. /* 248 */ NdrFcShort( 0x0 ), /* Offset= 0 (248) */
  1660. /* 250 */
  1661. 0x1a, /* FC_BOGUS_STRUCT */
  1662. 0x7, /* 7 */
  1663. /* 252 */ NdrFcShort( 0x10 ), /* 16 */
  1664. /* 254 */ NdrFcShort( 0x0 ), /* 0 */
  1665. /* 256 */ NdrFcShort( 0x0 ), /* Offset= 0 (256) */
  1666. /* 258 */ 0x8, /* FC_LONG */
  1667. 0x4c, /* FC_EMBEDDED_COMPLEX */
  1668. /* 260 */ 0x4, /* 4 */
  1669. NdrFcShort( 0xffffffdb ), /* Offset= -37 (224) */
  1670. 0x5b, /* FC_END */
  1671. /* 264 */
  1672. 0x21, /* FC_BOGUS_ARRAY */
  1673. 0x7, /* 7 */
  1674. /* 266 */ NdrFcShort( 0x0 ), /* 0 */
  1675. /* 268 */ 0x29, /* 41 */
  1676. 0x0, /*  */
  1677. #ifndef _ALPHA_
  1678. /* 270 */ NdrFcShort( 0x4 ), /* x86, MIPS, PPC Stack size/offset = 4 */
  1679. #else
  1680. NdrFcShort( 0x8 ), /* Alpha Stack size/offset = 8 */
  1681. #endif
  1682. /* 272 */ NdrFcLong( 0xffffffff ), /* -1 */
  1683. /* 276 */ 0x4c, /* FC_EMBEDDED_COMPLEX */
  1684. 0x0, /* 0 */
  1685. /* 278 */ NdrFcShort( 0xffffffe4 ), /* Offset= -28 (250) */
  1686. /* 280 */ 0x5c, /* FC_PAD */
  1687. 0x5b, /* FC_END */
  1688. /* 282 */
  1689. 0x11, 0x0, /* FC_RP */
  1690. /* 284 */ NdrFcShort( 0x60 ), /* Offset= 96 (380) */
  1691. /* 286 */
  1692. 0x2b, /* FC_NON_ENCAPSULATED_UNION */
  1693. 0x9, /* FC_ULONG */
  1694. /* 288 */ 0x9, /* 9 */
  1695. 0x0, /*  */
  1696. /* 290 */ NdrFcShort( 0xfffffffc ), /* -4 */
  1697. /* 292 */ NdrFcShort( 0x2 ), /* Offset= 2 (294) */
  1698. /* 294 */ NdrFcShort( 0x4 ), /* 4 */
  1699. /* 296 */ NdrFcShort( 0x2 ), /* 2 */
  1700. /* 298 */ NdrFcLong( 0x1 ), /* 1 */
  1701. /* 302 */ NdrFcShort( 0xa ), /* Offset= 10 (312) */
  1702. /* 304 */ NdrFcLong( 0x2 ), /* 2 */
  1703. /* 308 */ NdrFcShort( 0x26 ), /* Offset= 38 (346) */
  1704. /* 310 */ NdrFcShort( 0xffffffff ), /* Offset= -1 (309) */
  1705. /* 312 */
  1706. 0x12, 0x0, /* FC_UP */
  1707. /* 314 */ NdrFcShort( 0xc ), /* Offset= 12 (326) */
  1708. /* 316 */
  1709. 0x1b, /* FC_CARRAY */
  1710. 0x3, /* 3 */
  1711. /* 318 */ NdrFcShort( 0x4 ), /* 4 */
  1712. /* 320 */ 0x19, /* 25 */
  1713. 0x0, /*  */
  1714. /* 322 */ NdrFcShort( 0x0 ), /* 0 */
  1715. /* 324 */ 0x8, /* FC_LONG */
  1716. 0x5b, /* FC_END */
  1717. /* 326 */
  1718. 0x16, /* FC_PSTRUCT */
  1719. 0x3, /* 3 */
  1720. /* 328 */ NdrFcShort( 0x8 ), /* 8 */
  1721. /* 330 */
  1722. 0x4b, /* FC_PP */
  1723. 0x5c, /* FC_PAD */
  1724. /* 332 */
  1725. 0x46, /* FC_NO_REPEAT */
  1726. 0x5c, /* FC_PAD */
  1727. /* 334 */ NdrFcShort( 0x4 ), /* 4 */
  1728. /* 336 */ NdrFcShort( 0x4 ), /* 4 */
  1729. /* 338 */ 0x12, 0x0, /* FC_UP */
  1730. /* 340 */ NdrFcShort( 0xffffffe8 ), /* Offset= -24 (316) */
  1731. /* 342 */
  1732. 0x5b, /* FC_END */
  1733. 0x8, /* FC_LONG */
  1734. /* 344 */ 0x8, /* FC_LONG */
  1735. 0x5b, /* FC_END */
  1736. /* 346 */
  1737. 0x12, 0x0, /* FC_UP */
  1738. /* 348 */ NdrFcShort( 0xc ), /* Offset= 12 (360) */
  1739. /* 350 */
  1740. 0x1b, /* FC_CARRAY */
  1741. 0x7, /* 7 */
  1742. /* 352 */ NdrFcShort( 0x8 ), /* 8 */
  1743. /* 354 */ 0x19, /* 25 */
  1744. 0x0, /*  */
  1745. /* 356 */ NdrFcShort( 0x0 ), /* 0 */
  1746. /* 358 */ 0xb, /* FC_HYPER */
  1747. 0x5b, /* FC_END */
  1748. /* 360 */
  1749. 0x16, /* FC_PSTRUCT */
  1750. 0x3, /* 3 */
  1751. /* 362 */ NdrFcShort( 0x8 ), /* 8 */
  1752. /* 364 */
  1753. 0x4b, /* FC_PP */
  1754. 0x5c, /* FC_PAD */
  1755. /* 366 */
  1756. 0x46, /* FC_NO_REPEAT */
  1757. 0x5c, /* FC_PAD */
  1758. /* 368 */ NdrFcShort( 0x4 ), /* 4 */
  1759. /* 370 */ NdrFcShort( 0x4 ), /* 4 */
  1760. /* 372 */ 0x12, 0x0, /* FC_UP */
  1761. /* 374 */ NdrFcShort( 0xffffffe8 ), /* Offset= -24 (350) */
  1762. /* 376 */
  1763. 0x5b, /* FC_END */
  1764. 0x8, /* FC_LONG */
  1765. /* 378 */ 0x8, /* FC_LONG */
  1766. 0x5b, /* FC_END */
  1767. /* 380 */
  1768. 0x1a, /* FC_BOGUS_STRUCT */
  1769. 0x3, /* 3 */
  1770. /* 382 */ NdrFcShort( 0x8 ), /* 8 */
  1771. /* 384 */ NdrFcShort( 0x0 ), /* 0 */
  1772. /* 386 */ NdrFcShort( 0x0 ), /* Offset= 0 (386) */
  1773. /* 388 */ 0x8, /* FC_LONG */
  1774. 0x4c, /* FC_EMBEDDED_COMPLEX */
  1775. /* 390 */ 0x0, /* 0 */
  1776. NdrFcShort( 0xffffff97 ), /* Offset= -105 (286) */
  1777. 0x5b, /* FC_END */
  1778. 0x0
  1779.         }
  1780.     };