home *** CD-ROM | disk | FTP | other *** search
/ Magazyn Internet 2000 May / MICD_2000_05.iso / CBuilder5 / INSTALL / DATA1.CAB / Program_Built_Files / Include / rpcbak.h < prev    next >
C/C++ Source or Header  |  2000-02-01  |  6KB  |  228 lines

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