In case of broken links or downloads, read the whole page products, chances are that you will find a supercede version of the software that you are looking with a different project name, as an example the MP3 OCX is now project rsppmp3 at http://sourceforge.net

Last update: quinta-feira, 08 de novembro de 2007 09:21:55 



RSP CD-DVD Burn DLL 1.1.0

Release date (Sat Nov 03 20:07:48 2007)


 

Win32 DLL to burn CDs 

 

What is new in version 1.1.0 (Sat Nov 03 20:07:48 2007) : Added several functions , fixed a problem when creating multissession DVDs , the version 1.0.0 was generating the iso file from the original location of the files , now it is first copied to a temporary folder and Unicode conversion is applied when required , added option to close multissession discs , added option to disable space check , several other enhancements and small bug fixes


Features

1 - It can erase rewritable CDs
2 - It can burn CD/DVD/BD (Blu-ray)
media 
3 - It can fix damaged CDs and generate a TOC
4 - You can stop the iso file creation and burn process at any moment
5 - It can retrieve the capabilities of the CD unit and media
6 - It can create file system format in modes:
Joliet
Rock Ridge
ISO9660
UDF (DVD)
7 - You can enable or disable BURNFREE ( buffer underrun protection , if available)
8 - It can create single sessions and multi sessions data CDs
9 - No support for audio CDs for the moment
10 - You can simulate burn if the CD unit and media support it
11 - You can select the CD burning speed


DLL Functions for version 1.1.0

First of all always use the sample project as the basis for any development

Don't try to discover yourself what is the correct sequence of execution of the DLL
or your application may crash , the functions create additional threads , that run concurrently with the main process and it need to be synchronized to work as expected

Learn from the sample and documentation




Public Declare Function getnumberofcdunits Lib "rspburn.dll" () As Long

To retrieve the number of cd units installed and working , notice that you need to be administrator to access the scsi devices , Nero has a tool that can solve this problem but I know nothing about it for the moment, a limited account in Windows XP will not be able to use this software, it will return 0 as the number of installed units , this is the first function that you need to call in order to create a CD burning application , if you already know the number of the CD unit that you want to use then you don't need to call this function , using 1 as the CD unit will use the first detected device but a problem will occur if no CD units are installed , then always use this function first

This function returns -2 if some required files cannot be loaded 

Returns 0 if no CD units are installed

Otherwise it returns the number of installed devices

Notice that when the function addallscsidevices is called with a 1 as argument then anything that is installed and accessible to the scsi driver will be returned and it include your HD , anyway don't be afraid of it because it can only read the HD information , the information is the same that appear in the HD hardware description in the control panel and if you want to see all the scsi devices call the addallscsidevices before calling this function

Public Declare Function getcdunitsinformation Lib "rspburn.dll" (ByVal cdunit As Long, ByVal id As String, ByRef host As Long, ByRef target As Long, ByRef lun As Long, ByVal Vendor As String, ByVal Revision As String) As Long

To retrieve the information about the installed cd units

If you have only a unique CD unit the number of installed units is 1 , and selecting 1 as the cdunit will retrieve the information

If more CD units are available then you need to create a loop that range from 1 to the number of units and pass the counter to this function

Something like this:

For i = 1 to getnumberofcdunits

getcdunitsinformation (i , ...)

<code here>

Next i

Arguments:

ByVal cdunit As Long - the selected CD unit
ByVal id As String - the string that will receive the product description
ByRef host As Long - the host adapter
ByRef target As Long - the target
ByRef lun As Long - the LUN
ByVal Vendor As String - the vendor of the CD unit
ByVal Revision As String - the revision of the product

Return value : Returns 0 if no problem occurred or an error value, and error will only occur if you pass an invalid CD unit

Take a look in the sample project to see how to initialize the variables to a value suitable to the function , something like id=space(300) & chr(0)

Notice that you need to remove the character 0 on the strings after this call , because the C dll will add a 0 in the end of the string always that anything is copied and returned to the VB6 environment

Public Declare Function selectcdunitouse Lib "rspburn.dll" (ByVal cdunit As Long) As Long

The first cd unit is 1 , the second is 2 and so on , you need to call this function to tell to the dll what is the selected cd unit , this call need to be done before calling the getdiscinformation function

Return value : The function will return 1 if the selection is invalid

Public Declare Function addallscsidevices Lib "rspburn.dll" (ByVal includealldevices As Long) As Long

If the argument is 1 then all the devices attached in the system will be returned, or 0 to return only CD units , if you plan to see all the attached devices on the system then call it before the getnumberofcdunits function

This is interesting for debug purposes

Public Declare Function getdiscinformation Lib "rspburn.dll" (ByVal the_function As Long) As Long

To use this function first you need to call selectcdunitouse ,then this function will call the function that will retrieve the data referred to the disk in the drive, the the_function argument is a callback function , the callback function need to call getdiskdata in order to retrieve the information ( see the sample project )

The definition of the callback function is:

Public Function CallBack() As Long

Use it like this:

ret = getdiscinformation(AddressOf CallBack) 

Return value : Return 0 if ok , 1 if no cd units are available in the system, return 2 if the CD unit isnot a recorder or not a supported CD recorder , in this case I want to hear from you about the model, please send this information to me

Public Declare Function getdiskdata Lib "rspburn.dll" (ByRef isdata As Long, ByRef thetracknumber As Long, ByRef themb As Long, ByRef theminute As Long, ByRef thesecond As Long, ByRef erasable As Long, ByRef burnfree1 As Long, ByVal mediaclass As String, ByVal mediatype As String, ByVal diskstatus As String, ByVal disktype As String, ByRef writable As Long) As Long

This is the function called in the callback function that will retrieve the data referred to the disk in the CD unit

Notice that the callback is called when a track in the disk is found , the getdiskdata then retrieve this information and pass it to the application ( the sample shows it ), for each track found it is called , even for empty tracks ( free space ) , in case of an empty cd then the callback will be called once and will retrieve the information about the space available , if no CD is in the unit the callback will not be called

Arguments:

ByRef isdata As Long - it inform the kind of track found , 0 for data , 1 for audio , 2 for blank track ( free space )

ByRef thetracknumber As Long - the number of the track on the disc
ByRef themb As Long - the size in megabytes of the track
ByRef theminute As Long - the minutes of the track
ByRef thesecond As Long - the seconds of the track
ByRef erasable As Long - whether the disc is erasable or not , if 0 then no erasable
ByRef burnfree1 As Long - whether the drive and software supports burnfree , if capable it is enabled by default , it can avoid losing discs in case of absence of data in the write buffer while burning, recommended

ByVal mediaclass As String - the media class , it can be:
"NONE"
"HD-DVD"
"BD"
"DVD"
"CD"

It can only list HD-DVD media class , this version (1.1.0) don't support writing to HD-DVD yet

ByVal mediatype As String - It can be:

"CD-ROM"
"CD-R"
"CD-RW"
"DVD-ROM"
"DVD-R sequential recording"
"DVD-RAM"
"DVD-RW restricted overwrite"
"DVD-RW sequential recording"
"DVD-R/DL sequential recording"
"DVD-R/DL layer jump recording"
"DVD-RW/DL"
"DVD+RW"
"DVD+R"
"DDCD-ROM"
"DDCD-R"
"DDCD-RW"
"DVD+RW/DL"
"DVD+R/DL"
"BD-ROM"
"BD-R sequential recording"
"BD-R random recording"
"BD-RE"
"HD DVD-ROM"
"HD DVD-R"
"HD DVD-RAM"
"HD DVD-RW"
"HD DVD-R/DL"
"HD DVD-RW/DL"

Notice that even if the HD-DVD media or drive is detected it cannot write in this format yet

ByVal diskstatus As String - It can be:

"empty" - If empty
"incomplete/appendable" - If space available to write
"complete" - If disc closed or no more data can be added

ByVal disktype As String - It can be:

"DVD , HD - DVD Or BD"
"reserved"
"undefined"
"CD-ROM XA"
"CDI"
"CD-DA or CD-ROM"

ByRef writable As Long - The size available to write in megabytes , if 0 no way to write to the disc , the process will not even initiate , and there are some checks about the size available in the disc and the size of the iso file to write to , if no space enough an error will occur , notice that the unlicensed version of the DLL can only write 150 mb to the disc in each session


Public Declare Function erasecd Lib "rspburn.dll" (ByVal cdunit As Long) As Long

To erase the cd unit , it does it in fast mode, less than a minute

This results in erasing the PMA, the TOC and the pregap

Public Declare Function getstatus Lib "rspburn.dll" () As Long

To know whether the execution is done for some function calls

The code execution for some api calls occurs in a created thread , and getstatus is the way to know whether it is done , this the case for erasecd , createisofile , addfiles
and burncd

If it return 0 then the execution is finished , if 1 then it is running yet

Public Declare Function geterasecdreturnvalue Lib "rspburn.dll" () As Long

To retrieve the return value for the function erasecd

It can be:

0 - Done
1 - Error erasing CD
2 - Unexpected error erasing CD

Public Declare Function eject Lib "rspburn.dll" (ByVal cdunit As Long) As Long

To eject the disc , it work if a valid CD unit is selected

Public Declare Function setsessionmode Lib "rspburn.dll" (ByVal sessionmode As Long) As Long

To define the session mode , it can be 0 to multi-session or 1 to single-session

If multisession the disc will remain open ( if it
has space , of course , if not the last session write process will also close the disc )

You can use the function closecd to force a close of the cd in a multi session burn

If single session the disc will be closed and no way to add more data to this CD ( if rewritable you can erase the CD and start it over again )

Don't mix single session and multi session or it will result in a damaged disc or only the last track will be visible , anyway , avoid adding a single session to a multi-sesson disc

Notice also that it cannot merge multi-session discs create with other CD burning utilities like Nero or Windows XP embedded CD burning utility , it is recommended to use this DLL to add more sessions to your multi-session discs

Multi session discs in Windows 95 and NT 4.0 will only show the last session

No multi session support for DVD and Blu Ray , in this case only single session supported

Public Declare Function setfilesystemmode Lib "rspburn.dll" (ByVal filesystem As Long) As Long

The selected file system mode

The argument filesystem can be :

0 - Joliet
Generate Joliet directory records in addition to regular iso9660 file names.
This is primarily useful when the discs are to be used on Windows-NT or Windows-95 machines.
The Joliet filenames are specified in Unicode and each path component can be up to 64 Unicode characters long.
This is the recommended format to create a fully functional win32 data CD

1 - Rock Ridge protocol
Generate SUSP and RR records using the Rock Ridge protocol to further describe the files on the iso9660 filesystem 

2 - iso9660
It will generate a pure ISO9660 filesystem

3 - DVD video
Generate DVD-Video compliant UDF file system.
This is done by sorting the order of the content of the appropriate files and by adding padding between the files if needed.
Note that the sorting only works if the DVD-Video filenames include upper case characters only.
Note that in order to get a DVD-Video compliant filesystem image, you need to prepare a DVD-Video compliant directory tree. This means you need to have a directory VIDEO_TS (all caps) in the root directory of the resulting DVD and you should have a directory AUDIO_TS. The directory VIDEO_TS needs to include all needed files (file names must be all caps) for a compliant DVD-Video filesystem.

4 - UDF mode
Include UDF support in the generated filesystem image.
UDF data structures are currently coupled to the Joliet structures.
Note that UDF wastes the space from sector ~20 to sector 256 at the beginning of the disk in addition to the space needed for real UDF data structures.

Public Declare Function createisofile Lib "rspburn.dll" (ByVal cdunit As Long, ByVal Label As String) As Long

Modified in version 1.1.0


To create the temporary iso file to burn

cdunit - The CD unit to use

Label - The name to appear in the CD when loaded in Explorer or in the console , just provide a name that describe the CD

Notice that first you need to add files to the internal temporary folder with addfiles , because this function will create the iso file from the files in the internal temporary folder , check the function addfiles for more information

After calling this function if everything occurs without problem the getstatus function will return 0 and createisoreturnvalue returns 0 too then you can call the burncd function to initiate the burn process

If you remove the cd before calling this function an error will occur

If you change CDs while calling this function and burncd a damaged CD can be the result , never remove the CD during the creation of the iso file and the burn process to avoid problems

Always take a look in the sample project to see how to implement a CD burning utility

Return value:
0 - No error , ready to call burncd to initiate the burn process
2 - Unexpected error creating the iso file
4 - Don't have a CD in the unit, please insert the CD and try again
6 - Already running , wait the end of execution
7 - Wrong cd unit selected
8 - Disc is not writable , or unexpected error
9 - No space left in the disk for this session
10 - Disk is full or closed
11 - The selected drive is unsupported or not a recorder
13 - No space enough in the temporary folder for the iso file

14 - No files to burn , add files with the addfiles function and try again
15 - No files or folders ready to burn , add and try again

Public Declare Function deleteisofile Lib "rspburn.dll" () As Long

To delete the temporary iso file, call it on exit , it is safe to be called at any moment , if no file exist it will just return, leaving the iso file in your temporary folder may waste space , anyway it is automatically called when the application is terminated

Public Declare Function burncd Lib "rspburn.dll" (ByVal cdunit As Long) As Long

To burn the temporary iso file, it need to be already available or an error will occur.
First you need to call createisofile then call this function to burn the iso file , notice that you cannot do other tasks while it is burning , burning a cd will make the system stop responding at least in Win32 , then just sit down and wait, in case of problems and a damaged disc occurs you can try to fix it with the function fixate , it will add a TOC to the disc if it is missing , notice too that when unlicensed it has a 150 MB burn size limit per session , you can add as many sessions as you want but limited to 150 MB , the license gives to you two years of free support and access to new releases , notice also that you need to call deleteisofile and cleanupfiles 
after the burn process, notice also that in case of errors or damaged discs after a burn process without error I need to know the drive and media that is being used , I need this information to try to track down the problem , there are too many recorders and media available and there is no way to test all , is up to you to see whether this software is reliable enough to fit your needs

The burn process occurs at the maximum speed if no speed is defined , the multiplication factor will depend on the media and drive , the function to set the speed is setspeed

You can enable burn simulation with the function simulateburn , notice that not all devices support this simulation in this case an error will occur

The multiplication factors for 1x are 176 kb for CD , 1385 kb for DVD and 4495 kb for BD (Blu Ray)

Return value:
0 - Everything is ok , the burn process was initiated , now loop in the getstatus function until it return 0 , then call burncdreturnvalue to retrieve the return value of the burning process
1 - Wrong cd unit selection
2 - Iso file don't exist
3 - Already running, wait for the end of the process
4 - When unlicensed it has a limitation of 150 MB for session

If no other functions are called between createisofile and burncd then it will create a multi-session disc , it will be Joliet filesystem , burnfree is enabled , simulate burn is disabled

If the burn process is cancelled with cancel_burn , then you need to call abortburn when getstatus return 0 , without calling it the CD can be loacked and the burning light and laser ca be on , then always remember to call abortburn after a cancel of the burning process

This is very important , and notice that if you call abortburn while getstatus is 1 the application will crash , then avoid this problem creating your CD burn utility in the correct way

Another thing , the burn process occurs in real time processor priority , this mean that your system will appears to hung while it is burning , the process need it to avoid the interruption of the feed of data to the recorder , the recomendation is to don't execute other tasks while a burn is in progress

Public Declare Function getpercentposition Lib "rspburn.dll" () As Long

To retrieve the progress of the burn process

Nothing to explain here , range from to 0 to guess...

Public Declare Function enableburnfree Lib "rspburn.dll" (ByVal val As Long) As Long

To enable or disable the buffer underrun protection ( recommended , if available)

It is enabled by default , if the drive don't support it this is irrelevant

A buffer underrun occurs when there is no more data to send to the drive or the processor have not provided the data at the moment it was expected , if no burnfree is available then the disc will be damaged , with burnfree it can recover from the problem and make the burn process reinitiate again without losing data or disc , this is why it is RECOMMENDED

Public Declare Function burncdreturnvalue Lib "rspburn.dll" () As Long

To retrieve the return value of the burn process

When the burncd function is called and return 0 a new thread is created , this is the burning thread , and this function get the return value of the burning thread , you can only call this function after getstatus return 0 , getstatus is the way to know that the burn process is done

Return value :
0 - Done , the burn process occurred without errors , you can now call deleteisofile , cleanupfiles
or reinitiate another burn process
1 - Error , cd not blank for single session or unexpected error ( notice that you don't need to call abortburn since the burn thread was not initiated )
2 - Unexpected error in the burn cd function ( in this case you need to call abortburn to reset the drive )
3 - Unexpected error in multissession mode ( in this case you need to call abortburn to reset the drive )
4 - User cancel ( in this case you need to call abortburn to reset the drive )

After an error that requires a call to abortburn , if don't call it the laser can be on forever , the tray is locked and disc inaccessible in Explorer , the call to the abortburn is very important if the return value requires it , remember this when creating your CD burning utility

Public Declare Function simulateburn Lib "rspburn.dll" (ByVal enable As Long) As Long

To enable or disable the simulation of a burn 

The simulation just does the burn process with the laser off , notice that some DVD media format don't support it

In this case an error will occur , but it will not burn a CD when simulation is on , it will just abort

Public Declare Function getburningspeed Lib "rspburn.dll" () As Long

Modified in version 1.1.0

To retrieve the burning speed

Nothing to explain here , just take a look in this multiplication factor :

1x are 176 kb for CD , 1385 kb for DVD and 4495 kb for BD (Blu Ray)

Public Declare Function setspeed Lib "rspburn.dll" (ByVal speed As Long) As Long

To set the preferred burning speed, it in some cases will not be set and the burning process will be done in the most close possible multiplication factor

Nothing to explain here , just take a look in this multiplication factor :

1x are 176 kb for CD , 1385 kb for DVD and 4495 kb for BD (Blu Ray)

Public Declare Function createisoreturnvalue Lib "rspburn.dll" () As Long

Modified in version 1.1.0

To get the return value of the createisofile function

The createisofile function when called will create a thread that will execute the process of creation of the iso file

But it will only initiate this thread if no error occur in the createisofile

After the creation of the thread you need to loop in the getstatus function until it returns 0 , then you need to call this function to retrieve the return value and initiate the burning process

Return value :
0 - Done , now ready to burn , then you just need to call burncd to initiate the burn process , remember that you cannot remove the disc during the call to createisofile and burncd or the result can be a damaged CD , in some cases the burncd function may detect that the disc was changed but to avoid problems remember to don't remove the disc during these two functions
2 - Unexpected error creating iso file , in this case the iso file is automatically deleted in the createisofile
9 - No space left in the disk for this session , just insert an empty CD and try again
10 - User cancel , again it will delete the iso file in the createisofile function

11 - Some files or paths cannot be accessed due to an unexpected error , if the iso file exist it will be deleted


Notice also that there is no other return values that are not listed here , if it is not described here then it don't exist

Public Declare Function getcreateisoprogress Lib "rspburn.dll" () As Long

To retrieve the progress position of the creation of the iso file

Nothing to explain here , it range from 0 to guess...

Public Declare Function cancel_createiso Lib "rspburn.dll" () As Long

This function will cancel the creation
of the iso file

It is ok to exit the application or reinitiate the iso creation and burn process

No return values here

Public Declare Function cancel_burn Lib "rspburn.dll" () As Long

This function will cancel the burn process , notice that a messagebox will appear explaining about the problems of cancelling a burn process , if you click Ok it will cancel the process , in this case after the getstatus function return 0 you need to call abortburn , if you don't call this function the tray can be locked and
the laser can be enabled forever , to avoid it just make the call , look in the sample project to see how it is correctly implemented

I think that I don't need to explain again that cancelling a burn process may result in a damaged disc , if it is rewritable you just need to call erasecd , if it is not rewritable a call to the fixate function may solve the problem if the disc become inaccessible

Public Declare Function fixate Lib "rspburn.dll" (ByVal cdunit As Long) As Long

It will fix the disc if it is damaged , it will try to add a TOC to the CD , if no problem is detected in the CD it will not modify it


Return value :
0 - No error , if the disc was damaged , now it at least have a TOC
1 - Wrong cd unit selection
2 - The creation of a iso file is in progress or burning process in progress

Public Declare Function abortburn Lib "rspburn.dll" (ByVal cdunit As Long) As Long

It need to be called when a cancel of a burning process occur

Without it the laser can be enabled
forever and the disc tray can be locked

For a normal burning process it never need to be called

Return value :
0 - Ok , no error
1 - Wrong CD unit selection

Public Declare Function registration Lib "rspburn.dll" (ByVal name As String, ByVal code As String) As Long

This function will register the DLL if you have an unlock code

Please register , it will help the generation of new versions with more features

Usage:
If registration("name", "code") Then
Debug.Print "Unlicensed "
Else
Debug.Print "Licensed"
End If

Return 0 if licensed , 1 otherwise

This need to be the first function called on the DLL to unlock it
Without it the DLL is limited to burn 150 MB per session and will show an aboutbox in the termination of the DLL

Public Declare Function aboutburndll Lib "rspburn.dll" () As Long

To show the aboutbox of the DLL

 

Functions added in the version 1.1.0

 

Public Declare Function closecd Lib "rspburn.dll" (ByVal flag As Long) As Long

If the argument is 1 then it will burn the session and close the
CD , no more sessions on this CD

The default is to do not close multisession discs , then if you dont
call this function the CD will remain open after a multisession burn

It only affect multissession discs , since single sessions always
close the CD after the burn process

If the argument is 0 the CD will remain open after the burn process,
again it only affect multisession discs , single session mode will
always close the CD after the burn process

Notice also that if there is no more space for another session after
the burn process the CD will be always closed

Public Declare Function nospacecheck Lib "rspburn.dll" (ByVal Value As Long) As Long

Default to check for the space available in the disc

If value =1 then disable space check , it will try to write to the disc
even if the space available is less than the required space

If value =0 then check the space left , this is the default option

Notice that in a multisession disc you cannot write to the disc the
same files in the same destination folder , in this case if the files
in the disc are the same then no new addition and the resulting
iso file to burn will be empty also , this is usefull for incremental
backups, since the new sessions on the disc will only have the
files that are modified , for this reason disabling space check
can be usefull and avoid the problem or not being able to write
to a disc when the space is enough

Public Declare Function cleanupfiles Lib "rspburn.dll" () As Long

It will delete the files copied to an internal temporary folder to
create the iso file , it is added with the function addfiles
, notice that it is automatically called in the termination of the dll
, you only need to call it to clean up the folder and initiate a
new burn process

You can call this function only after the call to createisofile

createisofile will create the iso file with the files selected with
addfiles , cleanupfiles will remove the files added to the
internal temporary folder

Call cleanupfiles before adding files with addfiles

Take a look in the sample project to see when a call to cleanupfiles is
required

Public Declare Function addfiles Lib "rspburn.dll" ( ByVal folder As String, ByVal destination As String) As Long

This is the function to add files and folders to the CD ,
the files are copied to a temporary folder , after calling createisofile
you can call cleanupfiles to remove it

It is required to map the files to the destination folder on the CD and
to check for consistency in the folders selection

The old version 1.0.0 was generating the iso file directly from the
original sources what could result in some unexpected problems

With this new improvement the files in Unicode are converted to ansi
, the version 1.0.0 just stop when a Unicode file or folder is found

The Unicode conversion solve part of the problems since there is no
way to store Unicode using ISO9660 and Joliet

Return value:

0 - Done , now wait for the end of execution , use the getstatus and
getaddfilesreturnvalue functions to wait for the end of the execution
and jump to the next step
1 - Folder input is empty
2 - Already running , call cancel first
3 - Folder name too large
4 - Destination name too large
5 - The folder is not valid
6 - The CD destination name has invalid characters

Public Declare Function getaddfilesreturnvalue Lib "rspburn.dll" () As Long

This function will get the return value of the function addfiles

After calling the addfiles function a thread will be created that will
execute the process of adding the files to the internal temporary
folder

You need to loop in the getstatus function until it return 0 then
call this function to see whether the process of adding the selected
folder was done correctly

Return value:

0 - Done , no errors , ready to add more files or create the iso file
1 - Some files are open or unexpected file access error , if a file
in the selected folder cannot be accessed for any reason the process stop ,
close the application that is locking the file and try again
2 - User cancel
3 - File or path name too large , limited to 172 characters , the path limit
in windows is 260 characters but since it need to copy the folders and
files to the temporary folder it is 260 characters less 88 characters
that is size of the temporary path , in my case it is 88 characters ,
no workaround to it for the moment , notice also that Joliet filenames
cannot be larger than 64 or 103 characters ( when extended ) , if it is
larger it will be truncated
4 - No space left in the hard disk for this operation

Public Declare Function addfilesprogress Lib "rspburn.dll" () As Long

It will retrieve the percent position of the addfiles function

It will provide a graphical representation of the time required to
finish

It range from 0 to guess...

Public Declare Function canceladdfiles Lib "rspburn.dll" () As Long

It can be called to stop the process of copy

If some files was already copied it will not be removed , call
cleanupfiles to empty the internal temporary folder

Public Declare Function gettempfoldersize Lib "rspburn.dll" () _
As Long


It will retrieve the size of the internal temporary folder in MB

No need to use this in calculations since these checks are done
internally

Public Declare Function getavailablespace Lib "rspburn.dll" () As Long

It will retrieve the space available in the HD where the temporary
folder is located , it is in MB format

Public Declare Function getmediatype Lib "rspburn.dll" (ByVal cdunit As Long) As Long

It will retrieve the type of media in the drive

Return value :
0 - Media is CD
1 - Media is DVD or Blu Ray
2 - Wrong CD unit selection
3 - Not a supported recorder
4 - No media in the CD unit
 


Operating System Compliance

Windows NT 4.0 , Windows 2000 , Windows XP , Vista


Install

- To install the dll and sample project just execute setup.exe and follow the instructions

- To uninstall search for the package in the add/remove applications in the control panel , and select remove , it will remove the dll and sample from your system

Anyway you can just remove the folder where the files are located and it is safe to just delete it 


Download


RSP CD-DVD Burn DLL 1.1.0 1,50 MB

RSP CD-DVD Burn DLL 1.0.0 1,48 MB




Register

This is a link to register it online

After the registration we will email to you the unlock code

 

Home   Contact   About   Development   C Programming  

Processor Research   Products   License   Mirrors


web counter