Graphics::ReleaseHdcInternal Method (IntPtr)

 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

This API supports the product infrastructure and is not intended to be used directly from your code.

Releases a handle to a device context.

Namespace:   System.Drawing
Assembly:  System.Drawing (in System.Drawing.dll)

public:
[SecurityPermissionAttribute(SecurityAction::LinkDemand, Flags = SecurityPermissionFlag::UnmanagedCode)]
void ReleaseHdcInternal(
	IntPtr hdc
)

Parameters

hdc
Type: System::IntPtr

Handle to a device context.

SecurityPermission

for access to unmanaged code. Related enumeration: UnmanagedCode.

.NET Framework
Available since 1.1
Return to top
Show: