home *** CD-ROM | disk | FTP | other *** search
/ PC Format (South-Africa) 2001 May / PCFMay2001.iso / Xenon / C++ / FreeCommandLineTools.exe / Include / rpcpub.h < prev    next >
Encoding:
C/C++ Source or Header  |  2000-01-31  |  10.9 KB  |  390 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:55:57 1996
  7.  */
  8. //@@MIDL_FILE_HEADING(  )
  9. #include "rpc.h"
  10. #include "rpcndr.h"
  11.  
  12. #ifndef __rpcpub_h__
  13. #define __rpcpub_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 __TriggerPublicRPC_INTERFACE_DEFINED__
  25. #define __TriggerPublicRPC_INTERFACE_DEFINED__
  26.  
  27. /****************************************
  28.  * Generated header for interface: TriggerPublicRPC
  29.  * at Tue Jul 09 17:55:57 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_TriggerPublicRPC_0001
  65.     {
  66.     short rgwSystemTime[ 8 ];
  67.     }    RPC_SYSTEMTIME;
  68.  
  69.             /* size is 172 */
  70. typedef struct  __MIDL_TriggerPublicRPC_0002
  71.     {
  72.     RPC_BYTE rgbTzi[ 172 ];
  73.     }    RPC_TIME_ZONE_INFORMATION;
  74.  
  75.             /* size is 28 */
  76. typedef struct  __MIDL_TriggerPublicRPC_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_TriggerPublicRPC_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 ScNetworkTimingTest( 
  209.     /* [in] */ handle_t h,
  210.     /* [in] */ long cbSend,
  211.     /* [size_is][in] */ small __RPC_FAR rgbSend[  ],
  212.     /* [in] */ long cbReceive,
  213.     /* [size_is][out] */ small __RPC_FAR rgbReceive[  ]);
  214.  
  215.             /* size is 4 */
  216. RPC_SC __cdecl ScRunRID( 
  217.     /* [in] */ handle_t h);
  218.  
  219.             /* size is 4 */
  220. RPC_SC __cdecl ScRunRIDEx( 
  221.     /* [in] */ handle_t h,
  222.     /* [in] */ RPC_BOOL fProxySpace,
  223.     /* [in] */ RPC_BOOL fGwart);
  224.  
  225.             /* size is 4 */
  226. RPC_SC __cdecl ScRunDRACheck( 
  227.     /* [in] */ handle_t h,
  228.     RPC_DWORD dw);
  229.  
  230. #define        BPTAdd            1
  231. #define        BPTRemove        2
  232. #define        BPTUpdate        3
  233.             /* size is 4 */
  234. RPC_SC __cdecl ScBulkCreateProxy( 
  235.     /* [in] */ handle_t h,
  236.     /* [in] */ RPC_SZ szHeader,
  237.     /* [in] */ RPC_DWORD dwOptions);
  238.  
  239.             /* size is 4 */
  240. RPC_SC __cdecl ScBulkCreateMultiProxy( 
  241.     /* [in] */ handle_t h,
  242.     /* [in] */ RPC_INT cszHeader,
  243.     /* [size_is][in] */ RPC_SZ __RPC_FAR rgszRecipients[  ],
  244.     /* [in] */ RPC_DWORD dwOptions);
  245.  
  246.             /* size is 4 */
  247. RPC_SC __cdecl ScBulkUpdateMultiProxy( 
  248.     /* [in] */ handle_t h,
  249.     /* [in] */ RPC_INT cszSiteAddress,
  250.     /* [size_is][in] */ RPC_SZ __RPC_FAR rgszOldSiteAddress[  ],
  251.     /* [size_is][in] */ RPC_SZ __RPC_FAR rgszNewSiteAddress[  ],
  252.     /* [in] */ RPC_BOOL fSaveSiteAddress);
  253.  
  254.             /* size is 4 */
  255. RPC_SC __cdecl ScGetBulkProxyStatus( 
  256.     /* [in] */ handle_t h,
  257.     /* [out] */ RPC_SYSTEMTIME __RPC_FAR *pstTimeStart,
  258.     /* [out] */ RPC_DWORD __RPC_FAR *pdwTimeStart,
  259.     /* [out] */ RPC_DWORD __RPC_FAR *pdwTimeCur,
  260.     /* [out] */ RPC_INT __RPC_FAR *piRecipients,
  261.     /* [out] */ RPC_INT __RPC_FAR *pcRecipients);
  262.  
  263.             /* size is 4 */
  264. RPC_SC __cdecl ScBulkProxyHalt( 
  265.     /* [in] */ handle_t h,
  266.     /* [in] */ RPC_BOOL fWaitForShutdown);
  267.  
  268.             /* size is 4 */
  269. RPC_EC __cdecl EcGetProxies( 
  270.     /* [in] */ handle_t h,
  271.     /* [in] */ PPROXYINFO pProxyInfo,
  272.     /* [out][in] */ PPROXYLIST pProxyList);
  273.  
  274.             /* size is 4 */
  275. RPC_SC __cdecl ScIsProxyUnique( 
  276.     /* [in] */ handle_t h,
  277.     /* [in] */ RPC_SZ szProxy,
  278.     /* [out] */ RPC_BOOL __RPC_FAR *pfUnique,
  279.     /* [out] */ RPC_SZ __RPC_FAR *pszOwner);
  280.  
  281.             /* size is 4 */
  282. RPC_SC __cdecl ScProxyValidate( 
  283.     /* [in] */ handle_t h,
  284.     /* [in] */ RPC_SZ szProxy,
  285.     /* [out] */ RPC_BOOL __RPC_FAR *pfValid,
  286.     /* [out] */ RPC_SZ __RPC_FAR *pszProxyCorrected);
  287.  
  288.             /* size is 4 */
  289. RPC_SC __cdecl ScSiteProxyValidate( 
  290.     /* [in] */ handle_t h,
  291.     /* [in] */ RPC_SZ szSiteProxy,
  292.     /* [out] */ RPC_BOOL __RPC_FAR *pfValid,
  293.     /* [out] */ RPC_SZ __RPC_FAR *pszSiteProxyCorrected);
  294.  
  295.             /* size is 4 */
  296. RPC_SC __cdecl ScProxyReset( 
  297.     /* [in] */ handle_t h,
  298.     /* [in] */ RPC_BOOL fWaitUntilCompleted);
  299.  
  300. #define        scNoError            0
  301. #define        scInvalidData        1
  302. #define        scCannotLogData        2
  303.             /* size is 4 */
  304. RPC_SC __cdecl ScSaveTrackingData( 
  305.     /* [in] */ handle_t h,
  306.     /* [in] */ RPC_INT cb,
  307.     /* [size_is][in] */ RPC_BYTE __RPC_FAR pb[  ],
  308.     /* [in] */ RPC_DWORD dwFlags);
  309.  
  310. #define        tevtMessageTransferIn        0
  311. #define        tevtReportTransferIn        2
  312. #define        tevtMessageSubmission        4
  313. #define        tevtMessageTransferOut        7
  314. #define        tevtReportTransferOut        8
  315. #define        tevtMessageDelivery            9
  316. #define        tevtReportDelivery            10
  317. #define        tevtStartAssocByMTSUser        18
  318. #define        tevtReleaseAssocByMTSUser    23
  319. #define        tevtDLExpansion                26
  320. #define        tevtRedirection                28
  321. #define        tevtRerouting                29
  322. #define        tevtDowngrading                31
  323. #define        tevtReportAbsorption        33
  324. #define        tevtReportGenerated            34
  325. #define        tevtUnroutableReportDiscard    43
  326. #define        tevtMessageLocalDelivery        1000
  327. #define        tevtMessageBackboneTransferIn    1001
  328. #define        tevtMessageBackboneTransferOut    1002
  329. #define        tevtMessageGatewayTransferOut    1003
  330. #define        tevtMessageGatewayTransferIn    1004
  331. #define        tevtReportGatewayTransferIn        1005
  332. #define        tevtReportGatewayTransferOut    1006
  333. #define        tevtReportGatewayGenerated        1007
  334. #define        tevtUserMin        2000
  335.             /* size is 60 */
  336. typedef struct  __MIDL_TriggerPublicRPC_0005
  337.     {
  338.     RPC_INT nEventType;
  339.     RPC_SYSTEMTIME stEvent;
  340.     RPC_SZ szGatewayName;
  341.     RPC_SZ szPartner;
  342.     RPC_SZ szMTSID;
  343.     RPC_SZ szRemoteID;
  344.     RPC_SZ szOriginator;
  345.     RPC_INT nPriority;
  346.     RPC_INT nLength;
  347.     RPC_INT nSeconds;
  348.     RPC_INT nCost;
  349.     RPC_SZ szSubjectID;
  350.     }    RPC_GATEWAY_TRACK_INFORMATION;
  351.  
  352.             /* size is 4 */
  353. RPC_SC __cdecl ScSaveGatewayTrackingData( 
  354.     /* [in] */ handle_t h,
  355.     /* [in] */ RPC_GATEWAY_TRACK_INFORMATION __RPC_FAR *pgti,
  356.     /* [in] */ RPC_INT cszRecipients,
  357.     /* [size_is][in] */ RPC_SZ __RPC_FAR rgszRecipients[  ]);
  358.  
  359.  
  360.  
  361. extern RPC_IF_HANDLE TriggerPublicRPC_ClientIfHandle;
  362. extern RPC_IF_HANDLE TriggerPublicRPC_ServerIfHandle;
  363. #endif /* __TriggerPublicRPC_INTERFACE_DEFINED__ */
  364.  
  365. /****************************************
  366.  * Generated header for interface: __MIDL__intf_0001
  367.  * at Tue Jul 09 17:55:57 1996
  368.  * using MIDL 2.00.0104
  369.  ****************************************/
  370. /* [local] */ 
  371.  
  372.  
  373. #define        szTrackReportRecipientInfoDelivered    L("\t0")
  374. #define        szTrackReportRecipientInfoNonDelivered    L("\t1")
  375.  
  376.  
  377. extern RPC_IF_HANDLE __MIDL__intf_0001_ClientIfHandle;
  378. extern RPC_IF_HANDLE __MIDL__intf_0001_ServerIfHandle;
  379.  
  380. /* Additional Prototypes for ALL interfaces */
  381.  
  382. /* end of Additional Prototypes */
  383.  
  384. #ifdef __cplusplus
  385. }
  386. #endif
  387.  
  388. #endif
  389. #pragma option pop /*P_O_Pop*/
  390.