mirror of
https://github.com/reactos/reactos.git
synced 2024-12-28 01:55:19 +00:00
c05a45e17e
It actually should look like '\\.\DISPLAY<n>' (since it comes from user mode),
which the function expects, and not '\\Device\\Video<n>', like done in the
kernel mode. Otherwise, passing wrong name causes a mismatch.
Fix the problem with video device access (failure with status 0xc0000022 when
trying to open it). Hence, it also fixes the following debug log spam:
'err: Could not open device \Device\Video0, 0xc0000022'.
Addendum to
|
||
---|---|---|
.. | ||
drivers | ||
gdi | ||
include | ||
printing | ||
reactx | ||
user | ||
CMakeLists.txt | ||
napi.h | ||
pch.h | ||
sys-stubs.S | ||
w32ksvc.db | ||
w32ksvc.h | ||
win32k.h | ||
win32k.rc | ||
win32k.spec | ||
win32kp.h |