win12.hlp (Table of Contents; Topic list)
Important Notice
The pages on this site contain documentation for very old MS-DOS software, purely for historical purposes. If you're looking for up-to-date documentation, particularly for programming, you should not rely on the information found here, as it will be woefully out of date.
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