Iadc::cancelreadrequest - Intermec 700 Series 700 User Manual

Monochrome mobile computer
Hide thumbs Also See for 700 Series 700:
Table of Contents

Advertisement

700 Series Monochrome Mobile Computer User's Manual

IADC::CancelReadRequest

This function cancels a pending Read() request. This call can be made on a
separate thread as a Read() or on the same thread. On a separate thread,
the function is useful in unblocking a blocked Read() so that other opera-
tions can be performed. On the same thread, this function is useful in
stopping data from being collected on behalf of a Read Ahead Client.
Syntax
HRESULT IADC::CancelReadRequest( BOOL
FlushBufferedData,WORD *pwTotalDiscardedMessages, DWORD
*pdwTotalDiscardedBytes );
Parameters
FlushBufferedData
pwTotalDiscardedMessages [in/out]
pdwTotalDiscardedBytes
Return Values
HRESULT that indicates success or failure.
Remarks
The return value indicates whether a read was pending.
See Also
S IADC::Initialize
S IADC::QueryAttribute
S IADC::QueryData
S IADC::Read
S IADC::SetAttribute
Chapter 6
[in] True Flush and discard all already
buffered data.
False Do not discard data, data will be
returned on the next read call.
Total number of discarded buffered
labels or tags.
Total number of discarded bytes.
Scanner Support
157

Advertisement

Table of Contents
loading

Table of Contents