AuthoringWare Company

 

int fuGetDiscStatus( char* szDrive,

                             DISC_STATUS* pDiscStatus,

                             HWND hWndParent )

 

 

Parameters

Description

szDrive

Device drive letter, like c: or g:.

pDiscStatus

typedef struct DISC_STATUS

{

char szBook_Type[10];

char szDisc_Status[20];

unsigned long nMax_Blocks;

//

unsigned char nSpeed_Count;

unsigned long nWrite_Speed[32];

} DISC_STATUS;

hWndParent

Current window handle.

Parameters

Values

Descriptions

Erasable

0

not erasable

0

erasable

Disc Status

0

Empty Disc

1

Incomplete Disc

2

Finalized Disc

3

Others

Disc Type

0x0

CD-DA or CD-ROM

0x20

CD-ROM XA

0xFF

others

Book Type

0

DVD-ROM

1

DVD-RAM

2

DVD-R

3

DVD-RW

9

DVD+RW

10

DVD+R

Disc Size

0

120 mm

1

80 mm

Number_Of_Layer

0

Number of layer - 1

1

Number of Layers - 2

Track Path

0

Parallel Track Path (PTP)

1

Opposite Track Path (OTP)

Layer Type

0

Layer contains embossed data

1

Layer contains recordable area

4

Layer contains rewritable area

6

Layer contains recordable/rewritable area

Linear density

0

Linear Density - 0.267 um/bit

1

Linear Density - 0.293 um/bit

2

Linear Density - 0.409 to 0.435 um/bit

4

Linear Density - 0.280 to 0.291 um/bit

8

Linear Density - 0.353 um/bit

Track Density

0

Track Density – 0.74 um/bit

1

Track Density - 0.80 um/track

2

Track Density - 0.615 um/track

 

 

 

 

 

 

int fuGetInfo( char* szDrive,

                    DISC_INFO* pInfo,

                    HWND hWndParent )

 

Parameters

Description

szDrive

Device drive letter, like c: or g:.

pInfo

typedef struct DISC_INFO

{

unsigned short nInfo_Len;

unsigned char nErasable;

unsigned char nState_last_Session;

unsigned char nDisc_Status;

unsigned char nNumber_First_Track;

unsigned char nNumber_Sessions;

unsigned char nFirst_Track_Number_in_Last_Session[2];

unsigned char nLast_Track_Number_in_Last_Session[2];

unsigned char nDID_V;

unsigned char nDBC_V;

unsigned char nURU;

unsigned char nDAC_V;

unsigned char nDbit;

unsigned char nBG_Format_Status;

unsigned char nDisc_Type;

unsigned char nNumber_of_Sessions;

unsigned char nDisc_Identification[4];

unsigned long nLast_Session_Leadin_Start_Address;

unsigned long nLast_Possible_Leadout_Start_Address;

unsigned char nDisc_Bar_Code[8];

} DISC_INFO;

hWndParent

Current window handle.

int fuGetDVDStruct( char* szDrive,

                             DVD_STRUCT_PHYSICAL* pDvd_Physical,

                             HWND hWndParent )

 

Parameters

Description

szDrive

Device drive letter, like c: or g:.

pDvd_Physical

typedef struct DVD_STRUCT_PHYSICAL

{

unsigned char nBook_Type;

unsigned char nPart_Version;

unsigned char nDisc_Size;

unsigned char nMax_Rate;

unsigned char nNumber_Of_Layer;

unsigned char nTrack_Path;

unsigned char nLayer_Type;

unsigned char nLinear_Density;

unsigned char nTrack_Density;

unsigned long nStarting_Physical_Sector_Number;

unsigned long nEnd_Physical_Sector_Number;

unsigned long nEnd_Physical_Sector_Number_Layer0;

unsigned char nBCA;

} DVD_STRUCT_PHYSICAL;

hWndParent

Current window handle.

int fuGetFeature( char* szDrive,

                          FEATURE_HEADER* pFeature,

                          HWND hWndParent )

 

Parameters

Description

szDrive

Device drive letter, like c: or g:.

pFeature

typedef struct FEATURE_HEADER

{

unsigned long nData_Length;

unsigned short nCurrent_Profile;

//

//Feature0000

FEATURE_0000 Feature0000;

} FEATURE_HEADER;

 

typedef struct FEATURE_0000

{

unsigned short nFeature_Code;

unsigned char nPersistent;

unsigned char nCurrent;

unsigned char nSupported_Feature_Count;

unsigned short nSupported_Feature_Code[64];

} FEATURE_0000;

 

hWndParent

Current window handle.

int fuUtility( char* szDrive,

                  int nTool_Type,

                  int nSpeed_Level,

                  HWND hWndParent )

 

Parameters

Description

szDrive

Device drive letter, like c: or g:.

nTool_Type

= 1000

Disc Loading

= 2000

Disc Ejecting

= 3000

Disc Erasing

= 5000

Write Speed Change

nSpeed_Level

(when nTool_Type == 5000 )

= 0

The first available write speed supported by the recorder

= 1

The second available write speed supported by the recorder

= 2

The third available write speed supported by the recorder

= 3

The 4th available write speed supported by the recorder

= 4

The 5th available write speed supported by the recorder

...

...

hWndParent

Current window handle.

 

AuthoringWare Co. All rights reserved, 1997-2006.      | Legal |