Share via


IVMRSurfaceAllocator9::TerminateDevice

 
Microsoft DirectShow 9.0

IVMRSurfaceAllocator9::TerminateDevice

The TerminateDevice method releases the Direct3D device.

Syntax

  HRESULT TerminateDevice(
  DWORD_PTR  dwID
);

Parameters

dwID

[in]  Application-defined identifier. This value is the same value that the application passed to the IVMRSurfaceAllocatorNotify9::AdviseSurfaceAllocator method in the dwUserID parameter.

Return Values

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

Value Description
S_OK The method succeeded.

Requirements

Header: Include D3d9.h, Vmr9.h.

Library: Use Strmiids.lib.

See Also