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.

77 lines
1.7 KiB

  1. // � 1999 Microsoft Corporation. All rights reserved.
  2. #pragma namespace("\\\\.\\root\\cimv2")
  3. Qualifier Description : ToSubClass Amended;
  4. /////////////////////////////////////////////////////////////////////////////
  5. // Events generated by the Standard Non-COM Event Provider.
  6. class MSFT_NCProvEvent : __ExtrinsicEvent
  7. {
  8. string Namespace;
  9. string ProviderName;
  10. uint32 Result;
  11. };
  12. class MSFT_NCProvNewQuery : MSFT_NCProvEvent
  13. {
  14. string QueryLanguage;
  15. string Query;
  16. uint32 ID;
  17. };
  18. class MSFT_NCProvCancelQuery : MSFT_NCProvEvent
  19. {
  20. uint32 ID;
  21. };
  22. class MSFT_NCProvAccessCheck : MSFT_NCProvEvent
  23. {
  24. string QueryLanguage;
  25. string Query;
  26. uint8 Sid[];
  27. };
  28. class MSFT_NCProvClientConnected : MSFT_NCProvEvent
  29. {
  30. boolean Inproc;
  31. };
  32. /////////////////////////////////////////////////////////////////////////////
  33. // Standard Non-COM Event Provider registration.
  34. class MSFT_WMI_GenericNonCOMEvent : __ExtrinsicEvent
  35. {
  36. string PropertyNames[];
  37. string PropertyValues[];
  38. // Filled in automatically by the API.
  39. string ProviderName;
  40. uint32 ProcessId;
  41. };
  42. #pragma DeleteInstance("MSFT_WMI_NonCOMEventProvider.Name=\"Standard Non-COM Event Provider\"", NOFAIL)
  43. instance of __Win32Provider as $NonCOMProvider
  44. {
  45. Name = "Standard Non-COM Event Provider";
  46. HostingModel = "Decoupled:NonCOM";
  47. };
  48. instance of __EventProviderRegistration
  49. {
  50. Provider = $NonCOMProvider;
  51. EventQueryList =
  52. {
  53. "select * from MSFT_WMI_GenericNonCOMEvent",
  54. "select * from MSFT_NcProvEvent"
  55. /*
  56. "select * from MSFT_NCProvNewQuery",
  57. "select * from MSFT_NCProvCancelQuery",
  58. "select * from MSFT_NCProvAccessCheck"
  59. */
  60. };
  61. };