<< Click to Display Table of Contents >> Navigation: ThinBASIC Modules > UI (User Interface) > Windows API > Win_DeleteDC |
Description
Deletes the specified device context (DC).
Syntax
n = Win_DeleteDC(hDC)
Returns
Number.
If the function succeeds, the return value is nonzero.
If the function fails, the return value is zero.
Parameters
Name |
Type |
Optional |
Meaning |
hDC |
Number |
No |
A handle to the device context. |
Remarks
An application must not delete a DC whose handle was obtained by calling the Win_GetDC function.
Instead, it must call the Win_ReleaseDC function to free the DC.
Restrictions
See also
Examples