mirror of
https://github.com/reactos/reactos.git
synced 2025-02-23 17:05:46 +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,
|
||||
&ServiceName,
|
||||
(Type == 2 /* SERVICE_FILE_SYSTEM_DRIVER */ ||
|
||||
Type == 8 /* SERVICE_RECOGNIZER_DRIVER */));
|
||||
(Type == SERVICE_FILE_SYSTEM_DRIVER ||
|
||||
Type == SERVICE_RECOGNIZER_DRIVER));
|
||||
|
||||
if (!NT_SUCCESS(Status))
|
||||
{
|
||||
|
@ -2037,8 +2037,8 @@ IopLoadUnloadDriver(
|
|||
Status = IopInitializeDriverModule(DeviceNode,
|
||||
ModuleObject,
|
||||
&DeviceNode->ServiceName,
|
||||
(Type == 2 /* SERVICE_FILE_SYSTEM_DRIVER */ ||
|
||||
Type == 8 /* SERVICE_RECOGNIZER_DRIVER */),
|
||||
(Type == SERVICE_FILE_SYSTEM_DRIVER ||
|
||||
Type == SERVICE_RECOGNIZER_DRIVER),
|
||||
DriverObject);
|
||||
if (!NT_SUCCESS(Status))
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue