Copyright © 2006-2016 MultiMedia Soft
Obtains the current speed of the CD drive. The speed can be modified through the CdDriveSpeedSet method.
Public Function CdDriveSpeedGet (
nCdDriveIndex as Int16,
ByRef nSpeed as Int32
) as enumErrorCodes
public enumErrorCodes CdDriveSpeedGet (
ref Int32 nSpeed
public: enumErrorCodes CdDriveSpeedGet (
Int32 __gc *nSpeed
Number representing the zero-based index of the involved CD drive.
Installed CD drives can be enumerated using the GetCdDrivesCount method and their friendly description can be retrieved through the GetCdDriveDesc method.
Reference that, after returning from the method call, will contain the speed of the CD drive expressed in Kbytes per second.
You can divide the speed by 176.4 to get the real-time speed multiplier; if for example the returned values should be 7096, the operation to perform would be
7096 / 176.4 = "40x".
An error occurred (see the LastError property for further error details)
The call was successful.