Selects a new drive speed.
#include "ILTDVDBurner2.h"
| Platform | Syntax |
|---|---|
| C | HRESULT ILTDVDBurner_put_CurrentSpeed(pDVDBurner, newVal) |
| C++ | HRESULT put_CurrentSpeed(newVal) |
Pointer to an ILTDVDBurner interface.
Value that represents the zero-based index of the speed 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.
For a C example, refer to ILTDVDBurner::get_CurrentSpeed Example for C.
For a C++ example, refer to ILTDVDBurner::get_CurrentSpeed Example for C++.