Commit Graph

17 Commits

Author SHA1 Message Date
f5f3c951bf Additional goes and woes in the VS projects to get it all to work together.
snprintf definition should go in config.h
If Win32 is enabled and Joliet no, it fails. Joliet should be enabled.
vsnprintf definition should go in config.h
lseek64 is defined as _lseeki64 in Windows SDK.
types.h should go to correct place for manually created unistd.h in VS
Macros with arguments are defined differently in GCC than in VS.
2013-10-19 23:18:11 +01:00
c0d32b3e8c Ignore Release and Debug folders.
Windows SDK does have fcntl.h, snprintf, sys/stat.h, vsnprintf, windows.h and lseek64. Does not have inttypes.h. Modify config.h to reflect this.
Windows 8 WDK requires us to specify ddk headers will be used usermode.
__PRETTY_FUNCTION__ is defined in MingW but not in VS. Equal to __FUNCSIG__
DDK headers are not longer in a folder (as of Win8 WDK)
Windows SDK defines _snprintf, same as snprintf.
VS didn't like bool declarations to be inline to function return. Also, it's BOOL in Windows SDK.
Specific VS version.h should be used when using VS.

DOES COMPILE
2013-10-19 22:07:37 +01:00
R. Bernstein
abe5b84295 Multilanguage CD-Text from greenleon 2012-03-05 21:22:08 -05:00
R. Bernstein
d0b09d15ef More patches from the pbatard branch. 2012-03-04 14:37:07 -05:00
R. Bernstein
110ab30f17 Silence 'cont_###' set but not used warnings on MinGW
From pbatard branch.
Update copyright date on recently changed files.
2012-02-25 20:41:26 -05:00
rocky
22b544bde6 Fix a couple of sizeof syntax errors in converting sprintf to snprintf. See bug #34125. 2011-08-25 00:13:36 -04:00
R. Bernstein
9be0980337 Change a number of sprintf's to snprintf. 2011-05-27 17:50:56 -04:00
R. Bernstein
245a9a645f Clear sense request valid flag. 2010-02-09 21:35:00 -05:00
R. Bernstein
2d3b7d28b4 Add SCSI-MMC GET CONFIGURATION.
Add Frank Endres' disc type determination via MMC.
Be more careful to suffix with CDIO_MMC which I hope will reduce possible name conflicts.
2010-02-07 21:04:21 -05:00
R. Bernstein
e3a5e16cbb mmc.h: TEST_UNIT_READY MMC command opcode
device.h: Add DRIVER_OP_MMC_SENSE to driver_return_code_t.

win32_ioctl.c: work around MS bug where buffer sizes are 0 or 1. Set
return code status if sense data passed back. Translate bad parameter
MS Windows error into a driver_return_code_t error.

test/driver/mmc.c: Reinstate old logic now that the MS Windows driver
has been made to work more like other drivers and copes with some of
the MS Windows causing failure here.
2010-02-03 21:43:05 -05:00
R. Bernstein
991ea303d7 Add more doxygen comments as to sense request information means and add a typedef for mmc_sense_request.
Use this in win32_ioctl.c.
2010-02-03 05:22:20 -05:00
R. Bernstein
60b237a161 MS Windows iocontrol SCSI Passthrough fixes. Change test/driver/mmc.c - we
can't that when we get sense data, that we also gegt status back that pass through fails.
On MS Windows it doesn't seem to work that way.
2010-02-02 22:15:55 -05:00
R. Bernstein
8e9339917c Format windows error messages better. 2010-01-31 23:19:56 -05:00
R. Bernstein
5f10331adb MS Windows driver hacking hopefully to get closer to passing back sense data.
For now it seems that some pass-through direct doesn't work while the less-good passthrough does. Sigh.
2010-01-31 21:31:08 -05:00
R. Bernstein
a41cfed2a1 Add cdio_get_arg("scsi-tuple") for Win32 ioctl. 2010-01-29 23:25:59 -05:00
R. Bernstein
fe77f93bf7 Start to request sense data in DeviceIOControl of MS Windows. gnu_linux.c: small changes. 2010-01-01 05:52:52 -05:00
R. Bernstein
95f087cdc3 First commit after CVS conversion. Should be just administrative changes. 2008-11-29 00:56:26 -05:00