Changeset 99828 in vbox for trunk/src/VBox/Additions/WINNT/SharedFolders
- Timestamp:
- May 17, 2023 1:48:57 PM (22 months ago)
- svn:sync-xref-src-repo-rev:
- 157464
- Location:
- trunk/src/VBox/Additions/WINNT/SharedFolders/driver
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Additions/WINNT/SharedFolders/driver/path.cpp
r98103 r99828 37 37 * Defined Constants And Macros * 38 38 *********************************************************************************************************************************/ 39 static UNICODE_STRING g_UnicodeBackslash = { 2, 4, L"\\" };39 static UNICODE_STRING g_UnicodeBackslash = { 2, 4, (PWSTR)L"\\" }; 40 40 41 41 -
trunk/src/VBox/Additions/WINNT/SharedFolders/driver/vbsf.cpp
r98103 r99828 1124 1124 NTSTATUS Status = STATUS_BAD_NETWORK_NAME; 1125 1125 1126 ULONG i; 1127 PWCHAR pwc; 1128 PWCHAR pwc1; 1129 1130 static PWCHAR spwszPrefix = L"\\Device\\VBoxMiniRdr\\;"; 1126 static WCHAR const s_wszPrefix[] = L"\\Device\\VBoxMiniRdr\\;"; 1131 1127 1132 1128 /* Unicode chars in the string. */ … … 1135 1131 1136 1132 /* Check that the name starts with correct prefix. */ 1137 pwc1 = &spwszPrefix[0]; 1138 pwc = ConnectionName->Buffer; 1133 PCWCHAR pwc1 = &s_wszPrefix[0]; 1134 PCWCHAR pwc = ConnectionName->Buffer; 1135 ULONG i; 1139 1136 for (i = 0; i < cConnectionName; i++, pwc1++, pwc++) 1140 1137 {
Note:
See TracChangeset
for help on using the changeset viewer.