IMFDXGIDeviceManager interface
Enables two threads to share the same Microsoft Direct3D 11 device.
Members
The IMFDXGIDeviceManager interface inherits from the IUnknown interface. IMFDXGIDeviceManager also has these types of members:
Methods
The IMFDXGIDeviceManager interface has these methods.
| Method | Description |
|---|---|
| CloseDeviceHandle |
Closes a Direct3D device handle. |
| GetVideoService |
Queries the Direct3D device for an 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 Microsoft DirectX Graphics Infrastructure (DXGI) Device Manager. To create the DXGI Device Manager, call the MFCreateDXGIDeviceManager function.
When you create an IMFDXGIDeviceManager with MFCreateDXGIDeviceManager, a Direct3D 11 device is not associated with the device manager. To associate a Direct3D 11 device with the device manager, call IMFDXGIDeviceManager::ResetDevice, passing in the pointer to the Direct3D 11 device. To create a Direct3D 11 device, call D3D11CreateDevice. The device should be created with the D3D11_CREATE_DEVICE_VIDEO_SUPPORT device creation flag which is defined in the D3D11_CREATE_DEVICE_FLAG enumeration.
For Microsoft Direct3D 9 devices, use the IDirect3DDeviceManager9 interface.
Windows Store apps must use IMFDXGIDeviceManager and Direct3D 11 Video APIs.
Requirements
|
Minimum supported client |
Windows 8 [desktop apps | Windows Store apps] |
|---|---|
|
Minimum supported server |
Windows Server 2012 [desktop apps | Windows Store apps] |
|
Header |
|
See also