Put in scan queue (deprecated)
|
Method |
PutToScanQueue |
|
Description |
This method is called to place a file to the scan-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 PutToScanQueue( [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 / 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 will be 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.