From a96db4a508f1d1774500ab89f2c57e581fb5a13a Mon Sep 17 00:00:00 2001 From: Bob Arnson Date: Sun, 9 Jan 2022 23:23:51 -0500 Subject: Add registry bitness to RegUtil and BUtil. Fixes https://github.com/wixtoolset/issues/issues/6669. Fixes https://github.com/wixtoolset/issues/issues/6670. --- src/libs/dutil/WixToolset.DUtil/inc/regutil.h | 19 ++++++++++++++++--- 1 file changed, 16 insertions(+), 3 deletions(-) (limited to 'src/libs/dutil/WixToolset.DUtil/inc/regutil.h') 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( __in HKEY hkRoot, __in_z LPCWSTR wzSubKey, __in DWORD dwAccess, + __in REG_KEY_BITNESS kbKeyBitness, __in BOOL fVolatile, __in_opt SECURITY_ATTRIBUTES* pSecurityAttributes, __out HKEY* phk, @@ -162,7 +163,19 @@ HRESULT DAPI RegOpen( __in_z LPCWSTR wzSubKey, __in DWORD dwAccess, __out HKEY* phk - ); +); + +/******************************************************************** + RegOpenEx - opens a registry key. + +*********************************************************************/ +HRESULT DAPI RegOpenEx( + __in HKEY hkRoot, + __in_z LPCWSTR wzSubKey, + __in DWORD dwAccess, + __in REG_KEY_BITNESS kbKeyBitness, + __out HKEY* phk +); /******************************************************************** RegDelete - deletes a registry key (and optionally it's whole tree). @@ -379,7 +392,7 @@ HRESULT DAPI RegKeyReadNumber( __in HKEY hk, __in_z LPCWSTR wzSubKey, __in_z_opt LPCWSTR wzName, - __in BOOL f64Bit, + __in REG_KEY_BITNESS kbKeyBitness, __out DWORD* pdwValue ); @@ -392,7 +405,7 @@ BOOL DAPI RegValueExists( __in HKEY hk, __in_z LPCWSTR wzSubKey, __in_z_opt LPCWSTR wzName, - __in BOOL f64Bit + __in REG_KEY_BITNESS kbKeyBitness ); #ifdef __cplusplus -- cgit v1.2.3-55-g6feb