Commit ba15fcb6 authored by Jean-Baptiste Kempf's avatar Jean-Baptiste Kempf

CDROM: use CreateFileA for opening drive letters

If I understood correctly, drive letters are always ANSI
parent f469840d
......@@ -1016,7 +1016,7 @@ static int win32_vcd_open( vlc_object_t * p_this, const char *psz_dev,
sprintf( psz_win32_drive, "\\\\.\\%c:", psz_dev[0] );
p_vcddev->h_device_handle = CreateFile( psz_win32_drive, GENERIC_READ,
p_vcddev->h_device_handle = CreateFileA( psz_win32_drive, GENERIC_READ,
FILE_SHARE_READ | FILE_SHARE_WRITE,
NULL, OPEN_EXISTING,
FILE_FLAG_NO_BUFFERING |
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment