Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc-2-2
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Redmine
Redmine
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Metrics
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
videolan
vlc-2-2
Commits
14de778f
Commit
14de778f
authored
Jan 15, 2013
by
Jean-Baptiste Kempf
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Win32: better eject code for UNICODE-APIs
parent
9356b6e4
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
modules/gui/eject.c
modules/gui/eject.c
+3
-3
No files found.
modules/gui/eject.c
View file @
14de778f
...
...
@@ -126,14 +126,14 @@ static int intf_Eject( vlc_object_t *p_this, const char *psz_device )
#if defined(WIN32)
MCI_OPEN_PARMS
op
;
DWORD
i_flags
;
char
psz_drive
[
4
];
TCHAR
psz_drive
[
4
];
memset
(
&
op
,
0
,
sizeof
(
MCI_OPEN_PARMS
)
);
op
.
lpstrDeviceType
=
(
LPCTSTR
)
MCI_DEVTYPE_CD_AUDIO
;
strcpy
(
psz_drive
,
"X:"
);
_tcscpy
(
psz_drive
,
TEXT
(
"X:"
)
);
psz_drive
[
0
]
=
psz_device
[
0
];
op
.
lpstrElementName
=
ToT
(
psz_drive
)
;
op
.
lpstrElementName
=
psz_drive
;
/* Set the flags for the device type */
i_flags
=
MCI_OPEN_TYPE
|
MCI_OPEN_TYPE_ID
|
...
...
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