Table of Contents

Class User

Namespace
CADability
Assembly
CADability.dll

The user32 functions CADability needs for OpenGL: getting and releasing the device context of a window.

public static class User
Inheritance
User
Inherited Members

Methods

GetDC(nint)

public static extern nint GetDC(nint windowHandle)

Parameters

windowHandle nint

Returns

nint

ReleaseDC(nint, nint)

public static extern bool ReleaseDC(nint windowHandle, nint deviceContext)

Parameters

windowHandle nint
deviceContext nint

Returns

bool