Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
VLC
Manage
Activity
Members
Labels
Plan
Issues
4k
Issue boards
Milestones
Code
Merge requests
454
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Analyze
Contributor analytics
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
VideoLAN
VLC
Commits
14de778f
Commit
14de778f
authored
12 years ago
by
Jean-Baptiste Kempf
Browse files
Options
Downloads
Patches
Plain Diff
Win32: better eject code for UNICODE-APIs
parent
9356b6e4
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
modules/gui/eject.c
+3
-3
3 additions, 3 deletions
modules/gui/eject.c
with
3 additions
and
3 deletions
modules/gui/eject.c
+
3
−
3
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
;
str
cpy
(
psz_drive
,
"X:"
);
_tcs
cpy
(
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
|
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment