AuthoringWare Company

 

fuWrite( int nBurn_Type,

              char* szDrive,

              _PATH szInputObject[4096],

              unsigned short nInputObjectCount,

              char* szImage_File,

              char* szVol_Title,

              char* szPublisher,

              char* szPreparer,

              HWND hWndParent )

 

 

Parameters

Description

nBurn_Type

This function supports three burn types:

 

Burn Type

 

0

The function reads VIDEO_TS folder and writes DVD streams (plus data streams) to disc. There isnt interim image file to be created.

1

The function reads disc image file and writes it to the disc. The image file contains DVD streams (plus data streams).

2

The function creates a disc image file from the streams of VIDEO_TS folder (plus data streams).

 

szDrive

Device drive letter, like c: or g:.

szInputObject

It is an array pointer of _PATH

typedef struct _PATH

{

char szObjectPath[260];

} _PATH;

 

Sample 1: (DVD video files only, without data files)

_PATH szFile[2];

strcpy( szFile[0].szObjectPath, "g:\\AUDIO_TS" );

strcpy( szFile[1].szObjectPath, "g:\\VIDEO_TS" );

Sample 2: (with data streams – hybrid data structure)

_PATH szFile[2];

strcpy( szFile[0].szObjectPath, "g:\\AUDIO_TS" );

strcpy( szFile[1].szObjectPath, "g:\\VIDEO_TS" );

strcpy( szFile[2].szObjectPath, "c:\\Myfolder\\Folder1" );

strcpy( szFile[3].szObjectPath, "e:\\Windows\\web" );

strcpy( szFile[4].szObjectPath, "c:\\record.doc" );

nInputObjectCount

It represents the total number of objects (folders and files) to be written to recordable disc.

This value is 2 as demonstrated in Sample 1. The value is 5 as demonstrated in sample 2.

szImage_File

When nBurn_Type = 1, it writes the image data in szImage_File to recordable disc.

When nBurn_Type is 2, it saves the new disc image file on hard disk.

szVol_Title

It is a string array, representing the title of the disc image.

szPublisher

It is a string array, representing the publisher’s name.

szPreparer

It is a string array, representing the preparer’s name.

hWndParent

Current window handle.

 

 

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