mirror of
https://github.com/reactos/reactos.git
synced 2025-01-01 03:54:02 +00:00
[LOCALSPL]
Add the missing root backslash to the symbolic link path. Fixes CORE-13457 svn path=/trunk/; revision=75148
This commit is contained in:
parent
d5ed3d00c5
commit
b29844edd8
1 changed files with 2 additions and 2 deletions
|
@ -127,13 +127,13 @@ _InitializeLocalSpooler(void)
|
|||
const DWORD cchPrintersPath = _countof(wszPrintersPath) - 1;
|
||||
const WCHAR wszSpoolPath[] = L"\\spool";
|
||||
const DWORD cchSpoolPath = _countof(wszSpoolPath) - 1;
|
||||
const WCHAR wszSymbolicLinkValue[] = L"REGISTRY\\MACHINE\\SOFTWARE\\Microsoft\\Windows NT\\CurrentVersion\\Print\\Printers";
|
||||
const WCHAR wszSymbolicLinkValue[] = L"\\REGISTRY\\MACHINE\\SOFTWARE\\Microsoft\\Windows NT\\CurrentVersion\\Print\\Printers";
|
||||
const DWORD cbSymbolicLinkValue = sizeof(wszSymbolicLinkValue) - sizeof(WCHAR);
|
||||
|
||||
BOOL bReturnValue = FALSE;
|
||||
DWORD cbData;
|
||||
DWORD dwErrorCode;
|
||||
HKEY hKey;
|
||||
HKEY hKey = NULL;
|
||||
|
||||
// On startup, always create a volatile symbolic link in the registry if it doesn't exist yet.
|
||||
// "SYSTEM\CurrentControlSet\Control\Print\Printers" -> "SOFTWARE\Microsoft\Windows NT\CurrentVersion\Print\Printers"
|
||||
|
|
Loading…
Reference in a new issue