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

#pragma autorecover
#pragma classflags(64)
#pragma namespace("\\\\.\\root\\cimv2")
instance of __namespace{ name="ms_409";};
#pragma namespace("\\\\.\\root\\cimv2\\ms_409")
[description("Represents an arbitrary SID -- CANNOT BE ENUMERATED") : Amended ToSubclass,AMENDMENT, LOCALE(0x409)]
class Win32_SID
{
[Description("The SID in string format") : Amended ToSubclass,Key : ToInstance ToSubclass DisableOverride] string SID;
[Description("The SID in binary format") : Amended ToSubclass] uint8 BinaryRepresentation[];
[Description("The name of the account associated with the SID") : Amended ToSubclass] string AccountName;
[Description("The domain of the account associated with the SID") : Amended ToSubclass] string ReferencedDomainName;
};
[description("The SID of an account") : Amended ToSubclass,AMENDMENT, LOCALE(0x409)]
class Win32_AccountSID
{
[Description("The account") : Amended ToSubclass,Key : ToInstance ToSubclass DisableOverride] Win32_Account Ref Element;
[Description("The SID of the account") : Amended ToSubclass,Key : ToInstance ToSubclass DisableOverride] Win32_SID Ref Setting;
};
[description("Represents security settings for a managed element") : Amended ToSubclass,AMENDMENT, LOCALE(0x409)]
class Win32_SecuritySetting : CIM_Setting
{
[description("Inheritance-related flags. See SECURITY_DESCRIPTOR_CONTROL") : Amended ToSubclass] uint32 ControlFlags;
[description("Retrieves a structural representation of the object's security descriptor") : Amended ToSubclass] uint32 GetSecurityDescriptor([OUT] Win32_SecurityDescriptor Descriptor);
[description("Sets security descriptor to the specified structure") : Amended ToSubclass] uint32 SetSecurityDescriptor([IN] Win32_SecurityDescriptor Descriptor);
};
[description("Associates an object to its security settings") : Amended ToSubclass,AMENDMENT, LOCALE(0x409)]
class Win32_SecuritySettingOfObject : CIM_ElementSetting
{
[Description("The object with security settings") : Amended ToSubclass] CIM_LogicalElement Ref Element;
[Description("The security settings of the object") : Amended ToSubclass] Win32_SecuritySetting Ref Setting;
};
[description("Association between the security settings of an object and its owner") : Amended ToSubclass,AMENDMENT, LOCALE(0x409)]
class Win32_SecuritySettingOwner
{
[Description("The security settings of an object") : Amended ToSubclass,key : ToInstance ToSubclass DisableOverride] Win32_SecuritySetting Ref SecuritySetting;
[Description("The Win32_SID of the object's owner") : Amended ToSubclass,key : ToInstance ToSubclass DisableOverride] Win32_SID Ref Owner;
};
[description("Association between the security of an object and its group") : Amended ToSubclass,AMENDMENT, LOCALE(0x409)]
class Win32_SecuritySettingGroup
{
[Description("The security settings of an object") : Amended ToSubclass,key : ToInstance ToSubclass DisableOverride] Win32_SecuritySetting Ref SecuritySetting;
[Description("The Win32_SID of the object's group") : Amended ToSubclass,key : ToInstance ToSubclass DisableOverride] Win32_SID Ref Group;
};
[description("Specifies the rights granted and denied to a trustee for a given object. Modeled after EXPLICIT_ACCESS") : Amended ToSubclass,AMENDMENT, LOCALE(0x409)]
class Win32_SecuritySettingAccess
{
[Description("The security settings of an object") : Amended ToSubclass,key : ToInstance ToSubclass DisableOverride] Win32_SecuritySetting Ref SecuritySetting;
[Description("The Win32_SID of the trustee for this access entry") : Amended ToSubclass,key : ToInstance ToSubclass DisableOverride] Win32_SID Ref Trustee;
[Description("The type of access specified for the trustee") : Amended ToSubclass,Values("Set, Deny") : Amended ToSubclass] uint32 Type;
[Description("Bit flags specifying how the access rights are inherited") : Amended ToSubclass] uint32 Inheritance;
[Description("Bit flags specifying what permissions are affected") : Amended ToSubclass] uint32 AccessMask;
[Description("The guid of the type of object the security settings are applied to") : Amended ToSubclass] string GuidObjectType;
[Description("The guid of the type of object this object inherits from") : Amended ToSubclass] string GuidInheritedObjectType;
};
[description("Specifies the auditing for a given trustee on a given object. Modeled after EXPLICIT_ACCESS") : Amended ToSubclass,AMENDMENT, LOCALE(0x409)]
class Win32_SecuritySettingAuditing
{
[Description("The security settings of an object") : Amended ToSubclass,key : ToInstance ToSubclass DisableOverride] Win32_SecuritySetting Ref SecuritySetting;
[Description("The Win32_SID of the trustee for this audit entry") : Amended ToSubclass,key : ToInstance ToSubclass DisableOverride] Win32_SID Ref Trustee;
[Description("The type of access specified for the trustee") : Amended ToSubclass,Values("Audit success, Audit failure") : Amended ToSubclass] uint32 Type;
[Description("Bit flags specifying how the audit policies are inherited") : Amended ToSubclass] uint32 Inheritance;
[Description("Bit flags specifying what activities are audited") : Amended ToSubclass] uint32 AuditedAccessMask;
[Description("The guid of the type of object the security settings are applied to") : Amended ToSubclass] string GuidObjectType;
[Description("The guid of the type of object this object inherits from") : Amended ToSubclass] string GuidInheritedObjectType;
};
[description("Specifies a trustee. Either a name or a SID (byte array) can be used") : Amended ToSubclass,AMENDMENT, LOCALE(0x409)]
class Win32_Trustee : Win32_MethodParameterClass
{
[Description("The SID of the trustee") : Amended ToSubclass] uint8 SID[];
[Description("The SID of the trustee in string format (e.g., S-1-1-0)") : Amended ToSubclass] string SIDString;
[Description("The name portion of the account") : Amended ToSubclass] string Name;
[Description("The domain portion of the account") : Amended ToSubclass] string Domain;
[Description("The length of the SID in BYTES") : Amended ToSubclass] uint32 SidLength;
};
[description("Specifies an access control entry") : Amended ToSubclass,AMENDMENT, LOCALE(0x409)]
class Win32_ACE : Win32_MethodParameterClass
{
[Description("The trustee of this ACE entry") : Amended ToSubclass] Win32_Trustee Trustee;
[Description("The type of ACE entry this is") : Amended ToSubclass,Values("Access Allowed, Access Denied, Audit") : Amended ToSubclass] uint32 AceType;
[Description("Bit flags specifying inheritance of the ACE") : Amended ToSubclass] uint32 AceFlags;
[Description("Bit flags representing rights granted/denied to the trustee") : Amended ToSubclass] uint32 AccessMask;
[Description("The guid associated with the type of object these rights apply to") : Amended ToSubclass] string GuidObjectType;
[Description("The guid associated with the parent of the object these rights apply to") : Amended ToSubclass] string GuidInheritedObjectType;
};
[description("Structural representation of a SECURITY_DESCRIPTOR") : Amended ToSubclass,AMENDMENT, LOCALE(0x409)]
class Win32_SecurityDescriptor : Win32_MethodParameterClass
{
[Description("The trustee representing the owner of the object") : Amended ToSubclass] Win32_Trustee Owner;
[Description("The trustee representing the group of the object") : Amended ToSubclass] Win32_Trustee Group;
[Description("An array of Win32_ACE entries that specify access to the object") : Amended ToSubclass] Win32_ACE DACL[];
[Description("An array of Win32_ACE entries that specify which users/groups auditing information is gathered for") : Amended ToSubclass] Win32_ACE SACL[];
[Description("Bit flags that provide information about the descriptor's contents and format") : Amended ToSubclass] uint32 ControlFlags;
};
[Description("security settings for a logical file") : Amended ToSubclass,AMENDMENT, LOCALE(0x409)]
class Win32_LogicalFileSecuritySetting : Win32_SecuritySetting
{
[key : ToInstance ToSubclass DisableOverride,Description("The full pathname of the file or directory") : Amended ToSubclass] string Path;
[description("Indicates whether the caller has Owner permissions to the object. ") : Amended ToSubclass] boolean OwnerPermissions;
[description("Retrieves a structural representation of the object's security descriptor") : Amended ToSubclass] uint32 GetSecurityDescriptor([out] Win32_SecurityDescriptor Descriptor);
[description("Sets security descriptor to the specified structure") : Amended ToSubclass] uint32 SetSecurityDescriptor([in] Win32_SecurityDescriptor Descriptor);
};
[description("Security settings of a file or directory object") : Amended ToSubclass,AMENDMENT, LOCALE(0x409)]
class Win32_SecuritySettingOfLogicalFile : Win32_SecuritySettingOfObject
{
[Description("The file or directory") : Amended ToSubclass,key : ToInstance ToSubclass DisableOverride] CIM_LogicalFile Ref Element;
[Description("The security settings of the file or directory") : Amended ToSubclass,key : ToInstance ToSubclass DisableOverride] Win32_LogicalFileSecuritySetting Ref Setting;
};
[Description("Association between the security settings of a file/directory and its owner") : Amended ToSubclass,AMENDMENT, LOCALE(0x409)]
class Win32_LogicalFileOwner : Win32_SecuritySettingOwner
{
[Description("The security settings of the file/directory object -- CANNOT BE ENUMERATED") : Amended ToSubclass] Win32_LogicalFileSecuritySetting Ref SecuritySetting;
[Description("The owner of the file/directory object") : Amended ToSubclass] Win32_SID Ref Owner;
};
[Description("Association between the security settings of a file/directory and its group") : Amended ToSubclass,AMENDMENT, LOCALE(0x409)]
class Win32_LogicalFileGroup : Win32_SecuritySettingGroup
{
[Description("The security settings of the file/directory object -- CANNOT BE ENUMERATED") : Amended ToSubclass] Win32_LogicalFileSecuritySetting Ref SecuritySetting;
[Description("The group of the file/directory object") : Amended ToSubclass] Win32_SID Ref Group;
};
[Description("Association between the security settings of a file/directory and one member of its DACL") : Amended ToSubclass,AMENDMENT, LOCALE(0x409)]
class Win32_LogicalFileAccess : Win32_SecuritySettingAccess
{
[Description("The security settings of the file/directory object -- CANNOT BE ENUMERATED") : Amended ToSubclass] Win32_LogicalFileSecuritySetting Ref SecuritySetting;
[Description("An entry on the object's DACL") : Amended ToSubclass] Win32_SID Ref Trustee;
};
[Description("Association between the security settings of a file/directory one member of its SACL.") : Amended ToSubclass,AMENDMENT, LOCALE(0x409)]
class Win32_LogicalFileAuditing : Win32_SecuritySettingAuditing
{
[Description("The security settings of the file/directory object -- CANNOT BE ENUMERATED") : Amended ToSubclass] Win32_LogicalFileSecuritySetting Ref SecuritySetting;
[Description("An entry on the object's SACL") : Amended ToSubclass] Win32_SID Ref Trustee;
};
[Description("security settings for a logical file") : Amended ToSubclass,AMENDMENT, LOCALE(0x409)]
class Win32_LogicalShareSecuritySetting : Win32_SecuritySetting
{
[key : ToInstance ToSubclass DisableOverride,Description("The name of the share") : Amended ToSubclass] string Name;
[description("Retrieves a structural representation of the object's security descriptor") : Amended ToSubclass] uint32 GetSecurityDescriptor([out] Win32_SecurityDescriptor Descriptor);
[description("Sets security descriptor to the specified structure") : Amended ToSubclass] uint32 SetSecurityDescriptor([in] Win32_SecurityDescriptor Descriptor);
};
[Description("Security settings of a share object") : Amended ToSubclass,AMENDMENT, LOCALE(0x409)]
class Win32_SecuritySettingOfLogicalShare : Win32_SecuritySettingOfObject
{
[Description("The share") : Amended ToSubclass,key : ToInstance ToSubclass DisableOverride] Win32_Share Ref Element;
[Description("The security settings of the share") : Amended ToSubclass,key : ToInstance ToSubclass DisableOverride] Win32_LogicalShareSecuritySetting Ref Setting;
};
[Description("Association between the security settings of a share and one member of its DACL") : Amended ToSubclass,AMENDMENT, LOCALE(0x409)]
class Win32_LogicalShareAccess : Win32_SecuritySettingAccess
{
[Description("The security settings of the share object") : Amended ToSubclass] Win32_LogicalShareSecuritySetting Ref SecuritySetting;
[Description("An entry on the object's DACL") : Amended ToSubclass] Win32_SID Ref Trustee;
};
[Description("Association between the security settings of a share and one member of its SACL.") : Amended ToSubclass,AMENDMENT, LOCALE(0x409)]
class Win32_LogicalShareAuditing : Win32_SecuritySettingAuditing
{
[Description("The security settings of the share object") : Amended ToSubclass] Win32_LogicalShareSecuritySetting Ref SecuritySetting;
[Description("An entry on the object's SACL") : Amended ToSubclass] Win32_SID Ref Trustee;
};
[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)]
class Win32_DCOMApplicationLaunchAllowedSetting
{
[Key : ToInstance ToSubclass DisableOverride,Description("The Element reference represents the role of the Win32_DCOMApplication") : Amended ToSubclass] Win32_DCOMApplication Ref Element;
[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;
};
[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)]
class Win32_DCOMApplicationAccessAllowedSetting
{
[Key : ToInstance ToSubclass DisableOverride,Description("The Element reference represents the role of the Win32_DCOMApplication") : Amended ToSubclass] Win32_DCOMApplication Ref Element;
[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;
};