From d3bd9187857fb42218925c4b9192b25f82e81db6 Mon Sep 17 00:00:00 2001 From: Sean Hall Date: Sat, 29 Aug 2020 21:30:21 -0500 Subject: Update apuputil and deputil to not use DWORD64 for versions. --- src/dutil/deputil.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/dutil/deputil.cpp') diff --git a/src/dutil/deputil.cpp b/src/dutil/deputil.cpp index b2db0dd6..d65c4348 100644 --- a/src/dutil/deputil.cpp +++ b/src/dutil/deputil.cpp @@ -33,7 +33,7 @@ DAPI_(HRESULT) DepGetProviderInformation( __in_z LPCWSTR wzProviderKey, __deref_out_z_opt LPWSTR* psczId, __deref_out_z_opt LPWSTR* psczName, - __out_opt DWORD64* pqwVersion + __deref_out_z_opt LPWSTR* psczVersion ) { HRESULT hr = S_OK; @@ -75,9 +75,9 @@ DAPI_(HRESULT) DepGetProviderInformation( } // Get the Version if requested and available. - if (pqwVersion) + if (psczVersion) { - hr = RegReadVersion(hkKey, vcszVersionValue, pqwVersion); + hr = RegReadString(hkKey, vcszVersionValue, psczVersion); if (E_FILENOTFOUND == hr) { hr = S_OK; -- cgit v1.2.3-55-g6feb