I couldn't understand how WNDPROC(in WNDCLASS) works. How can i make a callback function similar to that? Please advice.