IDXGISwapChainMedia::SetPresentDuration method (dxgi1_3.h)
Requests a custom presentation duration (custom refresh rate).
Syntax
HRESULT SetPresentDuration(
UINT Duration
);
Parameters
Duration
The custom presentation duration, specified in hundreds of nanoseconds.
Return value
This method returns S_OK on success, or a DXGI error code on failure.
Requirements
Requirement | Value |
---|---|
Minimum supported client | Windows 8.1 [desktop apps only] |
Minimum supported server | Windows Server 2012 R2 [desktop apps only] |
Target Platform | Windows |
Header | dxgi1_3.h |
Library | Dxgi.lib |
See also
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for