Retrieves the capacity, in bytes, of the inserted media in the current drive.
#include "ILTDVDBurner2.h"
| Platform | Syntax |
|---|---|
| C | HRESULT ILTDVDBurner_get_DiscCapacity(pDVDBurner, pVal) |
| C++ | HRESULT get_DiscCapacity(pVal) |
Pointer to an ILTDVDBurner interface.
Pointer to a variable to be updated with the capacity, in bytes, of the inserted media.
| Value | Meaning |
|---|---|
| S_OK | The function was successful. |
| <> S_OK | An error occurred. Refer to the Error Codes. |
Win32, x64
For a C example, refer to ILTDVDBurner::get_DiscCapacity Example for C.
For a C++ example, refer to ILTDVDBurner::get_DiscCapacity Example for C++.