home *** CD-ROM | disk | FTP | other *** search
/ PC Plus SuperCD (UK) 2000 May / PCP163A.iso / Runimage / Cbuilder4 / Include / RPCPRI.H < prev    next >
Encoding:
C/C++ Source or Header  |  1999-01-26  |  8.1 KB  |  295 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:05 1996
  7.  */
  8. //@@MIDL_FILE_HEADING(  )
  9. #include "rpc.h"
  10. #include "rpcndr.h"
  11.  
  12. #ifndef __rpcpri_h__
  13. #define __rpcpri_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 __TriggerPrivateRPC_INTERFACE_DEFINED__
  25. #define __TriggerPrivateRPC_INTERFACE_DEFINED__
  26.  
  27. /****************************************
  28.  * Generated header for interface: TriggerPrivateRPC
  29.  * at Tue Jul 09 17:56:05 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_TriggerPrivateRPC_0001
  69.     {
  70.     short rgwSystemTime[ 8 ];
  71.     }    RPC_SYSTEMTIME;
  72.  
  73.             /* size is 172 */
  74. typedef struct  __MIDL_TriggerPrivateRPC_0002
  75.     {
  76.     RPC_BYTE rgbTzi[ 172 ];
  77.     }    RPC_TIME_ZONE_INFORMATION;
  78.  
  79.             /* size is 28 */
  80. typedef struct  __MIDL_TriggerPrivateRPC_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_TriggerPrivateRPC_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 ScGetMaintenanceMode( 
  213.     /* [in] */ handle_t h,
  214.     /* [out] */ RPC_DWORD __RPC_FAR *pdw,
  215.     /* [out] */ RPC_SYSTEMTIME __RPC_FAR *pst,
  216.     /* [out] */ RPC_SZ __RPC_FAR *pszUser);
  217.  
  218.             /* size is 4 */
  219. RPC_SC __cdecl ScSetMaintenanceMode( 
  220.     /* [in] */ handle_t h,
  221.     /* [in] */ RPC_DWORD dw,
  222.     /* [in] */ RPC_SZ szUser);
  223.  
  224.             /* size is 4 */
  225. RPC_SC __cdecl ScGetRemoteSystemTime( 
  226.     /* [in] */ handle_t h,
  227.     /* [out] */ RPC_SYSTEMTIME __RPC_FAR *pst);
  228.  
  229.             /* size is 4 */
  230. RPC_SC __cdecl ScSetRemoteSystemTime( 
  231.     /* [in] */ handle_t h,
  232.     /* [in] */ RPC_SYSTEMTIME __RPC_FAR *pst);
  233.  
  234. #define        dwServerFlagMapiRunning            0x00000001
  235. #define        dwServerFlagNoPrivateStore        0x00000002
  236.             /* size is 4 */
  237. RPC_SC __cdecl ScGetRemoteServerStatus( 
  238.     /* [in] */ handle_t h,
  239.     /* [out] */ RPC_DWORD __RPC_FAR *pdwServerFlags,
  240.     /* [out] */ RemoteSystemTimeInfo __RPC_FAR *prsti,
  241.     /* [out][in] */ RemoteServiceStatus __RPC_FAR *prss,
  242.     /* [out] */ RemoteMaintenanceStatus __RPC_FAR *prms);
  243.  
  244.             /* size is 4 */
  245. RPC_SC __cdecl ScRunOffLineABTask( 
  246.     /* [in] */ handle_t h);
  247.  
  248.             /* size is 4 */
  249. RPC_SC __cdecl ScGetDistributedLock( 
  250.     /* [in] */ handle_t h,
  251.     /* [in] */ DistributedLockRequest __RPC_FAR *pdlRequest,
  252.     /* [out] */ DistributedLockReply __RPC_FAR *pdlReply);
  253.  
  254.             /* size is 4 */
  255. RPC_SC __cdecl ScReleaseDistributedLock( 
  256.     /* [in] */ handle_t h,
  257.     /* [in] */ DistributedLockRequest __RPC_FAR *pdlRequest);
  258.  
  259.             /* size is 4 */
  260. RPC_SC __cdecl ScKillDistributedLock( 
  261.     /* [in] */ handle_t h,
  262.     /* [in] */ DistributedLockRequest __RPC_FAR *pdlRequest,
  263.     /* [out] */ DistributedLockReply __RPC_FAR *pdlReply);
  264.  
  265.             /* size is 4 */
  266. RPC_SC __cdecl ScRasEnumEntries( 
  267.     /* [in] */ handle_t h,
  268.     /* [in] */ RPC_INT cb,
  269.     /* [size_is][out] */ RPC_BYTE __RPC_FAR rgbRasEnumEntries[  ],
  270.     /* [out] */ RPC_INT __RPC_FAR *pcEntries);
  271.  
  272.             /* size is 4 */
  273. RPC_SC __cdecl ScGetExtensionPath( 
  274.     /* [in] */ handle_t h,
  275.     /* [in] */ RPC_SZ szExtensionName,
  276.     /* [in] */ RPC_SZ szExtensionCPU,
  277.     /* [out] */ RPC_SZ __RPC_FAR *pszExtensionPath);
  278.  
  279.  
  280.  
  281. extern RPC_IF_HANDLE TriggerPrivateRPC_ClientIfHandle;
  282. extern RPC_IF_HANDLE TriggerPrivateRPC_ServerIfHandle;
  283. #endif /* __TriggerPrivateRPC_INTERFACE_DEFINED__ */
  284.  
  285. /* Additional Prototypes for ALL interfaces */
  286.  
  287. /* end of Additional Prototypes */
  288.  
  289. #ifdef __cplusplus
  290. }
  291. #endif
  292.  
  293. #endif
  294. #pragma option pop /*P_O_Pop*/
  295.