Commit Graph

95 Commits

Author SHA1 Message Date
Andrew Talbot a63749cce0 ntdll: Sign-compare warnings fix. 2008-10-24 14:25:00 +02:00
Andrew Talbot 741b65c200 ntdll: Remove unneeded address-of operators from array names. 2008-07-11 14:06:27 +02:00
Andrew Talbot 664349eacc ntdll: Remove unused variables. 2008-04-23 12:23:29 +02:00
Eric Pouech 2bbb39d601 ntdll: Removed conflict for FAILED (defined both in our winerror.h and in linux/scsi.h). 2008-03-05 11:20:10 +01:00
Alexandre Julliard 5b71d645f0 ntdll: Fall back to a server device ioctl for files with no associated fd. 2008-01-16 14:57:20 +01:00
Alexandre Julliard 572771ebfa ntdll: On Mac OS, close the CDROM device before opening the parent.
This is needed to allow ejecting DVD disks.
2007-08-29 16:44:16 +02:00
Alexandre Julliard ac1d912fb0 ntdll: Flesh out the stub for IOCTL_STORAGE_GET_DEVICE_NUMBER. 2007-08-22 12:19:00 +02:00
Tijl Coosemans 5fb1c16276 ntdll: Implement CDROM_Verify for FreeBSD. 2007-08-08 15:32:01 +02:00
Michael Stefaniuc 0f14b3a574 ntdll: Don't produce unreachable code during conditional compilation. Found by Smatch. 2007-07-19 11:57:23 +02:00
Andrew Talbot bd15feab4a ntdll: Constify some variables. 2007-06-26 12:54:33 +02:00
Alexandre Julliard e6ce0da2f9 ntdll: Implemented reading of the CDROM TOC on Mac OS. 2007-06-15 12:42:06 +02:00
Alexandre Julliard 9ff161860c ntdll: Added support for physically ejecting devices on Mac OS. 2006-12-21 14:14:20 +01:00
Alexandre Julliard 83ce958793 ntdll: Store the fd type in the cache and return it in server_get_unix_fd. 2006-11-20 14:15:06 +01:00
Alexandre Julliard 9ddb9294da ntdll: Added a server_get_unix_fd function that avoids doing a dup() of the fd when not required. 2006-11-03 11:38:44 +01:00
Hans Leidekker f7b0ba7aa7 ntdll: Win64 printf format warning fixes. 2006-10-18 12:35:26 +02:00
Paul Vriens 0c7ecacf47 ntdll: Don't do DVD_READ_STRUCTURE when inbuffer or outbuffer has issues (Coverity). 2006-09-20 20:03:32 +02:00
Jonathan Ernst 360a3f9142 Update the address of the Free Software Foundation. 2006-05-23 14:11:13 +02:00
Troy Rollo 90df5a967f ntdll: Fix DVD_ReadStructure's layout of layer information.
Fix DVD_ReadStructure to reflect what Windows actually does, not what
Microsoft (incorrectly) documents it to do and not what the DDK
headers (incorrectly) suggest it does.
2006-04-08 15:49:42 +02:00
Petr Tesarik 4c777d7466 ntdll: Fix CDROM raw reads.
- Fix incorrect data sizes.
- Fix CDDA addressing.
- Implement XAForm2 mode on Linux.
2006-03-29 14:00:58 +02:00
Troy Rollo 721621b34e ntdll: Implement DVD_ReadStructure. 2006-02-11 18:40:32 +01:00
Alexandre Julliard e21a97da85 Fixed some compiler warnings on Darwin. 2005-12-01 12:36:05 +01:00
Ge van Geldorp 1a1583a364 Match PSDK STATUS_* definitions. 2005-11-28 17:32:54 +01:00
Vitaliy Margolen 39e922ce72 Handle IOCTL_DISK_CHECK_VERIFY which is synonym for
IOCTL_STORAGE_CHECK_VERIFY.
2005-11-28 10:40:13 +01:00
Peter Beutner 4dcab2805c Proper implementation of IOCTL_{STORAGE,CDROM}_CHECK_VERIFY. 2005-10-26 10:13:09 +00:00
Alexandre Julliard f8ee161a1b Fixed some traces to use the right printf format and avoid typecasts. 2005-09-12 10:30:05 +00:00
Alexandre Julliard 20a1a203c6 Use a more portable scheme for storing the name of a critical
section.
2005-09-09 10:19:44 +00:00
Mike McCormack b5bd4a101a Fix gcc 4.0 warnings. 2005-09-02 14:47:36 +00:00
Vitaliy Margolen d27c7135ef Add trace to IOCTL_CDROM_RAW_READ. 2005-08-18 10:49:04 +00:00
Francois Gouget bcd56fe0e5 Assorted spelling fixes. 2005-08-12 18:22:06 +00:00
Tobias Gruetzmacher cdd75bd413 Reverse the direction of raw SCSI commands. 2005-08-08 11:02:32 +00:00
Vitaliy Margolen fa9c730cf6 Implement IOCTL_SCSI_GET_INQUIRY_DATA. 2005-08-03 10:55:12 +00:00
Vitaliy Margolen 0cb33a9d51 Fixed IOCTL_SCSI_GET_ADDRESS. 2005-08-01 14:50:59 +00:00
Vitaliy Margolen 1a7257e198 Fix IOCTL_CDROM_RAW_READ ioctl. 2005-07-20 10:28:27 +00:00
Gerald Pfeifer b8b15f3e6e Add a configure check for struct request_sense. Use this in
CDROM_ScsiPassThroughDir() and CDROM_ScsiPassThrough() to unbreak the
build on FreeBSD.
2005-07-10 17:42:46 +00:00
Phil Krylov 0f6c0394bf Fixed dlls/ntdll/cdrom.c compilation in Darwin by adding HAVE_IOKit
detection to configure and defining SENSEBUFLEN as kSenseDefaultSize
(which is corresponding IOKit enum value).
2005-07-01 19:15:26 +00:00
Gerald Pfeifer 643dc21738 Avoid unused variable warnings in CDROM_ScsiPassThroughDir() and
CDROM_ScsiPassThrough().
2005-06-30 10:19:26 +00:00
Mike Hearn 92a32db23e Fix GCC4 warning. 2005-06-29 19:18:54 +00:00
Dmitry Timoshkov cb7de15ebe A workaround for missing struct request_sense on FreeBSD. 2005-06-29 11:00:44 +00:00
Dmitry Timoshkov ea64a36a44 Add a check for sg_io_hdr_t and (not tested) check for scsireq_t
presence.
2005-06-27 12:07:49 +00:00
Mike McCormack 6b636e3e7b Use RTL_CRITICAL_SECTION instead of CRITICAL_SECTION. 2005-06-25 18:00:57 +00:00
Mike McCormack 04f9f1b066 Don't include winbase.h or winerror.h when not necessary. 2005-06-21 09:52:40 +00:00
Mike McCormack 5b2d5fd758 Use HANDLE instead of HKEY in the NT API. 2005-06-17 13:58:33 +00:00
Ivan Leo Puoti eacd06264e Reimplement IOCTL_SCSI_PASS_THROUGH_DIRECT and
IOCTL_SCSI_PASS_THROUGH on top of the linux scsi driver.
2005-06-14 12:25:41 +00:00
Francois Gouget 821d4c4645 Fix nativeapi.pm so it knows about AC_HEADER_STAT().
Make the error message about unexpected '#ifdef HAVE_XXX' clearer.
Protect sys/stat.h #includes with the corresponding '#ifdef HAVE_XXX'
check.
2005-05-06 16:22:54 +00:00
Alexandre Julliard d0ee9f9309 Avoid spaces before preprocessor directives, that's not portable. 2005-03-02 12:23:20 +00:00
Robert Shearman af056e7e24 - Add a complete, sorted listed of IOCTLS implemented in the file.
- Dump track numbers after they have been filled in.
2005-01-07 15:33:58 +00:00
Alexandre Julliard 6a27b48895 Fd type is no longer used, get rid of it. 2004-08-18 00:04:58 +00:00
Hans Leidekker a9b4a471a9 Fix signed/unsigned comparison warnings. 2004-08-13 23:53:44 +00:00
Gerald Pfeifer 69075d0c1c Remove incorrect support for FreeBSD and NetBSD in
DVD_StartSession().
2004-06-16 19:03:25 +00:00
Uwe Bonnes e98a664d57 Support for reading encrypted DVDs. 2004-06-15 00:45:01 +00:00