Copyright © 2005-2018 MultiMedia Soft

GetCdDrivesCount method

Previous pageReturn to chapter overviewNext page



Retrieves the number of CD drives currently installed on the system.


The friendly name of each CD drive can be obtained using the GetCdDriveDesc method.





[Visual Basic]

Public Function GetCdDrivesCount (

) as Int16



public Int16 GetCdDrivesCount (




public: Int16 GetCdDrivesCount (




Return value


The number of output devices currently installed on the system.