Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-fonts
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Aleksandr Isakov
wine-fonts
Commits
a9f7033f
Commit
a9f7033f
authored
Sep 06, 2019
by
Dmitry Timoshkov
Committed by
Vitaly Lipatov
Jul 30, 2022
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ntoskrnl.exe: Ignore CProCtrl initialization failure. (eterbug #13361).
Signed-off-by:
Dmitry Timoshkov
<
dmitry@baikal.ru
>
parent
75544b51
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
0 deletions
+9
-0
ntoskrnl.c
dlls/ntoskrnl.exe/ntoskrnl.c
+9
-0
No files found.
dlls/ntoskrnl.exe/ntoskrnl.c
View file @
a9f7033f
...
...
@@ -1572,10 +1572,19 @@ NTSTATUS WINAPI IoCreateDriver( UNICODE_STRING *name, PDRIVER_INITIALIZE init )
status
=
driver
->
driver_obj
.
DriverInit
(
&
driver
->
driver_obj
,
&
driver
->
driver_extension
.
ServiceKeyName
);
if
(
status
)
{
static
const
WCHAR
cproctrl
[]
=
{
'\\'
,
'D'
,
'r'
,
'i'
,
'v'
,
'e'
,
'r'
,
'\\'
,
'C'
,
'P'
,
'r'
,
'o'
,
'C'
,
't'
,
'r'
,
'l'
,
0
};
if
(
!
lstrcmpiW
(
name
->
Buffer
,
cproctrl
))
{
ERR
(
"DriverInit for %s failed: %#x, ignoring
\n
"
,
debugstr_us
(
name
),
status
);
goto
ignore_cproctrl_failure
;
}
IoDeleteDriver
(
&
driver
->
driver_obj
);
return
status
;
}
ignore_cproctrl_failure:
for
(
i
=
0
;
i
<=
IRP_MJ_MAXIMUM_FUNCTION
;
i
++
)
{
if
(
driver
->
driver_obj
.
MajorFunction
[
i
])
continue
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment