ImageGear Professional v18.2 > API Reference Guide > TWAIN Component API Reference > TWAIN Component Callback Functions Reference > LPFNIG_TWAIN_AFTER_AUDIO_SNIPPET |
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.
Copy Code
|
|
---|---|
typedef LONG (LPACCUAPI LPFNIG_TWAIN_AFTER_AUDIO_SNIPPET)( LONG nSnippetNum, LPCSTR lpszAudioDataName, LPCVOID lpAudioData, LONG nPendCount, LPCSTR lpszFileName, LPVOID lpData ); |
Name | Type | Description |
nSnippetNum | LONG | The number of the audio snippet just acquired; the first snippet is 1. |
lpszAudioDataName | LPCSTR | The name of audio data. |
lpAudioData | LPCVOID | A pointer to the acquired audio snippet. |
nPendCount | LONG | The number of pending audio snippets left to be acquired. |
lpszFileName | LPCSTR | 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 | LPVOID | A far pointer to private data, as specified in your call to IG_TWAIN_file_get_image() function. |
Return 1 if you want to continue acquisition of audio snippets; return 0 to cancel the acquisition after saving the snippet just acquired.
This function does not process image pixels.