Leaked source code of windows server 2003
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.

481 lines
16 KiB

  1. /* this ALWAYS GENERATED file contains the definitions for the interfaces */
  2. /* File created by MIDL compiler version 6.00.0361 */
  3. /* Compiler settings for sysmgmt.idl:
  4. Oicf, W1, Zp8, env=Win32 (32b run)
  5. protocol : dce , ms_ext, c_ext, robust
  6. error checks: allocation ref bounds_check enum stub_data
  7. VC __declspec() decoration level:
  8. __declspec(uuid()), __declspec(selectany), __declspec(novtable)
  9. DECLSPEC_UUID(), MIDL_INTERFACE()
  10. */
  11. //@@MIDL_FILE_HEADING( )
  12. #pragma warning( disable: 4049 ) /* more than 64k source lines */
  13. /* verify that the <rpcndr.h> version is high enough to compile this file*/
  14. #ifndef __REQUIRED_RPCNDR_H_VERSION__
  15. #define __REQUIRED_RPCNDR_H_VERSION__ 475
  16. #endif
  17. #include "rpc.h"
  18. #include "rpcndr.h"
  19. #ifndef __RPCNDR_H_VERSION__
  20. #error this stub requires an updated version of <rpcndr.h>
  21. #endif // __RPCNDR_H_VERSION__
  22. #ifndef COM_NO_WINDOWS_H
  23. #include "windows.h"
  24. #include "ole2.h"
  25. #endif /*COM_NO_WINDOWS_H*/
  26. #ifndef __sysmgmt_h__
  27. #define __sysmgmt_h__
  28. #if defined(_MSC_VER) && (_MSC_VER >= 1020)
  29. #pragma once
  30. #endif
  31. /* Forward Declarations */
  32. #ifndef __IAlertReport_FWD_DEFINED__
  33. #define __IAlertReport_FWD_DEFINED__
  34. typedef interface IAlertReport IAlertReport;
  35. #endif /* __IAlertReport_FWD_DEFINED__ */
  36. #ifndef __IAlertTarget_FWD_DEFINED__
  37. #define __IAlertTarget_FWD_DEFINED__
  38. typedef interface IAlertTarget IAlertTarget;
  39. #endif /* __IAlertTarget_FWD_DEFINED__ */
  40. /* header files for imported files */
  41. #include "oaidl.h"
  42. #include "oleidl.h"
  43. #include "oleext.h"
  44. #ifdef __cplusplus
  45. extern "C"{
  46. #endif
  47. void * __RPC_USER MIDL_user_allocate(size_t);
  48. void __RPC_USER MIDL_user_free( void * );
  49. #ifndef __AlertDefs_INTERFACE_DEFINED__
  50. #define __AlertDefs_INTERFACE_DEFINED__
  51. /* interface AlertDefs */
  52. /* [unique][uuid][local] */
  53. #define ALERTSEVERITY_INFORMATION 0x0004
  54. #define ALERTSEVERITY_WARNING 0x0002
  55. #define ALERTSEVERITY_ERROR 0x0001
  56. #define ALERTSEVERITY_SEVERE_ERROR 0x0020
  57. #define ALERTSEVERITY_FATAL_ERROR 0x0040
  58. #define ALERTSEVERITY_NEGATIVE_MATCH 0x0080
  59. #define ALERTSEVERITY_STATUS ALERTSEVERITY_INFORMATION
  60. #define ALERTSEVERITY_NOTIFICATION ALERTSEVERITY_WARNING
  61. #define ALERTSEVERITY_SEVERE ALERTSEVERITY_SEVERE_ERROR
  62. #define ALERTSEVERITY_FATAL ALERTSEVERITY_FATAL_ERROR
  63. #define cAlertCategories (18)
  64. #define Category_SystemEvents (0)
  65. #define SystemEvents_Legacy (1)
  66. #define Category_UserNotification (1)
  67. #define UserNotification_PrintJobDone (1)
  68. #define UserNotification_Fax (2)
  69. #define Category_ApplicationNotification (2)
  70. #define ApplicationNotification_Memory (1)
  71. #define Category_ApplicationManagement (3)
  72. #define ApplicationManagement_TokenGranted (1)
  73. #define ApplicationManagement_TokenDenied (2)
  74. #define Category_PrintersAndSharedResources (4)
  75. #define PrintersAndSharedResources_Toner (1)
  76. #define PrintersAndSharedResources_DeviceDriver (2)
  77. #define PrintersAndSharedResources_Paper (3)
  78. #define Category_SecurityManagement (5)
  79. #define SecurityManagement_ACL (1)
  80. #define Category_UserAccounts (6)
  81. #define UserAccounts_Created (1)
  82. #define UserAccounts_Deleted (2)
  83. #define Category_Storage (7)
  84. #define Storage_Replication (1)
  85. #define Storage_Quotas (2)
  86. #define Storage_OFS (3)
  87. #define Storage_NTFS (4)
  88. #define Storage_FAT (5)
  89. #define Category_DistributedServices (8)
  90. #define DistributedServices_DFS (1)
  91. #define DistributedServices_DS (2)
  92. #define Category_LAN (9)
  93. #define LAN_Bridge (1)
  94. #define LAN_Cabling (2)
  95. #define Category_WAN (10)
  96. #define WAN_Router (1)
  97. #define WAN_Switch (2)
  98. #define WAN_Telephony (3)
  99. #define Category_Catalog (11)
  100. #define Catalog_Catalog (1)
  101. #define Category_BatchJob (12)
  102. #define BatchJob_FailedToStart (1)
  103. #define BatchJob_FailedTocomplete (2)
  104. #define Category_Backup (13)
  105. #define Backup_FailedToStart (1)
  106. #define Backup_Started (2)
  107. #define Backup_FailedToComplete (3)
  108. #define Backup_Completed (4)
  109. #define Category_SystemSoftware (14)
  110. #define SystemSoftware_Kernel (1)
  111. #define SystemSoftware_Drivers (2)
  112. #define Category_SystemHardware (15)
  113. #define SystemHardware_CD ROM (1)
  114. #define SystemHardware_Memory (2)
  115. #define SystemHardware_Bus (3)
  116. #define SystemHardware_SCSI (4)
  117. #define SystemHardware_IDE (5)
  118. #define SystemHardware_NIC (6)
  119. #define Category_SystemMonitoring (16)
  120. #define SystemMonitoring_SYSMON (1)
  121. #define SystemMonitoring_Bloodhound (2)
  122. #define Category_HelpdeskAndDiagnostics (17)
  123. #define HelpdeskAndDiagnostics_DrWatson (1)
  124. #define Category_AlertNotify (18)
  125. #define AlertNotify_ForwardIncomplete (1)
  126. #define AlertNotify_RegistrationCanceled (2)
  127. #define DISPID_SystemAlertReport_Category (1001)
  128. #define DISPID_SystemAlertReport_SubCategory (1002)
  129. #define DISPID_SystemAlertReport_Severity (1003)
  130. #define DISPID_SystemAlertReport_TitleText (1004)
  131. #define DISPID_SystemAlertReport_DescriptionText (1005)
  132. #define DISPID_SystemAlertReport_SourceDescription (1006)
  133. #define DISPID_SystemAlertReport_SourceMachine (1007)
  134. #define DISPID_SystemAlertReport_CreationTime (1008)
  135. #define DISPID_SystemAlertReport_TitleMessageNumber (1009)
  136. #define DISPID_SystemAlertReport_TitleMessageInserts (1010)
  137. #define DISPID_SystemAlertReport_DescrMessageNumber (1011)
  138. #define DISPID_SystemAlertReport_DescrMessageInserts (1012)
  139. #define DISPID_SystemAlertReport_ComponentID (1013)
  140. #define DISPID_SystemAlertReport_ReportClassID (1014)
  141. #define DISPID_SystemAlertReport_BinaryData (1015)
  142. #define DISPID_SystemAlertReport_SourceLanguageID (1016)
  143. #define DISPID_SystemAlertReport_UniqueID (1017)
  144. #define DISPID_SystemAlertReport_TargetCount (1018)
  145. #define DISPID_SystemAlertReport_TakeActionDLL (1019)
  146. #define DISPID_SystemAlertReport_Reserved (1200)
  147. #define DISPID_SystemAlertReport_GetTitle (1501)
  148. #define DISPID_SystemAlertReport_GetDescription (1502)
  149. #define DISPID_SystemAlertReport_Send (1503)
  150. #define DISPID_SystemAlertReport_Save (1504)
  151. #define DISPID_SystemAlertReport_GetVersion (1505)
  152. #define DISPID_SystemAlertReport_SetExpiration (1506)
  153. #define DISPID_SystemAlertReport_GetExpiration (1507)
  154. #define DISPID_SystemAlertReport_SetState (1508)
  155. #define DISPID_SystemAlertReport_GetState (1509)
  156. #define DISPID_SystemAlertReport_GetActions (1510)
  157. #define DISPID_SystemAlertReport_PerformAction (1511)
  158. #define DISPID_NTEventReport_EventCategory (2)
  159. #define DISPID_NTEventReport_LogFile (3)
  160. #define DISPID_RULES_BASE (2)
  161. #define DISPID_Rule_Collection (DISPID_RULES_BASE + 0)
  162. #define DISPID_Rule_Collection_Count (DISPID_RULES_BASE + 1)
  163. #define DISPID_Rule_Collection_Add (DISPID_RULES_BASE + 2)
  164. #define DISPID_Rule_Collection_Item (DISPID_RULES_BASE + 3)
  165. #define DISPID_Rule_Collection__NewEnum (DISPID_NEWENUM)
  166. #define DISPID_RULE_BASE (2)
  167. #define DISPID_Rule_Category (DISPID_RULE_BASE + 0)
  168. #define DISPID_Rule_Remove (DISPID_RULE_BASE + 1)
  169. #define DISPID_SubRule_Collection_Count (DISPID_RULE_BASE + 2)
  170. #define DISPID_SubRule_Collection_Add (DISPID_RULE_BASE + 3)
  171. #define DISPID_SubRule_Collection_Item (DISPID_RULE_BASE + 4)
  172. #define DISPID_SubRule_Collection__NewEnum (DISPID_RULE_BASE + 5)
  173. #define DISPID_SUBRULE_BASE (2)
  174. #define DISPID_SubRule_SubCategory (DISPID_SUBRULE_BASE + 0)
  175. #define DISPID_SubRule_Severity (DISPID_SUBRULE_BASE + 1)
  176. #define DISPID_REGISTRATION_BASE (2)
  177. #define DISPID_Registration_ID (DISPID_REGISTRATION_BASE + 0)
  178. #define DISPID_Registration_TargetPath (DISPID_REGISTRATION_BASE + 1)
  179. #define DISPID_Registration_ForwardingRules (DISPID_REGISTRATION_BASE + 2)
  180. #define DISPID_Registration_EnableForwarding (DISPID_REGISTRATION_BASE + 3)
  181. #define DISPID_Registration__FirstErrorTime (DISPID_REGISTRATION_BASE + 4)
  182. #define DISPID_Registration__ErrorCount (DISPID_REGISTRATION_BASE + 5)
  183. #define DISPID_Registration__Target (DISPID_REGISTRATION_BASE + 6)
  184. #define DISPID_Registration_Remove (DISPID_REGISTRATION_BASE + 7)
  185. #define DISPID_REG_COLLECTION_BASE (2)
  186. #define DISPID_Registration_Collection (DISPID_REG_COLLECTION_BASE + 0)
  187. #define DISPID_Registration_Collection_Count (DISPID_REG_COLLECTION_BASE + 1)
  188. #define DISPID_Registration_Collection_Add (DISPID_REG_COLLECTION_BASE + 2)
  189. #define DISPID_Registration_Collection_Item (DISPID_REG_COLLECTION_BASE + 3)
  190. #define DISPID_Registration_Collection__NewEnum (DISPID_NEWENUM)
  191. void DummyMethod( void);
  192. extern RPC_IF_HANDLE AlertDefs_v0_0_c_ifspec;
  193. extern RPC_IF_HANDLE AlertDefs_v0_0_s_ifspec;
  194. #endif /* __AlertDefs_INTERFACE_DEFINED__ */
  195. #ifndef __IAlertReport_INTERFACE_DEFINED__
  196. #define __IAlertReport_INTERFACE_DEFINED__
  197. /* interface IAlertReport */
  198. /* [unique][uuid][object][local] */
  199. EXTERN_C const IID IID_IAlertReport;
  200. #if defined(__cplusplus) && !defined(CINTERFACE)
  201. MIDL_INTERFACE("4E81DFE8-4CA0-101A-8206-08002B2FC09B")
  202. IAlertReport : public IUnknown
  203. {
  204. public:
  205. virtual HRESULT STDMETHODCALLTYPE InitNew(
  206. /* [in] */ DISPPARAMS *pdparams) = 0;
  207. virtual HRESULT STDMETHODCALLTYPE GetReportData(
  208. /* [out] */ DISPPARAMS *pdparams) = 0;
  209. virtual HRESULT STDMETHODCALLTYPE GetTitle(
  210. /* [out] */ BSTR *pbstrTitle) = 0;
  211. virtual HRESULT STDMETHODCALLTYPE GetTextualDescription(
  212. /* [out] */ BSTR *pbstrDescr) = 0;
  213. };
  214. #else /* C style interface */
  215. typedef struct IAlertReportVtbl
  216. {
  217. BEGIN_INTERFACE
  218. HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
  219. IAlertReport * This,
  220. /* [in] */ REFIID riid,
  221. /* [iid_is][out] */ void **ppvObject);
  222. ULONG ( STDMETHODCALLTYPE *AddRef )(
  223. IAlertReport * This);
  224. ULONG ( STDMETHODCALLTYPE *Release )(
  225. IAlertReport * This);
  226. HRESULT ( STDMETHODCALLTYPE *InitNew )(
  227. IAlertReport * This,
  228. /* [in] */ DISPPARAMS *pdparams);
  229. HRESULT ( STDMETHODCALLTYPE *GetReportData )(
  230. IAlertReport * This,
  231. /* [out] */ DISPPARAMS *pdparams);
  232. HRESULT ( STDMETHODCALLTYPE *GetTitle )(
  233. IAlertReport * This,
  234. /* [out] */ BSTR *pbstrTitle);
  235. HRESULT ( STDMETHODCALLTYPE *GetTextualDescription )(
  236. IAlertReport * This,
  237. /* [out] */ BSTR *pbstrDescr);
  238. END_INTERFACE
  239. } IAlertReportVtbl;
  240. interface IAlertReport
  241. {
  242. CONST_VTBL struct IAlertReportVtbl *lpVtbl;
  243. };
  244. #ifdef COBJMACROS
  245. #define IAlertReport_QueryInterface(This,riid,ppvObject) \
  246. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  247. #define IAlertReport_AddRef(This) \
  248. (This)->lpVtbl -> AddRef(This)
  249. #define IAlertReport_Release(This) \
  250. (This)->lpVtbl -> Release(This)
  251. #define IAlertReport_InitNew(This,pdparams) \
  252. (This)->lpVtbl -> InitNew(This,pdparams)
  253. #define IAlertReport_GetReportData(This,pdparams) \
  254. (This)->lpVtbl -> GetReportData(This,pdparams)
  255. #define IAlertReport_GetTitle(This,pbstrTitle) \
  256. (This)->lpVtbl -> GetTitle(This,pbstrTitle)
  257. #define IAlertReport_GetTextualDescription(This,pbstrDescr) \
  258. (This)->lpVtbl -> GetTextualDescription(This,pbstrDescr)
  259. #endif /* COBJMACROS */
  260. #endif /* C style interface */
  261. HRESULT STDMETHODCALLTYPE IAlertReport_InitNew_Proxy(
  262. IAlertReport * This,
  263. /* [in] */ DISPPARAMS *pdparams);
  264. void __RPC_STUB IAlertReport_InitNew_Stub(
  265. IRpcStubBuffer *This,
  266. IRpcChannelBuffer *_pRpcChannelBuffer,
  267. PRPC_MESSAGE _pRpcMessage,
  268. DWORD *_pdwStubPhase);
  269. HRESULT STDMETHODCALLTYPE IAlertReport_GetReportData_Proxy(
  270. IAlertReport * This,
  271. /* [out] */ DISPPARAMS *pdparams);
  272. void __RPC_STUB IAlertReport_GetReportData_Stub(
  273. IRpcStubBuffer *This,
  274. IRpcChannelBuffer *_pRpcChannelBuffer,
  275. PRPC_MESSAGE _pRpcMessage,
  276. DWORD *_pdwStubPhase);
  277. HRESULT STDMETHODCALLTYPE IAlertReport_GetTitle_Proxy(
  278. IAlertReport * This,
  279. /* [out] */ BSTR *pbstrTitle);
  280. void __RPC_STUB IAlertReport_GetTitle_Stub(
  281. IRpcStubBuffer *This,
  282. IRpcChannelBuffer *_pRpcChannelBuffer,
  283. PRPC_MESSAGE _pRpcMessage,
  284. DWORD *_pdwStubPhase);
  285. HRESULT STDMETHODCALLTYPE IAlertReport_GetTextualDescription_Proxy(
  286. IAlertReport * This,
  287. /* [out] */ BSTR *pbstrDescr);
  288. void __RPC_STUB IAlertReport_GetTextualDescription_Stub(
  289. IRpcStubBuffer *This,
  290. IRpcChannelBuffer *_pRpcChannelBuffer,
  291. PRPC_MESSAGE _pRpcMessage,
  292. DWORD *_pdwStubPhase);
  293. #endif /* __IAlertReport_INTERFACE_DEFINED__ */
  294. #ifndef __IAlertTarget_INTERFACE_DEFINED__
  295. #define __IAlertTarget_INTERFACE_DEFINED__
  296. /* interface IAlertTarget */
  297. /* [unique][uuid][object][local] */
  298. EXTERN_C const IID IID_IAlertTarget;
  299. #if defined(__cplusplus) && !defined(CINTERFACE)
  300. MIDL_INTERFACE("589b61C0-54E6-11CE-94DD-00AA0051E40F")
  301. IAlertTarget : public IUnknown
  302. {
  303. public:
  304. virtual HRESULT STDMETHODCALLTYPE Report(
  305. /* [in] */ ULONG cbReportSize,
  306. /* [size_is] */ BYTE *pbReport) = 0;
  307. };
  308. #else /* C style interface */
  309. typedef struct IAlertTargetVtbl
  310. {
  311. BEGIN_INTERFACE
  312. HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
  313. IAlertTarget * This,
  314. /* [in] */ REFIID riid,
  315. /* [iid_is][out] */ void **ppvObject);
  316. ULONG ( STDMETHODCALLTYPE *AddRef )(
  317. IAlertTarget * This);
  318. ULONG ( STDMETHODCALLTYPE *Release )(
  319. IAlertTarget * This);
  320. HRESULT ( STDMETHODCALLTYPE *Report )(
  321. IAlertTarget * This,
  322. /* [in] */ ULONG cbReportSize,
  323. /* [size_is] */ BYTE *pbReport);
  324. END_INTERFACE
  325. } IAlertTargetVtbl;
  326. interface IAlertTarget
  327. {
  328. CONST_VTBL struct IAlertTargetVtbl *lpVtbl;
  329. };
  330. #ifdef COBJMACROS
  331. #define IAlertTarget_QueryInterface(This,riid,ppvObject) \
  332. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  333. #define IAlertTarget_AddRef(This) \
  334. (This)->lpVtbl -> AddRef(This)
  335. #define IAlertTarget_Release(This) \
  336. (This)->lpVtbl -> Release(This)
  337. #define IAlertTarget_Report(This,cbReportSize,pbReport) \
  338. (This)->lpVtbl -> Report(This,cbReportSize,pbReport)
  339. #endif /* COBJMACROS */
  340. #endif /* C style interface */
  341. HRESULT STDMETHODCALLTYPE IAlertTarget_Report_Proxy(
  342. IAlertTarget * This,
  343. /* [in] */ ULONG cbReportSize,
  344. /* [size_is] */ BYTE *pbReport);
  345. void __RPC_STUB IAlertTarget_Report_Stub(
  346. IRpcStubBuffer *This,
  347. IRpcChannelBuffer *_pRpcChannelBuffer,
  348. PRPC_MESSAGE _pRpcMessage,
  349. DWORD *_pdwStubPhase);
  350. #endif /* __IAlertTarget_INTERFACE_DEFINED__ */
  351. /* Additional Prototypes for ALL interfaces */
  352. /* end of Additional Prototypes */
  353. #ifdef __cplusplus
  354. }
  355. #endif
  356. #endif