#include "ILTDVDBurner2.h"
C Syntax |
HRESULT LTDVDBurner_get_SpeedCount(pDVDBurner, pVal) |
C++ Syntax |
HRESULT get_SpeedCount(pVal) |
ILTDVDBurner *pDVDBurner; |
/* pointer to an interface */ |
long *pVal; |
/* pointer to a variable */ |
Retrieves the number of speeds supported by the selected drive.
Parameter |
Description |
pDVDBurner |
Pointer to an ILTDVDBurner interface. |
pVal |
Pointer to a variable to be updated with the number of speeds supported by the selected drive. |
Returns
S_OK |
The function was successful. |
<> S_OK |
An error occurred. Refer to the Error Codes or the HRESULT error codes in the DirectShow documentation. |
Comments
Use ILTDVDBurner::GetSpeedName to retrieve a user-friendly string that describes each speed supported by the drive.
Use ILTDVDBurner::GetSpeedValue to retrieve the speed value.
Required DLLs and Libraries
LTDVDBrn DSKernel (Multimedia toolkit) or LTKRN (Imaging Pro, Document, or Medical toolkits) For a listing of the exact DLLs and Libraries needed, based on the toolkit version, refer to Files To Be Included With Your Application. |
Win32, x64
See Also
Functions: |
ILTDVDBurner::put_CurrentSpeed, ILTDVDBurner::GetSpeedValue, ILTDVDBurner::GetSpeedName |
Topics: |
Video Streaming Function Groups, Multimedia Function Group, DVD Function Groups |
Example
For a C example, refer to ILTDVDBurner::get_SpeedCount Example for C.
For a C++ example, refer to ILTDVDBurner::get_SpeedCount Example for C++.