SendDriverMessage
Sends the specified message to the installable driver. LRESULT SendDriverMessage(HDRVR hdrvr, UINT msg, LONG lParam1,
LONG lParam2);
Parameters
hdrvr
Handle of the installable driver instance. The handle must been previously created by using the OpenDriver function.
msg
Driver message value. It can be a custom message value or one of these standard message values: DRV_QUERYCONFIGURE Queries an installable driver about whether it supports the DRV_CONFIGURE message and can display a configuration dialog box.
DRV_CONFIGURE Notifies an installable driver that it should display a configuration dialog box. (This message should only be sent if the driver returns a nonzero value when the DRV_QUERYCONFIGURE message is processed.)
DRV_INSTALL Notifies an installable driver that it has been successfully installed.
DRV_REMOVE Notifies an installable driver that it is about to be removed from the system.
lParam1 and lParam2
32-bit message-dependent information.
Sends the specified message to the installable driver. LRESULT SendDriverMessage(HDRVR hdrvr, UINT msg, LONG lParam1,
LONG lParam2);
Parameters
hdrvr
Handle of the installable driver instance. The handle must been previously created by using the OpenDriver function.
msg
Driver message value. It can be a custom message value or one of these standard message values: DRV_QUERYCONFIGURE Queries an installable driver about whether it supports the DRV_CONFIGURE message and can display a configuration dialog box.
DRV_CONFIGURE Notifies an installable driver that it should display a configuration dialog box. (This message should only be sent if the driver returns a nonzero value when the DRV_QUERYCONFIGURE message is processed.)
DRV_INSTALL Notifies an installable driver that it has been successfully installed.
DRV_REMOVE Notifies an installable driver that it is about to be removed from the system.
lParam1 and lParam2
32-bit message-dependent information.
解决方案 »
免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货