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>wndclass</b> window class http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
WNDCLASS             Window Class

typedef struct tagWNDCLASS {
    WORD    style;
    long    (FAR PASCAL *lpfnWndProc)();
    int     cbClsExtra;
    int     cbWndExtra;
    HANDLE  hInstance;
    HICON   hIcon;
    HCURSOR hCursor;
    HBRUSH  hbrBackground;
    LPSTR   lpszMenuName;
    LPSTR   lpszClassName;
} WNDCLASS;

typedef WNDCLASS     *PWNDCLASS;
typedef WNDCLASS NEAR *NPWNDCLASS;
typedef WNDCLASS FAR *LPWNDCLASS;


Callback function lpfnWndProc must point to a function declared as:

        BOOL FAR PASCAL WndProc(hWnd, wMsg, wParam, lParam)
        HWND hWnd;
        unsigned wMsg;
        WORD wParam;
        DWORD lParam;

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