Changeset 99828 in vbox for trunk/src/VBox/Installer/win
- Timestamp:
- May 17, 2023 1:48:57 PM (22 months ago)
- svn:sync-xref-src-repo-rev:
- 157464
- Location:
- trunk/src/VBox/Installer/win/InstallHelper
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Installer/win/InstallHelper/VBoxCommon.cpp
r98103 r99828 46 46 /** @todo r=bird: why do we need to query the size first and then the data. 47 47 * The API should be perfectly capable of doing that without our help. */ 48 WCHAR wcDummy = 0; 48 49 DWORD cwcNeeded = 0; 49 UINT uiRet = MsiGetPropertyW(hMsi, pwszName, L"", &cwcNeeded);50 UINT uiRet = MsiGetPropertyW(hMsi, pwszName, &wcDummy, &cwcNeeded); 50 51 if (uiRet == ERROR_MORE_DATA) 51 52 { -
trunk/src/VBox/Installer/win/InstallHelper/VBoxInstallHelper.cpp
r98103 r99828 772 772 773 773 /** RTPathAppend-like function. */ 774 static UINT AppendToPath(wchar_t *pwszPath, size_t cwcPath, wchar_t *pwszAppend, bool fDoubleTerm = false)774 static UINT AppendToPath(wchar_t *pwszPath, size_t cwcPath, const wchar_t *pwszAppend, bool fDoubleTerm = false) 775 775 { 776 776 size_t cwcCurPath = RTUtf16Len(pwszPath); … … 792 792 793 793 /** RTPathJoin-like function. */ 794 static UINT JoinPaths(wchar_t *pwszPath, size_t cwcPath, wchar_t *pwszPath1, wchar_t *pwszAppend, bool fDoubleTerm = false)794 static UINT JoinPaths(wchar_t *pwszPath, size_t cwcPath, wchar_t *pwszPath1, const wchar_t *pwszAppend, bool fDoubleTerm = false) 795 795 { 796 796 size_t cwcCurPath = RTUtf16Len(pwszPath1);
Note:
See TracChangeset
for help on using the changeset viewer.