mirror of
https://github.com/reactos/reactos.git
synced 2024-07-30 16:18:43 +00:00
- Make VideoPortCreateSecondaryDisplay() return an error instead of success, so that driver does not assume the SecondaryDeviceExtension was created for it.
- Add one more DPRINT() to show the size of Device Extension miniport has asked for. See issue #2672 for more details. svn path=/trunk/; revision=29325
This commit is contained in:
parent
6f2304890d
commit
82a49a076e
|
@ -203,6 +203,9 @@ IntVideoPortCreateAdapterDeviceObject(
|
||||||
swprintf(DeviceBuffer, L"\\Device\\Video%lu", DeviceNumber);
|
swprintf(DeviceBuffer, L"\\Device\\Video%lu", DeviceNumber);
|
||||||
RtlInitUnicodeString(&DeviceName, DeviceBuffer);
|
RtlInitUnicodeString(&DeviceName, DeviceBuffer);
|
||||||
|
|
||||||
|
DPRINT("HwDeviceExtension size is: 0x%x\n",
|
||||||
|
DriverExtension->InitializationData.HwDeviceExtensionSize);
|
||||||
|
|
||||||
/* Create the device object. */
|
/* Create the device object. */
|
||||||
Status = IoCreateDevice(
|
Status = IoCreateDevice(
|
||||||
DriverObject,
|
DriverObject,
|
||||||
|
@ -1165,7 +1168,7 @@ VideoPortCreateSecondaryDisplay(
|
||||||
IN ULONG Flag)
|
IN ULONG Flag)
|
||||||
{
|
{
|
||||||
DPRINT1("VideoPortCreateSecondaryDisplay: Unimplemented.\n");
|
DPRINT1("VideoPortCreateSecondaryDisplay: Unimplemented.\n");
|
||||||
return NO_ERROR;
|
return ERROR_DEV_NOT_EXIST;
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|
|
Loading…
Reference in a new issue