DwmSetPresentParameters function (dwmapi.h)

Sets the present parameters for frame composition.

DwmSetPresentParameters is no longer supported. Starting with Windows 8.1, calls to DwmSetPresentParameters always return E_NOTIMPL.

Syntax

HRESULT DwmSetPresentParameters(
  [in]      HWND                   hwnd,
  [in, out] DWM_PRESENT_PARAMETERS *pPresentParams
);

Parameters

[in] hwnd

The handle to the window where the present parameters are applied.

[in, out] pPresentParams

A pointer to a DWM_PRESENT_PARAMETERS structure that contains DWM video frame parameters for frame composition.

Return value

This function always returns S_OK.

Requirements

Requirement Value
Minimum supported client Windows Vista [desktop apps only]
Minimum supported server Windows Server 2008 [desktop apps only]
Target Platform Windows
Header dwmapi.h
Library Dwmapi.lib
DLL Dwmapi.dll