DwmSetPresentParameters function

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

DWMAPI DwmSetPresentParameters(
  HWND                   hwnd,
  DWM_PRESENT_PARAMETERS *pPresentParams
);

Parameters

hwnd

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

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

   
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