IDirect3DDeviceManager9 interface
Enables two threads to share the same Direct3D 9 device, and provides access to the DirectX Video Acceleration (DXVA) features of the device.
Members
The IDirect3DDeviceManager9 interface inherits from the IUnknown interface. IDirect3DDeviceManager9 also has these types of members:
Methods
The IDirect3DDeviceManager9 interface has these methods.
| Method | Description |
|---|---|
| CloseDeviceHandle |
Closes a Direct3D device handle. |
| GetVideoService |
Gets a DirectX Video Acceleration (DXVA) service interface. |
| LockDevice |
Gives the caller exclusive access to the Direct3D device. |
| OpenDeviceHandle |
Gets a handle to the Direct3D device. |
| ResetDevice |
Sets the Direct3D device or notifies the device manager that the Direct3D device was reset. |
| TestDevice |
Tests whether a Direct3D device handle is valid. |
| UnlockDevice |
Unlocks the Direct3D device. |
Remarks
This interface is exposed by the Direct3D Device Manager. To create the Direct3D device manager, call DXVA2CreateDirect3DDeviceManager9.
To get this interface from the Enhanced Video Renderer (EVR), call IMFGetService::GetService. The service GUID is MR_VIDEO_ACCELERATION_SERVICE. For the DirectShow EVR filter, call GetService on the filter's pins.
The Direct3D Device Manager supports Direct3D 9 devices only. It does not support DXGI devices.
Windows Store apps must use IMFDXGIDeviceManager and Direct3D 11 Video APIs.
Requirements
|
Minimum supported client |
Windows Vista [desktop apps only] |
|---|---|
|
Minimum supported server |
Windows Server 2008 [desktop apps only] |
|
Header |
|
See also