mirror of
https://github.com/reactos/reactos.git
synced 2025-04-22 13:10:39 +00:00
[NTOS:IO]
- Get rid of some magic numbers svn path=/trunk/; revision=71110
This commit is contained in:
parent
552f1fd24d
commit
f860a631fc
1 changed files with 4 additions and 4 deletions
|
@ -2001,8 +2001,8 @@ IopLoadUnloadDriver(
|
||||||
*/
|
*/
|
||||||
Status = IopGetDriverObject(DriverObject,
|
Status = IopGetDriverObject(DriverObject,
|
||||||
&ServiceName,
|
&ServiceName,
|
||||||
(Type == 2 /* SERVICE_FILE_SYSTEM_DRIVER */ ||
|
(Type == SERVICE_FILE_SYSTEM_DRIVER ||
|
||||||
Type == 8 /* SERVICE_RECOGNIZER_DRIVER */));
|
Type == SERVICE_RECOGNIZER_DRIVER));
|
||||||
|
|
||||||
if (!NT_SUCCESS(Status))
|
if (!NT_SUCCESS(Status))
|
||||||
{
|
{
|
||||||
|
@ -2037,8 +2037,8 @@ IopLoadUnloadDriver(
|
||||||
Status = IopInitializeDriverModule(DeviceNode,
|
Status = IopInitializeDriverModule(DeviceNode,
|
||||||
ModuleObject,
|
ModuleObject,
|
||||||
&DeviceNode->ServiceName,
|
&DeviceNode->ServiceName,
|
||||||
(Type == 2 /* SERVICE_FILE_SYSTEM_DRIVER */ ||
|
(Type == SERVICE_FILE_SYSTEM_DRIVER ||
|
||||||
Type == 8 /* SERVICE_RECOGNIZER_DRIVER */),
|
Type == SERVICE_RECOGNIZER_DRIVER),
|
||||||
DriverObject);
|
DriverObject);
|
||||||
if (!NT_SUCCESS(Status))
|
if (!NT_SUCCESS(Status))
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in a new issue