[MPlayer-dev-eng] [PATCH] VCD support for Windows (except Win9x)

Reimar Döffinger Reimar.Doeffinger at stud.uni-karlsruhe.de
Sun Mar 11 17:30:00 CET 2007


Hello,
On Sat, Mar 10, 2007 at 07:59:13PM +0800, Zuxy Meng wrote:
> +    hd = (HANDLE)_get_osfhandle(fd);
> +    if (!DeviceIoControl(hd, IOCTL_CDROM_READ_TOC, NULL, 0, &vcd->toc,
> +		sizeof(CDROM_TOC), &dwBytesReturned, NULL)) {

Hmm... it's fine that VCD won't work on win9x, but this means binaries
won't work (or even compile) at all anymore on it unless vcd is manually
and explicitly disabled.
Currently GetProcAddress is used for that kind of function in other
places IIRC.

Greetings,
Reimar Döffinger



More information about the MPlayer-dev-eng mailing list