home *** CD-ROM | disk | FTP | other *** search
/ PC Format (South-Africa) 2001 June / PCFJune.iso / Xenon / C++ / FreeCommandLineTools.exe / Include / rpcpri.h < prev    next >
Encoding:
C/C++ Source or Header  |  2000-01-31  |  8.0 KB  |  291 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: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. 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_TriggerPrivateRPC_0001
  65.     {
  66.     short rgwSystemTime[ 8 ];
  67.     }    RPC_SYSTEMTIME;
  68.  
  69.             /* size is 172 */
  70. typedef struct  __MIDL_TriggerPrivateRPC_0002
  71.     {
  72.     RPC_BYTE rgbTzi[ 172 ];
  73.     }    RPC_TIME_ZONE_INFORMATION;
  74.  
  75.             /* size is 28 */
  76. typedef struct  __MIDL_TriggerPrivateRPC_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_TriggerPrivateRPC_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 ScGetMaintenanceMode( 
  209.     /* [in] */ handle_t h,
  210.     /* [out] */ RPC_DWORD __RPC_FAR *pdw,
  211.     /* [out] */ RPC_SYSTEMTIME __RPC_FAR *pst,
  212.     /* [out] */ RPC_SZ __RPC_FAR *pszUser);
  213.  
  214.             /* size is 4 */
  215. RPC_SC __cdecl ScSetMaintenanceMode( 
  216.     /* [in] */ handle_t h,
  217.     /* [in] */ RPC_DWORD dw,
  218.     /* [in] */ RPC_SZ szUser);
  219.  
  220.             /* size is 4 */
  221. RPC_SC __cdecl ScGetRemoteSystemTime( 
  222.     /* [in] */ handle_t h,
  223.     /* [out] */ RPC_SYSTEMTIME __RPC_FAR *pst);
  224.  
  225.             /* size is 4 */
  226. RPC_SC __cdecl ScSetRemoteSystemTime( 
  227.     /* [in] */ handle_t h,
  228.     /* [in] */ RPC_SYSTEMTIME __RPC_FAR *pst);
  229.  
  230. #define        dwServerFlagMapiRunning            0x00000001
  231. #define        dwServerFlagNoPrivateStore        0x00000002
  232.             /* size is 4 */
  233. RPC_SC __cdecl ScGetRemoteServerStatus( 
  234.     /* [in] */ handle_t h,
  235.     /* [out] */ RPC_DWORD __RPC_FAR *pdwServerFlags,
  236.     /* [out] */ RemoteSystemTimeInfo __RPC_FAR *prsti,
  237.     /* [out][in] */ RemoteServiceStatus __RPC_FAR *prss,
  238.     /* [out] */ RemoteMaintenanceStatus __RPC_FAR *prms);
  239.  
  240.             /* size is 4 */
  241. RPC_SC __cdecl ScRunOffLineABTask( 
  242.     /* [in] */ handle_t h);
  243.  
  244.             /* size is 4 */
  245. RPC_SC __cdecl ScGetDistributedLock( 
  246.     /* [in] */ handle_t h,
  247.     /* [in] */ DistributedLockRequest __RPC_FAR *pdlRequest,
  248.     /* [out] */ DistributedLockReply __RPC_FAR *pdlReply);
  249.  
  250.             /* size is 4 */
  251. RPC_SC __cdecl ScReleaseDistributedLock( 
  252.     /* [in] */ handle_t h,
  253.     /* [in] */ DistributedLockRequest __RPC_FAR *pdlRequest);
  254.  
  255.             /* size is 4 */
  256. RPC_SC __cdecl ScKillDistributedLock( 
  257.     /* [in] */ handle_t h,
  258.     /* [in] */ DistributedLockRequest __RPC_FAR *pdlRequest,
  259.     /* [out] */ DistributedLockReply __RPC_FAR *pdlReply);
  260.  
  261.             /* size is 4 */
  262. RPC_SC __cdecl ScRasEnumEntries( 
  263.     /* [in] */ handle_t h,
  264.     /* [in] */ RPC_INT cb,
  265.     /* [size_is][out] */ RPC_BYTE __RPC_FAR rgbRasEnumEntries[  ],
  266.     /* [out] */ RPC_INT __RPC_FAR *pcEntries);
  267.  
  268.             /* size is 4 */
  269. RPC_SC __cdecl ScGetExtensionPath( 
  270.     /* [in] */ handle_t h,
  271.     /* [in] */ RPC_SZ szExtensionName,
  272.     /* [in] */ RPC_SZ szExtensionCPU,
  273.     /* [out] */ RPC_SZ __RPC_FAR *pszExtensionPath);
  274.  
  275.  
  276.  
  277. extern RPC_IF_HANDLE TriggerPrivateRPC_ClientIfHandle;
  278. extern RPC_IF_HANDLE TriggerPrivateRPC_ServerIfHandle;
  279. #endif /* __TriggerPrivateRPC_INTERFACE_DEFINED__ */
  280.  
  281. /* Additional Prototypes for ALL interfaces */
  282.  
  283. /* end of Additional Prototypes */
  284.  
  285. #ifdef __cplusplus
  286. }
  287. #endif
  288.  
  289. #endif
  290. #pragma option pop /*P_O_Pop*/
  291.