This function obtains the unsigned long integer value, at a specified offset, from the memory of a reserved window word, of a given window.

#define INCL_WINWINDOWMGR /* Or use INCL_WIN, INCL_PM, */
#include <os2.h>

HWND     hwnd;     /*  Handle of window to be queried. */
LONG     index;    /*  Zero-based index into the window words of the value to be queried. */
ULONG    ulValue;  /*  Value contained in the window word. */

ulValue = WinQueryWindowULong(hwnd, index);


[Back] [Next]