Put in scan-and-clean queue (deprecated)
Method |
PutToScanAndCleanQueue |
Description |
This method places a file to the scan-and-clean queue. In other words, the scan request will be processed asynchronously. |
Note |
deprecated |
Note: This is a deprecated method and we suggest using ScanEx instead.
Function prototype
HRESULT
PutToScanAndCleanQueue
(
[in] VARIANT FileNameOrBuffer,
[out, retval] VARIANT* Ticket
)
Arguments
Argument |
Description |
Data Type |
FileNameOrBuffer |
If FileNameOrBuffer is of type string then it is treated as a file or directory name to be scanned. Otherwise, if it is a byte array (Byte []), it is treated as a memory buffer that should be scanned. |
File name: string Buffer: byte array |
Ticket |
A ticket for this scan job. This ticket is passed to the callback methods registered via the Callback for Scan Completion (COM) connection point. |
UINT32 |
Note: To get the result of this call, you must implement the Callback for Scan Completion (COM) connection point.