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
fe23cd26
Commit
fe23cd26
authored
Oct 02, 2006
by
Michael Stefaniuc
Committed by
Alexandre Julliard
Oct 03, 2006
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
eject: Win64 printf format warning fixes.
parent
c8123e9d
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
4 deletions
+3
-4
Makefile.in
programs/eject/Makefile.in
+0
-1
eject.c
programs/eject/eject.c
+3
-3
No files found.
programs/eject/Makefile.in
View file @
fe23cd26
...
...
@@ -5,7 +5,6 @@ VPATH = @srcdir@
MODULE
=
eject.exe
APPMODE
=
-mconsole
IMPORTS
=
kernel32
EXTRADEFS
=
-DWINE_NO_LONG_AS_INT
C_SRCS
=
eject.c
...
...
programs/eject/eject.c
View file @
fe23cd26
...
...
@@ -74,16 +74,16 @@ static BOOL eject_cd( WCHAR drive )
WINE_TRACE
(
"ejecting %c:
\n
"
,
(
char
)
drive
);
if
(
!
DeviceIoControl
(
handle
,
FSCTL_DISMOUNT_VOLUME
,
NULL
,
0
,
NULL
,
0
,
&
result
,
NULL
))
WINE_WARN
(
"FSCTL_DISMOUNT_VOLUME failed with err %
l
d
\n
"
,
GetLastError
()
);
WINE_WARN
(
"FSCTL_DISMOUNT_VOLUME failed with err %d
\n
"
,
GetLastError
()
);
removal
.
PreventMediaRemoval
=
FALSE
;
if
(
!
DeviceIoControl
(
handle
,
IOCTL_STORAGE_MEDIA_REMOVAL
,
&
removal
,
sizeof
(
removal
),
NULL
,
0
,
&
result
,
NULL
))
WINE_WARN
(
"IOCTL_STORAGE_MEDIA_REMOVAL failed with err %
l
d
\n
"
,
GetLastError
()
);
WINE_WARN
(
"IOCTL_STORAGE_MEDIA_REMOVAL failed with err %d
\n
"
,
GetLastError
()
);
if
(
!
unmount_only
)
{
if
(
!
DeviceIoControl
(
handle
,
IOCTL_STORAGE_EJECT_MEDIA
,
NULL
,
0
,
NULL
,
0
,
&
result
,
NULL
))
WINE_WARN
(
"IOCTL_STORAGE_EJECT_MEDIA failed with err %
l
d
\n
"
,
GetLastError
()
);
WINE_WARN
(
"IOCTL_STORAGE_EJECT_MEDIA failed with err %d
\n
"
,
GetLastError
()
);
}
CloseHandle
(
handle
);
...
...
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