Microsoft DirectX 9.0

IVMRSurfaceAllocator9::TerminateDevice

The TerminateDevice method releases the Direct3D device.

Syntax

HRESULT TerminateDevice(
  DWORD_PTR  dwID
);

Parameters

dwID

[in]  Specifies the ID that idientifies this instance of the VMR.

Return Values

The method returns an HRESULT. Possible values include those in the following table.

Value Description
S_OK The method succeeded.

See Also

Requirements

Include D3d9.h, Vmr9.h.