Windows Dev Center

IMFMediaEngineEx::GetVideoSwapchainHandle method

Gets a handle to the windowless swap chain.

Syntax


HRESULT GetVideoSwapchainHandle(
  [out] HANDLE *phSwapchain
);

Parameters

phSwapchain [out]

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

Minimum supported client

Windows 8 [desktop apps | Windows Store apps]

Minimum supported server

Windows Server 2012 [desktop apps | Windows Store apps]

Header

Mfmediaengine.h

See also

IMFMediaEngineEx

 

 

Community Additions

ADD
Show:
© 2015 Microsoft