WinQueryWindowDC (1.2)
◄Up► ◄Next► ◄Previous►
────────────────────────────────────────────────────────────────────────────
#define INCL_WINWINDOWMGR
HDC WinQueryWindowDC(hwnd)
HWND hwnd; /* handle of the window */
The WinQueryWindowDC function retrieves the device context created by a call
to the WinOpenWindowDC function for the specified window.
Parameter Description
────────────────────────────────────────────────────────────────────────────
hwnd Identifies the window that has the device context.
Return Value
The return value is the handle of the device context or NULL if an error
occurred.
See Also
WinOpenWindowDC
♦