Retrieves the supported disc type by the specified drive at the specified type index.
#include "ILTDVDBurner2.h"
| Platform | Syntax |
|---|---|
| C | HRESULT ILTDVDBurner_getDriveDiscType(pDVDBurner, Drive, Index, pVal) |
| C++ | HRESULT GetDriveDiscType(Drive, Index, pVal) |
Pointer to an ILTDVDBurner interface.
The zero-based index of drive for which to retrieve the supported type at the specified index.
The zero-based index of the type to be retrieved.
Pointer to a variable to be updated with an LTDVDBurner_DiscType Constant value representing the type of disc.
| 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::GetDriveDiscType Example for C.
For a C++ example, refer to ILTDVDBurner::GetDriveDiscType Example for C++.