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.

Mitglieder

IDirect3DDeviceManager9Schnittstelle erbt von der IUnknown-Schnittstelle. IDirect3DDeviceManager9 umfasst auch die folgenden Typen von Mitgliedern:

  • Methoden

Methoden

IDirect3DDeviceManager9Schnittstelle umfasst die folgenden Methoden.

Methode Beschreibung
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.

 

Hinweise

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.

Anforderungen

Mindestens unterstützter Client

Windows Vista

Mindestens unterstützter Server

Windows Server 2008

Header

Dxva2api.h

Siehe auch

Media Foundation Interfaces

Direct3D Device Manager