home *** CD-ROM | disk | FTP | other *** search
/ Tricks of the Windows Gam…ming Gurus (2nd Edition) / Disc2.iso / vc98 / include / rpcpub.h < prev    next >
C/C++ Source or Header  |  1998-04-25  |  11KB  |  388 lines

  1. /* this ALWAYS GENERATED file contains the definitions for the interfaces */
  2.  
  3.  
  4. /* File created by MIDL compiler version 2.00.0104 */
  5. /* at Tue Jul 09 17:55:57 1996
  6.  */
  7. //@@MIDL_FILE_HEADING(  )
  8. #include "rpc.h"
  9. #include "rpcndr.h"
  10.  
  11. #ifndef __rpcpub_h__
  12. #define __rpcpub_h__
  13.  
  14. #ifdef __cplusplus
  15. extern "C"{
  16. #endif 
  17.  
  18. /* Forward Declarations */ 
  19.  
  20. void __RPC_FAR * __RPC_USER MIDL_user_allocate(size_t);
  21. void __RPC_USER MIDL_user_free( void __RPC_FAR * ); 
  22.  
  23. #ifndef __TriggerPublicRPC_INTERFACE_DEFINED__
  24. #define __TriggerPublicRPC_INTERFACE_DEFINED__
  25.  
  26. /****************************************
  27.  * Generated header for interface: TriggerPublicRPC
  28.  * at Tue Jul 09 17:55:57 1996
  29.  * using MIDL 2.00.0104
  30.  ****************************************/
  31. /* [auto_handle][unique][version][uuid] */ 
  32.  
  33.  
  34. #ifndef RPC_COMMON_IDL
  35. #define RPC_COMMON_IDL
  36. #define        szTriggerRPCProtocol        TEXT("ncacn_np")
  37. #define        szTriggerRPCSecurity        TEXT("Security=impersonation dynamic true")
  38.             /* size is 4 */
  39. typedef long RPC_BOOL;
  40.  
  41.             /* size is 1 */
  42. typedef small RPC_BYTE;
  43.  
  44.             /* size is 4 */
  45. typedef long RPC_INT;
  46.  
  47.             /* size is 4 */
  48. typedef long RPC_SC;
  49.  
  50.             /* size is 4 */
  51. typedef long RPC_EC;
  52.  
  53.             /* size is 4 */
  54. typedef long RPC_DWORD;
  55.  
  56.             /* size is 2 */
  57. typedef wchar_t RPC_CHAR;
  58.  
  59.             /* size is 4 */
  60. typedef /* [string] */ RPC_CHAR __RPC_FAR *RPC_SZ;
  61.  
  62.             /* size is 16 */
  63. typedef struct  __MIDL_TriggerPublicRPC_0001
  64.     {
  65.     short rgwSystemTime[ 8 ];
  66.     }    RPC_SYSTEMTIME;
  67.  
  68.             /* size is 172 */
  69. typedef struct  __MIDL_TriggerPublicRPC_0002
  70.     {
  71.     RPC_BYTE rgbTzi[ 172 ];
  72.     }    RPC_TIME_ZONE_INFORMATION;
  73.  
  74.             /* size is 28 */
  75. typedef struct  __MIDL_TriggerPublicRPC_0003
  76.     {
  77.     long rgdwServiceStatus[ 7 ];
  78.     }    RPC_SERVICE_STATUS;
  79.  
  80. #define        ecOK                        0        // no error
  81. #define        ecGeneralFailure            50001    // a failure occurred that caused proxy generation to stop
  82. #define        ecSomeProxiesFailed            50002    // some proxies failed to get generated
  83. #define        ecTargetNotValid            50003    // supplied target address not valid
  84. #define        ecTargetNotUnique            50004    // supplied target address not unique
  85. #define        ecProxyDLLNotImplemented    50005    // not implemented yet
  86. #define        ecProxyDLLOOM                50006    // memory allocation error
  87. #define        ecProxyDLLError                50007    // general error
  88. #define        ecProxyDLLProtocol            50008    // protocol error
  89. #define        ecProxyDLLSyntax            50009    // syntax error
  90. #define        ecProxyDLLEOF                50010   // end of file
  91. #define        ecProxyDLLSoftware            50011    // error in software
  92. #define        ecProxyDLLConfig            50012    // configuration error
  93. #define        ecProxyDLLContention        50013    // contention error
  94. #define        ecProxyDLLNotFound            50014    // not found
  95. #define        ecProxyDLLDiskSpace            50015    // out of disk space
  96. #define        ecProxyDLLException            50016    // exception thrown
  97. #define        ecProxyDLLDefault            50017    // unknown error
  98. #define        ecProxyNotValid                50018    // supplied proxy not valid
  99. #define        ecProxyNotUnique            50019    // supplied proxy not unique or unable to generate a unique proxy
  100. #define        ecProxyDuplicate            50020    // a primary proxy of the same type was also supplied
  101.             /* size is 16 */
  102. typedef struct  _PROXYNODE
  103.     {
  104.     struct _PROXYNODE __RPC_FAR *pnodeNext;
  105.     RPC_SZ wszProxy;
  106.     RPC_EC ec;
  107.     RPC_SZ wszDN;
  108.     }    PROXYNODE;
  109.  
  110.             /* size is 4 */
  111. typedef struct _PROXYNODE __RPC_FAR *PPROXYNODE;
  112.  
  113.             /* size is 48 */
  114. typedef struct  _PROXYINFO
  115.     {
  116.     RPC_BOOL fContinueOnError;
  117.     RPC_BOOL fIgnoreOldSecondaries;
  118.     RPC_SZ wszDN;
  119.     RPC_SZ wszNickName;
  120.     RPC_SZ wszCommonName;
  121.     RPC_SZ wszDisplayName;
  122.     RPC_SZ wszSurName;
  123.     RPC_SZ wszGivenName;
  124.     RPC_SZ wszInitials;
  125.     RPC_SZ wszTargetAddress;
  126.     PROXYNODE __RPC_FAR *pPNVerifyProxy;
  127.     PROXYNODE __RPC_FAR *pPNExcludeProxy;
  128.     }    PROXYINFO;
  129.  
  130.             /* size is 4 */
  131. typedef struct _PROXYINFO __RPC_FAR *PPROXYINFO;
  132.  
  133.             /* size is 8 */
  134. typedef struct  _PROXYLIST
  135.     {
  136.     PROXYNODE __RPC_FAR *__RPC_FAR *ppPNProxy;
  137.     PROXYNODE __RPC_FAR *__RPC_FAR *ppPNFailedProxyType;
  138.     }    PROXYLIST;
  139.  
  140.             /* size is 4 */
  141. typedef struct _PROXYLIST __RPC_FAR *PPROXYLIST;
  142.  
  143.             /* size is 192 */
  144. typedef struct  __MIDL_TriggerPublicRPC_0004
  145.     {
  146.     RPC_SYSTEMTIME st;
  147.     RPC_TIME_ZONE_INFORMATION tzi;
  148.     RPC_DWORD dwReturn;
  149.     }    RemoteSystemTimeInfo;
  150.  
  151.             /* size is 48 */
  152. typedef struct  _RemoteServiceStatus
  153.     {
  154.     RPC_SC sc;
  155.     RPC_SZ szShortName;
  156.     RPC_SZ szDisplayName;
  157.     RPC_SZ szVersion;
  158.     RPC_SERVICE_STATUS ss;
  159.     struct _RemoteServiceStatus __RPC_FAR *prssNext;
  160.     }    RemoteServiceStatus;
  161.  
  162. #define        rmsSuspendRepair    0x0001
  163. #define        rmsSuspendNotif        0x0002
  164.             /* size is 24 */
  165. typedef struct  _RemoteMaintenanceStatus
  166.     {
  167.     RPC_DWORD dwStatus;
  168.     RPC_SYSTEMTIME st;
  169.     RPC_SZ szUser;
  170.     }    RemoteMaintenanceStatus;
  171.  
  172.             /* size is 12 */
  173. typedef struct  _BackupListNode
  174.     {
  175.     struct _BackupListNode __RPC_FAR *pnodeNext;
  176.     struct _BackupListNode __RPC_FAR *pnodeChildren;
  177.     RPC_SZ szName;
  178.     }    BackupListNode;
  179.  
  180.             /* size is 44 */
  181. typedef struct  _DistributedLockOwner
  182.     {
  183.     RPC_CHAR rgchComputer[ 17 ];
  184.     RPC_DWORD dwPID;
  185.     RPC_DWORD dwTID;
  186.     }    DistributedLockOwner;
  187.  
  188. #define    DLR_NO_WAIT        0x00000001
  189. #define    cchMaxLockName    17
  190.             /* size is 84 */
  191. typedef struct  _DistributedLockRequest
  192.     {
  193.     RPC_CHAR rgchLockName[ 17 ];
  194.     RPC_DWORD dwFlags;
  195.     DistributedLockOwner dlo;
  196.     }    DistributedLockRequest;
  197.  
  198.             /* size is 48 */
  199. typedef struct  _DistributedLockReply
  200.     {
  201.     RPC_BOOL fGranted;
  202.     DistributedLockOwner dlo;
  203.     }    DistributedLockReply;
  204.  
  205. #endif  // #ifndef RPC_COMMON_IDL
  206.             /* size is 4 */
  207. RPC_SC __cdecl ScNetworkTimingTest( 
  208.     /* [in] */ handle_t h,
  209.     /* [in] */ long cbSend,
  210.     /* [size_is][in] */ small __RPC_FAR rgbSend[  ],
  211.     /* [in] */ long cbReceive,
  212.     /* [size_is][out] */ small __RPC_FAR rgbReceive[  ]);
  213.  
  214.             /* size is 4 */
  215. RPC_SC __cdecl ScRunRID( 
  216.     /* [in] */ handle_t h);
  217.  
  218.             /* size is 4 */
  219. RPC_SC __cdecl ScRunRIDEx( 
  220.     /* [in] */ handle_t h,
  221.     /* [in] */ RPC_BOOL fProxySpace,
  222.     /* [in] */ RPC_BOOL fGwart);
  223.  
  224.             /* size is 4 */
  225. RPC_SC __cdecl ScRunDRACheck( 
  226.     /* [in] */ handle_t h,
  227.     RPC_DWORD dw);
  228.  
  229. #define        BPTAdd            1
  230. #define        BPTRemove        2
  231. #define        BPTUpdate        3
  232.             /* size is 4 */
  233. RPC_SC __cdecl ScBulkCreateProxy( 
  234.     /* [in] */ handle_t h,
  235.     /* [in] */ RPC_SZ szHeader,
  236.     /* [in] */ RPC_DWORD dwOptions);
  237.  
  238.             /* size is 4 */
  239. RPC_SC __cdecl ScBulkCreateMultiProxy( 
  240.     /* [in] */ handle_t h,
  241.     /* [in] */ RPC_INT cszHeader,
  242.     /* [size_is][in] */ RPC_SZ __RPC_FAR rgszRecipients[  ],
  243.     /* [in] */ RPC_DWORD dwOptions);
  244.  
  245.             /* size is 4 */
  246. RPC_SC __cdecl ScBulkUpdateMultiProxy( 
  247.     /* [in] */ handle_t h,
  248.     /* [in] */ RPC_INT cszSiteAddress,
  249.     /* [size_is][in] */ RPC_SZ __RPC_FAR rgszOldSiteAddress[  ],
  250.     /* [size_is][in] */ RPC_SZ __RPC_FAR rgszNewSiteAddress[  ],
  251.     /* [in] */ RPC_BOOL fSaveSiteAddress);
  252.  
  253.             /* size is 4 */
  254. RPC_SC __cdecl ScGetBulkProxyStatus( 
  255.     /* [in] */ handle_t h,
  256.     /* [out] */ RPC_SYSTEMTIME __RPC_FAR *pstTimeStart,
  257.     /* [out] */ RPC_DWORD __RPC_FAR *pdwTimeStart,
  258.     /* [out] */ RPC_DWORD __RPC_FAR *pdwTimeCur,
  259.     /* [out] */ RPC_INT __RPC_FAR *piRecipients,
  260.     /* [out] */ RPC_INT __RPC_FAR *pcRecipients);
  261.  
  262.             /* size is 4 */
  263. RPC_SC __cdecl ScBulkProxyHalt( 
  264.     /* [in] */ handle_t h,
  265.     /* [in] */ RPC_BOOL fWaitForShutdown);
  266.  
  267.             /* size is 4 */
  268. RPC_EC __cdecl EcGetProxies( 
  269.     /* [in] */ handle_t h,
  270.     /* [in] */ PPROXYINFO pProxyInfo,
  271.     /* [out][in] */ PPROXYLIST pProxyList);
  272.  
  273.             /* size is 4 */
  274. RPC_SC __cdecl ScIsProxyUnique( 
  275.     /* [in] */ handle_t h,
  276.     /* [in] */ RPC_SZ szProxy,
  277.     /* [out] */ RPC_BOOL __RPC_FAR *pfUnique,
  278.     /* [out] */ RPC_SZ __RPC_FAR *pszOwner);
  279.  
  280.             /* size is 4 */
  281. RPC_SC __cdecl ScProxyValidate( 
  282.     /* [in] */ handle_t h,
  283.     /* [in] */ RPC_SZ szProxy,
  284.     /* [out] */ RPC_BOOL __RPC_FAR *pfValid,
  285.     /* [out] */ RPC_SZ __RPC_FAR *pszProxyCorrected);
  286.  
  287.             /* size is 4 */
  288. RPC_SC __cdecl ScSiteProxyValidate( 
  289.     /* [in] */ handle_t h,
  290.     /* [in] */ RPC_SZ szSiteProxy,
  291.     /* [out] */ RPC_BOOL __RPC_FAR *pfValid,
  292.     /* [out] */ RPC_SZ __RPC_FAR *pszSiteProxyCorrected);
  293.  
  294.             /* size is 4 */
  295. RPC_SC __cdecl ScProxyReset( 
  296.     /* [in] */ handle_t h,
  297.     /* [in] */ RPC_BOOL fWaitUntilCompleted);
  298.  
  299. #define        scNoError            0
  300. #define        scInvalidData        1
  301. #define        scCannotLogData        2
  302.             /* size is 4 */
  303. RPC_SC __cdecl ScSaveTrackingData( 
  304.     /* [in] */ handle_t h,
  305.     /* [in] */ RPC_INT cb,
  306.     /* [size_is][in] */ RPC_BYTE __RPC_FAR pb[  ],
  307.     /* [in] */ RPC_DWORD dwFlags);
  308.  
  309. #define        tevtMessageTransferIn        0
  310. #define        tevtReportTransferIn        2
  311. #define        tevtMessageSubmission        4
  312. #define        tevtMessageTransferOut        7
  313. #define        tevtReportTransferOut        8
  314. #define        tevtMessageDelivery            9
  315. #define        tevtReportDelivery            10
  316. #define        tevtStartAssocByMTSUser        18
  317. #define        tevtReleaseAssocByMTSUser    23
  318. #define        tevtDLExpansion                26
  319. #define        tevtRedirection                28
  320. #define        tevtRerouting                29
  321. #define        tevtDowngrading                31
  322. #define        tevtReportAbsorption        33
  323. #define        tevtReportGenerated            34
  324. #define        tevtUnroutableReportDiscard    43
  325. #define        tevtMessageLocalDelivery        1000
  326. #define        tevtMessageBackboneTransferIn    1001
  327. #define        tevtMessageBackboneTransferOut    1002
  328. #define        tevtMessageGatewayTransferOut    1003
  329. #define        tevtMessageGatewayTransferIn    1004
  330. #define        tevtReportGatewayTransferIn        1005
  331. #define        tevtReportGatewayTransferOut    1006
  332. #define        tevtReportGatewayGenerated        1007
  333. #define        tevtUserMin        2000
  334.             /* size is 60 */
  335. typedef struct  __MIDL_TriggerPublicRPC_0005
  336.     {
  337.     RPC_INT nEventType;
  338.     RPC_SYSTEMTIME stEvent;
  339.     RPC_SZ szGatewayName;
  340.     RPC_SZ szPartner;
  341.     RPC_SZ szMTSID;
  342.     RPC_SZ szRemoteID;
  343.     RPC_SZ szOriginator;
  344.     RPC_INT nPriority;
  345.     RPC_INT nLength;
  346.     RPC_INT nSeconds;
  347.     RPC_INT nCost;
  348.     RPC_SZ szSubjectID;
  349.     }    RPC_GATEWAY_TRACK_INFORMATION;
  350.  
  351.             /* size is 4 */
  352. RPC_SC __cdecl ScSaveGatewayTrackingData( 
  353.     /* [in] */ handle_t h,
  354.     /* [in] */ RPC_GATEWAY_TRACK_INFORMATION __RPC_FAR *pgti,
  355.     /* [in] */ RPC_INT cszRecipients,
  356.     /* [size_is][in] */ RPC_SZ __RPC_FAR rgszRecipients[  ]);
  357.  
  358.  
  359.  
  360. extern RPC_IF_HANDLE TriggerPublicRPC_ClientIfHandle;
  361. extern RPC_IF_HANDLE TriggerPublicRPC_ServerIfHandle;
  362. #endif /* __TriggerPublicRPC_INTERFACE_DEFINED__ */
  363.  
  364. /****************************************
  365.  * Generated header for interface: __MIDL__intf_0001
  366.  * at Tue Jul 09 17:55:57 1996
  367.  * using MIDL 2.00.0104
  368.  ****************************************/
  369. /* [local] */ 
  370.  
  371.  
  372. #define        szTrackReportRecipientInfoDelivered    L("\t0")
  373. #define        szTrackReportRecipientInfoNonDelivered    L("\t1")
  374.  
  375.  
  376. extern RPC_IF_HANDLE __MIDL__intf_0001_ClientIfHandle;
  377. extern RPC_IF_HANDLE __MIDL__intf_0001_ServerIfHandle;
  378.  
  379. /* Additional Prototypes for ALL interfaces */
  380.  
  381. /* end of Additional Prototypes */
  382.  
  383. #ifdef __cplusplus
  384. }
  385. #endif
  386.  
  387. #endif
  388.