Reference

GetDC(3w)

NAME

GetDC (USER32.@)

SYNOPSIS

HDC GetDC
(
HWND hwnd
)

DESCRIPTION

Get a device context.

RETURNS

Success: Handle to the device context

Failure: NULL.

IMPLEMENTATION

Declared in "user_private.h".

Implemented in "dlls/user32/painting.c".

Debug channel "win".

History