Error c2065: “gwl_wndproc”: undeclared identifier [How to Solve]

Prompt GWL when porting 32-bit programs to 64 bit compilation_ Wndproc undeclared identifier
Solution: use gwlp_wndproc replaces GWL_wNDPROC

Read More: