[VIDEOPRT] Use new registry path

This commit is contained in:
Timo Kreuzer 2021-07-03 22:58:17 +02:00 committed by Hervé Poussineau
parent 066337dc84
commit af314557c0

View file

@ -74,8 +74,8 @@ IntVideoPortAddDeviceMapLink(
L"VIDEO",
DeviceBuffer,
REG_SZ,
DeviceExtension->RegistryPath.Buffer,
DeviceExtension->RegistryPath.Length + sizeof(UNICODE_NULL));
DeviceExtension->NewRegistryPath.Buffer,
DeviceExtension->NewRegistryPath.Length + sizeof(UNICODE_NULL));
if (!NT_SUCCESS(Status))
{
ERR_(VIDEOPRT, "Failed to create DEViCEMAP registry entry: 0x%X\n", Status);