BOOL GetDriverInfo(hdrvr, lpdis) | |||||
HDRVR hdrvr; | /* handle of installable driver | */ | |||
DRIVERINFOSTRUCT FAR* lpdis; | /* address of structure for info | */ |
The GetDriverInfo function retrieves information about an installable driver.
hdrvr
Identifies the installable driver. This handle must be retrieved by the OpenDriver function.
lpdis
Points to a DRIVERINFOSTRUCT structure that receives the driver information. The DRIVERINFOSTRUCT structure has the following form:
typedef struct tagDRIVERINFOSTRUCT { /* drvinfst */
UINT length;
HDRVR hDriver;
HINSTANCE hModule;
char szAliasName[128];
} DRIVERINFOSTRUCT;
For a full description of this structure, see the Microsoft Windows Programmer's Reference, Volume 3.
The return value is nonzero if the function is successful. Otherwise, it is zero.