Navigation:  ThinBASIC Modules > UI (User Interface) > Windows API >

Win_ReleaseDC

Previous pageReturn to chapter overviewNext page

 

Description

 

Releases a device context (DC), freeing it for use by other applications.

 

Syntax

 

n = Win_ReleaseDC(hWnd, lDC)

 

Returns

 

Numeric.

 

Parameters

 

Name

Type

Optional

Meaning

hWnd

Number

No

A handle to the window whose DC is to be released.

lDC

Number

No

A handle to the DC to be released.

 

Remarks

 

Restrictions

 

See also

 

Examples