Export (0) Print
Expand All

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


HRESULT WINAPI DwmSetPresentParameters(
  HWND hwnd,
  _Inout_  DWM_PRESENT_PARAMETERS *pPresentParams
);

Parameters

hwnd

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

pPresentParams [in, out]

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]

End of client support

Windows 8

End of server support

Windows Server 2012

Header

Dwmapi.h

Library

Dwmapi.lib

DLL

Dwmapi.dll

 

 

Community Additions

ADD
Show:
© 2014 Microsoft