Export (0) Print
Expand All

IMFMediaEngineEx::EnableWindowlessSwapchainMode method

Enables or disables windowless swap-chain mode.

Syntax


HRESULT EnableWindowlessSwapchainMode(
  [in]  BOOL fEnable
);

Parameters

fEnable [in]

If TRUE, windowless swap-chain mode is enabled.

Return value

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

Remarks

In windowless swap-chain mode, the Media Engine creates a windowless swap chain and presents video frames to the swap chain. To render the video, call IMFMediaEngineEx::GetVideoSwapchainHandle to get a handle to the swap chain, and then associate the handle with a Microsoft DirectComposition visual.

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:
© 2014 Microsoft