DTwainBufferedTransfer::GetStrip |
Top Previous Next |
Syntax
HANDLE DTwainBufferedTransfer::GetStrip( ) const;
Return Value Returns a HANDLE to the currently acquired strip of data.
Comments
The GetStrip function returns a HANDLE to the last strip of image data that was acquired. This function should only be used when calling an overridden function in the DTwainBufferedListener object (for example DTwainBufferedListener::OnTransferStripDone) since it only returns a valid HANDLE during the image acquisition process.
The application must call the Windows API GlobalLock( ) on the HANDLE to create a useful pointer to the data. After the application is done, the GlobalUnlock( ) function must be called. |