wok view wine/stuff/wine-1.2-cdrom.c.u @ rev 6402
Add slsnif
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sat Sep 25 12:00:06 2010 +0200 (2010-09-25) |
parents | 86de32688f8f |
children |
line source
1 --- wine-1.2-ori/dlls/ntdll/cdrom.c Fri Jul 16 17:05:45 2010
2 +++ wine-1.2/dlls/ntdll/cdrom.c Sun Aug 1 18:26:30 2010
3 @@ -2835,6 +2835,11 @@
4 static NTSTATUS GetInquiryData(int fd, PSCSI_ADAPTER_BUS_INFO BufferOut, DWORD OutBufferSize)
5 {
6 #ifdef HAVE_SG_IO_HDR_T_INTERFACE_ID
7 +
8 +#ifndef INQUIRY
9 +#define INQUIRY 0x12
10 +#endif
11 +
12 PSCSI_INQUIRY_DATA pInquiryData = NULL;
13 UCHAR sense_buffer[32];
14 int iochk, version;