dll: np: DeviceName

This commit is contained in:
Bill Zissimopoulos 2018-01-16 13:38:49 -08:00
parent d38afe8d16
commit fb507fc0bc
No known key found for this signature in database
GPG Key ID: 3D4F95D52C7B3EA3

View File

@ -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(