The IWiaMiniDrv::drvNotifyPnpEvent method responds to the event received from the WIA service.
HRESULT drvNotifyPnpEvent( const GUID *pEventGUID, BSTR bstrDeviceID, ULONG ulReserved );
Specifies a string containing the device's unique identifier.
Is reserved for system use.
On success, the method should return S_OK. If the method fails, it should return a standard COM error code.
The WIA service notifies a WIA minidriver of a supported device event by calling the IWiaMiniDrv::drvNotifyPnpEvent method. In this method the minidriver implements the device-specific functionality needed to respond to the event.
If this method is called with *pEventGuid set to WIA_EVENT_CANCEL_IO device event (described in the Microsoft Windows SDK documentation), it should cancel all current I/O operations as soon as possible.
|Minimum supported client||Available in Windows Me and in Windows XP and later.|
|Header||wiamindr_lh.h (include Wiamindr.h)|