DwmApiDwmEnableMMCSS Method
Notifies the Desktop Window Manager (DWM) to opt in to or out of
Multimedia Class Schedule Service (MMCSS) scheduling while the calling process is alive.
Namespace: DevCase.Win32.NativeMethodsAssembly: DevCase.net48 (in DevCase.net48.dll) Version: 6.0.0.0 (6.0)
XMLNS for XAML: Not mapped to an xmlns.
[DllImportAttribute("DwmApi.dll")]
public static HResult DwmEnableMMCSS(
bool enableMMCSS
)
<DllImportAttribute("DwmApi.dll">]
Public Shared Function DwmEnableMMCSS (
enableMMCSS As Boolean
) As HResult
Dim enableMMCSS As Boolean
Dim returnValue As HResult
returnValue = DwmApi.DwmEnableMMCSS(enableMMCSS)
public:
[DllImportAttribute(L"DwmApi.dll")]
static HResult DwmEnableMMCSS(
bool enableMMCSS
)
[<DllImportAttribute("DwmApi.dll")>]
static member DwmEnableMMCSS :
enableMMCSS : bool -> HResult
No code example is currently available or this language may not be supported.
- enableMMCSS Boolean
-
TRUE to instruct DWM to participate in MMCSS scheduling; FALSE to opt out or end participation in MMCSS scheduling.
HResult
If this function succeeds, it returns
S_OK.
Otherwise, it returns an
HResult error code.