Changeset 21218 in vbox for trunk/src/VBox/Additions/common/VBoxService/VBoxServiceUtils.cpp
- Timestamp:
- Jul 5, 2009 1:31:56 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Additions/common/VBoxService/VBoxServiceUtils.cpp
r19644 r21218 1 2 1 /* $Id$ */ 3 2 /** @file … … 26 25 *******************************************************************************/ 27 26 #ifdef RT_OS_WINDOWS 28 # include <windows.h>27 # include <Windows.h> 29 28 #endif 30 29 … … 33 32 #include <iprt/string.h> 34 33 35 #include <VBox/VBoxGuest .h>34 #include <VBox/VBoxGuestLib.h> 36 35 #include "VBoxServiceInternal.h" 37 36 … … 53 52 { 54 53 rc = RTStrCurrentCPToUtf8(&pszValueTemp, pszValue); 55 if (!RT_SUCCESS(rc)) 54 if (!RT_SUCCESS(rc)) 56 55 { 57 56 VBoxServiceError("vboxVMInfoThread: Failed to convert the value name \"%s\" to Utf8! Error: %Rrc\n", pszValue, rc); … … 92 91 #ifdef RT_OS_WINDOWS 93 92 /** @todo Use TCHAR here instead of LPC*STR crap. */ 94 BOOL VboxServiceGetFileString(LPCWSTR pszFileName, 95 LPWSTR pszBlock, 96 LPWSTR pszString, 93 BOOL VboxServiceGetFileString(LPCWSTR pszFileName, 94 LPWSTR pszBlock, 95 LPWSTR pszString, 97 96 PUINT puiSize) 98 97 { … … 149 148 150 149 BOOL VboxServiceGetFileVersion(LPCWSTR pszFileName, 151 DWORD* pdwMajor, 152 DWORD* pdwMinor, 153 DWORD* pdwBuildNumber, 150 DWORD* pdwMajor, 151 DWORD* pdwMinor, 152 DWORD* pdwBuildNumber, 154 153 DWORD* pdwRevisionNumber) 155 154 { … … 233 232 } 234 233 #endif /* !RT_OS_WINDOWS */ 234
Note:
See TracChangeset
for help on using the changeset viewer.