diff options
author | Bob Arnson <bob@firegiant.com> | 2022-01-09 23:23:51 -0500 |
---|---|---|
committer | Bob Arnson <github@bobs.org> | 2022-01-10 00:47:18 -0500 |
commit | a96db4a508f1d1774500ab89f2c57e581fb5a13a (patch) | |
tree | 40de5d2904e564e28c04c5816fd7528f8f090e2c /src/libs/dutil/WixToolset.DUtil/inc/regutil.h | |
parent | bae756f4354fed4de6097c931590ccafc907fdb2 (diff) | |
download | wix-a96db4a508f1d1774500ab89f2c57e581fb5a13a.tar.gz wix-a96db4a508f1d1774500ab89f2c57e581fb5a13a.tar.bz2 wix-a96db4a508f1d1774500ab89f2c57e581fb5a13a.zip |
Add registry bitness to RegUtil and BUtil.
Fixes https://github.com/wixtoolset/issues/issues/6669.
Fixes https://github.com/wixtoolset/issues/issues/6670.
Diffstat (limited to 'src/libs/dutil/WixToolset.DUtil/inc/regutil.h')
-rw-r--r-- | src/libs/dutil/WixToolset.DUtil/inc/regutil.h | 19 |
1 files changed, 16 insertions, 3 deletions
diff --git a/src/libs/dutil/WixToolset.DUtil/inc/regutil.h b/src/libs/dutil/WixToolset.DUtil/inc/regutil.h index ae47f75e..db8e0c5c 100644 --- a/src/libs/dutil/WixToolset.DUtil/inc/regutil.h +++ b/src/libs/dutil/WixToolset.DUtil/inc/regutil.h | |||
@@ -147,6 +147,7 @@ HRESULT DAPI RegCreateEx( | |||
147 | __in HKEY hkRoot, | 147 | __in HKEY hkRoot, |
148 | __in_z LPCWSTR wzSubKey, | 148 | __in_z LPCWSTR wzSubKey, |
149 | __in DWORD dwAccess, | 149 | __in DWORD dwAccess, |
150 | __in REG_KEY_BITNESS kbKeyBitness, | ||
150 | __in BOOL fVolatile, | 151 | __in BOOL fVolatile, |
151 | __in_opt SECURITY_ATTRIBUTES* pSecurityAttributes, | 152 | __in_opt SECURITY_ATTRIBUTES* pSecurityAttributes, |
152 | __out HKEY* phk, | 153 | __out HKEY* phk, |
@@ -162,7 +163,19 @@ HRESULT DAPI RegOpen( | |||
162 | __in_z LPCWSTR wzSubKey, | 163 | __in_z LPCWSTR wzSubKey, |
163 | __in DWORD dwAccess, | 164 | __in DWORD dwAccess, |
164 | __out HKEY* phk | 165 | __out HKEY* phk |
165 | ); | 166 | ); |
167 | |||
168 | /******************************************************************** | ||
169 | RegOpenEx - opens a registry key. | ||
170 | |||
171 | *********************************************************************/ | ||
172 | HRESULT DAPI RegOpenEx( | ||
173 | __in HKEY hkRoot, | ||
174 | __in_z LPCWSTR wzSubKey, | ||
175 | __in DWORD dwAccess, | ||
176 | __in REG_KEY_BITNESS kbKeyBitness, | ||
177 | __out HKEY* phk | ||
178 | ); | ||
166 | 179 | ||
167 | /******************************************************************** | 180 | /******************************************************************** |
168 | RegDelete - deletes a registry key (and optionally it's whole tree). | 181 | RegDelete - deletes a registry key (and optionally it's whole tree). |
@@ -379,7 +392,7 @@ HRESULT DAPI RegKeyReadNumber( | |||
379 | __in HKEY hk, | 392 | __in HKEY hk, |
380 | __in_z LPCWSTR wzSubKey, | 393 | __in_z LPCWSTR wzSubKey, |
381 | __in_z_opt LPCWSTR wzName, | 394 | __in_z_opt LPCWSTR wzName, |
382 | __in BOOL f64Bit, | 395 | __in REG_KEY_BITNESS kbKeyBitness, |
383 | __out DWORD* pdwValue | 396 | __out DWORD* pdwValue |
384 | ); | 397 | ); |
385 | 398 | ||
@@ -392,7 +405,7 @@ BOOL DAPI RegValueExists( | |||
392 | __in HKEY hk, | 405 | __in HKEY hk, |
393 | __in_z LPCWSTR wzSubKey, | 406 | __in_z LPCWSTR wzSubKey, |
394 | __in_z_opt LPCWSTR wzName, | 407 | __in_z_opt LPCWSTR wzName, |
395 | __in BOOL f64Bit | 408 | __in REG_KEY_BITNESS kbKeyBitness |
396 | ); | 409 | ); |
397 | 410 | ||
398 | #ifdef __cplusplus | 411 | #ifdef __cplusplus |