mirror of
https://github.com/ApfelTeeSaft/reactos.git
synced 2026-09-03 12:23:25 +00:00
[SCSIPORT]
- Use kernel handles instead of process handles svn path=/trunk/; revision=63945
This commit is contained in:
@@ -5296,7 +5296,7 @@ SpiBuildDeviceMap (PSCSI_PORT_DEVICE_EXTENSION DeviceExtension,
|
||||
L"\\Registry\\Machine\\Hardware\\DeviceMap\\Scsi");
|
||||
InitializeObjectAttributes(&ObjectAttributes,
|
||||
&KeyName,
|
||||
OBJ_CASE_INSENSITIVE | OBJ_OPENIF,
|
||||
OBJ_CASE_INSENSITIVE | OBJ_OPENIF | OBJ_KERNEL_HANDLE,
|
||||
0,
|
||||
NULL);
|
||||
Status = ZwCreateKey(&ScsiKey,
|
||||
@@ -5323,7 +5323,7 @@ SpiBuildDeviceMap (PSCSI_PORT_DEVICE_EXTENSION DeviceExtension,
|
||||
NameBuffer);
|
||||
InitializeObjectAttributes(&ObjectAttributes,
|
||||
&KeyName,
|
||||
0,
|
||||
OBJ_KERNEL_HANDLE,
|
||||
ScsiKey,
|
||||
NULL);
|
||||
Status = ZwCreateKey(&ScsiPortKey,
|
||||
|
||||
Reference in New Issue
Block a user