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.
WinQuerySysValue (1.2)
◄Function Group►  ◄Changes►                           ◄Up► ◄Next► ◄Previous►
────────────────────────────────────────────────────────────────────────────
 
#define INCL_WINSYS
 
LONG WinQuerySysValue(hwndDesktop, iSysValue)
HWND hwndDesktop;    /* handle of desktop        */
SHORT iSysValue;     /* system value to retrieve */
 
The WinQuerySysValue function retrieves a specified system value.
 
Parameter    Description
────────────────────────────────────────────────────────────────────────────
 
hwndDesktop  Identifies the desktop window. This parameter can be
             HWND_DESKTOP or the desktop window handle.
 
iSysValue    Specifies the system value. For a list of the system values,
             see the ◄System values► topic.
 
Return Value
 
The return value is the system value if the function is successful, or zero
if an error occurs.
 
See Also
 
WinSetSysValue
 
                                      ♦