mirror of
https://github.com/reactos/reactos.git
synced 2024-12-28 18:15:11 +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
|
||
---|---|---|
.. | ||
dib | ||
diblib | ||
eng | ||
gdi32 | ||
ntgdi |