aboutsummaryrefslogtreecommitdiff
path: root/src/dutil/deputil.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/dutil/deputil.cpp')
-rw-r--r--src/dutil/deputil.cpp6
1 files changed, 3 insertions, 3 deletions
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(
33 __in_z LPCWSTR wzProviderKey, 33 __in_z LPCWSTR wzProviderKey,
34 __deref_out_z_opt LPWSTR* psczId, 34 __deref_out_z_opt LPWSTR* psczId,
35 __deref_out_z_opt LPWSTR* psczName, 35 __deref_out_z_opt LPWSTR* psczName,
36 __out_opt DWORD64* pqwVersion 36 __deref_out_z_opt LPWSTR* psczVersion
37 ) 37 )
38{ 38{
39 HRESULT hr = S_OK; 39 HRESULT hr = S_OK;
@@ -75,9 +75,9 @@ DAPI_(HRESULT) DepGetProviderInformation(
75 } 75 }
76 76
77 // Get the Version if requested and available. 77 // Get the Version if requested and available.
78 if (pqwVersion) 78 if (psczVersion)
79 { 79 {
80 hr = RegReadVersion(hkKey, vcszVersionValue, pqwVersion); 80 hr = RegReadString(hkKey, vcszVersionValue, psczVersion);
81 if (E_FILENOTFOUND == hr) 81 if (E_FILENOTFOUND == hr)
82 { 82 {
83 hr = S_OK; 83 hr = S_OK;