TwainControllerProcessEvent Method |
This method will process the Message object retrieved from
PreFilterMessage to determine if the message should be handled by the device or passed along the
message loop.
Namespace:
Atalasoft.Twain
Assembly:
Atalasoft.DotTwain (in Atalasoft.DotTwain.dll) Version: 11.4.0.9.0.377 (.NET 4.5.2, x86)
Syntaxpublic TwainReturnCode ProcessEvent(
Message message,
out TwainEventMessage twainMessage
)
Public Function ProcessEvent (
message As Message,
<OutAttribute> ByRef twainMessage As TwainEventMessage
) As TwainReturnCode
Parameters
- message
- Type: System.Windows.FormsMessage
The Message object from PreFilterMessage. - twainMessage
- Type: Atalasoft.TwainTwainEventMessage
Set to the TwainEventMessage, indicating whether or not this is a Twain
message.
Return Value
Type:
TwainReturnCode The return code from the device.
See Also