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.

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

 

 

Show:
© 2017 Microsoft