Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-cw
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
wine
wine-cw
Commits
79b93fff
Commit
79b93fff
authored
Nov 01, 2011
by
Bernhard Loos
Committed by
Alexandre Julliard
Nov 08, 2011
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
mountmgr: Also call IoCompleteRequest in case of an error.
parent
a1377319
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
12 additions
and
3 deletions
+12
-3
mountmgr.c
dlls/mountmgr.sys/mountmgr.c
+12
-3
No files found.
dlls/mountmgr.sys/mountmgr.c
View file @
79b93fff
...
...
@@ -374,7 +374,10 @@ static NTSTATUS WINAPI mountmgr_ioctl( DEVICE_OBJECT *device, IRP *irp )
{
case
IOCTL_MOUNTMGR_QUERY_POINTS
:
if
(
irpsp
->
Parameters
.
DeviceIoControl
.
InputBufferLength
<
sizeof
(
MOUNTMGR_MOUNT_POINT
))
return
STATUS_INVALID_PARAMETER
;
{
irp
->
IoStatus
.
u
.
Status
=
STATUS_INVALID_PARAMETER
;
break
;
}
irp
->
IoStatus
.
u
.
Status
=
query_mount_points
(
irp
->
AssociatedIrp
.
SystemBuffer
,
irpsp
->
Parameters
.
DeviceIoControl
.
InputBufferLength
,
irpsp
->
Parameters
.
DeviceIoControl
.
OutputBufferLength
,
...
...
@@ -382,14 +385,20 @@ static NTSTATUS WINAPI mountmgr_ioctl( DEVICE_OBJECT *device, IRP *irp )
break
;
case
IOCTL_MOUNTMGR_DEFINE_UNIX_DRIVE
:
if
(
irpsp
->
Parameters
.
DeviceIoControl
.
InputBufferLength
<
sizeof
(
struct
mountmgr_unix_drive
))
return
STATUS_INVALID_PARAMETER
;
{
irp
->
IoStatus
.
u
.
Status
=
STATUS_INVALID_PARAMETER
;
break
;
}
irp
->
IoStatus
.
Information
=
0
;
irp
->
IoStatus
.
u
.
Status
=
define_unix_drive
(
irp
->
AssociatedIrp
.
SystemBuffer
,
irpsp
->
Parameters
.
DeviceIoControl
.
InputBufferLength
);
break
;
case
IOCTL_MOUNTMGR_QUERY_UNIX_DRIVE
:
if
(
irpsp
->
Parameters
.
DeviceIoControl
.
InputBufferLength
<
sizeof
(
struct
mountmgr_unix_drive
))
return
STATUS_INVALID_PARAMETER
;
{
irp
->
IoStatus
.
u
.
Status
=
STATUS_INVALID_PARAMETER
;
break
;
}
irp
->
IoStatus
.
u
.
Status
=
query_unix_drive
(
irp
->
AssociatedIrp
.
SystemBuffer
,
irpsp
->
Parameters
.
DeviceIoControl
.
InputBufferLength
,
irpsp
->
Parameters
.
DeviceIoControl
.
OutputBufferLength
,
...
...
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