home *** CD-ROM | disk | FTP | other *** search
/ PC Plus SuperCD (UK) 2000 May / PCP163A.iso / Runimage / Cbuilder4 / Include / RPCBAK.H < prev    next >
Encoding:
C/C++ Source or Header  |  1999-01-26  |  6.1 KB  |  232 lines

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