Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
SetDirectXManager
Collapse the table of content
Expand the table of content

IMFVideoSampleAllocator::SetDirectXManager method

Specifies the Direct3D device manager for the video media sink to use.

Syntax


HRESULT SetDirectXManager(
  [in] IUnknown *pManager
);

Parameters

pManager [in]

Pointer to the IUnknown interface of the Direct3D device manager. The media sink queries this pointer for the IDirect3DDeviceManager9 interface.

Return value

The method returns an HRESULT. Possible values include, but are not limited to, those in the following table.

Return codeDescription
S_OK

The method succeeded.

 

Remarks

The media sink uses the Direct3D device manager to obtain a pointer to the Direct3D device, which it uses to allocate Direct3D surfaces. The device manager enables multiple objects in the pipeline (such as a video renderer and a video decoder) to share the same Direct3D device.

Requirements

Minimum supported client

Windows Vista [desktop apps | Windows Store apps]

Minimum supported server

Windows Server 2008 [desktop apps | Windows Store apps]

Header

Mfidl.h

Library

Mfuuid.lib

See also

IMFVideoSampleAllocator

 

 

Community Additions

ADD
Show:
© 2015 Microsoft