Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-winehq
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-winehq
Commits
21a7cc6f
Commit
21a7cc6f
authored
Jul 19, 2014
by
Thomas Faber
Committed by
Alexandre Julliard
Jul 21, 2014
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
mpr: Do not omit mandatory argument to DeviceIoControl.
parent
b5bcc63f
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
1 deletion
+2
-1
wnet.c
dlls/mpr/wnet.c
+2
-1
No files found.
dlls/mpr/wnet.c
View file @
21a7cc6f
...
...
@@ -1763,6 +1763,7 @@ static DWORD get_drive_connection( WCHAR letter, LPWSTR remote, LPDWORD size )
struct
mountmgr_unix_drive
*
data
=
(
struct
mountmgr_unix_drive
*
)
buffer
;
HANDLE
mgr
;
DWORD
ret
=
WN_NOT_CONNECTED
;
DWORD
bytes_returned
;
if
((
mgr
=
CreateFileW
(
MOUNTMGR_DOS_DEVICE_NAME
,
GENERIC_READ
|
GENERIC_WRITE
,
FILE_SHARE_READ
|
FILE_SHARE_WRITE
,
NULL
,
OPEN_EXISTING
,
...
...
@@ -1774,7 +1775,7 @@ static DWORD get_drive_connection( WCHAR letter, LPWSTR remote, LPDWORD size )
memset
(
data
,
0
,
sizeof
(
*
data
)
);
data
->
letter
=
letter
;
if
(
DeviceIoControl
(
mgr
,
IOCTL_MOUNTMGR_QUERY_UNIX_DRIVE
,
data
,
sizeof
(
*
data
),
data
,
sizeof
(
buffer
),
NULL
,
NULL
))
data
,
sizeof
(
buffer
),
&
bytes_returned
,
NULL
))
{
char
*
p
,
*
mount_point
=
buffer
+
data
->
mount_point_offset
;
DWORD
len
;
...
...
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