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.

192 lines
28 KiB

  1. ��#pragma autorecover
  2. #pragma classflags(64)
  3. #pragma namespace("\\\\.\\root\\cimv2")
  4. instance of __namespace{ name="ms_409";};
  5. #pragma namespace("\\\\.\\root\\cimv2\\ms_409")
  6. [description("Represents an arbitrary SID -- CANNOT BE ENUMERATED") : Amended ToSubclass,AMENDMENT, LOCALE(0x409)]
  7. class Win32_SID
  8. {
  9. [Description("The SID in string format") : Amended ToSubclass,Key : ToInstance ToSubclass DisableOverride] string SID;
  10. [Description("The SID in binary format") : Amended ToSubclass] uint8 BinaryRepresentation[];
  11. [Description("The name of the account associated with the SID") : Amended ToSubclass] string AccountName;
  12. [Description("The domain of the account associated with the SID") : Amended ToSubclass] string ReferencedDomainName;
  13. };
  14. [description("The SID of an account") : Amended ToSubclass,AMENDMENT, LOCALE(0x409)]
  15. class Win32_AccountSID
  16. {
  17. [Description("The account") : Amended ToSubclass,Key : ToInstance ToSubclass DisableOverride] Win32_Account Ref Element;
  18. [Description("The SID of the account") : Amended ToSubclass,Key : ToInstance ToSubclass DisableOverride] Win32_SID Ref Setting;
  19. };
  20. [description("Represents security settings for a managed element") : Amended ToSubclass,AMENDMENT, LOCALE(0x409)]
  21. class Win32_SecuritySetting : CIM_Setting
  22. {
  23. [description("Inheritance-related flags. See SECURITY_DESCRIPTOR_CONTROL") : Amended ToSubclass] uint32 ControlFlags;
  24. [description("Retrieves a structural representation of the object's security descriptor") : Amended ToSubclass] uint32 GetSecurityDescriptor([OUT] Win32_SecurityDescriptor Descriptor);
  25. [description("Sets security descriptor to the specified structure") : Amended ToSubclass] uint32 SetSecurityDescriptor([IN] Win32_SecurityDescriptor Descriptor);
  26. };
  27. [description("Associates an object to its security settings") : Amended ToSubclass,AMENDMENT, LOCALE(0x409)]
  28. class Win32_SecuritySettingOfObject : CIM_ElementSetting
  29. {
  30. [Description("The object with security settings") : Amended ToSubclass] CIM_LogicalElement Ref Element;
  31. [Description("The security settings of the object") : Amended ToSubclass] Win32_SecuritySetting Ref Setting;
  32. };
  33. [description("Association between the security settings of an object and its owner") : Amended ToSubclass,AMENDMENT, LOCALE(0x409)]
  34. class Win32_SecuritySettingOwner
  35. {
  36. [Description("The security settings of an object") : Amended ToSubclass,key : ToInstance ToSubclass DisableOverride] Win32_SecuritySetting Ref SecuritySetting;
  37. [Description("The Win32_SID of the object's owner") : Amended ToSubclass,key : ToInstance ToSubclass DisableOverride] Win32_SID Ref Owner;
  38. };
  39. [description("Association between the security of an object and its group") : Amended ToSubclass,AMENDMENT, LOCALE(0x409)]
  40. class Win32_SecuritySettingGroup
  41. {
  42. [Description("The security settings of an object") : Amended ToSubclass,key : ToInstance ToSubclass DisableOverride] Win32_SecuritySetting Ref SecuritySetting;
  43. [Description("The Win32_SID of the object's group") : Amended ToSubclass,key : ToInstance ToSubclass DisableOverride] Win32_SID Ref Group;
  44. };
  45. [description("Specifies the rights granted and denied to a trustee for a given object. Modeled after EXPLICIT_ACCESS") : Amended ToSubclass,AMENDMENT, LOCALE(0x409)]
  46. class Win32_SecuritySettingAccess
  47. {
  48. [Description("The security settings of an object") : Amended ToSubclass,key : ToInstance ToSubclass DisableOverride] Win32_SecuritySetting Ref SecuritySetting;
  49. [Description("The Win32_SID of the trustee for this access entry") : Amended ToSubclass,key : ToInstance ToSubclass DisableOverride] Win32_SID Ref Trustee;
  50. [Description("The type of access specified for the trustee") : Amended ToSubclass,Values("Set, Deny") : Amended ToSubclass] uint32 Type;
  51. [Description("Bit flags specifying how the access rights are inherited") : Amended ToSubclass] uint32 Inheritance;
  52. [Description("Bit flags specifying what permissions are affected") : Amended ToSubclass] uint32 AccessMask;
  53. [Description("The guid of the type of object the security settings are applied to") : Amended ToSubclass] string GuidObjectType;
  54. [Description("The guid of the type of object this object inherits from") : Amended ToSubclass] string GuidInheritedObjectType;
  55. };
  56. [description("Specifies the auditing for a given trustee on a given object. Modeled after EXPLICIT_ACCESS") : Amended ToSubclass,AMENDMENT, LOCALE(0x409)]
  57. class Win32_SecuritySettingAuditing
  58. {
  59. [Description("The security settings of an object") : Amended ToSubclass,key : ToInstance ToSubclass DisableOverride] Win32_SecuritySetting Ref SecuritySetting;
  60. [Description("The Win32_SID of the trustee for this audit entry") : Amended ToSubclass,key : ToInstance ToSubclass DisableOverride] Win32_SID Ref Trustee;
  61. [Description("The type of access specified for the trustee") : Amended ToSubclass,Values("Audit success, Audit failure") : Amended ToSubclass] uint32 Type;
  62. [Description("Bit flags specifying how the audit policies are inherited") : Amended ToSubclass] uint32 Inheritance;
  63. [Description("Bit flags specifying what activities are audited") : Amended ToSubclass] uint32 AuditedAccessMask;
  64. [Description("The guid of the type of object the security settings are applied to") : Amended ToSubclass] string GuidObjectType;
  65. [Description("The guid of the type of object this object inherits from") : Amended ToSubclass] string GuidInheritedObjectType;
  66. };
  67. [description("Specifies a trustee. Either a name or a SID (byte array) can be used") : Amended ToSubclass,AMENDMENT, LOCALE(0x409)]
  68. class Win32_Trustee : Win32_MethodParameterClass
  69. {
  70. [Description("The SID of the trustee") : Amended ToSubclass] uint8 SID[];
  71. [Description("The SID of the trustee in string format (e.g., S-1-1-0)") : Amended ToSubclass] string SIDString;
  72. [Description("The name portion of the account") : Amended ToSubclass] string Name;
  73. [Description("The domain portion of the account") : Amended ToSubclass] string Domain;
  74. [Description("The length of the SID in BYTES") : Amended ToSubclass] uint32 SidLength;
  75. };
  76. [description("Specifies an access control entry") : Amended ToSubclass,AMENDMENT, LOCALE(0x409)]
  77. class Win32_ACE : Win32_MethodParameterClass
  78. {
  79. [Description("The trustee of this ACE entry") : Amended ToSubclass] Win32_Trustee Trustee;
  80. [Description("The type of ACE entry this is") : Amended ToSubclass,Values("Access Allowed, Access Denied, Audit") : Amended ToSubclass] uint32 AceType;
  81. [Description("Bit flags specifying inheritance of the ACE") : Amended ToSubclass] uint32 AceFlags;
  82. [Description("Bit flags representing rights granted/denied to the trustee") : Amended ToSubclass] uint32 AccessMask;
  83. [Description("The guid associated with the type of object these rights apply to") : Amended ToSubclass] string GuidObjectType;
  84. [Description("The guid associated with the parent of the object these rights apply to") : Amended ToSubclass] string GuidInheritedObjectType;
  85. };
  86. [description("Structural representation of a SECURITY_DESCRIPTOR") : Amended ToSubclass,AMENDMENT, LOCALE(0x409)]
  87. class Win32_SecurityDescriptor : Win32_MethodParameterClass
  88. {
  89. [Description("The trustee representing the owner of the object") : Amended ToSubclass] Win32_Trustee Owner;
  90. [Description("The trustee representing the group of the object") : Amended ToSubclass] Win32_Trustee Group;
  91. [Description("An array of Win32_ACE entries that specify access to the object") : Amended ToSubclass] Win32_ACE DACL[];
  92. [Description("An array of Win32_ACE entries that specify which users/groups auditing information is gathered for") : Amended ToSubclass] Win32_ACE SACL[];
  93. [Description("Bit flags that provide information about the descriptor's contents and format") : Amended ToSubclass] uint32 ControlFlags;
  94. };
  95. [Description("security settings for a logical file") : Amended ToSubclass,AMENDMENT, LOCALE(0x409)]
  96. class Win32_LogicalFileSecuritySetting : Win32_SecuritySetting
  97. {
  98. [key : ToInstance ToSubclass DisableOverride,Description("The full pathname of the file or directory") : Amended ToSubclass] string Path;
  99. [description("Indicates whether the caller has Owner permissions to the object. ") : Amended ToSubclass] boolean OwnerPermissions;
  100. [description("Retrieves a structural representation of the object's security descriptor") : Amended ToSubclass] uint32 GetSecurityDescriptor([out] Win32_SecurityDescriptor Descriptor);
  101. [description("Sets security descriptor to the specified structure") : Amended ToSubclass] uint32 SetSecurityDescriptor([in] Win32_SecurityDescriptor Descriptor);
  102. };
  103. [description("Security settings of a file or directory object") : Amended ToSubclass,AMENDMENT, LOCALE(0x409)]
  104. class Win32_SecuritySettingOfLogicalFile : Win32_SecuritySettingOfObject
  105. {
  106. [Description("The file or directory") : Amended ToSubclass,key : ToInstance ToSubclass DisableOverride] CIM_LogicalFile Ref Element;
  107. [Description("The security settings of the file or directory") : Amended ToSubclass,key : ToInstance ToSubclass DisableOverride] Win32_LogicalFileSecuritySetting Ref Setting;
  108. };
  109. [Description("Association between the security settings of a file/directory and its owner") : Amended ToSubclass,AMENDMENT, LOCALE(0x409)]
  110. class Win32_LogicalFileOwner : Win32_SecuritySettingOwner
  111. {
  112. [Description("The security settings of the file/directory object -- CANNOT BE ENUMERATED") : Amended ToSubclass] Win32_LogicalFileSecuritySetting Ref SecuritySetting;
  113. [Description("The owner of the file/directory object") : Amended ToSubclass] Win32_SID Ref Owner;
  114. };
  115. [Description("Association between the security settings of a file/directory and its group") : Amended ToSubclass,AMENDMENT, LOCALE(0x409)]
  116. class Win32_LogicalFileGroup : Win32_SecuritySettingGroup
  117. {
  118. [Description("The security settings of the file/directory object -- CANNOT BE ENUMERATED") : Amended ToSubclass] Win32_LogicalFileSecuritySetting Ref SecuritySetting;
  119. [Description("The group of the file/directory object") : Amended ToSubclass] Win32_SID Ref Group;
  120. };
  121. [Description("Association between the security settings of a file/directory and one member of its DACL") : Amended ToSubclass,AMENDMENT, LOCALE(0x409)]
  122. class Win32_LogicalFileAccess : Win32_SecuritySettingAccess
  123. {
  124. [Description("The security settings of the file/directory object -- CANNOT BE ENUMERATED") : Amended ToSubclass] Win32_LogicalFileSecuritySetting Ref SecuritySetting;
  125. [Description("An entry on the object's DACL") : Amended ToSubclass] Win32_SID Ref Trustee;
  126. };
  127. [Description("Association between the security settings of a file/directory one member of its SACL.") : Amended ToSubclass,AMENDMENT, LOCALE(0x409)]
  128. class Win32_LogicalFileAuditing : Win32_SecuritySettingAuditing
  129. {
  130. [Description("The security settings of the file/directory object -- CANNOT BE ENUMERATED") : Amended ToSubclass] Win32_LogicalFileSecuritySetting Ref SecuritySetting;
  131. [Description("An entry on the object's SACL") : Amended ToSubclass] Win32_SID Ref Trustee;
  132. };
  133. [Description("security settings for a logical file") : Amended ToSubclass,AMENDMENT, LOCALE(0x409)]
  134. class Win32_LogicalShareSecuritySetting : Win32_SecuritySetting
  135. {
  136. [key : ToInstance ToSubclass DisableOverride,Description("The name of the share") : Amended ToSubclass] string Name;
  137. [description("Retrieves a structural representation of the object's security descriptor") : Amended ToSubclass] uint32 GetSecurityDescriptor([out] Win32_SecurityDescriptor Descriptor);
  138. [description("Sets security descriptor to the specified structure") : Amended ToSubclass] uint32 SetSecurityDescriptor([in] Win32_SecurityDescriptor Descriptor);
  139. };
  140. [Description("Security settings of a share object") : Amended ToSubclass,AMENDMENT, LOCALE(0x409)]
  141. class Win32_SecuritySettingOfLogicalShare : Win32_SecuritySettingOfObject
  142. {
  143. [Description("The share") : Amended ToSubclass,key : ToInstance ToSubclass DisableOverride] Win32_Share Ref Element;
  144. [Description("The security settings of the share") : Amended ToSubclass,key : ToInstance ToSubclass DisableOverride] Win32_LogicalShareSecuritySetting Ref Setting;
  145. };
  146. [Description("Association between the security settings of a share and one member of its DACL") : Amended ToSubclass,AMENDMENT, LOCALE(0x409)]
  147. class Win32_LogicalShareAccess : Win32_SecuritySettingAccess
  148. {
  149. [Description("The security settings of the share object") : Amended ToSubclass] Win32_LogicalShareSecuritySetting Ref SecuritySetting;
  150. [Description("An entry on the object's DACL") : Amended ToSubclass] Win32_SID Ref Trustee;
  151. };
  152. [Description("Association between the security settings of a share and one member of its SACL.") : Amended ToSubclass,AMENDMENT, LOCALE(0x409)]
  153. class Win32_LogicalShareAuditing : Win32_SecuritySettingAuditing
  154. {
  155. [Description("The security settings of the share object") : Amended ToSubclass] Win32_LogicalShareSecuritySetting Ref SecuritySetting;
  156. [Description("An entry on the object's SACL") : Amended ToSubclass] Win32_SID Ref Trustee;
  157. };
  158. [Description("The Win32_DCOMApplicationLaunchAllowedSetting class is an association between the Win32_DCOMApplicationand the user sid's that can launch it") : Amended ToSubclass,AMENDMENT, LOCALE(0x409)]
  159. class Win32_DCOMApplicationLaunchAllowedSetting
  160. {
  161. [Key : ToInstance ToSubclass DisableOverride,Description("The Element reference represents the role of the Win32_DCOMApplication") : Amended ToSubclass] Win32_DCOMApplication Ref Element;
  162. [Key : ToInstance ToSubclass DisableOverride,Description("The Setting reference represents the role of a user that can launch a component grouped under the associated Win32_DCOMApplication") : Amended ToSubclass] Win32_SID Ref Setting;
  163. };
  164. [Description("The Win32_DCOMApplicationAccessAllowedSetting class is an association between the Win32_DCOMApplicationand the user sid's that can access it") : Amended ToSubclass,AMENDMENT, LOCALE(0x409)]
  165. class Win32_DCOMApplicationAccessAllowedSetting
  166. {
  167. [Key : ToInstance ToSubclass DisableOverride,Description("The Element reference represents the role of the Win32_DCOMApplication") : Amended ToSubclass] Win32_DCOMApplication Ref Element;
  168. [Key : ToInstance ToSubclass DisableOverride,Description("The Setting reference represents the role of a user that can access a component grouped under the associated Win32_DCOMApplication") : Amended ToSubclass] Win32_SID Ref Setting;
  169. };