home *** CD-ROM | disk | FTP | other *** search
/ Tricks of the Windows Gam…ming Gurus (2nd Edition) / Disc2.iso / vc98 / include / rpcbak.h < prev    next >
C/C++ Source or Header  |  1998-04-25  |  6KB  |  226 lines

  1. /* this ALWAYS GENERATED file contains the definitions for the interfaces */
  2.  
  3.  
  4. /* File created by MIDL compiler version 2.00.0104 */
  5. /* at Tue Jul 09 17:56:02 1996
  6.  */
  7. //@@MIDL_FILE_HEADING(  )
  8. #include "rpc.h"
  9. #include "rpcndr.h"
  10.  
  11. #ifndef __rpcbak_h__
  12. #define __rpcbak_h__
  13.  
  14. #ifdef __cplusplus
  15. extern "C"{
  16. #endif 
  17.  
  18. /* Forward Declarations */ 
  19.  
  20. void __RPC_FAR * __RPC_USER MIDL_user_allocate(size_t);
  21. void __RPC_USER MIDL_user_free( void __RPC_FAR * ); 
  22.  
  23. #ifndef __TriggerBackupRPC_INTERFACE_DEFINED__
  24. #define __TriggerBackupRPC_INTERFACE_DEFINED__
  25.  
  26. /****************************************
  27.  * Generated header for interface: TriggerBackupRPC
  28.  * at Tue Jul 09 17:56:02 1996
  29.  * using MIDL 2.00.0104
  30.  ****************************************/
  31. /* [auto_handle][unique][version][uuid] */ 
  32.  
  33.  
  34. #ifndef RPC_COMMON_IDL
  35. #define RPC_COMMON_IDL
  36. #define        szTriggerRPCProtocol        TEXT("ncacn_np")
  37. #define        szTriggerRPCSecurity        TEXT("Security=impersonation dynamic true")
  38.             /* size is 4 */
  39. typedef long RPC_BOOL;
  40.  
  41.             /* size is 1 */
  42. typedef small RPC_BYTE;
  43.  
  44.             /* size is 4 */
  45. typedef long RPC_INT;
  46.  
  47.             /* size is 4 */
  48. typedef long RPC_SC;
  49.  
  50.             /* size is 4 */
  51. typedef long RPC_EC;
  52.  
  53.             /* size is 4 */
  54. typedef long RPC_DWORD;
  55.  
  56.             /* size is 2 */
  57. typedef wchar_t RPC_CHAR;
  58.  
  59.             /* size is 4 */
  60. typedef /* [string] */ RPC_CHAR __RPC_FAR *RPC_SZ;
  61.  
  62.             /* size is 16 */
  63. typedef struct  __MIDL_TriggerBackupRPC_0001
  64.     {
  65.     short rgwSystemTime[ 8 ];
  66.     }    RPC_SYSTEMTIME;
  67.  
  68.             /* size is 172 */
  69. typedef struct  __MIDL_TriggerBackupRPC_0002
  70.     {
  71.     RPC_BYTE rgbTzi[ 172 ];
  72.     }    RPC_TIME_ZONE_INFORMATION;
  73.  
  74.             /* size is 28 */
  75. typedef struct  __MIDL_TriggerBackupRPC_0003
  76.     {
  77.     long rgdwServiceStatus[ 7 ];
  78.     }    RPC_SERVICE_STATUS;
  79.  
  80. #define        ecOK                        0        // no error
  81. #define        ecGeneralFailure            50001    // a failure occurred that caused proxy generation to stop
  82. #define        ecSomeProxiesFailed            50002    // some proxies failed to get generated
  83. #define        ecTargetNotValid            50003    // supplied target address not valid
  84. #define        ecTargetNotUnique            50004    // supplied target address not unique
  85. #define        ecProxyDLLNotImplemented    50005    // not implemented yet
  86. #define        ecProxyDLLOOM                50006    // memory allocation error
  87. #define        ecProxyDLLError                50007    // general error
  88. #define        ecProxyDLLProtocol            50008    // protocol error
  89. #define        ecProxyDLLSyntax            50009    // syntax error
  90. #define        ecProxyDLLEOF                50010   // end of file
  91. #define        ecProxyDLLSoftware            50011    // error in software
  92. #define        ecProxyDLLConfig            50012    // configuration error
  93. #define        ecProxyDLLContention        50013    // contention error
  94. #define        ecProxyDLLNotFound            50014    // not found
  95. #define        ecProxyDLLDiskSpace            50015    // out of disk space
  96. #define        ecProxyDLLException            50016    // exception thrown
  97. #define        ecProxyDLLDefault            50017    // unknown error
  98. #define        ecProxyNotValid                50018    // supplied proxy not valid
  99. #define        ecProxyNotUnique            50019    // supplied proxy not unique or unable to generate a unique proxy
  100. #define        ecProxyDuplicate            50020    // a primary proxy of the same type was also supplied
  101.             /* size is 16 */
  102. typedef struct  _PROXYNODE
  103.     {
  104.     struct _PROXYNODE __RPC_FAR *pnodeNext;
  105.     RPC_SZ wszProxy;
  106.     RPC_EC ec;
  107.     RPC_SZ wszDN;
  108.     }    PROXYNODE;
  109.  
  110.             /* size is 4 */
  111. typedef struct _PROXYNODE __RPC_FAR *PPROXYNODE;
  112.  
  113.             /* size is 48 */
  114. typedef struct  _PROXYINFO
  115.     {
  116.     RPC_BOOL fContinueOnError;
  117.     RPC_BOOL fIgnoreOldSecondaries;
  118.     RPC_SZ wszDN;
  119.     RPC_SZ wszNickName;
  120.     RPC_SZ wszCommonName;
  121.     RPC_SZ wszDisplayName;
  122.     RPC_SZ wszSurName;
  123.     RPC_SZ wszGivenName;
  124.     RPC_SZ wszInitials;
  125.     RPC_SZ wszTargetAddress;
  126.     PROXYNODE __RPC_FAR *pPNVerifyProxy;
  127.     PROXYNODE __RPC_FAR *pPNExcludeProxy;
  128.     }    PROXYINFO;
  129.  
  130.             /* size is 4 */
  131. typedef struct _PROXYINFO __RPC_FAR *PPROXYINFO;
  132.  
  133.             /* size is 8 */
  134. typedef struct  _PROXYLIST
  135.     {
  136.     PROXYNODE __RPC_FAR *__RPC_FAR *ppPNProxy;
  137.     PROXYNODE __RPC_FAR *__RPC_FAR *ppPNFailedProxyType;
  138.     }    PROXYLIST;
  139.  
  140.             /* size is 4 */
  141. typedef struct _PROXYLIST __RPC_FAR *PPROXYLIST;
  142.  
  143.             /* size is 192 */
  144. typedef struct  __MIDL_TriggerBackupRPC_0004
  145.     {
  146.     RPC_SYSTEMTIME st;
  147.     RPC_TIME_ZONE_INFORMATION tzi;
  148.     RPC_DWORD dwReturn;
  149.     }    RemoteSystemTimeInfo;
  150.  
  151.             /* size is 48 */
  152. typedef struct  _RemoteServiceStatus
  153.     {
  154.     RPC_SC sc;
  155.     RPC_SZ szShortName;
  156.     RPC_SZ szDisplayName;
  157.     RPC_SZ szVersion;
  158.     RPC_SERVICE_STATUS ss;
  159.     struct _RemoteServiceStatus __RPC_FAR *prssNext;
  160.     }    RemoteServiceStatus;
  161.  
  162. #define        rmsSuspendRepair    0x0001
  163. #define        rmsSuspendNotif        0x0002
  164.             /* size is 24 */
  165. typedef struct  _RemoteMaintenanceStatus
  166.     {
  167.     RPC_DWORD dwStatus;
  168.     RPC_SYSTEMTIME st;
  169.     RPC_SZ szUser;
  170.     }    RemoteMaintenanceStatus;
  171.  
  172.             /* size is 12 */
  173. typedef struct  _BackupListNode
  174.     {
  175.     struct _BackupListNode __RPC_FAR *pnodeNext;
  176.     struct _BackupListNode __RPC_FAR *pnodeChildren;
  177.     RPC_SZ szName;
  178.     }    BackupListNode;
  179.  
  180.             /* size is 44 */
  181. typedef struct  _DistributedLockOwner
  182.     {
  183.     RPC_CHAR rgchComputer[ 17 ];
  184.     RPC_DWORD dwPID;
  185.     RPC_DWORD dwTID;
  186.     }    DistributedLockOwner;
  187.  
  188. #define    DLR_NO_WAIT        0x00000001
  189. #define    cchMaxLockName    17
  190.             /* size is 84 */
  191. typedef struct  _DistributedLockRequest
  192.     {
  193.     RPC_CHAR rgchLockName[ 17 ];
  194.     RPC_DWORD dwFlags;
  195.     DistributedLockOwner dlo;
  196.     }    DistributedLockRequest;
  197.  
  198.             /* size is 48 */
  199. typedef struct  _DistributedLockReply
  200.     {
  201.     RPC_BOOL fGranted;
  202.     DistributedLockOwner dlo;
  203.     }    DistributedLockReply;
  204.  
  205. #endif  // #ifndef RPC_COMMON_IDL
  206.             /* size is 4 */
  207. RPC_SC __cdecl ScGetBackupListNode( 
  208.     /* [in] */ handle_t h,
  209.     /* [out][in] */ BackupListNode __RPC_FAR *__RPC_FAR *ppnode);
  210.  
  211.  
  212.  
  213. extern RPC_IF_HANDLE TriggerBackupRPC_ClientIfHandle;
  214. extern RPC_IF_HANDLE TriggerBackupRPC_ServerIfHandle;
  215. #endif /* __TriggerBackupRPC_INTERFACE_DEFINED__ */
  216.  
  217. /* Additional Prototypes for ALL interfaces */
  218.  
  219. /* end of Additional Prototypes */
  220.  
  221. #ifdef __cplusplus
  222. }
  223. #endif
  224.  
  225. #endif
  226.