mirror of
https://github.com/winfsp/winfsp.git
synced 2025-04-23 17:03:12 -05:00
dll: np: DeviceName
This commit is contained in:
parent
d38afe8d16
commit
fb507fc0bc
@ -1043,6 +1043,13 @@ NTSTATUS FspNpRegister(VOID)
|
|||||||
if (ERROR_SUCCESS != RegResult)
|
if (ERROR_SUCCESS != RegResult)
|
||||||
goto close_and_exit;
|
goto close_and_exit;
|
||||||
|
|
||||||
|
RegResult = RegSetValueExW(RegKey,
|
||||||
|
L"DeviceName", 0, REG_SZ,
|
||||||
|
(PVOID)L"\\Device\\" FSP_FSCTL_MUP_DEVICE_NAME,
|
||||||
|
sizeof L"\\Device\\" FSP_FSCTL_MUP_DEVICE_NAME);
|
||||||
|
if (ERROR_SUCCESS != RegResult)
|
||||||
|
goto close_and_exit;
|
||||||
|
|
||||||
RegCloseKey(RegKey);
|
RegCloseKey(RegKey);
|
||||||
|
|
||||||
RegResult = RegOpenKeyExW(
|
RegResult = RegOpenKeyExW(
|
||||||
|
Loading…
x
Reference in New Issue
Block a user