Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
CloseDeviceHandle
Collapse the table of content
Expand the table of content

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:
© 2015 Microsoft