mirror of
https://github.com/reactos/reactos.git
synced 2026-05-31 08:17:09 +08:00
[NTOS:OB] Use RtlInitUnicodeString for constant string
CORE-17637
This commit is contained in:
committed by
Jérôme Gardou
parent
8178996559
commit
3ad38f29b5
@@ -259,7 +259,7 @@ ObpCreateDosDevicesDirectory(VOID)
|
||||
* DosDevices directory \?? , for backward compatibility with
|
||||
* Windows NT-2000 systems.
|
||||
*/
|
||||
RtlCreateUnicodeString(&LinkName, L"\\DosDevices");
|
||||
RtlInitUnicodeString(&LinkName, L"\\DosDevices");
|
||||
RtlInitUnicodeString(&RootName, (PCWSTR)&ObpDosDevicesShortNameRoot);
|
||||
InitializeObjectAttributes(&ObjectAttributes,
|
||||
&LinkName,
|
||||
|
||||
Reference in New Issue
Block a user