diff options
author | Roland Rossgotterer <roland.rossgotterer@gmail.com> | 2019-01-07 14:49:28 +0100 |
---|---|---|
committer | Roland Rossgotterer <roland.rossgotterer@gmail.com> | 2019-01-09 08:42:10 +0000 |
commit | 166162d8305404e8fc820de91ef9f6d733b4657a (patch) | |
tree | f8af722ab73060ee13428089dc36f3e753abc7b6 /header.LGPL-ONLY | |
parent | 2780f80fae58ecd986c0695f9bc61cfb5b099dc0 (diff) |
Always access the 64-bit registry key to read MachineGuid
When running a 32bit application on a 64bit Windows, the call to open
the key
"HKLM/Software/Microsoft/Cryptography/MachineGuid"
will by default be redirect to
"HKLM/Software/WOW6432Node/Microsoft/Cryptography/MachineGuid"
which does not exist.
Instead access the 64bit key from either a 32bit or 64bit application.
KEY_WOW64_64KEY has no effect on 32bit Windows.
Change-Id: Ic5e13f99d08aef2658d58a52cffe66dbab0510b8
Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
Diffstat (limited to 'header.LGPL-ONLY')
0 files changed, 0 insertions, 0 deletions