Source code of Windows XP (NT5)
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.

33 lines
4.6 KiB

  1. ��#pragma autorecover
  2. #pragma classflags(64)
  3. #pragma namespace("\\\\.\\Root\\Policy")
  4. instance of __namespace{ name="ms_409";};
  5. #pragma namespace("\\\\.\\Root\\Policy\\ms_409")
  6. [Description("Defines a single rule in a SOM, expressed as a query") : Amended ToSubclass,AMENDMENT, LOCALE(0x409)]
  7. class MSFT_Rule
  8. {
  9. [Description("Language in which query is expressed") : Amended ToSubclass] string QueryLanguage;
  10. [Description("Namespace in which to evaluate query") : Amended ToSubclass] string TargetNameSpace;
  11. [Description("Query of interest") : Amended ToSubclass] string Query;
  12. };
  13. [Description("Provides a list of rules, expressed as queries which are evaluated on target machine") : Amended ToSubclass,AMENDMENT, LOCALE(0x409)]
  14. class MSFT_SomFilter
  15. {
  16. [key,Description("Unique identifier for this instance, expected to be a GUID in registry format") : Amended ToSubclass] string ID;
  17. [key,Description("Domain of this object, in DNS format: \"redmond.corp.microsoft.com\"") : Amended ToSubclass] String Domain;
  18. [Description("A user-friendly name for this SOM Filter") : Amended ToSubclass] string Name;
  19. [Description("Descriptive text describing this SOM Filter") : Amended ToSubclass] String Description;
  20. [Description("Rules to be evaluated") : Amended ToSubclass] MSFT_Rule Rules[];
  21. [Description("Determines whether the queries expressed in Rules apply to this machine. Returns S_OK (0) if all queries expressed in rules return results; S_FALSE (1) if they do not; and an applicable WMI error code if an error occurs.") : Amended ToSubclass] Uint32 Evaluate();
  22. [Description("Evaluates a list of SOMs, returns array result codes matching result of evaluating each") : Amended ToSubclass] Uint32 BatchEvaluate([IN] MSFT_SomFilter Ref filters[],[OUT] Uint32 results[]);
  23. [Description("Originator of this SOMFilter") : Amended ToSubclass] String Author;
  24. [Description("Author's organization") : Amended ToSubclass] String SourceOrganization;
  25. [Description("Last time this object was updated") : Amended ToSubclass] DateTime ChangeDate;
  26. [Description("Time that this object was created") : Amended ToSubclass] DateTime CreationDate;
  27. };
  28. #pragma DeleteClass("MSFT_RangeParam", NOFAIL)
  29. #pragma DeleteClass("MSFT_PolicyTemplate", NOFAIL)
  30. #pragma DeleteClass("MSFT_PolicyType", NOFAIL)
  31. #pragma DeleteClass("MSFT_WMIGPO", NOFAIL)