Back  |    

DLT Tape PreMastering SDK (Beta)

Functions

void(*DIS_UTILITY) ( DRV_ID *pDrv_Id, int nTool_Type, HWND hwnd );

 

1)

DRV_ID struct has four elements: 

typedef struct DRV_ID

{

      unsigned char nScsi_Id;

      unsigned char nPath_Id;

      unsigned char nHost_Id;

      unsigned char nTarget_Id; 

} DRV_ID;

nHost_Id – SCSI host identification number

nTarget_Id – SCSI target identification number

 

2)

int nTool_Type

1010 – Unload Tape

1020 – Load Tape

1030 – Rewind Tape

1040 – Erase Tape

 

3)

HWND hwnd

Hwnd – Parent window handle

 

void(*DIS_READ) ( DRV_ID *pDrv_Id, char *TempFolder, int nDDV_Only,

       HWND hWndParent );

 

2)

char *TempFolder

TempFolder – the folder path (pointer) for saving output files

 

3)

int nDDV_Only nDDV_Only –

0, to read entire tape and to save all files under the TempFolder

1, to read only DDP and Control data two streams and to save two files under the TempFolder


 

void(*DIS_WRITE) ( int nWrite_Type, DRV_ID *pDrv_Id, _PATH szInputObject[4096],

                             unsigned short nInputObjectCount, char szImage0_File[260],

                             char szImage1_File[260], char szVol_Title[33], char szPublisher[33],

                             char szPreparer[33], unsigned char nBookType, unsigned char nDiscSize,

                             unsigned char nBCA, unsigned short nBlock_Len, unsigned char nCopyright,

                             unsigned char nRMA, int nTape, HWND hWndParent );

 

1)

int nWrite_Type nWrit_Type –

0, start from VIDEO_TS folder

1, start from image file

3)

_PATH szInputObject[4096]

szInputObject – file or folder path array up to 4096 files/folders pointers

 

4)

unsigned short nInputObjectCount

nInputObjectCount – Number of file or folder paths

 

5)

char szImage0_File[260] (not used)

 

6)

char szImage1_File[260] (not used)

 

7)

char szVol_Title[33]

szVol_Title – Volume title (up to 32 characters)

 

8)

char szPublisher[33]

szPublisher – Publisher’s name (up to 32 characters)

 

9)

char szPreparer[33]

szPreparer – Preparer’s name (up to 32 characters)

 

10)

unsigned char nBookType nBookType –

0, DVD-ROM

1, DVD_RAM

2, DVD-R

3, DVD-RW

11)

unsigned char nDiscSize nDiscSize –

0, 12 cm dia.

1, 8 cm dia

12)

unsigned char nBCA nBCA –

0, BCA not exist

1, BCA exist

13)

unsigned short nBlock_Len nBlock_Len –

2048 bytes

2054 bytes

2064 bytes (not applicable)

14)

unsigned char nCopyright nCopyright –

0, no copyright protection (no CSS/APS)

1, copyright protection is activated including CSS and APS

15)

unsigned char nRMA nRMA – Regional Management

              

 

Region 8

Reserved

Region 6

Region 5

Region 4

Region 3

Region 2

Region 1

nRMA

bit 7

bit 6

bit 5

bit 4

bit 3

bit 2

bit 1

bit 0

Blocked

1

X

1

1

1

1

1

1

Playable

0

1

0

0

0

0

0

0

 

16)

int nTape nTape –

0, writing tape 0 for layer 0 (DVD-5 or DVD-9)

1, writing tape 1 for layer 1 (DVD-9)

 

 

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