NeroCOM: Available Capacity on Media

Nero & InCD Discuss, NeroCOM: Available Capacity on Media at Burning Software 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 kind

  1. Old Posted:
    • # 1
    default_avatar
    burning snow (New on Forum)
    Posts: 9
    • Find More Posts by burning snow
    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?
    default_avatar
    Today (MyCE Staff)
    Posts: 15,596
  2. Old Posted:
    • # 2
    default_avatar
    AndyNugent (New on Forum)
    Posts: 23
    • Find More Posts by AndyNugent

    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;

Hello guest,
default
To benefit from all extra features you need to log in or sign up.

Search this Thread

New Posts

People who found this also searched for

  • freecapacityinblocks
All times are GMT +2. The time now is 06:25.
Top