TDirectDrawSurface
procedure ReleaseDC( const DeviceContext: HDC );
Calls the interface ReleaseDC method to release the HDC previously obtained with the GetDC method. See IDirectDrawSurface3::ReleaseDC for more information.