Source code of Windows XP (NT5)
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

225 lines
5.8 KiB

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