Creates an instance of the Microsoft DirectX Graphics Infrastructure (DXGI) Device Manager.
HRESULT MFCreateDXGIDeviceManager(
UINT *resetToken,
IMFDXGIDeviceManager **ppDeviceManager
)
resetToken
Type: UINT *
[out] Receives a token that identifies this instance of the DXGI Device Manager. Use this token when calling IMFDXGIDeviceManager::ResetDevice.
ppDeviceManager
Type: IMFDXGIDeviceManager **
[out] Receives a pointer to the IMFDXGIDeviceManager interface. The caller must release the interface.
Type: HRESULT
If this method succeeds, it returns S_OK. Otherwise, it returns an HRESULT error code.
Refer to Media Foundation return codes.
Header: Declared in mfapi.h.
Library: Use Mfplat.lib.