winaspi.h revision af062818b47340eef15700d2f0211576ba3506ee
/*
* This file should be source compatible with the Adaptec winaspi.h
* All DOS ASPI structures are the same as WINASPI
*
* Copyright (C) 2000 Alexandre Julliard
*
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
* version 2.1 of the License, or (at your option) any later version.
*
* This library is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
* Lesser General Public License for more details.
*
* You should have received a copy of the GNU Lesser General Public
* License along with this library; if not, write to the Free Software
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
*/
#ifndef __WINASPI_H__
#define __WINASPI_H__
/* Include base aspi defs */
#include <wnaspi32.h>
#ifdef __cplusplus
extern "C" {
#endif /* #ifdef __cplusplus */
/* WINE SCSI Stuff */
#define ASPI_DOS 1
#define ASPI_WIN16 2
#include <pshpack1.h>
/* SRB HA_INQUIRY */
typedef struct tagSRB16_HaInquiry {
typedef struct tagSRB16_GDEVBlock {
typedef struct tagSRB16_ExecSCSICmd {
/* variable example for 6 byte cbd
* BYTE CDBByte[6]; * SCSI CDB (W) *
* BYTE SenseArea6[SENSE_LEN]; * Request Sense buffer (R) *
*/
typedef struct tagSRB16_Abort {
typedef struct tagSRB16_BusDeviceReset {
typedef struct tagSRB16_Common {
typedef union tagSRB16 {
#include <poppack.h>
#ifdef __cplusplus
}
#endif /* #ifdef __cplusplus */
#endif /* __WINE_WINASPI_H */