Using KEY_WOW64_64KEY

Hi guys, will this work on both 32 bit and 64 bit machine ?

1
2
3
4
5
if(RegCreateKeyEx(HKEY_CURRENT_USER, 
      "Software\\MySoft", 
      0, NULL, 0, 
      KEY_ALL_ACCESS | KEY_WOW64_64KEY, NULL, 
      &hkey, NULL) == ERROR_SUCCESS)


thanks in advance
Topic archived. No new replies allowed.