#pragma autorecover
#pragma classflags ("safeupdate")
#pragma namespace("\\\\.\\Root\\Microsoft\\Windows\\PS_MMAgent")

Instance of __Win32Provider as $prov
{
  Name = "PS_MMAgent";
  ClsId = "{382AC1B5-9C16-4CCD-9D00-D5053977B8D6}";
  ImpersonationLevel = 1;
  HostingModel = "NetworkServiceHost";
  version = 1073741825;
};

Instance of __MethodProviderRegistration
{
  Provider = $prov;
};

[locale(1033)]
class MMAgentComponents
{
  [read] boolean ApplicationLaunchPrefetching;
  [read] boolean OperationAPI;
  [read] boolean PageCombining;
  [read] boolean ApplicationPreLaunch;
  [read] boolean MemoryCompression;
  [read] uint32 MaxOperationAPIFiles;
};

[locale(1033),dynamic : ToInstance,provider("PS_MMAgent") : ToInstance] 
class PS_MMAgent
{
  [implemented,static] uint32 Enable([in] boolean ApplicationLaunchPrefetching,[in] boolean OperationAPI,[in] boolean PageCombining,[in] boolean ApplicationPreLaunch,[in] boolean MemoryCompression);
  [implemented,static] uint32 Disable([in] boolean ApplicationLaunchPrefetching,[in] boolean OperationAPI,[in] boolean PageCombining,[in] boolean ApplicationPreLaunch,[in] boolean MemoryCompression);
  [implemented,static] uint32 Set([in] uint32 MaxOperationAPIFiles);
  [implemented,static] uint32 Get([EmbeddedInstance("MMAgentComponents"), out] MMAgentComponents cmdletOutput);
  [implemented,static] uint32 Debug([in] string PackageFullName,[in] boolean DisableDebugMode,[in] string PackageRelativeAppId);
};
