result is now DWORD instead of LPVOID