Export (0) Print
Expand All

IDirect3DDeviceManager9::CloseDeviceHandle method

Closes a Direct3D device handle. Call this method to release a device handle retrieved by the IDirect3DDeviceManager9::OpenDeviceHandle method.

Syntax


HRESULT CloseDeviceHandle(
  [in]  HANDLE hDevice
);

Parameters

hDevice [in]

Handle to the Direct3D device.

Return value

The method returns an HRESULT. Possible values include, but are not limited to, those in the following table.

Return codeDescription
S_OK

The method succeeded.

E_HANDLE

Invalid handle.

 

Requirements

Minimum supported client

Windows Vista [desktop apps only]

Minimum supported server

Windows Server 2008 [desktop apps only]

Header

Dxva2api.h

See also

IDirect3DDeviceManager9
Direct3D Device Manager

 

 

Community Additions

ADD
Show:
© 2014 Microsoft