IDirect3DSurface9::ReleaseDC

A method of IDirect3DSurface9 which releases a device context handle.

Syntax
HRESULT ReleaseDC( HDC hdc );

Parameter
 hdc -  The device context to release.

Return Value
It will return D3D_OK if it succeeds. It will return D3DERR_INVALIDCALL if the parameter is invalid.

Requirements
 Header -  d3d9.h

 Library -  d3d9.lib