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>setclasslong</b> set long value into window structure http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
SetClassLong         Set Long Value Into Window Structure

LONG SetClassLong(hWnd, nIndex, lNewLong)
HWND hWnd;
int nIndex;
LONG lNewLong;

                   nIndex
        |-------------------------------------------|
        |GCL_MENUNAME   LPSTR to menu name or       |
        |GCL_WNDPROC    FARPROC to Window function  |
        |Offset         Of cbClsExtra bytes         |
        +-------------------------------------------+

Returns:    Previous long from Windows structure

See Also: GetClassWord

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