In trying to get a grasp on creating windows (in Windows OS), I encountered this function definition
LRESULT CALLBACK Window::MsgRouter(HWND hwnd, UINT message, WPARAM wparam, LPARAM lparam)
(taken from here)
Me being only a beginner in C++ I interpreted that to mean that it's return type was both LRESULT and CALLBACK
Is CALLBACK some special type? My other question is, what is a WPARAM and an LPARAM?
Thanks in advance, ell.