Don't hard code the size of void, on x86 the size is 4 and on x64 the s...

...ize is 8. Don't store pointers in a DWORD