mirror of
https://github.com/reactos/reactos.git
synced 2024-10-06 01:13:38 +00:00
Added registry key for video devices that exists in Windows
svn path=/trunk/; revision=30986
This commit is contained in:
parent
ac99058ffc
commit
f6378b2c7f
|
@ -474,6 +474,14 @@ IntVideoPortFindAdapter(
|
||||||
DeviceExtension->RegistryPath.Buffer,
|
DeviceExtension->RegistryPath.Buffer,
|
||||||
DeviceExtension->RegistryPath.MaximumLength);
|
DeviceExtension->RegistryPath.MaximumLength);
|
||||||
|
|
||||||
|
RtlWriteRegistryValue(
|
||||||
|
RTL_REGISTRY_DEVICEMAP,
|
||||||
|
L"VIDEO",
|
||||||
|
L"MaxObjectNumber",
|
||||||
|
REG_DWORD,
|
||||||
|
&DeviceNumber,
|
||||||
|
sizeof(DeviceNumber));
|
||||||
|
|
||||||
/* FIXME: Allocate hardware resources for device. */
|
/* FIXME: Allocate hardware resources for device. */
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|
|
Loading…
Reference in a new issue