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.
WinQuerySysModalWindow (1.2)
Function Group  Overview  Changes               Up Next Previous
────────────────────────────────────────────────────────────────────────────
 
#define INCL_WINWINDOWMGR
 
HWND WinQuerySysModalWindow(hwndDesktop, fLock)
HWND hwndDesktop;    /* handle of the desktop */
BOOL fLock;          /* lock/unlock flag      */
 
The WinQuerySysModalWindow function returns the current system modal
window.
 
Parameter    Description
────────────────────────────────────────────────────────────────────────────
 
hwndDesktop  Identifies the desktop window. This parameter can be
             HWND_DESKTOP or the desktop window handle.
 
fLock        This parameter is ignored by MS OS/2 versions 1.2 and later.
 
Return Value
 
The return value is the handle of the current system modal window. If there
is none, the return value is NULL.
 
See Also
 
WinLockWindow, WinSetSysModalWindow