Copyright © 2005-2018 MultiMedia Soft

ASIO.DeviceGetDriverPathname method

Previous pageReturn to chapter overviewNext page



Retrieves the absolute pathname of the file containing the ASIO driver of the given ASIO device.


For further details about the use of ASIO drivers see the ASIOMan class and the How to manage ASIO drivers tutorial.





[Visual Basic]

Public Function DeviceGetDriverPathname (

nDeviceIndex as Int16

) as String



public string DeviceGetDriverPathname (

Int16 nDeviceIndex




public: string DeviceGetDriverPathname (

Int16 nDeviceIndex









Number representing the zero-based index of the ASIO device.

This index is related to available ASIO devices so it must be the related to the enumeration performed through the ASIO.DeviceGetCount and ASIO.DeviceGetDesc methods: it must not be confused with indexes related to generic output devices enumerated through the GetOutputDevicesCount and GetOutputDeviceDesc methods which may contain both DirectSound and ASIO devices.



Return value






Empty string

The value of the nDeviceIndex parameter was out of range. Use the value returned by the ASIO.DeviceGetCount method in order to know how many ASIO devices are currently installed inside the system.

Valid string

The string containing the absolute pathname of the ASIO driver