Retrieves the base name of the specified device driver
#include <WinAPIProc.au3>
_WinAPI_GetDeviceDriverBaseName ( $pDriver )
$pDriver | The load address of the device driver. This value can be retrieved using the _WinAPI_EnumDeviceDrivers() function. |
Success: | The base name of the device driver. |
Failure: | Empty string, call _WinAPI_GetLastError() to get extended error information. |
Search GetDeviceDriverBaseName in MSDN Library.
#include <Array.au3>
#include <WinAPIProc.au3>
Local $aInfo, $aData = _WinAPI_EnumDeviceDrivers()
If IsArray($aData) Then
Dim $aInfo[$aData[0]][3]
For $i = 1 To $aData[0]
$aInfo[$i - 1][0] = $aData[$i]
$aInfo[$i - 1][1] = _WinAPI_GetDeviceDriverBaseName($aData[$i])
$aInfo[$i - 1][2] = _WinAPI_GetDeviceDriverFileName($aData[$i])
Next
EndIf
_ArrayDisplay($aInfo, '_WinAPI_EnumDeviceDrivers')