Copyright © 2001-2020 MultiMedia Soft

ASIO.DeviceGetDriverPathname method

Previous pageReturn to chapter overviewNext page

Remarks

 

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 ASIO object section and the How to manage ASIO drivers tutorial.

 

 

Syntax

 

[Visual Basic]

control.ASIO.DeviceGetDriverPathname (

nDeviceIndex as Integer

) as String


 

[C++]

LPCTSTR control.ASIO.DeviceGetDriverPathname (

short nDeviceIndex

);


 

 

 

Parameter

Description

 

 

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

 

Value

Meaning

 

 

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