Retrieves the number of disc types supported by the specified drive.
#include "ILTDVDBurner2.h"
| Platform | Syntax |
|---|---|
| C | HRESULT ILTDVDBurner_getDriveDiscTypeCount(pDVDBurner, Drive, pVal) |
| C++ | HRESULT GetDriveDiscTypeCount(Drive, pVal) |
Pointer to an ILTDVDBurner interface.
Value that represents a zero-based index of the drive for which to retrieve the number of supported disc types.
Pointer to a variable to be updated with number of disc types supported by the specified drive.
| 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::GetDriveDiscTypeCount Example for C.
For a C++ example, refer to ILTDVDBurner::GetDriveDiscTypeCount Example for C++.