Browse CVS Repository
Contents of /enbanfukusyaya/EnbanKensa/common/option.h
Parent Directory
| Revision Log
| Revision Graph
Revision 1.3 -
( show annotations)
( download)
( as text)
Sun Dec 11 15:25:30 2005 UTC
(18 years, 4 months ago)
by bananajinn
Branch: MAIN
CVS Tags: HEAD
Changes since 1.2: +42 -42 lines
File MIME type: text/x-chdr
*** empty log message ***
| 1 |
/** |
| 2 |
* 円盤複写屋 - EnbanKensa |
| 3 |
* Copyright (C) 2005 Kagetani Hideto |
| 4 |
* option.h - オプション設定 |
| 5 |
* $Date: 2005/12/11 15:21:45 $ |
| 6 |
* $Revision: 1.2 $ |
| 7 |
*/ |
| 8 |
#ifndef __OPTION_H__ |
| 9 |
#define __OPTION_H__ |
| 10 |
|
| 11 |
#include "aspi.h" |
| 12 |
#include "cmd.h" |
| 13 |
|
| 14 |
typedef struct { |
| 15 |
BOOL out2in; /* 外側を先に測定 */ |
| 16 |
BYTE read_retry; /* ModePage01hのREADリトライ回数 */ |
| 17 |
BYTE default_read_retry; |
| 18 |
BYTE read_speed; /* 測定時のREAD速度 */ |
| 19 |
WORD flag; /* 有効なオプションを示すフラグ */ |
| 20 |
} OPTIONS; |
| 21 |
|
| 22 |
#define OPFLG_OUT2IN (1<<0) |
| 23 |
#define OPFLG_RDRETRY (1<<1) |
| 24 |
|
| 25 |
typedef struct { |
| 26 |
int num_read_speed; /* READ可能速度の数 */ |
| 27 |
BYTE *read_speeds; /* READ可能速度の配列 */ |
| 28 |
BOOL dvd; /* DVDかどうか */ |
| 29 |
} DRVPARAMS; |
| 30 |
|
| 31 |
#ifdef __cplusplus |
| 32 |
extern "C" { |
| 33 |
#endif |
| 34 |
|
| 35 |
extern int SetOption(CMDDRIVE *drive, WORD num_track); |
| 36 |
extern OPTIONS *GetOption(); |
| 37 |
|
| 38 |
#ifdef __cplusplus |
| 39 |
} |
| 40 |
#endif |
| 41 |
|
| 42 |
#endif /* !__OPTION_H__ */ |
|