Click or drag to resize

Win32WindowReleaseDC Method

Releases a device context (DC), freeing it for use by other applications. The effect of the ReleaseDC function depends on the type of DC. It frees only common and window DCs. It has no effect on class or private DCs.

Namespace:  ShellBoost.Core.Utilities
Assembly:  ShellBoost.Core (in ShellBoost.Core.dll) Version: 1.8.3.0
Syntax
C#
public bool ReleaseDC(
	IntPtr hdc
)

Parameters

hdc
Type: SystemIntPtr
A handle to the DC to be released.

Return Value

Type: Boolean
If the DC was released, the return value is true, otherwise it's false.
See Also