The WindowProc function is an application-defined callback function that processes messages sent to a window.
LRESULT CALLBACK WindowProc(
HWND hwnd, |
// handle of window |
UINT uMsg, |
// message identifier |
WPARAM wParam, |
// first message parameter |
LPARAM lParam |
// second message parameter |
); |
The return value is the result of the message processing and depends on the message sent.
WindowProc is a placeholder for the application-defined function name.