diff options
| author | Sean Hall <r.sean.hall@gmail.com> | 2020-08-29 21:30:21 -0500 |
|---|---|---|
| committer | Sean Hall <r.sean.hall@gmail.com> | 2020-10-24 20:03:38 -0500 |
| commit | d3bd9187857fb42218925c4b9192b25f82e81db6 (patch) | |
| tree | 343676fc10abebb08845ad8d2a390ef550a0a17b /src/dutil/deputil.cpp | |
| parent | d1d31466bb9f2e887a277807d60378afef9cc57d (diff) | |
| download | wix-d3bd9187857fb42218925c4b9192b25f82e81db6.tar.gz wix-d3bd9187857fb42218925c4b9192b25f82e81db6.tar.bz2 wix-d3bd9187857fb42218925c4b9192b25f82e81db6.zip | |
Update apuputil and deputil to not use DWORD64 for versions.
Diffstat (limited to 'src/dutil/deputil.cpp')
| -rw-r--r-- | src/dutil/deputil.cpp | 6 |
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; |
