HRESULT ReleaseDC(HDC hDC);
Releases the hDC previously obtained with the IDirectDrawSurface::GetDC method.
·Returns DD_OK if successful, or one of the following error values otherwise:
| DDERR_GENERIC | DDERR_INVALIDOBJECT | 
| DDERR_INVALIDPARAMS | DDERR_SURFACELOST | 
| DDERR_UNSUPPORTED | 
hDC
The hDC previously obtained by IDirectDrawSurface::GetDC.
This method also unlocks the surface previously locked when the IDirectDrawSurface::GetDC method was called.