Note

Access to this page requires authorization. You can try signing in or .

Access to this page requires authorization. You can try .

IMFMediaEngineEx::GetVideoSwapchainHandle method (mfmediaengine.h)

Gets a handle to the windowless swap chain.

Syntax

HRESULT GetVideoSwapchainHandle(
 [out] HANDLE *phSwapchain
);

Parameters

[out] phSwapchain

Receives a handle to the swap chain.

Return value

If this method succeeds, it returns S_OK. Otherwise, it returns an HRESULT error code.

Remarks

To enable windowless swap-chain mode, call IMFMediaEngineEx::EnableWindowlessSwapchainMode.

Requirements

Requirement Value
Minimum supported client Windows 8 [desktop apps | UWP apps]
Minimum supported server Windows Server 2012 [desktop apps | UWP apps]
Target Platform Windows
Header mfmediaengine.h

See also

IMFMediaEngineEx


Feedback

Was this page helpful?

Additional resources