Go Back   Club CDFreaks - Knowledge is Power > International Chat: Software related > Nero SDK Discussion Forum


Commercial ads

Nero SDK Discussion Forum Discuss, NeroCOM: Available Capacity on Media at International Chat: Software related forum; Hi folks, I know this thread is not new, but there was no answer that helped me very well. Anyway. I know that there is CDInfo.FreeCapacityInBlocks and UnusedBlocks, but when I use FreeCapacityInBlocks on a DVD the application hang. So my question is how to recognize how big any


Reply
 
Thread Tools
Old 06-09-2004   #1 (permalink)
New on Forum
 
Join Date: Aug 2004
Posts: 9
NeroCOM: Available Capacity on Media

Hi folks,

I know this thread is not new, but there was no answer that helped me very well.

Anyway. I know that there is CDInfo.FreeCapacityInBlocks and UnusedBlocks, but when I use FreeCapacityInBlocks on a DVD the application hang.

So my question is how to recognize how big any kind of media is and get the size of it?

Is that possible or not?
burning snow is offline   Reply With Quote
AltToday
CD Freaks

Beitrag
__________________
This advertising will not be shown to registered members.
Register your free account today and become a member on Club CD Freaks - Knowledge is Power
Old 07-09-2004   #2 (permalink)
New on Forum
 
Join Date: Jun 2004
Location: Manchester
Posts: 23
Re: NeroCOM: Available Capacity on Media


NERO_SCSI_DEVICE_INFOS* pDeviceInfos = NULL;
NERO_DEVICEHANDLE hDeviceHandle = NULL;
NERO_CD_INFO* pCDInfo = NULL;
double totalDiscSize = 0.0;

pDeviceInfos = NeroGetAvailableDrivesEx(MEDIA_CD, NULL);
hDeviceHandle = NeroOpenDevice(&pDeviceInfos->nsdisDevInfos[1]);
pCDInfo = NeroGetCDInfo(hDeviceHandle, 0);
totalDiscSize = static_cast(pCDInfo->ncdiTotalCapacity) * pCDInfo->ncdiTrackInfos[0].ntiBlockSize;
AndyNugent is offline   Reply With Quote
 
Reply


If you can't find where you are looking for, then become a member and get an answer fast! We have thousands of people online every moment of the day to help you! Click here


Can't find where you are looking for? Search our knowledgebase!
 




Similar Threads
Thread Thread Starter Forum Replies Last Post
DVD-R capacity: dependant on media ? tscargo Blank Media 4 02-02-2006 23:19
Detecting Capacity Of Media knuckles_mctug Optical Storage Technical Discussions 4 11-11-2005 12:21
How to get information abot media capacity yoss05 Nero SDK Discussion Forum 1 01-06-2005 12:47
Problems with data capacity Ritek 2x media Mirx Blank Media 4 23-04-2003 09:42


Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is On
Trackbacks are Off
Pingbacks are Off
Refbacks are Off


All times are GMT +2. The time now is 06:57.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.1.0