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 |