srvsvc_c.c
上传用户:fsojjn
上传日期:2015-10-05
资源大小:12k
文件大小:43k
开发平台:

Visual C++

  1. /* this ALWAYS GENERATED file contains the RPC client stubs */
  2. /* File created by MIDL compiler version 5.01.0164 */
  3. /* at Mon Oct 27 00:34:14 2008
  4.  */
  5. /* Compiler settings for srvsvc.idl:
  6.     Os (OptLev=s), W1, Zp8, env=Win32, ms_ext, c_ext
  7.     error checks: allocation ref bounds_check enum stub_data 
  8. */
  9. //@@MIDL_FILE_HEADING(  )
  10. #include <string.h>
  11. #if defined( _ALPHA_ )
  12. #include <stdarg.h>
  13. #endif
  14. #include "srvsvc.h"
  15. #define TYPE_FORMAT_STRING_SIZE   25                                
  16. #define PROC_FORMAT_STRING_SIZE   49                                
  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: srvsvc, ver. 3.0,
  30.    GUID={0x4b324fc8,0x1670,0x01d3,{0x12,0x78,0x5a,0x47,0xbf,0x6e,0xe1,0x88}} */
  31. static const RPC_CLIENT_INTERFACE srvsvc___RpcClientInterface =
  32.     {
  33.     sizeof(RPC_CLIENT_INTERFACE),
  34.     {{0x4b324fc8,0x1670,0x01d3,{0x12,0x78,0x5a,0x47,0xbf,0x6e,0xe1,0x88}},{3,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 srvsvc_v3_0_c_ifspec = (RPC_IF_HANDLE)& srvsvc___RpcClientInterface;
  44. extern const MIDL_STUB_DESC srvsvc_StubDesc;
  45. static RPC_BINDING_HANDLE srvsvc__MIDL_AutoBindHandle;
  46. void func0( void)
  47. {
  48.     RPC_MESSAGE _RpcMessage;
  49.     
  50.     MIDL_STUB_MESSAGE _StubMsg;
  51.     
  52.     RpcTryFinally
  53.         {
  54.         NdrClientInitializeNew(
  55.                           ( PRPC_MESSAGE  )&_RpcMessage,
  56.                           ( PMIDL_STUB_MESSAGE  )&_StubMsg,
  57.                           ( PMIDL_STUB_DESC  )&srvsvc_StubDesc,
  58.                           0);
  59.         
  60.         
  61.         
  62.         _StubMsg.BufferLength = 0U;
  63.         NdrNsGetBuffer( (PMIDL_STUB_MESSAGE) &_StubMsg, _StubMsg.BufferLength, srvsvc__MIDL_AutoBindHandle );
  64.         
  65.         NdrNsSendReceive( (PMIDL_STUB_MESSAGE) &_StubMsg, (unsigned char __RPC_FAR *) _StubMsg.Buffer, (RPC_BINDING_HANDLE __RPC_FAR *) &srvsvc__MIDL_AutoBindHandle );
  66.         
  67.         }
  68.     RpcFinally
  69.         {
  70.         NdrFreeBuffer( (PMIDL_STUB_MESSAGE) &_StubMsg );
  71.         
  72.         }
  73.     RpcEndFinally
  74.     
  75. }
  76. void func1( void)
  77. {
  78.     RPC_MESSAGE _RpcMessage;
  79.     
  80.     MIDL_STUB_MESSAGE _StubMsg;
  81.     
  82.     RpcTryFinally
  83.         {
  84.         NdrClientInitializeNew(
  85.                           ( PRPC_MESSAGE  )&_RpcMessage,
  86.                           ( PMIDL_STUB_MESSAGE  )&_StubMsg,
  87.                           ( PMIDL_STUB_DESC  )&srvsvc_StubDesc,
  88.                           1);
  89.         
  90.         
  91.         
  92.         _StubMsg.BufferLength = 0U;
  93.         NdrNsGetBuffer( (PMIDL_STUB_MESSAGE) &_StubMsg, _StubMsg.BufferLength, srvsvc__MIDL_AutoBindHandle );
  94.         
  95.         NdrNsSendReceive( (PMIDL_STUB_MESSAGE) &_StubMsg, (unsigned char __RPC_FAR *) _StubMsg.Buffer, (RPC_BINDING_HANDLE __RPC_FAR *) &srvsvc__MIDL_AutoBindHandle );
  96.         
  97.         }
  98.     RpcFinally
  99.         {
  100.         NdrFreeBuffer( (PMIDL_STUB_MESSAGE) &_StubMsg );
  101.         
  102.         }
  103.     RpcEndFinally
  104.     
  105. }
  106. void func2( void)
  107. {
  108.     RPC_MESSAGE _RpcMessage;
  109.     
  110.     MIDL_STUB_MESSAGE _StubMsg;
  111.     
  112.     RpcTryFinally
  113.         {
  114.         NdrClientInitializeNew(
  115.                           ( PRPC_MESSAGE  )&_RpcMessage,
  116.                           ( PMIDL_STUB_MESSAGE  )&_StubMsg,
  117.                           ( PMIDL_STUB_DESC  )&srvsvc_StubDesc,
  118.                           2);
  119.         
  120.         
  121.         
  122.         _StubMsg.BufferLength = 0U;
  123.         NdrNsGetBuffer( (PMIDL_STUB_MESSAGE) &_StubMsg, _StubMsg.BufferLength, srvsvc__MIDL_AutoBindHandle );
  124.         
  125.         NdrNsSendReceive( (PMIDL_STUB_MESSAGE) &_StubMsg, (unsigned char __RPC_FAR *) _StubMsg.Buffer, (RPC_BINDING_HANDLE __RPC_FAR *) &srvsvc__MIDL_AutoBindHandle );
  126.         
  127.         }
  128.     RpcFinally
  129.         {
  130.         NdrFreeBuffer( (PMIDL_STUB_MESSAGE) &_StubMsg );
  131.         
  132.         }
  133.     RpcEndFinally
  134.     
  135. }
  136. void func3( void)
  137. {
  138.     RPC_MESSAGE _RpcMessage;
  139.     
  140.     MIDL_STUB_MESSAGE _StubMsg;
  141.     
  142.     RpcTryFinally
  143.         {
  144.         NdrClientInitializeNew(
  145.                           ( PRPC_MESSAGE  )&_RpcMessage,
  146.                           ( PMIDL_STUB_MESSAGE  )&_StubMsg,
  147.                           ( PMIDL_STUB_DESC  )&srvsvc_StubDesc,
  148.                           3);
  149.         
  150.         
  151.         
  152.         _StubMsg.BufferLength = 0U;
  153.         NdrNsGetBuffer( (PMIDL_STUB_MESSAGE) &_StubMsg, _StubMsg.BufferLength, srvsvc__MIDL_AutoBindHandle );
  154.         
  155.         NdrNsSendReceive( (PMIDL_STUB_MESSAGE) &_StubMsg, (unsigned char __RPC_FAR *) _StubMsg.Buffer, (RPC_BINDING_HANDLE __RPC_FAR *) &srvsvc__MIDL_AutoBindHandle );
  156.         
  157.         }
  158.     RpcFinally
  159.         {
  160.         NdrFreeBuffer( (PMIDL_STUB_MESSAGE) &_StubMsg );
  161.         
  162.         }
  163.     RpcEndFinally
  164.     
  165. }
  166. void func4( void)
  167. {
  168.     RPC_MESSAGE _RpcMessage;
  169.     
  170.     MIDL_STUB_MESSAGE _StubMsg;
  171.     
  172.     RpcTryFinally
  173.         {
  174.         NdrClientInitializeNew(
  175.                           ( PRPC_MESSAGE  )&_RpcMessage,
  176.                           ( PMIDL_STUB_MESSAGE  )&_StubMsg,
  177.                           ( PMIDL_STUB_DESC  )&srvsvc_StubDesc,
  178.                           4);
  179.         
  180.         
  181.         
  182.         _StubMsg.BufferLength = 0U;
  183.         NdrNsGetBuffer( (PMIDL_STUB_MESSAGE) &_StubMsg, _StubMsg.BufferLength, srvsvc__MIDL_AutoBindHandle );
  184.         
  185.         NdrNsSendReceive( (PMIDL_STUB_MESSAGE) &_StubMsg, (unsigned char __RPC_FAR *) _StubMsg.Buffer, (RPC_BINDING_HANDLE __RPC_FAR *) &srvsvc__MIDL_AutoBindHandle );
  186.         
  187.         }
  188.     RpcFinally
  189.         {
  190.         NdrFreeBuffer( (PMIDL_STUB_MESSAGE) &_StubMsg );
  191.         
  192.         }
  193.     RpcEndFinally
  194.     
  195. }
  196. void func5( void)
  197. {
  198.     RPC_MESSAGE _RpcMessage;
  199.     
  200.     MIDL_STUB_MESSAGE _StubMsg;
  201.     
  202.     RpcTryFinally
  203.         {
  204.         NdrClientInitializeNew(
  205.                           ( PRPC_MESSAGE  )&_RpcMessage,
  206.                           ( PMIDL_STUB_MESSAGE  )&_StubMsg,
  207.                           ( PMIDL_STUB_DESC  )&srvsvc_StubDesc,
  208.                           5);
  209.         
  210.         
  211.         
  212.         _StubMsg.BufferLength = 0U;
  213.         NdrNsGetBuffer( (PMIDL_STUB_MESSAGE) &_StubMsg, _StubMsg.BufferLength, srvsvc__MIDL_AutoBindHandle );
  214.         
  215.         NdrNsSendReceive( (PMIDL_STUB_MESSAGE) &_StubMsg, (unsigned char __RPC_FAR *) _StubMsg.Buffer, (RPC_BINDING_HANDLE __RPC_FAR *) &srvsvc__MIDL_AutoBindHandle );
  216.         
  217.         }
  218.     RpcFinally
  219.         {
  220.         NdrFreeBuffer( (PMIDL_STUB_MESSAGE) &_StubMsg );
  221.         
  222.         }
  223.     RpcEndFinally
  224.     
  225. }
  226. void func6( void)
  227. {
  228.     RPC_MESSAGE _RpcMessage;
  229.     
  230.     MIDL_STUB_MESSAGE _StubMsg;
  231.     
  232.     RpcTryFinally
  233.         {
  234.         NdrClientInitializeNew(
  235.                           ( PRPC_MESSAGE  )&_RpcMessage,
  236.                           ( PMIDL_STUB_MESSAGE  )&_StubMsg,
  237.                           ( PMIDL_STUB_DESC  )&srvsvc_StubDesc,
  238.                           6);
  239.         
  240.         
  241.         
  242.         _StubMsg.BufferLength = 0U;
  243.         NdrNsGetBuffer( (PMIDL_STUB_MESSAGE) &_StubMsg, _StubMsg.BufferLength, srvsvc__MIDL_AutoBindHandle );
  244.         
  245.         NdrNsSendReceive( (PMIDL_STUB_MESSAGE) &_StubMsg, (unsigned char __RPC_FAR *) _StubMsg.Buffer, (RPC_BINDING_HANDLE __RPC_FAR *) &srvsvc__MIDL_AutoBindHandle );
  246.         
  247.         }
  248.     RpcFinally
  249.         {
  250.         NdrFreeBuffer( (PMIDL_STUB_MESSAGE) &_StubMsg );
  251.         
  252.         }
  253.     RpcEndFinally
  254.     
  255. }
  256. void func7( void)
  257. {
  258.     RPC_MESSAGE _RpcMessage;
  259.     
  260.     MIDL_STUB_MESSAGE _StubMsg;
  261.     
  262.     RpcTryFinally
  263.         {
  264.         NdrClientInitializeNew(
  265.                           ( PRPC_MESSAGE  )&_RpcMessage,
  266.                           ( PMIDL_STUB_MESSAGE  )&_StubMsg,
  267.                           ( PMIDL_STUB_DESC  )&srvsvc_StubDesc,
  268.                           7);
  269.         
  270.         
  271.         
  272.         _StubMsg.BufferLength = 0U;
  273.         NdrNsGetBuffer( (PMIDL_STUB_MESSAGE) &_StubMsg, _StubMsg.BufferLength, srvsvc__MIDL_AutoBindHandle );
  274.         
  275.         NdrNsSendReceive( (PMIDL_STUB_MESSAGE) &_StubMsg, (unsigned char __RPC_FAR *) _StubMsg.Buffer, (RPC_BINDING_HANDLE __RPC_FAR *) &srvsvc__MIDL_AutoBindHandle );
  276.         
  277.         }
  278.     RpcFinally
  279.         {
  280.         NdrFreeBuffer( (PMIDL_STUB_MESSAGE) &_StubMsg );
  281.         
  282.         }
  283.     RpcEndFinally
  284.     
  285. }
  286. void func8( void)
  287. {
  288.     RPC_MESSAGE _RpcMessage;
  289.     
  290.     MIDL_STUB_MESSAGE _StubMsg;
  291.     
  292.     RpcTryFinally
  293.         {
  294.         NdrClientInitializeNew(
  295.                           ( PRPC_MESSAGE  )&_RpcMessage,
  296.                           ( PMIDL_STUB_MESSAGE  )&_StubMsg,
  297.                           ( PMIDL_STUB_DESC  )&srvsvc_StubDesc,
  298.                           8);
  299.         
  300.         
  301.         
  302.         _StubMsg.BufferLength = 0U;
  303.         NdrNsGetBuffer( (PMIDL_STUB_MESSAGE) &_StubMsg, _StubMsg.BufferLength, srvsvc__MIDL_AutoBindHandle );
  304.         
  305.         NdrNsSendReceive( (PMIDL_STUB_MESSAGE) &_StubMsg, (unsigned char __RPC_FAR *) _StubMsg.Buffer, (RPC_BINDING_HANDLE __RPC_FAR *) &srvsvc__MIDL_AutoBindHandle );
  306.         
  307.         }
  308.     RpcFinally
  309.         {
  310.         NdrFreeBuffer( (PMIDL_STUB_MESSAGE) &_StubMsg );
  311.         
  312.         }
  313.     RpcEndFinally
  314.     
  315. }
  316. void func9( void)
  317. {
  318.     RPC_MESSAGE _RpcMessage;
  319.     
  320.     MIDL_STUB_MESSAGE _StubMsg;
  321.     
  322.     RpcTryFinally
  323.         {
  324.         NdrClientInitializeNew(
  325.                           ( PRPC_MESSAGE  )&_RpcMessage,
  326.                           ( PMIDL_STUB_MESSAGE  )&_StubMsg,
  327.                           ( PMIDL_STUB_DESC  )&srvsvc_StubDesc,
  328.                           9);
  329.         
  330.         
  331.         
  332.         _StubMsg.BufferLength = 0U;
  333.         NdrNsGetBuffer( (PMIDL_STUB_MESSAGE) &_StubMsg, _StubMsg.BufferLength, srvsvc__MIDL_AutoBindHandle );
  334.         
  335.         NdrNsSendReceive( (PMIDL_STUB_MESSAGE) &_StubMsg, (unsigned char __RPC_FAR *) _StubMsg.Buffer, (RPC_BINDING_HANDLE __RPC_FAR *) &srvsvc__MIDL_AutoBindHandle );
  336.         
  337.         }
  338.     RpcFinally
  339.         {
  340.         NdrFreeBuffer( (PMIDL_STUB_MESSAGE) &_StubMsg );
  341.         
  342.         }
  343.     RpcEndFinally
  344.     
  345. }
  346. void func0a( void)
  347. {
  348.     RPC_MESSAGE _RpcMessage;
  349.     
  350.     MIDL_STUB_MESSAGE _StubMsg;
  351.     
  352.     RpcTryFinally
  353.         {
  354.         NdrClientInitializeNew(
  355.                           ( PRPC_MESSAGE  )&_RpcMessage,
  356.                           ( PMIDL_STUB_MESSAGE  )&_StubMsg,
  357.                           ( PMIDL_STUB_DESC  )&srvsvc_StubDesc,
  358.                           10);
  359.         
  360.         
  361.         
  362.         _StubMsg.BufferLength = 0U;
  363.         NdrNsGetBuffer( (PMIDL_STUB_MESSAGE) &_StubMsg, _StubMsg.BufferLength, srvsvc__MIDL_AutoBindHandle );
  364.         
  365.         NdrNsSendReceive( (PMIDL_STUB_MESSAGE) &_StubMsg, (unsigned char __RPC_FAR *) _StubMsg.Buffer, (RPC_BINDING_HANDLE __RPC_FAR *) &srvsvc__MIDL_AutoBindHandle );
  366.         
  367.         }
  368.     RpcFinally
  369.         {
  370.         NdrFreeBuffer( (PMIDL_STUB_MESSAGE) &_StubMsg );
  371.         
  372.         }
  373.     RpcEndFinally
  374.     
  375. }
  376. void func0b( void)
  377. {
  378.     RPC_MESSAGE _RpcMessage;
  379.     
  380.     MIDL_STUB_MESSAGE _StubMsg;
  381.     
  382.     RpcTryFinally
  383.         {
  384.         NdrClientInitializeNew(
  385.                           ( PRPC_MESSAGE  )&_RpcMessage,
  386.                           ( PMIDL_STUB_MESSAGE  )&_StubMsg,
  387.                           ( PMIDL_STUB_DESC  )&srvsvc_StubDesc,
  388.                           11);
  389.         
  390.         
  391.         
  392.         _StubMsg.BufferLength = 0U;
  393.         NdrNsGetBuffer( (PMIDL_STUB_MESSAGE) &_StubMsg, _StubMsg.BufferLength, srvsvc__MIDL_AutoBindHandle );
  394.         
  395.         NdrNsSendReceive( (PMIDL_STUB_MESSAGE) &_StubMsg, (unsigned char __RPC_FAR *) _StubMsg.Buffer, (RPC_BINDING_HANDLE __RPC_FAR *) &srvsvc__MIDL_AutoBindHandle );
  396.         
  397.         }
  398.     RpcFinally
  399.         {
  400.         NdrFreeBuffer( (PMIDL_STUB_MESSAGE) &_StubMsg );
  401.         
  402.         }
  403.     RpcEndFinally
  404.     
  405. }
  406. void func0c( void)
  407. {
  408.     RPC_MESSAGE _RpcMessage;
  409.     
  410.     MIDL_STUB_MESSAGE _StubMsg;
  411.     
  412.     RpcTryFinally
  413.         {
  414.         NdrClientInitializeNew(
  415.                           ( PRPC_MESSAGE  )&_RpcMessage,
  416.                           ( PMIDL_STUB_MESSAGE  )&_StubMsg,
  417.                           ( PMIDL_STUB_DESC  )&srvsvc_StubDesc,
  418.                           12);
  419.         
  420.         
  421.         
  422.         _StubMsg.BufferLength = 0U;
  423.         NdrNsGetBuffer( (PMIDL_STUB_MESSAGE) &_StubMsg, _StubMsg.BufferLength, srvsvc__MIDL_AutoBindHandle );
  424.         
  425.         NdrNsSendReceive( (PMIDL_STUB_MESSAGE) &_StubMsg, (unsigned char __RPC_FAR *) _StubMsg.Buffer, (RPC_BINDING_HANDLE __RPC_FAR *) &srvsvc__MIDL_AutoBindHandle );
  426.         
  427.         }
  428.     RpcFinally
  429.         {
  430.         NdrFreeBuffer( (PMIDL_STUB_MESSAGE) &_StubMsg );
  431.         
  432.         }
  433.     RpcEndFinally
  434.     
  435. }
  436. void func0d( void)
  437. {
  438.     RPC_MESSAGE _RpcMessage;
  439.     
  440.     MIDL_STUB_MESSAGE _StubMsg;
  441.     
  442.     RpcTryFinally
  443.         {
  444.         NdrClientInitializeNew(
  445.                           ( PRPC_MESSAGE  )&_RpcMessage,
  446.                           ( PMIDL_STUB_MESSAGE  )&_StubMsg,
  447.                           ( PMIDL_STUB_DESC  )&srvsvc_StubDesc,
  448.                           13);
  449.         
  450.         
  451.         
  452.         _StubMsg.BufferLength = 0U;
  453.         NdrNsGetBuffer( (PMIDL_STUB_MESSAGE) &_StubMsg, _StubMsg.BufferLength, srvsvc__MIDL_AutoBindHandle );
  454.         
  455.         NdrNsSendReceive( (PMIDL_STUB_MESSAGE) &_StubMsg, (unsigned char __RPC_FAR *) _StubMsg.Buffer, (RPC_BINDING_HANDLE __RPC_FAR *) &srvsvc__MIDL_AutoBindHandle );
  456.         
  457.         }
  458.     RpcFinally
  459.         {
  460.         NdrFreeBuffer( (PMIDL_STUB_MESSAGE) &_StubMsg );
  461.         
  462.         }
  463.     RpcEndFinally
  464.     
  465. }
  466. void func0e( void)
  467. {
  468.     RPC_MESSAGE _RpcMessage;
  469.     
  470.     MIDL_STUB_MESSAGE _StubMsg;
  471.     
  472.     RpcTryFinally
  473.         {
  474.         NdrClientInitializeNew(
  475.                           ( PRPC_MESSAGE  )&_RpcMessage,
  476.                           ( PMIDL_STUB_MESSAGE  )&_StubMsg,
  477.                           ( PMIDL_STUB_DESC  )&srvsvc_StubDesc,
  478.                           14);
  479.         
  480.         
  481.         
  482.         _StubMsg.BufferLength = 0U;
  483.         NdrNsGetBuffer( (PMIDL_STUB_MESSAGE) &_StubMsg, _StubMsg.BufferLength, srvsvc__MIDL_AutoBindHandle );
  484.         
  485.         NdrNsSendReceive( (PMIDL_STUB_MESSAGE) &_StubMsg, (unsigned char __RPC_FAR *) _StubMsg.Buffer, (RPC_BINDING_HANDLE __RPC_FAR *) &srvsvc__MIDL_AutoBindHandle );
  486.         
  487.         }
  488.     RpcFinally
  489.         {
  490.         NdrFreeBuffer( (PMIDL_STUB_MESSAGE) &_StubMsg );
  491.         
  492.         }
  493.     RpcEndFinally
  494.     
  495. }
  496. void func0f( void)
  497. {
  498.     RPC_MESSAGE _RpcMessage;
  499.     
  500.     MIDL_STUB_MESSAGE _StubMsg;
  501.     
  502.     RpcTryFinally
  503.         {
  504.         NdrClientInitializeNew(
  505.                           ( PRPC_MESSAGE  )&_RpcMessage,
  506.                           ( PMIDL_STUB_MESSAGE  )&_StubMsg,
  507.                           ( PMIDL_STUB_DESC  )&srvsvc_StubDesc,
  508.                           15);
  509.         
  510.         
  511.         
  512.         _StubMsg.BufferLength = 0U;
  513.         NdrNsGetBuffer( (PMIDL_STUB_MESSAGE) &_StubMsg, _StubMsg.BufferLength, srvsvc__MIDL_AutoBindHandle );
  514.         
  515.         NdrNsSendReceive( (PMIDL_STUB_MESSAGE) &_StubMsg, (unsigned char __RPC_FAR *) _StubMsg.Buffer, (RPC_BINDING_HANDLE __RPC_FAR *) &srvsvc__MIDL_AutoBindHandle );
  516.         
  517.         }
  518.     RpcFinally
  519.         {
  520.         NdrFreeBuffer( (PMIDL_STUB_MESSAGE) &_StubMsg );
  521.         
  522.         }
  523.     RpcEndFinally
  524.     
  525. }
  526. void func10( void)
  527. {
  528.     RPC_MESSAGE _RpcMessage;
  529.     
  530.     MIDL_STUB_MESSAGE _StubMsg;
  531.     
  532.     RpcTryFinally
  533.         {
  534.         NdrClientInitializeNew(
  535.                           ( PRPC_MESSAGE  )&_RpcMessage,
  536.                           ( PMIDL_STUB_MESSAGE  )&_StubMsg,
  537.                           ( PMIDL_STUB_DESC  )&srvsvc_StubDesc,
  538.                           16);
  539.         
  540.         
  541.         
  542.         _StubMsg.BufferLength = 0U;
  543.         NdrNsGetBuffer( (PMIDL_STUB_MESSAGE) &_StubMsg, _StubMsg.BufferLength, srvsvc__MIDL_AutoBindHandle );
  544.         
  545.         NdrNsSendReceive( (PMIDL_STUB_MESSAGE) &_StubMsg, (unsigned char __RPC_FAR *) _StubMsg.Buffer, (RPC_BINDING_HANDLE __RPC_FAR *) &srvsvc__MIDL_AutoBindHandle );
  546.         
  547.         }
  548.     RpcFinally
  549.         {
  550.         NdrFreeBuffer( (PMIDL_STUB_MESSAGE) &_StubMsg );
  551.         
  552.         }
  553.     RpcEndFinally
  554.     
  555. }
  556. void func11( void)
  557. {
  558.     RPC_MESSAGE _RpcMessage;
  559.     
  560.     MIDL_STUB_MESSAGE _StubMsg;
  561.     
  562.     RpcTryFinally
  563.         {
  564.         NdrClientInitializeNew(
  565.                           ( PRPC_MESSAGE  )&_RpcMessage,
  566.                           ( PMIDL_STUB_MESSAGE  )&_StubMsg,
  567.                           ( PMIDL_STUB_DESC  )&srvsvc_StubDesc,
  568.                           17);
  569.         
  570.         
  571.         
  572.         _StubMsg.BufferLength = 0U;
  573.         NdrNsGetBuffer( (PMIDL_STUB_MESSAGE) &_StubMsg, _StubMsg.BufferLength, srvsvc__MIDL_AutoBindHandle );
  574.         
  575.         NdrNsSendReceive( (PMIDL_STUB_MESSAGE) &_StubMsg, (unsigned char __RPC_FAR *) _StubMsg.Buffer, (RPC_BINDING_HANDLE __RPC_FAR *) &srvsvc__MIDL_AutoBindHandle );
  576.         
  577.         }
  578.     RpcFinally
  579.         {
  580.         NdrFreeBuffer( (PMIDL_STUB_MESSAGE) &_StubMsg );
  581.         
  582.         }
  583.     RpcEndFinally
  584.     
  585. }
  586. void func12( void)
  587. {
  588.     RPC_MESSAGE _RpcMessage;
  589.     
  590.     MIDL_STUB_MESSAGE _StubMsg;
  591.     
  592.     RpcTryFinally
  593.         {
  594.         NdrClientInitializeNew(
  595.                           ( PRPC_MESSAGE  )&_RpcMessage,
  596.                           ( PMIDL_STUB_MESSAGE  )&_StubMsg,
  597.                           ( PMIDL_STUB_DESC  )&srvsvc_StubDesc,
  598.                           18);
  599.         
  600.         
  601.         
  602.         _StubMsg.BufferLength = 0U;
  603.         NdrNsGetBuffer( (PMIDL_STUB_MESSAGE) &_StubMsg, _StubMsg.BufferLength, srvsvc__MIDL_AutoBindHandle );
  604.         
  605.         NdrNsSendReceive( (PMIDL_STUB_MESSAGE) &_StubMsg, (unsigned char __RPC_FAR *) _StubMsg.Buffer, (RPC_BINDING_HANDLE __RPC_FAR *) &srvsvc__MIDL_AutoBindHandle );
  606.         
  607.         }
  608.     RpcFinally
  609.         {
  610.         NdrFreeBuffer( (PMIDL_STUB_MESSAGE) &_StubMsg );
  611.         
  612.         }
  613.     RpcEndFinally
  614.     
  615. }
  616. void func13( void)
  617. {
  618.     RPC_MESSAGE _RpcMessage;
  619.     
  620.     MIDL_STUB_MESSAGE _StubMsg;
  621.     
  622.     RpcTryFinally
  623.         {
  624.         NdrClientInitializeNew(
  625.                           ( PRPC_MESSAGE  )&_RpcMessage,
  626.                           ( PMIDL_STUB_MESSAGE  )&_StubMsg,
  627.                           ( PMIDL_STUB_DESC  )&srvsvc_StubDesc,
  628.                           19);
  629.         
  630.         
  631.         
  632.         _StubMsg.BufferLength = 0U;
  633.         NdrNsGetBuffer( (PMIDL_STUB_MESSAGE) &_StubMsg, _StubMsg.BufferLength, srvsvc__MIDL_AutoBindHandle );
  634.         
  635.         NdrNsSendReceive( (PMIDL_STUB_MESSAGE) &_StubMsg, (unsigned char __RPC_FAR *) _StubMsg.Buffer, (RPC_BINDING_HANDLE __RPC_FAR *) &srvsvc__MIDL_AutoBindHandle );
  636.         
  637.         }
  638.     RpcFinally
  639.         {
  640.         NdrFreeBuffer( (PMIDL_STUB_MESSAGE) &_StubMsg );
  641.         
  642.         }
  643.     RpcEndFinally
  644.     
  645. }
  646. void func14( void)
  647. {
  648.     RPC_MESSAGE _RpcMessage;
  649.     
  650.     MIDL_STUB_MESSAGE _StubMsg;
  651.     
  652.     RpcTryFinally
  653.         {
  654.         NdrClientInitializeNew(
  655.                           ( PRPC_MESSAGE  )&_RpcMessage,
  656.                           ( PMIDL_STUB_MESSAGE  )&_StubMsg,
  657.                           ( PMIDL_STUB_DESC  )&srvsvc_StubDesc,
  658.                           20);
  659.         
  660.         
  661.         
  662.         _StubMsg.BufferLength = 0U;
  663.         NdrNsGetBuffer( (PMIDL_STUB_MESSAGE) &_StubMsg, _StubMsg.BufferLength, srvsvc__MIDL_AutoBindHandle );
  664.         
  665.         NdrNsSendReceive( (PMIDL_STUB_MESSAGE) &_StubMsg, (unsigned char __RPC_FAR *) _StubMsg.Buffer, (RPC_BINDING_HANDLE __RPC_FAR *) &srvsvc__MIDL_AutoBindHandle );
  666.         
  667.         }
  668.     RpcFinally
  669.         {
  670.         NdrFreeBuffer( (PMIDL_STUB_MESSAGE) &_StubMsg );
  671.         
  672.         }
  673.     RpcEndFinally
  674.     
  675. }
  676. void func15( void)
  677. {
  678.     RPC_MESSAGE _RpcMessage;
  679.     
  680.     MIDL_STUB_MESSAGE _StubMsg;
  681.     
  682.     RpcTryFinally
  683.         {
  684.         NdrClientInitializeNew(
  685.                           ( PRPC_MESSAGE  )&_RpcMessage,
  686.                           ( PMIDL_STUB_MESSAGE  )&_StubMsg,
  687.                           ( PMIDL_STUB_DESC  )&srvsvc_StubDesc,
  688.                           21);
  689.         
  690.         
  691.         
  692.         _StubMsg.BufferLength = 0U;
  693.         NdrNsGetBuffer( (PMIDL_STUB_MESSAGE) &_StubMsg, _StubMsg.BufferLength, srvsvc__MIDL_AutoBindHandle );
  694.         
  695.         NdrNsSendReceive( (PMIDL_STUB_MESSAGE) &_StubMsg, (unsigned char __RPC_FAR *) _StubMsg.Buffer, (RPC_BINDING_HANDLE __RPC_FAR *) &srvsvc__MIDL_AutoBindHandle );
  696.         
  697.         }
  698.     RpcFinally
  699.         {
  700.         NdrFreeBuffer( (PMIDL_STUB_MESSAGE) &_StubMsg );
  701.         
  702.         }
  703.     RpcEndFinally
  704.     
  705. }
  706. void func16( void)
  707. {
  708.     RPC_MESSAGE _RpcMessage;
  709.     
  710.     MIDL_STUB_MESSAGE _StubMsg;
  711.     
  712.     RpcTryFinally
  713.         {
  714.         NdrClientInitializeNew(
  715.                           ( PRPC_MESSAGE  )&_RpcMessage,
  716.                           ( PMIDL_STUB_MESSAGE  )&_StubMsg,
  717.                           ( PMIDL_STUB_DESC  )&srvsvc_StubDesc,
  718.                           22);
  719.         
  720.         
  721.         
  722.         _StubMsg.BufferLength = 0U;
  723.         NdrNsGetBuffer( (PMIDL_STUB_MESSAGE) &_StubMsg, _StubMsg.BufferLength, srvsvc__MIDL_AutoBindHandle );
  724.         
  725.         NdrNsSendReceive( (PMIDL_STUB_MESSAGE) &_StubMsg, (unsigned char __RPC_FAR *) _StubMsg.Buffer, (RPC_BINDING_HANDLE __RPC_FAR *) &srvsvc__MIDL_AutoBindHandle );
  726.         
  727.         }
  728.     RpcFinally
  729.         {
  730.         NdrFreeBuffer( (PMIDL_STUB_MESSAGE) &_StubMsg );
  731.         
  732.         }
  733.     RpcEndFinally
  734.     
  735. }
  736. void func17( void)
  737. {
  738.     RPC_MESSAGE _RpcMessage;
  739.     
  740.     MIDL_STUB_MESSAGE _StubMsg;
  741.     
  742.     RpcTryFinally
  743.         {
  744.         NdrClientInitializeNew(
  745.                           ( PRPC_MESSAGE  )&_RpcMessage,
  746.                           ( PMIDL_STUB_MESSAGE  )&_StubMsg,
  747.                           ( PMIDL_STUB_DESC  )&srvsvc_StubDesc,
  748.                           23);
  749.         
  750.         
  751.         
  752.         _StubMsg.BufferLength = 0U;
  753.         NdrNsGetBuffer( (PMIDL_STUB_MESSAGE) &_StubMsg, _StubMsg.BufferLength, srvsvc__MIDL_AutoBindHandle );
  754.         
  755.         NdrNsSendReceive( (PMIDL_STUB_MESSAGE) &_StubMsg, (unsigned char __RPC_FAR *) _StubMsg.Buffer, (RPC_BINDING_HANDLE __RPC_FAR *) &srvsvc__MIDL_AutoBindHandle );
  756.         
  757.         }
  758.     RpcFinally
  759.         {
  760.         NdrFreeBuffer( (PMIDL_STUB_MESSAGE) &_StubMsg );
  761.         
  762.         }
  763.     RpcEndFinally
  764.     
  765. }
  766. void func18( void)
  767. {
  768.     RPC_MESSAGE _RpcMessage;
  769.     
  770.     MIDL_STUB_MESSAGE _StubMsg;
  771.     
  772.     RpcTryFinally
  773.         {
  774.         NdrClientInitializeNew(
  775.                           ( PRPC_MESSAGE  )&_RpcMessage,
  776.                           ( PMIDL_STUB_MESSAGE  )&_StubMsg,
  777.                           ( PMIDL_STUB_DESC  )&srvsvc_StubDesc,
  778.                           24);
  779.         
  780.         
  781.         
  782.         _StubMsg.BufferLength = 0U;
  783.         NdrNsGetBuffer( (PMIDL_STUB_MESSAGE) &_StubMsg, _StubMsg.BufferLength, srvsvc__MIDL_AutoBindHandle );
  784.         
  785.         NdrNsSendReceive( (PMIDL_STUB_MESSAGE) &_StubMsg, (unsigned char __RPC_FAR *) _StubMsg.Buffer, (RPC_BINDING_HANDLE __RPC_FAR *) &srvsvc__MIDL_AutoBindHandle );
  786.         
  787.         }
  788.     RpcFinally
  789.         {
  790.         NdrFreeBuffer( (PMIDL_STUB_MESSAGE) &_StubMsg );
  791.         
  792.         }
  793.     RpcEndFinally
  794.     
  795. }
  796. void func19( void)
  797. {
  798.     RPC_MESSAGE _RpcMessage;
  799.     
  800.     MIDL_STUB_MESSAGE _StubMsg;
  801.     
  802.     RpcTryFinally
  803.         {
  804.         NdrClientInitializeNew(
  805.                           ( PRPC_MESSAGE  )&_RpcMessage,
  806.                           ( PMIDL_STUB_MESSAGE  )&_StubMsg,
  807.                           ( PMIDL_STUB_DESC  )&srvsvc_StubDesc,
  808.                           25);
  809.         
  810.         
  811.         
  812.         _StubMsg.BufferLength = 0U;
  813.         NdrNsGetBuffer( (PMIDL_STUB_MESSAGE) &_StubMsg, _StubMsg.BufferLength, srvsvc__MIDL_AutoBindHandle );
  814.         
  815.         NdrNsSendReceive( (PMIDL_STUB_MESSAGE) &_StubMsg, (unsigned char __RPC_FAR *) _StubMsg.Buffer, (RPC_BINDING_HANDLE __RPC_FAR *) &srvsvc__MIDL_AutoBindHandle );
  816.         
  817.         }
  818.     RpcFinally
  819.         {
  820.         NdrFreeBuffer( (PMIDL_STUB_MESSAGE) &_StubMsg );
  821.         
  822.         }
  823.     RpcEndFinally
  824.     
  825. }
  826. void func1a( void)
  827. {
  828.     RPC_MESSAGE _RpcMessage;
  829.     
  830.     MIDL_STUB_MESSAGE _StubMsg;
  831.     
  832.     RpcTryFinally
  833.         {
  834.         NdrClientInitializeNew(
  835.                           ( PRPC_MESSAGE  )&_RpcMessage,
  836.                           ( PMIDL_STUB_MESSAGE  )&_StubMsg,
  837.                           ( PMIDL_STUB_DESC  )&srvsvc_StubDesc,
  838.                           26);
  839.         
  840.         
  841.         
  842.         _StubMsg.BufferLength = 0U;
  843.         NdrNsGetBuffer( (PMIDL_STUB_MESSAGE) &_StubMsg, _StubMsg.BufferLength, srvsvc__MIDL_AutoBindHandle );
  844.         
  845.         NdrNsSendReceive( (PMIDL_STUB_MESSAGE) &_StubMsg, (unsigned char __RPC_FAR *) _StubMsg.Buffer, (RPC_BINDING_HANDLE __RPC_FAR *) &srvsvc__MIDL_AutoBindHandle );
  846.         
  847.         }
  848.     RpcFinally
  849.         {
  850.         NdrFreeBuffer( (PMIDL_STUB_MESSAGE) &_StubMsg );
  851.         
  852.         }
  853.     RpcEndFinally
  854.     
  855. }
  856. void func1b( void)
  857. {
  858.     RPC_MESSAGE _RpcMessage;
  859.     
  860.     MIDL_STUB_MESSAGE _StubMsg;
  861.     
  862.     RpcTryFinally
  863.         {
  864.         NdrClientInitializeNew(
  865.                           ( PRPC_MESSAGE  )&_RpcMessage,
  866.                           ( PMIDL_STUB_MESSAGE  )&_StubMsg,
  867.                           ( PMIDL_STUB_DESC  )&srvsvc_StubDesc,
  868.                           27);
  869.         
  870.         
  871.         
  872.         _StubMsg.BufferLength = 0U;
  873.         NdrNsGetBuffer( (PMIDL_STUB_MESSAGE) &_StubMsg, _StubMsg.BufferLength, srvsvc__MIDL_AutoBindHandle );
  874.         
  875.         NdrNsSendReceive( (PMIDL_STUB_MESSAGE) &_StubMsg, (unsigned char __RPC_FAR *) _StubMsg.Buffer, (RPC_BINDING_HANDLE __RPC_FAR *) &srvsvc__MIDL_AutoBindHandle );
  876.         
  877.         }
  878.     RpcFinally
  879.         {
  880.         NdrFreeBuffer( (PMIDL_STUB_MESSAGE) &_StubMsg );
  881.         
  882.         }
  883.     RpcEndFinally
  884.     
  885. }
  886. void func1c( void)
  887. {
  888.     RPC_MESSAGE _RpcMessage;
  889.     
  890.     MIDL_STUB_MESSAGE _StubMsg;
  891.     
  892.     RpcTryFinally
  893.         {
  894.         NdrClientInitializeNew(
  895.                           ( PRPC_MESSAGE  )&_RpcMessage,
  896.                           ( PMIDL_STUB_MESSAGE  )&_StubMsg,
  897.                           ( PMIDL_STUB_DESC  )&srvsvc_StubDesc,
  898.                           28);
  899.         
  900.         
  901.         
  902.         _StubMsg.BufferLength = 0U;
  903.         NdrNsGetBuffer( (PMIDL_STUB_MESSAGE) &_StubMsg, _StubMsg.BufferLength, srvsvc__MIDL_AutoBindHandle );
  904.         
  905.         NdrNsSendReceive( (PMIDL_STUB_MESSAGE) &_StubMsg, (unsigned char __RPC_FAR *) _StubMsg.Buffer, (RPC_BINDING_HANDLE __RPC_FAR *) &srvsvc__MIDL_AutoBindHandle );
  906.         
  907.         }
  908.     RpcFinally
  909.         {
  910.         NdrFreeBuffer( (PMIDL_STUB_MESSAGE) &_StubMsg );
  911.         
  912.         }
  913.     RpcEndFinally
  914.     
  915. }
  916. void func1d( void)
  917. {
  918.     RPC_MESSAGE _RpcMessage;
  919.     
  920.     MIDL_STUB_MESSAGE _StubMsg;
  921.     
  922.     RpcTryFinally
  923.         {
  924.         NdrClientInitializeNew(
  925.                           ( PRPC_MESSAGE  )&_RpcMessage,
  926.                           ( PMIDL_STUB_MESSAGE  )&_StubMsg,
  927.                           ( PMIDL_STUB_DESC  )&srvsvc_StubDesc,
  928.                           29);
  929.         
  930.         
  931.         
  932.         _StubMsg.BufferLength = 0U;
  933.         NdrNsGetBuffer( (PMIDL_STUB_MESSAGE) &_StubMsg, _StubMsg.BufferLength, srvsvc__MIDL_AutoBindHandle );
  934.         
  935.         NdrNsSendReceive( (PMIDL_STUB_MESSAGE) &_StubMsg, (unsigned char __RPC_FAR *) _StubMsg.Buffer, (RPC_BINDING_HANDLE __RPC_FAR *) &srvsvc__MIDL_AutoBindHandle );
  936.         
  937.         }
  938.     RpcFinally
  939.         {
  940.         NdrFreeBuffer( (PMIDL_STUB_MESSAGE) &_StubMsg );
  941.         
  942.         }
  943.     RpcEndFinally
  944.     
  945. }
  946. void func1e( void)
  947. {
  948.     RPC_MESSAGE _RpcMessage;
  949.     
  950.     MIDL_STUB_MESSAGE _StubMsg;
  951.     
  952.     RpcTryFinally
  953.         {
  954.         NdrClientInitializeNew(
  955.                           ( PRPC_MESSAGE  )&_RpcMessage,
  956.                           ( PMIDL_STUB_MESSAGE  )&_StubMsg,
  957.                           ( PMIDL_STUB_DESC  )&srvsvc_StubDesc,
  958.                           30);
  959.         
  960.         
  961.         
  962.         _StubMsg.BufferLength = 0U;
  963.         NdrNsGetBuffer( (PMIDL_STUB_MESSAGE) &_StubMsg, _StubMsg.BufferLength, srvsvc__MIDL_AutoBindHandle );
  964.         
  965.         NdrNsSendReceive( (PMIDL_STUB_MESSAGE) &_StubMsg, (unsigned char __RPC_FAR *) _StubMsg.Buffer, (RPC_BINDING_HANDLE __RPC_FAR *) &srvsvc__MIDL_AutoBindHandle );
  966.         
  967.         }
  968.     RpcFinally
  969.         {
  970.         NdrFreeBuffer( (PMIDL_STUB_MESSAGE) &_StubMsg );
  971.         
  972.         }
  973.     RpcEndFinally
  974.     
  975. }
  976. void func1f( 
  977.     /* [string][unique][in] */ wchar_t __RPC_FAR *element_607,
  978.     /* [string][in] */ wchar_t __RPC_FAR *element_608,
  979.     /* [size_is][out] */ unsigned char __RPC_FAR element_609[  ],
  980.     /* [in] */ long element_610,
  981.     /* [string][in] */ wchar_t __RPC_FAR *element_611,
  982.     /* [out][in] */ long __RPC_FAR *element_612,
  983.     /* [in] */ long element_613)
  984. {
  985.     RPC_MESSAGE _RpcMessage;
  986.     
  987.     MIDL_STUB_MESSAGE _StubMsg;
  988.     
  989.     if(!element_608)
  990.         {
  991.         RpcRaiseException(RPC_X_NULL_REF_POINTER);
  992.         }
  993.     if(!element_611)
  994.         {
  995.         RpcRaiseException(RPC_X_NULL_REF_POINTER);
  996.         }
  997.     if(!element_612)
  998.         {
  999.         RpcRaiseException(RPC_X_NULL_REF_POINTER);
  1000.         }
  1001.     RpcTryFinally
  1002.         {
  1003.         NdrClientInitializeNew(
  1004.                           ( PRPC_MESSAGE  )&_RpcMessage,
  1005.                           ( PMIDL_STUB_MESSAGE  )&_StubMsg,
  1006.                           ( PMIDL_STUB_DESC  )&srvsvc_StubDesc,
  1007.                           31);
  1008.         
  1009.         
  1010.         
  1011.         _StubMsg.BufferLength = 16U + 14U + 10U + 14U + 10U + 7U;
  1012.         NdrPointerBufferSize( (PMIDL_STUB_MESSAGE) &_StubMsg,
  1013.                               (unsigned char __RPC_FAR *)element_607,
  1014.                               (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[2] );
  1015.         
  1016.         NdrConformantStringBufferSize( (PMIDL_STUB_MESSAGE) &_StubMsg,
  1017.                                        (unsigned char __RPC_FAR *)element_608,
  1018.                                        (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[8] );
  1019.         
  1020.         NdrConformantStringBufferSize( (PMIDL_STUB_MESSAGE) &_StubMsg,
  1021.                                        (unsigned char __RPC_FAR *)element_611,
  1022.                                        (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[8] );
  1023.         
  1024.         NdrNsGetBuffer( (PMIDL_STUB_MESSAGE) &_StubMsg, _StubMsg.BufferLength, srvsvc__MIDL_AutoBindHandle );
  1025.         
  1026.         NdrPointerMarshall( (PMIDL_STUB_MESSAGE)& _StubMsg,
  1027.                             (unsigned char __RPC_FAR *)element_607,
  1028.                             (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[2] );
  1029.         
  1030.         NdrConformantStringMarshall( (PMIDL_STUB_MESSAGE)& _StubMsg,
  1031.                                      (unsigned char __RPC_FAR *)element_608,
  1032.                                      (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[8] );
  1033.         
  1034.         _StubMsg.Buffer = (unsigned char __RPC_FAR *)(((long)_StubMsg.Buffer + 3) & ~ 0x3);
  1035.         *(( long __RPC_FAR * )_StubMsg.Buffer)++ = element_610;
  1036.         
  1037.         NdrConformantStringMarshall( (PMIDL_STUB_MESSAGE)& _StubMsg,
  1038.                                      (unsigned char __RPC_FAR *)element_611,
  1039.                                      (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[8] );
  1040.         
  1041.         _StubMsg.Buffer = (unsigned char __RPC_FAR *)(((long)_StubMsg.Buffer + 3) & ~ 0x3);
  1042.         *(( long __RPC_FAR * )_StubMsg.Buffer)++ = *element_612;
  1043.         
  1044.         *(( long __RPC_FAR * )_StubMsg.Buffer)++ = element_613;
  1045.         
  1046.         NdrNsSendReceive( (PMIDL_STUB_MESSAGE) &_StubMsg, (unsigned char __RPC_FAR *) _StubMsg.Buffer, (RPC_BINDING_HANDLE __RPC_FAR *) &srvsvc__MIDL_AutoBindHandle );
  1047.         
  1048.         if ( (_RpcMessage.DataRepresentation & 0X0000FFFFUL) != NDR_LOCAL_DATA_REPRESENTATION )
  1049.             NdrConvert( (PMIDL_STUB_MESSAGE) &_StubMsg, (PFORMAT_STRING) &__MIDL_ProcFormatString.Format[2] );
  1050.         
  1051.         NdrConformantArrayUnmarshall( (PMIDL_STUB_MESSAGE) &_StubMsg,
  1052.                                       (unsigned char __RPC_FAR * __RPC_FAR *)&element_609,
  1053.                                       (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[10],
  1054.                                       (unsigned char)0 );
  1055.         
  1056.         _StubMsg.Buffer = (unsigned char __RPC_FAR *)(((long)_StubMsg.Buffer + 3) & ~ 0x3);
  1057.         *element_612 = *(( long __RPC_FAR * )_StubMsg.Buffer)++;
  1058.         
  1059.         }
  1060.     RpcFinally
  1061.         {
  1062.         NdrFreeBuffer( (PMIDL_STUB_MESSAGE) &_StubMsg );
  1063.         
  1064.         }
  1065.     RpcEndFinally
  1066.     
  1067. }
  1068. int func20( void)
  1069. {
  1070.     int _RetVal;
  1071.     
  1072.     RPC_MESSAGE _RpcMessage;
  1073.     
  1074.     MIDL_STUB_MESSAGE _StubMsg;
  1075.     
  1076.     RpcTryFinally
  1077.         {
  1078.         NdrClientInitializeNew(
  1079.                           ( PRPC_MESSAGE  )&_RpcMessage,
  1080.                           ( PMIDL_STUB_MESSAGE  )&_StubMsg,
  1081.                           ( PMIDL_STUB_DESC  )&srvsvc_StubDesc,
  1082.                           32);
  1083.         
  1084.         
  1085.         
  1086.         _StubMsg.BufferLength = 0U;
  1087.         NdrNsGetBuffer( (PMIDL_STUB_MESSAGE) &_StubMsg, _StubMsg.BufferLength, srvsvc__MIDL_AutoBindHandle );
  1088.         
  1089.         NdrNsSendReceive( (PMIDL_STUB_MESSAGE) &_StubMsg, (unsigned char __RPC_FAR *) _StubMsg.Buffer, (RPC_BINDING_HANDLE __RPC_FAR *) &srvsvc__MIDL_AutoBindHandle );
  1090.         
  1091.         if ( (_RpcMessage.DataRepresentation & 0X0000FFFFUL) != NDR_LOCAL_DATA_REPRESENTATION )
  1092.             NdrConvert( (PMIDL_STUB_MESSAGE) &_StubMsg, (PFORMAT_STRING) &__MIDL_ProcFormatString.Format[28] );
  1093.         
  1094.         _RetVal = *(( int __RPC_FAR * )_StubMsg.Buffer)++;
  1095.         
  1096.         }
  1097.     RpcFinally
  1098.         {
  1099.         NdrFreeBuffer( (PMIDL_STUB_MESSAGE) &_StubMsg );
  1100.         
  1101.         }
  1102.     RpcEndFinally
  1103.     
  1104.     return _RetVal;
  1105. }
  1106. int func21( void)
  1107. {
  1108.     int _RetVal;
  1109.     
  1110.     RPC_MESSAGE _RpcMessage;
  1111.     
  1112.     MIDL_STUB_MESSAGE _StubMsg;
  1113.     
  1114.     RpcTryFinally
  1115.         {
  1116.         NdrClientInitializeNew(
  1117.                           ( PRPC_MESSAGE  )&_RpcMessage,
  1118.                           ( PMIDL_STUB_MESSAGE  )&_StubMsg,
  1119.                           ( PMIDL_STUB_DESC  )&srvsvc_StubDesc,
  1120.                           33);
  1121.         
  1122.         
  1123.         
  1124.         _StubMsg.BufferLength = 0U;
  1125.         NdrNsGetBuffer( (PMIDL_STUB_MESSAGE) &_StubMsg, _StubMsg.BufferLength, srvsvc__MIDL_AutoBindHandle );
  1126.         
  1127.         NdrNsSendReceive( (PMIDL_STUB_MESSAGE) &_StubMsg, (unsigned char __RPC_FAR *) _StubMsg.Buffer, (RPC_BINDING_HANDLE __RPC_FAR *) &srvsvc__MIDL_AutoBindHandle );
  1128.         
  1129.         if ( (_RpcMessage.DataRepresentation & 0X0000FFFFUL) != NDR_LOCAL_DATA_REPRESENTATION )
  1130.             NdrConvert( (PMIDL_STUB_MESSAGE) &_StubMsg, (PFORMAT_STRING) &__MIDL_ProcFormatString.Format[28] );
  1131.         
  1132.         _RetVal = *(( int __RPC_FAR * )_StubMsg.Buffer)++;
  1133.         
  1134.         }
  1135.     RpcFinally
  1136.         {
  1137.         NdrFreeBuffer( (PMIDL_STUB_MESSAGE) &_StubMsg );
  1138.         
  1139.         }
  1140.     RpcEndFinally
  1141.     
  1142.     return _RetVal;
  1143. }
  1144. int func22( void)
  1145. {
  1146.     int _RetVal;
  1147.     
  1148.     RPC_MESSAGE _RpcMessage;
  1149.     
  1150.     MIDL_STUB_MESSAGE _StubMsg;
  1151.     
  1152.     RpcTryFinally
  1153.         {
  1154.         NdrClientInitializeNew(
  1155.                           ( PRPC_MESSAGE  )&_RpcMessage,
  1156.                           ( PMIDL_STUB_MESSAGE  )&_StubMsg,
  1157.                           ( PMIDL_STUB_DESC  )&srvsvc_StubDesc,
  1158.                           34);
  1159.         
  1160.         
  1161.         
  1162.         _StubMsg.BufferLength = 0U;
  1163.         NdrNsGetBuffer( (PMIDL_STUB_MESSAGE) &_StubMsg, _StubMsg.BufferLength, srvsvc__MIDL_AutoBindHandle );
  1164.         
  1165.         NdrNsSendReceive( (PMIDL_STUB_MESSAGE) &_StubMsg, (unsigned char __RPC_FAR *) _StubMsg.Buffer, (RPC_BINDING_HANDLE __RPC_FAR *) &srvsvc__MIDL_AutoBindHandle );
  1166.         
  1167.         if ( (_RpcMessage.DataRepresentation & 0X0000FFFFUL) != NDR_LOCAL_DATA_REPRESENTATION )
  1168.             NdrConvert( (PMIDL_STUB_MESSAGE) &_StubMsg, (PFORMAT_STRING) &__MIDL_ProcFormatString.Format[28] );
  1169.         
  1170.         _RetVal = *(( int __RPC_FAR * )_StubMsg.Buffer)++;
  1171.         
  1172.         }
  1173.     RpcFinally
  1174.         {
  1175.         NdrFreeBuffer( (PMIDL_STUB_MESSAGE) &_StubMsg );
  1176.         
  1177.         }
  1178.     RpcEndFinally
  1179.     
  1180.     return _RetVal;
  1181. }
  1182. int func23( 
  1183.     /* [string][unique][in] */ wchar_t __RPC_FAR *arg_1,
  1184.     /* [string][in] */ wchar_t __RPC_FAR *arg_2,
  1185.     /* [string][in] */ wchar_t __RPC_FAR *arg_3,
  1186.     /* [in] */ long arg_4,
  1187.     /* [in] */ long arg_5)
  1188. {
  1189.     int _RetVal;
  1190.     
  1191.     RPC_MESSAGE _RpcMessage;
  1192.     
  1193.     MIDL_STUB_MESSAGE _StubMsg;
  1194.     
  1195.     if(!arg_2)
  1196.         {
  1197.         RpcRaiseException(RPC_X_NULL_REF_POINTER);
  1198.         }
  1199.     if(!arg_3)
  1200.         {
  1201.         RpcRaiseException(RPC_X_NULL_REF_POINTER);
  1202.         }
  1203.     RpcTryFinally
  1204.         {
  1205.         NdrClientInitializeNew(
  1206.                           ( PRPC_MESSAGE  )&_RpcMessage,
  1207.                           ( PMIDL_STUB_MESSAGE  )&_StubMsg,
  1208.                           ( PMIDL_STUB_DESC  )&srvsvc_StubDesc,
  1209.                           35);
  1210.         
  1211.         
  1212.         
  1213.         _StubMsg.BufferLength = 16U + 14U + 14U + 10U + 7U;
  1214.         NdrPointerBufferSize( (PMIDL_STUB_MESSAGE) &_StubMsg,
  1215.                               (unsigned char __RPC_FAR *)arg_1,
  1216.                               (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[2] );
  1217.         
  1218.         NdrConformantStringBufferSize( (PMIDL_STUB_MESSAGE) &_StubMsg,
  1219.                                        (unsigned char __RPC_FAR *)arg_2,
  1220.                                        (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[8] );
  1221.         
  1222.         NdrConformantStringBufferSize( (PMIDL_STUB_MESSAGE) &_StubMsg,
  1223.                                        (unsigned char __RPC_FAR *)arg_3,
  1224.                                        (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[8] );
  1225.         
  1226.         NdrNsGetBuffer( (PMIDL_STUB_MESSAGE) &_StubMsg, _StubMsg.BufferLength, srvsvc__MIDL_AutoBindHandle );
  1227.         
  1228.         NdrPointerMarshall( (PMIDL_STUB_MESSAGE)& _StubMsg,
  1229.                             (unsigned char __RPC_FAR *)arg_1,
  1230.                             (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[2] );
  1231.         
  1232.         NdrConformantStringMarshall( (PMIDL_STUB_MESSAGE)& _StubMsg,
  1233.                                      (unsigned char __RPC_FAR *)arg_2,
  1234.                                      (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[8] );
  1235.         
  1236.         NdrConformantStringMarshall( (PMIDL_STUB_MESSAGE)& _StubMsg,
  1237.                                      (unsigned char __RPC_FAR *)arg_3,
  1238.                                      (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[8] );
  1239.         
  1240.         _StubMsg.Buffer = (unsigned char __RPC_FAR *)(((long)_StubMsg.Buffer + 3) & ~ 0x3);
  1241.         *(( long __RPC_FAR * )_StubMsg.Buffer)++ = arg_4;
  1242.         
  1243.         *(( long __RPC_FAR * )_StubMsg.Buffer)++ = arg_5;
  1244.         
  1245.         NdrNsSendReceive( (PMIDL_STUB_MESSAGE) &_StubMsg, (unsigned char __RPC_FAR *) _StubMsg.Buffer, (RPC_BINDING_HANDLE __RPC_FAR *) &srvsvc__MIDL_AutoBindHandle );
  1246.         
  1247.         if ( (_RpcMessage.DataRepresentation & 0X0000FFFFUL) != NDR_LOCAL_DATA_REPRESENTATION )
  1248.             NdrConvert( (PMIDL_STUB_MESSAGE) &_StubMsg, (PFORMAT_STRING) &__MIDL_ProcFormatString.Format[30] );
  1249.         
  1250.         _RetVal = *(( int __RPC_FAR * )_StubMsg.Buffer)++;
  1251.         
  1252.         }
  1253.     RpcFinally
  1254.         {
  1255.         NdrFreeBuffer( (PMIDL_STUB_MESSAGE) &_StubMsg );
  1256.         
  1257.         }
  1258.     RpcEndFinally
  1259.     
  1260.     return _RetVal;
  1261. }
  1262. static const MIDL_STUB_DESC srvsvc_StubDesc = 
  1263.     {
  1264.     (void __RPC_FAR *)& srvsvc___RpcClientInterface,
  1265.     MIDL_user_allocate,
  1266.     MIDL_user_free,
  1267.     &srvsvc__MIDL_AutoBindHandle,
  1268.     0,
  1269.     0,
  1270.     0,
  1271.     0,
  1272.     __MIDL_TypeFormatString.Format,
  1273.     1, /* -error bounds_check flag */
  1274.     0x10001, /* Ndr library version */
  1275.     0,
  1276.     0x50100a4, /* MIDL Version 5.1.164 */
  1277.     0,
  1278.     0,
  1279.     0,  /* notify & notify_flag routine table */
  1280.     1,  /* Flags */
  1281.     0,  /* Reserved3 */
  1282.     0,  /* Reserved4 */
  1283.     0   /* Reserved5 */
  1284.     };
  1285. #if !defined(__RPC_WIN32__)
  1286. #error  Invalid build platform for this stub.
  1287. #endif
  1288. static const MIDL_PROC_FORMAT_STRING __MIDL_ProcFormatString =
  1289.     {
  1290.         0,
  1291.         {
  1292. 0x5b, /* FC_END */
  1293. 0x5c, /* FC_PAD */
  1294. /*  2 */
  1295. 0x4d, /* FC_IN_PARAM */
  1296. #ifndef _ALPHA_
  1297. 0x1, /* x86, MIPS & PPC Stack size = 1 */
  1298. #else
  1299. 0x2, /* Alpha Stack size = 2 */
  1300. #endif
  1301. /*  4 */ NdrFcShort( 0x2 ), /* Type Offset=2 */
  1302. /*  6 */
  1303. 0x4d, /* FC_IN_PARAM */
  1304. #ifndef _ALPHA_
  1305. 0x1, /* x86, MIPS & PPC Stack size = 1 */
  1306. #else
  1307. 0x2, /* Alpha Stack size = 2 */
  1308. #endif
  1309. /*  8 */ NdrFcShort( 0x6 ), /* Type Offset=6 */
  1310. /* 10 */
  1311. 0x51, /* FC_OUT_PARAM */
  1312. #ifndef _ALPHA_
  1313. 0x1, /* x86, MIPS & PPC Stack size = 1 */
  1314. #else
  1315. 0x2, /* Alpha Stack size = 2 */
  1316. #endif
  1317. /* 12 */ NdrFcShort( 0xa ), /* Type Offset=10 */
  1318. /* 14 */ 0x4e, /* FC_IN_PARAM_BASETYPE */
  1319. 0x8, /* FC_LONG */
  1320. /* 16 */
  1321. 0x4d, /* FC_IN_PARAM */
  1322. #ifndef _ALPHA_
  1323. 0x1, /* x86, MIPS & PPC Stack size = 1 */
  1324. #else
  1325. 0x2, /* Alpha Stack size = 2 */
  1326. #endif
  1327. /* 18 */ NdrFcShort( 0x6 ), /* Type Offset=6 */
  1328. /* 20 */
  1329. 0x50, /* FC_IN_OUT_PARAM */
  1330. #ifndef _ALPHA_
  1331. 0x1, /* x86, MIPS & PPC Stack size = 1 */
  1332. #else
  1333. 0x2, /* Alpha Stack size = 2 */
  1334. #endif
  1335. /* 22 */ NdrFcShort( 0x14 ), /* Type Offset=20 */
  1336. /* 24 */ 0x4e, /* FC_IN_PARAM_BASETYPE */
  1337. 0x8, /* FC_LONG */
  1338. /* 26 */ 0x5b, /* FC_END */
  1339. 0x5c, /* FC_PAD */
  1340. /* 28 */ 0x53, /* FC_RETURN_PARAM_BASETYPE */
  1341. 0x8, /* FC_LONG */
  1342. /* 30 */
  1343. 0x4d, /* FC_IN_PARAM */
  1344. #ifndef _ALPHA_
  1345. 0x1, /* x86, MIPS & PPC Stack size = 1 */
  1346. #else
  1347. 0x2, /* Alpha Stack size = 2 */
  1348. #endif
  1349. /* 32 */ NdrFcShort( 0x2 ), /* Type Offset=2 */
  1350. /* 34 */
  1351. 0x4d, /* FC_IN_PARAM */
  1352. #ifndef _ALPHA_
  1353. 0x1, /* x86, MIPS & PPC Stack size = 1 */
  1354. #else
  1355. 0x2, /* Alpha Stack size = 2 */
  1356. #endif
  1357. /* 36 */ NdrFcShort( 0x6 ), /* Type Offset=6 */
  1358. /* 38 */
  1359. 0x4d, /* FC_IN_PARAM */
  1360. #ifndef _ALPHA_
  1361. 0x1, /* x86, MIPS & PPC Stack size = 1 */
  1362. #else
  1363. 0x2, /* Alpha Stack size = 2 */
  1364. #endif
  1365. /* 40 */ NdrFcShort( 0x6 ), /* Type Offset=6 */
  1366. /* 42 */ 0x4e, /* FC_IN_PARAM_BASETYPE */
  1367. 0x8, /* FC_LONG */
  1368. /* 44 */ 0x4e, /* FC_IN_PARAM_BASETYPE */
  1369. 0x8, /* FC_LONG */
  1370. /* 46 */ 0x53, /* FC_RETURN_PARAM_BASETYPE */
  1371. 0x8, /* FC_LONG */
  1372. 0x0
  1373.         }
  1374.     };
  1375. static const MIDL_TYPE_FORMAT_STRING __MIDL_TypeFormatString =
  1376.     {
  1377.         0,
  1378.         {
  1379. NdrFcShort( 0x0 ), /* 0 */
  1380. /*  2 */
  1381. 0x12, 0x8, /* FC_UP [simple_pointer] */
  1382. /*  4 */
  1383. 0x25, /* FC_C_WSTRING */
  1384. 0x5c, /* FC_PAD */
  1385. /*  6 */
  1386. 0x11, 0x8, /* FC_RP [simple_pointer] */
  1387. /*  8 */
  1388. 0x25, /* FC_C_WSTRING */
  1389. 0x5c, /* FC_PAD */
  1390. /* 10 */
  1391. 0x1b, /* FC_CARRAY */
  1392. 0x0, /* 0 */
  1393. /* 12 */ NdrFcShort( 0x1 ), /* 1 */
  1394. /* 14 */ 0x28, /* Corr desc:  parameter, FC_LONG */
  1395. 0x0, /*  */
  1396. #ifndef _ALPHA_
  1397. /* 16 */ NdrFcShort( 0xc ), /* x86, MIPS, PPC Stack size/offset = 12 */
  1398. #else
  1399. NdrFcShort( 0x18 ), /* Alpha Stack size/offset = 24 */
  1400. #endif
  1401. /* 18 */ 0x2, /* FC_CHAR */
  1402. 0x5b, /* FC_END */
  1403. /* 20 */
  1404. 0x11, 0x8, /* FC_RP [simple_pointer] */
  1405. /* 22 */ 0x8, /* FC_LONG */
  1406. 0x5c, /* FC_PAD */
  1407. 0x0
  1408.         }
  1409.     };