The DRV_INSTALL message is sent to an installable driver during the driver initialization process.
dwDriverIdentifier
Specifies a unique 32-bit value that identifies the installable driver.
hDriver
Identifies an instance of the installable driver.
lParam1
Not used.
lParam2
Points to an optional DRVCONFIGINFO structure. An installable driver should verify that this pointer is valid before using it.
This structure has the following form:
typedef struct tagDRVCONFIGINFO {
DWORD dwDCISize;
LPCSTR lpszDCISectionName;
LPCSTR lpszDCIAliasName;
} DRVCONFIGINFO;
An installable driver returns nonzero if it processes this message. Otherwise, it returns zero.
When the driver receives this message, it creates an entry for the driver in the SYSTEM.INI file and performs other necessary configuration operations.