Retro video games delivered to your door every month!
Click above to get retro games delivered to your door ever month!
X-Hacker.org- Win 2 API - <b>setclassword</b> set word value into window structure http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
SetClassWord         Set Word Value Into Window Structure

WORD SetClassWord(hWnd, nIndex, wNewWord)
HWND hWnd;
int nIndex;
WORD wNewWord;

                nIndex
        |----------------------------------------------|
        |GCW_CBCLSEXTRA    Additional Window Class Info|
        |GCW_CBWNDEXTRA    Additional Window Info      |
        |GCW_HBRBACKGROUND Handle to background brush  |
        |GCW_HCURSOR       Handle of cursor            |
        |GCW_HICON         Handle of icon              |
        |GCW_HMODULE       Handle of module            |
        |GCW_STYLE         Style bits                  |
        |Offset            Of cbClsExtra bytes         |
        +----------------------------------------------+

Returns:    Previous word from window structure.

See Also: GetClassLong

Online resources provided by: http://www.X-Hacker.org --- NG 2 HTML conversion by Dave Pearson