#pragma autorecover
#pragma classflags(64)
#pragma namespace("\\\\.\\ROOT\\cimv2\\TerminalServices")
instance of __namespace{ name="ms_409";};
#pragma namespace("\\\\.\\ROOT\\cimv2\\TerminalServices\\ms_409")

[Description("This event represents a change to RemoteApp settings on this terminal server.") : Amended ToSubclass,AMENDMENT, LOCALE(0x0409)] 
class Win32_RemoteAppChangeEvent : __ExtrinsicEvent
{
  [Description("Object changed by the operation corresponding to the event") : Amended ToSubclass] object TargetInstance;
  [Description("Type of operation corresponding to the event") : Amended ToSubclass,Values{"Create", "Delete", "Modify"} : Amended ToSubclass] uint32 OperationType;
};

[AMENDMENT, LOCALE(0x0409) : ToInstance] 
class CIM_ManagedSystemElement
{
};

[AMENDMENT, LOCALE(0x0409) : ToInstance] 
class CIM_LogicalElement : CIM_ManagedSystemElement
{
};

[Description("Info for a file extension associated with a RemoteApp") : Amended ToSubclass,AMENDMENT, LOCALE(0x0409)] 
class Win32_RDFileAssociation
{
  [Description("Name of the extension (e.g. .txt)") : Amended ToSubclass,key] string ExtName;
  [Description("Hint to help open documents with this file association") : Amended ToSubclass] string ProgIdHint;
  [Description("The path to the icon for this file association") : Amended ToSubclass] string IconPath;
  [Description("Index of the icon for this file association") : Amended ToSubclass] sint32 IconIndex;
  [Description("Contents of the icon for this file association") : Amended ToSubclass] uint8 IconContents[];
  [Description("Whether this association is for a primary handler") : Amended ToSubclass] boolean PrimaryHandler;
};

[Description("Allow-List info for a file extension associated with a RemoteApp") : Amended ToSubclass,AMENDMENT, LOCALE(0x0409)] 
class Win32_RDAllowListFileAssociation
{
  [Description("Name of the extension (e.g. .txt)") : Amended ToSubclass,key] string ExtName;
  [Description("Alias of this file association's RemoteApp") : Amended ToSubclass] string AppAlias;
  [Description("Hint to help open documents with this file association") : Amended ToSubclass] string ProgIdHint;
};

[Description("Application published for remote use through Terminal Services") : Amended ToSubclass,AMENDMENT, LOCALE(0x0409)] 
class Win32_TSPublishedApplication : CIM_LogicalElement
{
  [Description("Name of the application") : Amended ToSubclass] string Name;
  [Description("Alias of the application") : Amended ToSubclass,key] string Alias;
  [Description("Security Descriptor controlling access to the application, in SDDL Format. Empty string implies allow all access. Does not support DENY ACEs, or ACEs referring to non-domain users or groups.") : Amended ToSubclass] string SecurityDescriptor;
  [Description("Path to the application") : Amended ToSubclass] string Path;
  [Description("Whether application path is valid") : Amended ToSubclass] boolean PathExists;
  [Description("Virtual Path to the application") : Amended ToSubclass] string VPath;
  [Description("Path to the application icon") : Amended ToSubclass] string IconPath;
  [Description("Index of the icon") : Amended ToSubclass] sint32 IconIndex;
  [Description("Contents of the icon corresponding to the application") : Amended ToSubclass] uint8 IconContents[];
  [Description("Command Line Arguments setting") : Amended ToSubclass,Values{"DoNotAllow", "Allow", "Require"} : Amended ToSubclass] uint32 CommandLineSetting;
  [Description("Command Line Arguments required for this application") : Amended ToSubclass] string RequiredCommandLine;
  [Description("Whether this application should be shown in the TS Web Access") : Amended ToSubclass] boolean ShowInPortal;
  [Description("Contents of the RDP file corresponding to the application") : Amended ToSubclass] string RDPFileContents;
};

[Description("The List of Published Applications available on a Terminal Server") : Amended ToSubclass,AMENDMENT, LOCALE(0x0409)] 
class Win32_TSPublishedApplicationList : CIM_LogicalElement
{
  [Description("Whether the Terminal Server restricts remote applications to those on the list.") : Amended ToSubclass] boolean Disabled;
  [Description("Indicates whether the property Disabled is configured by Server (0),Group Policy (1), Default (2) ") : Amended ToSubclass] uint32 PolicySourceDisabled;
};

[Description("Application published for remote use through Terminal Services") : Amended ToSubclass,AMENDMENT, LOCALE(0x0409)] 
class Win32_TSRemoteDesktop : CIM_LogicalElement
{
  [Description("Name of the Desktop") : Amended ToSubclass] string Name;
  [Description("Alias of the Desktop") : Amended ToSubclass,key] string Alias;
  [Description("Security Descriptor controlling access to the application, in SDDL Format. Empty string implies allow all access. Does not support DENY ACEs, or ACEs referring to non-domain users or groups.") : Amended ToSubclass] string SecurityDescriptor;
  [Description("Path to the Desktop icon") : Amended ToSubclass] string IconPath;
  [Description("Index of the icon") : Amended ToSubclass] sint32 IconIndex;
  [Description("Contents of the icon corresponding to the application") : Amended ToSubclass] uint8 IconContents[];
  [Description("Whether this application should be shown in the TS Web Access") : Amended ToSubclass] boolean ShowInPortal;
  [Description("Contents of the RDP file corresponding to the desktop") : Amended ToSubclass] string RDPFileContents;
  [Description("Whether this Remote Desktop is meant for a virtual machine farm") : Amended ToSubclass] boolean IsVmFarm;
  [Description("Virtual machine farm settigns corresponding to the desktop") : Amended ToSubclass] string VmFarmSettings;
};

[Description("Deployment Settings for the Remote Programs Wizard") : Amended ToSubclass,AMENDMENT, LOCALE(0x0409)] 
class Win32_TSDeploymentSettings : CIM_LogicalElement
{
  [Description("RDP Port") : Amended ToSubclass] sint32 Port;
  [Description("Farm Name") : Amended ToSubclass] string FarmName;
  [Description("How Gateway is Used") : Amended ToSubclass,Values{"NoGateway", "UseGatewayBypassLocal", "UseGateway", "DetectGateway"} : Amended ToSubclass] sint32 GatewayUsage;
  [Description("Gateway Name") : Amended ToSubclass] string GatewayName;
  [Description("Gateway Authentication Mode") : Amended ToSubclass,Values{"Password(0)", "Smartcard(1)", "Allow User to Choose(4)"} : Amended ToSubclass] sint32 GatewayAuthMode;
  [Description("Use the same user credentials for TS Gateway and TS Server when possible") : Amended ToSubclass] boolean GatewayUseCachedCreds;
  [Description("Require Server Authentication (DEPRECATED)") : Amended ToSubclass] boolean RequireServerAuth;
  [Description("Color Bit Depth") : Amended ToSubclass,Values{"4", "8", "15", "16", "24", "32"} : Amended ToSubclass] sint32 ColorBitDepth;
  [Description("Allow Font Smoothing") : Amended ToSubclass] boolean AllowFontSmoothing;
  [Description("Enable Multi-Monitor for desktop (not RAIL)") : Amended ToSubclass] boolean UseMultimon;
  [Description("Redirection Options is configured by adding the following flags  None(0), Drives(1), Printers(2), Clipboard(4), Plug and Play(8), Smart Card(16)") : Amended ToSubclass] sint32 RedirectionOptions;
  [Description("Use a Certificate to Sign the RDP Files") : Amended ToSubclass] boolean HasCertificate;
  [Description("Certificate used to sign RDP files") : Amended ToSubclass] uint8 CertificateHash[];
  [Description("Certificate Issued To") : Amended ToSubclass] string CertificateIssuedTo;
  [Description("Certificate Issued By") : Amended ToSubclass] string CertificateIssuedBy;
  [Description("Certificate Expires On, stored as a 64bit FILETIME format") : Amended ToSubclass] string CertificateExpiresOn;
  [Description("Contents of the RDP file corresponding to the Custom RDP Settings") : Amended ToSubclass] string CustomRDPSettings;
  [Description("Contents of the RDP file corresponding to the Deployment Settings, if this is set the corresponding Redirection settings and other Deployment settings are ignored and this RDP file is used.") : Amended ToSubclass] string DeploymentRDPSettings;
};

[Description("Centralized Publishing Server Information Service") : Amended ToSubclass,AMENDMENT, LOCALE(0x0409)] 
class Win32_TSSystemInfo : CIM_LogicalElement
{
  [Description("The Remote Desktop Users group, in SDDL format") : Amended ToSubclass] string RDUGroup;
  [Description("The version number of this WMI Provider") : Amended ToSubclass] uint32 ProviderVersion;
};

[Description("Application on the Start Menu of a Terminal Server") : Amended ToSubclass,AMENDMENT, LOCALE(0x0409)] 
class Win32_TSStartMenuApplication : CIM_LogicalElement
{
  [Description("Name of the application") : Amended ToSubclass] string Name;
  [Description("Path to the application") : Amended ToSubclass,key] string Path;
  [Description("Virtual Path to the application (includes Environment Variables)") : Amended ToSubclass] string VPath;
  [Description("Path to the application icon") : Amended ToSubclass] string IconPath;
  [Description("Index of the icon") : Amended ToSubclass] sint32 IconIndex;
  [Description("Command line arguments") : Amended ToSubclass] string CommandLineArguments;
};

[Description("File Extensions owned by an Application on a Terminal Server") : Amended ToSubclass,AMENDMENT, LOCALE(0x0409)] 
class Win32_TSApplicationFileExtensions : CIM_LogicalElement
{
  [Description("Gives the list of file extensions owned by an application") : Amended ToSubclass] uint32 FileExtensions([Description("Path to the application") : Amended ToSubclass,IN] string AppPath,[Description("File extensions owned by the application") : Amended ToSubclass,OUT] string Extensions[]);
  [Description("Scans the registry to get the current file associations for an application.") : Amended ToSubclass] uint32 FileAssociations([Description("Path to the application") : Amended ToSubclass,IN] string AppPath,[Description("File associations for this application") : Amended ToSubclass,OUT] Win32_RDFileAssociation FileAssociations[]);
};

[Description("Expands System Defined Environment Variables") : Amended ToSubclass,AMENDMENT, LOCALE(0x0409)] 
class Win32_TSExpandEnvironmentVariables : CIM_LogicalElement
{
  [Description("Expands System Defined Environment Variables") : Amended ToSubclass] uint32 EnvironmentVariables([Description("String that contains the environment variables to expand") : Amended ToSubclass,IN] string OriginalString,[Description("String with the environment variables expanded") : Amended ToSubclass,OUT] string ExpandedString);
};

[Description("Returns the contents of the Icon specified by filepath and index") : Amended ToSubclass,AMENDMENT, LOCALE(0x0409)] 
class Win32_TSGetIcon : CIM_LogicalElement
{
  [Description("Returns the contents of the Icon in the filepath using the icon index") : Amended ToSubclass] uint32 GetIcon([Description("String that contains the path to the file that contains the icon") : Amended ToSubclass,IN] string FilePath,[Description("Index for the Icon wanted") : Amended ToSubclass,IN] sint32 Index,[Description("Contents of the Icon") : Amended ToSubclass,OUT] uint8 IconContents[]);
};

[Description("Licensing Settings for the RDV Deployment") : Amended ToSubclass,AMENDMENT, LOCALE(0x0409)] 
class Win32_TSDeploymentLicensing : CIM_LogicalElement
{
  [Description("Use deployment-wide licensing settings, as opposed to setting them per-server.  If this is set to false, all other licensing settings are ignored.") : Amended ToSubclass] boolean UseCentralLicensingSettings;
  [Description("License Servers to use") : Amended ToSubclass] String LicenseServers[];
  [Description(" Licensing Mode") : Amended ToSubclass,Values{"Per Device", "Per User", "Not Yet Configured"} : Amended ToSubclass] uint32 LicensingType;
};
