#1 Burning Software

It is currently Sat Apr 20, 2024 9:01 am

All times are UTC




Post new topic Reply to topic  [ 6 posts ] 
Author Message
 Post subject: Free Disc Space
PostPosted: Thu Oct 21, 2004 3:05 am 
Offline

Joined: Mon Sep 06, 2004 1:45 pm
Posts: 118
How can I tell how much free disk space is left? For example on a multisession disc. I'm using VB also so I may need to convert data types. I say in the disc_information structure, some items were 4 characters, do I have to convert that to a double or something?


Top
 Profile  
 
 Post subject: Re: Free Disc Space
PostPosted: Thu Oct 21, 2004 5:58 am 
Offline

Joined: Mon May 31, 2004 6:22 am
Posts: 134
Hi,

bbriggstkd wrote:
How can I tell how much free disk space is left? For example on a multisession disc. I'm using VB also so I may need to convert data types. I say in the disc_information structure, some items were 4 characters, do I have to convert that to a double or something?


Just call StarBurn_CdvdBurnerGrabber_GetTrackInformation and then
SizeLeftInBytes = Track_Info.m__LONG__FreeLBs * 2048

Bye.


Top
 Profile  
 
 Post subject: Invisible Track
PostPosted: Fri Oct 22, 2004 2:22 am 
Offline

Joined: Mon Sep 06, 2004 1:45 pm
Posts: 118
What is the invisible track information? I saw references to it in the doc but couldn't find anything else about it.

Does it matter which track I look at to get the free size? If so, which one do I get.


Top
 Profile  
 
 Post subject: Re: Invisible Track
PostPosted: Fri Oct 22, 2004 12:08 pm 
Offline
Site Admin

Joined: Fri Jun 18, 2004 12:03 am
Posts: 4089
Location: British Virgin Islands
"Invisible" stands for "current track would be used for burning". It has pre-defined number 0xFF (255 in dec). You should pass it always to know about free space on the disc. Using exact track numbers is not recommended.

bbriggstkd wrote:
What is the invisible track information? I saw references to it in the doc but couldn't find anything else about it.

Does it matter which track I look at to get the free size? If so, which one do I get.


Top
 Profile  
 
 Post subject: TOC Size
PostPosted: Fri Oct 22, 2004 8:00 pm 
Offline

Joined: Mon Sep 06, 2004 1:45 pm
Posts: 118
If I try to calculate whether there is enough room on my disk to burn the files I want to burn, I add up the size of my files. Do I also need to add in the size of the TOC? Do I need to consider anything else?


Top
 Profile  
 
 Post subject: Re: TOC Size
PostPosted: Fri Oct 22, 2004 8:30 pm 
Offline
Site Admin

Joined: Fri Jun 18, 2004 12:03 am
Posts: 4089
Location: British Virgin Islands
Just add 15 megabytes to your virtual (or true) image size. It would be enough for TOC and file system structures overhead.

bbriggstkd wrote:
If I try to calculate whether there is enough room on my disk to burn the files I want to burn, I add up the size of my files. Do I also need to add in the size of the TOC? Do I need to consider anything else?


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 6 posts ] 

All times are UTC


Who is online

Users browsing this forum: No registered users and 25 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group