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.
WinRemovePresParam (1.2)
                                                      Up Next Previous
────────────────────────────────────────────────────────────────────────────
 
#define INCL_WINSYS
 
BOOL WinRemovePresParam(hwnd, id)
HWND hwnd;    /* window handle                    */
ULONG id;     /* presentation parameter to remove */
 
The WinRemovePresParam function removes a presentation parameter.
 
Parameter  Description
────────────────────────────────────────────────────────────────────────────
 
hwnd       Identifies the window that contains the presentation parameters
           to remove.
 
id         Identifies the presentation parameter to remove. For a list of
           presentation parameters, see the Presentation parameters
           topic.
 
Return Value
 
The return value is TRUE if the function is successful or FALSE if an error
occurs.
 
Comments
 
When a presentation parameter is removed, a WM_PRESPARAMCHANGED message is
sent to all windows owned by the window calling the WinSetPresParam
function.
 
See Also
 
WinQueryPresParam, WinSetPresParam