Selects a drive.
#include "ILTDVDBurner2.h"
| Platform | Syntax |
|---|---|
| C | HRESULT ILTDVDBurner_put_CurrentDrive(pDVDBurner, newVal) |
| C++ | HRESULT put_CurrentDrive(newVal) |
Pointer to an ILTDVDBurner interface.
Value that represents the zero-based index of the drive to select.
| Value | Meaning |
|---|---|
| S_OK | The function was successful. |
| <> S_OK | An error occurred. Refer to the Error Codes. |
The currently selected drive must be in the idle state in order for this function to succeed.
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++.