[VIDEOPRT]

- Create DEVICEMAP\VIDEO key with proper length. Fixes a bug exposed as "Arwinss unable to change resolution".
See issue #6838 for more details.

svn path=/trunk/; revision=55183
This commit is contained in:
Aleksey Bragin 2012-01-25 20:20:04 +00:00
parent 7594122962
commit 84c799fc9b

View file

@ -492,7 +492,7 @@ IntVideoPortFindAdapter(
DeviceVideoBuffer,
REG_SZ,
DeviceExtension->RegistryPath.Buffer,
DeviceExtension->RegistryPath.MaximumLength);
DeviceExtension->RegistryPath.Length);
RtlWriteRegistryValue(
RTL_REGISTRY_DEVICEMAP,