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.
WinSetWindowBits (1.2)
Function Group  Overview                          Up Next Previous
────────────────────────────────────────────────────────────────────────────
 
#define INCL_WINWINDOWMGR
 
BOOL WinSetWindowBits(hwnd, index, flData, flMask);
HWND hwnd;       /* handle of the window */
SHORT index;     /* index of the bits    */
ULONG flData;    /* data to set          */
ULONG flMask;    /* mask of bits to set  */
 
The WinSetWindowBits function sets particular bits in the reserved memory of
a window.
 
Parameter  Description
────────────────────────────────────────────────────────────────────────────
 
hwnd       Identifies the window whose reserved memory is to be changed.
 
index      Specifies the zero-based index of the ULONG value to set. Valid
           values are in the range zero through the number of bytes of
           window data (for example, a value of 8 would be an index to the
           third long integer), or any of the QWL values described in the
           WinSetWindowULong function.
 
flData     Specifies the data to be written into the window's reserved
           memory.
 
flMask     Specifies a mask value. The mask contains 1 where data is to be
           written and 0 where the data is to be unchanged.
 
Return Value
 
The return value is TRUE if the function is successful or FALSE if an error
occurs.
 
See Also
 
WinSetWindowULong