ImageGear Professional DLL v17.1 for Windows Accusoft
LPFNIG_TWAIN_AFTER_AUDIO_SNIPPET
Send Feedback  
ImageGear Professional DLL v17.1 for Windows > API Reference Guide > TWAIN Component API Reference > TWAIN Component Callback Functions Reference > LPFNIG_TWAIN_AFTER_AUDIO_SNIPPET

Glossary Item Box

This callback function, if registered, will be called by ImageGear after each audio snippet has been acquired using the IG_TWAIN_file_get_image() function.

Declaration:

  Copy Code
typedef LONG (LPACCUAPI LPFNIG_TWAIN_AFTER_AUDIO_SNIPPET)(
        LONG nSnippetNum,
        LPCSTR lpszAudioDataName,
        LPCVOID lpAudioData,
        LONG nPendCount,
        LPCSTR lpszFileName,
        LPVOID lpData);

Arguments:

nSnippetNum The number of the audio snippet just acquired; the first snippet is 1.
lpszAudioDataName The name of audio data.
lpAudioData A pointer to the acquired audio snippet.
nPendCount The number of pending audio snippets left to be acquired.
lpszFileName If you are using Native Transfer Syntax, this will be the filename given to the snippet that was just acquired. If you are using Disk File Transfer, this was the name given to the snippet that was just acquired.
lpData A far pointer to private data, as specified in your call to IG_TWAIN_file_get_image() function.

Return Value:

Return 1 if you want to continue acquisition of audio snippets; return 0 to cancel the acquisition after saving the snippet just acquired.

Supported Raster Image Formats:

This function does not process image pixels.

©2012. Accusoft Corporation. All Rights Reserved.