This function obtains the unsigned short integer value at a specified offset from the reserved window word's memory 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. */
USHORT    usValue;  /*  Value contained in the indicated window word. */

usValue = WinQueryWindowUShort(hwnd, index);


[Back] [Next]