UID | title | description | old-location | tech.root | ms.date | keywords | ms.keywords | req.header | req.include-header | req.target-type | req.target-min-winverclnt | req.target-min-winversvr | req.kmdf-ver | req.umdf-ver | req.ddi-compliance | req.unicode-ansi | req.idl | req.max-support | req.namespace | req.assembly | req.type-library | req.lib | req.dll | req.irql | targetos | req.typenames | f1_keywords | topic_type | api_type | api_location | api_name | ||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
NF:wiamdef.wiasQueueEvent |
wiasQueueEvent function (wiamdef.h) |
The wiasQueueEvent function informs the service that the device generated an event. |
image\wiasqueueevent.htm |
image |
05/03/2018 |
|
image.wiasqueueevent, wiamdef/wiasQueueEvent, wiasFncs_a853cdf1-8d80-4bb6-9c41-c7190e9e9202.xml, wiasQueueEvent, wiasQueueEvent function [Imaging Devices] |
wiamdef.h |
Wiamdef.h |
Desktop |
Wiaservc.lib |
Wiaservc.dll |
Windows |
|
|
|
|
|
The wiasQueueEvent function informs the service that the device generated an event.
Specifies the device ID. This is the value passed to the minidriver in the call to the IWiaMiniDrv::drvInitializeWia method.
Pointer to a buffer that contains the GUID for the event.
Specifies the full item name, including path information.
On success, the function returns S_OK.
If the function fails, it returns a standard COM error or one of the WIA error codes.
This method should be used whenever the device must signal that an event of some type occurred. The device does this by placing the event on the event queue. For example, when a camera takes a new picture, it should generate a WIA_EVENT_ITEM_CREATED event after adding a new driver item to its tree. The camera can place this event on the event queue in this way:
hr = wiasQueueEvent(bstrMyDeviceId,
&WIA_EVENT_ITEM_CREATED,
bstrDescriptionString);
See the Windows SDK documentation for a complete list of WIA event identifiers.