Skip to content

Commit 5bca603

Browse files
committed
[WIN32SS][NTOSKRNL] Multimonitor Hacks
1 parent fdeca75 commit 5bca603

File tree

2 files changed

+1
-7
lines changed

2 files changed

+1
-7
lines changed

ntoskrnl/io/pnpmgr/devaction.c

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1226,12 +1226,6 @@ PiInitializeDevNode(
12261226
DPRINT1("Duplicate device instance '%wZ'\n", &InstancePathU);
12271227
DPRINT1("Current instance parent: '%wZ'\n", &DeviceNode->Parent->InstancePath);
12281228
DPRINT1("Old instance parent: '%wZ'\n", &OldDeviceNode->Parent->InstancePath);
1229-
1230-
KeBugCheckEx(PNP_DETECTED_FATAL_ERROR,
1231-
0x01,
1232-
(ULONG_PTR)DeviceNode->PhysicalDeviceObject,
1233-
(ULONG_PTR)OldDeviceObject,
1234-
0);
12351229
}
12361230

12371231
DeviceNode->InstancePath = InstancePathU;

win32ss/drivers/videoprt/videoprt.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1665,7 +1665,7 @@ VideoPortCreateSecondaryDisplay(
16651665
PDEVICE_OBJECT DeviceObject;
16661666
PVIDEO_PORT_DEVICE_EXTENSION FirstDeviceExtension, DeviceExtension;
16671667
NTSTATUS Status;
1668-
1668+
return ERROR_DEV_NOT_EXIST;
16691669
ASSERT(SecondaryDeviceExtension);
16701670

16711671
if (Flag != 0)

0 commit comments

Comments
 (0)