Retrieves the index of the currently selected driver that supports burning.
#include "ILTDVDBurner2.h"
Platform | Syntax |
---|---|
C | HRESULT ILTDVDBurner_get_CurrentDrive(pDVDBurner, pVal) |
C++ | HRESULT get_CurrentDrive(pVal) |
Pointer to an ILTDVDBurner interface.
Pointer to a variable to be updated with the zero-based index of the currently selected driver in the drives list that supports burning.
Value | Meaning |
---|---|
S_OK | The function was successful. |
<> S_OK | An error occurred. Refer to the Error Codes. |
To retrieve the count of drives that support burning, call ILTDVDBurner::get_DriveCount.
Win32, x64
For a C example, refer to ILTDVDBurner::get_CurrentDrive Example for C.
For a C++ example, refer to ILTDVDBurner::get_CurrentDrive Example for C++.