Windows apps
Collapse the table of content
Expand the table of content
Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

IDXGISwapChainMedia::SetPresentDuration method

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

Minimum supported client

Windows 8.1 [desktop apps only]

Minimum supported server

Windows Server 2012 R2 [desktop apps only]

Header

Dxgi1_3.h

Library

Dxgi.lib

See also

IDXGISwapChainMedia

 

 

Show:
© 2017 Microsoft