[Overview][Types][Procedures and functions][Variables][Index] Reference for unit 'LCLIntf' (#lcl)

ReleaseDC

Releases an Device Context obtained by GetDC.

Declaration

Source position: winapih.inc line 224

function ReleaseDC(

  hWnd: HWND;

  DC: HDC

):Integer;

Arguments

hWnd

  

The window associated with the DC.

Function result

Zero on failure.

See also

DeleteDC

  

Deletes an Device Context, created by CreateDC.

The latest version of this document can be found at lazarus-ccr.sourceforge.net.