We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9e6b0b1 commit 8379c87Copy full SHA for 8379c87
win32ss/drivers/videoprt/videoprt.c
@@ -86,8 +86,8 @@ IntVideoPortAddDeviceMapLink(
86
L"VIDEO",
87
L"MaxObjectNumber",
88
REG_DWORD,
89
- &VideoPortMaxObjectNumber,
90
- sizeof(VideoPortMaxObjectNumber));
+ &DeviceNumber,
+ sizeof(DeviceNumber));
91
if (!NT_SUCCESS(Status))
92
{
93
ERR_(VIDEOPRT, "Failed to write MaxObjectNumber: 0x%X\n", Status);
@@ -101,7 +101,7 @@ IntVideoPortAddDeviceMapLink(
101
Status = IoCreateSymbolicLink(&SymlinkName, &DeviceName);
102
103
104
- ERR_(VIDEOPRT, "Failed to write MaxObjectNumber: 0x%X\n", Status);
+ ERR_(VIDEOPRT, "Failed to create symbolic link: 0x%X\n", Status);
105
return Status;
106
}
107
0 commit comments