What is the proper way to port a 32 bit application to a 64 bit driver? My application needs to pass Structs to the 64 bit driver in order to share allocated memory. These structures often contain pointers which result in a byte offsets in the kernel driver.
How can I use a 32 bit pointer in the 64 bit kernel? User code is written in c++ and kernel code is in c. I am working in VS2010 on a Win7x64 machine.
I would like to keep the user code compatible with both x86 and x64 to make builds/deployments easier in the future.