Migrating code from win32 to x64 is pretty simple, there are just a few things to pay attention to:
1. OnTimer(UINT nIDEvent) needs to rewrite to OnTimer(UINT_PTR nIDEvent)
2. DWORD SystemAffinity needs change to DWORD_PTR SystemAffinity
3. SetWindowLong now replaced with SetWindowLongPtr and its corresponding parameter GWL_* change to GWLP_*
4. glut32.lib needs be replaced with 64 bit lib. User can download Nvidia Cg package and get the 64 bit library
5. glAux.lib is deprecated and no replacement. Try to rewrite corresponding code or uses other similar libs.
6. register eax,ecx,ebp are replaced with new name Rax, Rcx, Rbp and etc.
7. All lib and dlls has to be 64 bits. Third party lib and dlls can be found on the internet.