#pragma autorecover
#pragma classflags ("forceupdate")
#pragma namespace("\\\\.\\root\\cimv2")

[NamespaceSecuritySDDL ("O:BAG:BAD:PAR(A;CI;CCDCRP;;;LS)(A;CI;CCDCRP;;;NS)(A;CI;CCDCLCSWRPWPRCWD;;;BA)(A;CI;CCDCRP;;;AU)")]
Instance of __Namespace
{
  Name = "mdm";
};

#pragma namespace("\\\\.\\root\\cimv2\\mdm")

Instance of __Win32Provider as $prov
{
  Name = "MDMSettingsProv";
  ClsId = "{8B19C1CD-C80C-4AEC-AAE2-4E39FEDD24D0}";
  ImpersonationLevel = 1;
  HostingModel = "LocalSystemHost";
  version = 1073741825;
};

Instance of __MethodProviderRegistration
{
  Provider = $prov;
};

Instance of __InstanceProviderRegistration
{
  Provider = $prov;
  supportsGet = TRUE;
  supportsPut = TRUE;
  supportsDelete = TRUE;
  supportsEnumeration = TRUE;
  QuerySupportLevels;
};

[locale(1033),dynamic : ToInstance,provider("MDMSettingsProv") : ToInstance] 
class MDM_ApplicationSetting
{
  [key] string PackageFamilyName;
  [key] string SettingName;
  [ValueMap{"0", "1", "2", "3"} : ToSubclass] uint32 SettingType;
  string SettingValue;
};

[locale(1033),dynamic : ToInstance,provider("MDMSettingsProv") : ToInstance] 
class MDM_BrowserSecurityZones
{
  [key] string Namespace;
  [key,ValueMap{"1", "2", "3", "4"} : ToSubclass] uint32 Zone;
  boolean Exists;
};

[locale(1033),dynamic : ToInstance,provider("MDMSettingsProv") : ToInstance] 
class MDM_BrowserSettings
{
  [key] uint32 key;
  boolean ForceFraudWarning;
  boolean AutofillEnabled;
  boolean InternetScriptingEnabled;
  boolean InternetPluginsEnabled;
  boolean InternetBlockPopups;
  boolean AlwaysSendDoNotTrackHeader;
  boolean IntranetSecurityZoneEnabled;
  boolean InternetProtectedModeEnabled;
  boolean GoToIntranetForSingleWord;
  [ValueMap{"3", "4", "5"} : ToSubclass] uint32 InternetZoneSecurityLevel;
  [ValueMap{"1", "2", "3", "4", "5"} : ToSubclass] uint32 IntranetZoneSecurityLevel;
  [ValueMap{"1", "2", "3", "4", "5"} : ToSubclass] uint32 RestrictedSitesZoneSecurityLevel;
  [ValueMap{"1", "2", "3", "4", "5"} : ToSubclass] uint32 TrustedSitesZoneSecurityLevel;
};

[locale(1033),dynamic : ToInstance,provider("MDMSettingsProv") : ToInstance] 
class MDM_Certificate
{
  [key,ValueMap{"ContextUser", "ContextMachine"} : ToSubclass] uint8 StoreLocation;
  [key] string StoreName;
  [key] string Thumbprint;
  [read : ToSubclass] boolean IsInstalled;
  string Blob;
};

[locale(1033),dynamic : ToInstance,provider("MDMSettingsProv") : ToInstance] 
class MDM_CertificateEnrollment
{
  [key] string RequestID;
  [key,ValueMap{"ContextUser", "ContextMachine"} : ToSubclass] uint8 StoreLocation;
  [key] string EnhancedKeyUsages;
  [key] string Issuers;
  uint32 Status;
  uint32 Error;
  uint32 ExpirationThreshold;
  string SubjectName;
  string SubjectAlternativeNames;
  string Thumbprint;
  string SerialNumber;
  datetime ValidFrom;
  datetime ValidTo;
  string ConfigurationParameters;
};

[locale(1033),dynamic : ToInstance,provider("MDMSettingsProv") : ToInstance] 
class MDM_Client
{
  [key] string DeviceClientID;
  string DomainSID;
  string PlatformID;
  string DeviceName;
  string ProcessorDescription;
  string UserSid;
  string Version;
  [implemented,static : ToSubclass DisableOverride] uint32 SendUnenrollRequest([In] string DeviceClientID);
  [implemented,static : ToSubclass DisableOverride] uint32 LockWorkstation();
  [implemented,static : ToSubclass DisableOverride] uint32 ResetUserPassword([In] string ConfigString);
};

[locale(1033),dynamic : ToInstance,provider("MDMSettingsProv") : ToInstance] 
class MDM_ConfigSetting
{
  [key] string SettingName;
  string SettingValue;
};

[locale(1033),dynamic : ToInstance,provider("MDMSettingsProv") : ToInstance] 
class MDM_DeviceRegistrationInfo
{
  [key] string DeviceId;
  string UPN;
  string CertificateThumbprint;
};

[locale(1033),dynamic : ToInstance,provider("MDMSettingsProv") : ToInstance] 
class MDM_EASPolicy
{
  [key] uint32 key;
  [implemented,static : ToSubclass DisableOverride] uint32 SetValues([In] string NamedValuesList);
};

[locale(1033),dynamic : ToInstance,provider("MDMSettingsProv") : ToInstance] 
class MDM_MgmtAuthority
{
  [key] string AuthorityName;
  string RootThumbprint;
  string ProvisionedCertThumbprint;
  string ClientSearchCriteria;
  string ServerList;
  [implemented,static : ToSubclass DisableOverride] uint32 CreateNewAuthority([In] string AuthorityName);
};

[locale(1033),dynamic : ToInstance,provider("MDMSettingsProv") : ToInstance] 
class MDM_Restrictions
{
  [key] uint32 key;
  boolean DiagnosticsSubmissionEnabled;
  boolean DataRoamingEnabled;
  [read : ToSubclass] boolean BluetoothEnabled;
  [read : ToSubclass] boolean WifiEnabled;
  [read : ToSubclass] boolean PCSettingsSyncEnabled;
  [read : ToSubclass] boolean PCSettingsMeteredNetworkSyncEnabled;
  [read : ToSubclass] boolean PCSettingsPasswordSyncEnabled;
  string EcsSyncUrl;
  boolean EcsAutoProvisionEnabled;
  uint32 UserAccountControlStatus;
  boolean SmartScreenEnabled;
  boolean IEEnterpriseModeEnabled;
  string IEEnterpriseModeEnabledURL;
  string IEEnterpriseModeSitelist;
};

[locale(1033),dynamic : ToInstance,provider("MDMSettingsProv") : ToInstance] 
class MDM_RestrictionsUser
{
  [key] uint32 key;
  [read : ToSubclass] boolean PCSettingsSyncEnabled;
  [read : ToSubclass] boolean PCSettingsMeteredNetworkSyncEnabled;
  [read : ToSubclass] boolean PCSettingsPasswordSyncEnabled;
};

[locale(1033),dynamic : ToInstance,provider("MDMSettingsProv") : ToInstance] 
class MDM_SecurityStatus
{
  [key] uint32 key;
  uint32 FirewallStatus;
  [read : ToSubclass] uint32 AutoUpdateStatus;
  [read : ToSubclass] uint32 AntiVirusStatus;
  [read : ToSubclass] uint32 AntiVirusSignatureStatus;
  [read : ToSubclass] boolean RequireEncryption;
  uint32 MaintenanceScheduleStartHour;
  string MaintenanceScheduleDelayPattern;
  boolean MaintenanceScheduleAllowWakeup;
  boolean IsMicrosoftAccountOptional;
  string ApplicationContentUriRules;
};

[locale(1033),dynamic : ToInstance,provider("MDMSettingsProv") : ToInstance] 
class MDM_SecurityStatusUser
{
  [key] uint32 key;
  [read : ToSubclass] boolean HasConnectedAccount;
  uint32 ConnectedAccountPolicy;
  [read : ToSubclass] uint32 PasswordStatus;
  [read : ToSubclass] uint32 EncryptionStatus;
  uint32 DeviceEncryptionPolicy;
};

[locale(1033),dynamic : ToInstance,provider("MDMSettingsProv") : ToInstance] 
class MDM_SideLoader
{
  [key] uint32 key;
  string ProductKeyHash;
  [implemented,static : ToSubclass DisableOverride] uint32 ActivateKey([In] string ProductKey);
  [implemented,static : ToSubclass DisableOverride] uint32 AddCertificate([In] string CertificateBlob);
  [implemented,static : ToSubclass DisableOverride] uint32 UnActivateLOB();
};

[locale(1033),dynamic : ToInstance,provider("MDMSettingsProv") : ToInstance] 
class MDM_Updates
{
  [key] uint32 key;
  uint32 AutoUpdatePolicy;
};

[locale(1033),dynamic : ToInstance,provider("MDMSettingsProv") : ToInstance] 
class MDM_VpnApplicationTrigger
{
  [key] string ApplicationID;
  boolean TriggerEnabledInAllMDMProfiles;
};

[locale(1033),dynamic : ToInstance,provider("MDMSettingsProv") : ToInstance] 
class MDM_WNSChannel
{
  [key] string AppId;
  string UserSID;
  string Channel;
  datetime ExpirationTime;
  [ValueMap{"0", "1"} : ToSubclass] uint32 ChannelStatus;
  uint32 LastError;
};

[locale(1033),dynamic : ToInstance,provider("MDMSettingsProv") : ToInstance] 
class MDM_WNSConfiguration
{
  [key] string AppId;
  uint32 ConfigurationStatus;
  [implemented,static : ToSubclass DisableOverride] uint32 UpdateConfiguration([In] string ConfigString);
};

[InPartition{"local-user"} : ToSubclass,locale(1033),dynamic : ToInstance,provider("MDMSettingsProv") : ToInstance] 
class MDM_WirelessProfile
{
  [key] string Name;
  string SSID;
  boolean ConnectWhenNotBroadcasting;
  boolean AutoConnect;
  [ValueMap{"1", "2"} : ToSubclass] uint8 ConnectionType;
  boolean ConnectToMorePreferedNetwork;
  [ValueMap{"1", "2", "3", "4", "5", "6", "7"} : ToSubclass] uint8 SecurityAuthentication;
  [ValueMap{"1", "2", "3", "4"} : ToSubclass] uint8 SecurityEncryption;
  boolean PMKCacheMode;
  uint32 PMKCacheSize;
  uint32 PMKCacheTTL;
  boolean PreAuthMode;
  uint32 PreAuthThrottle;
  boolean EnableFIPSCompliance;
  [ValueMap{"1", "2"} : ToSubclass] uint8 SharedKeyType;
  string SharedKeyMaterial;
  boolean SharedKeyProtected;
  boolean OneXCacheUserData;
  [ValueMap{"1", "2", "3", "4"} : ToSubclass] uint8 OneXAuthenticationMode;
  [ValueMap{"1", "2"} : ToSubclass] uint8 OneXSingleSignOnType;
  uint32 OneXSingleSignOnMaxDelay;
  boolean OneXSingleSignOnAllowAdditionalDialogs;
  boolean OneXSingleSignOnUserBasedVirtualLAN;
  [ValueMap{"13", "18", "21", "23", "25", "50"} : ToSubclass] uint8 OneXEAPType;
  string OneXEAPXml;
};

[InPartition{"local-user"} : ToSubclass,locale(1033),dynamic : ToInstance,provider("MDMSettingsProv") : ToInstance] 
class MDM_WirelessProfileXml
{
  [key] string Name;
  string ProfileXml;
};
