The SetWindowWord function is obsolete. The GWW_ values are not supported. Win32-based applications should use the SetWindowLong function.
Window Classes Overview, Window Class Functions