Group: Performance Monitoring - Library: psapi
Listing device drivers in the system: load addresses, names
DWORD GetDeviceDriverBaseName(
LPVOID ImageBase, // driver load address
LPTSTR lpBaseName, // driver base name buffer
DWORD nSize // size of buffer
); DECLARE INTEGER GetDeviceDriverBaseName IN psapi;
INTEGER ImageBase,;
STRING @ lpBaseName,;
INTEGER nSize ImageBase [in] Specifies the load address of the device driver.
lpBaseName [out] Pointer to the buffer that receives the base name of the device driver.
nSize [in] Specifies the size, in bytes, of the lpBaseName buffer.
If the function succeeds, the return value specifies the length of the string copied to the buffer. If the function fails, the return value is zero.
Windows NT/2000/XP: Included in Windows NT 4.0 and later.
Windows 95/98/Me: Unsupported.
Home