DwmModifyPreviousDxFrameDuration function
Changes the number of monitor refreshes through which the previous frame will be displayed.
DwmModifyPreviousDxFrameDuration is no longer supported. Starting with Windows 8.1, calls to DwmModifyPreviousDxFrameDuration always return E_NOTIMPL.
Syntax
HRESULT WINAPI DwmModifyPreviousDxFrameDuration( HWND hwnd, INT cRefreshes, BOOL fRelative );
Parameters
- hwnd
-
The handle to the window for which the new duration is applied to the previous frame.
- cRefreshes
-
The number of refreshes to apply to the previous frame.
- fRelative
-
TRUE if the value given in cRefreshes is relative to the current value (added to or subtracted from it); FALSE if the value replaces the current value.
Return value
This function always returns S_OK, even when DWM is not running.
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 |
|
|
Library |
|
|
DLL |
|