Measurement-computing ADLIB WIN Manuale Utente Pagina 132

  • Scaricare
  • Aggiungi ai miei manuali
  • Stampa
  • Pagina
    / 191
  • Indice
  • SEGNALIBRI
  • Valutato. / 5. Basato su recensioni clienti
Vedere la pagina 131
Chapter 40 Buffer Handler Functions
27-12
27.11 AL_SetBufferDoneHandlerFunc
Prototype C\C++
ERRNUM AL_SetBufferDoneHandlerFunc(LHLD lhld,
LPBUFFHAND lpfnBufferCbHandlerProc);
LHLD lhld handle of the LDSD
LPBUFFHAND lpfnBufferCbHandlerProc Address of the callback function
The AL_SetBufferDoneHandlerFunc function sets the buffer done handler CALLBACK address
identifier in the LDSD when the ADLIB function AL_SetBufferDoneHandler is set to AL_CALLBACK.
The Prototype for the CALLBACK is:
long __stdcall BufferCbHandlerProc(long lBufferNum, LPBUFFSTRUCT lpbuff, DWORD dwSeqCount,
LPVOID lpvoid)
Parameter Description
lhld Identifies the instance of the logical device subsystem.
lpfnBufferCbHandlerProc Specifies the address of the callback function.
Returns:
On success ERRNUM is set to 1, otherwise ERRNUM contains the last error code that occurred during the
call.
Related Functions:
AL_SetBufferDoneHandler
Supported Logical Device Subsystems:
Pci55xx Series: ADC0, DAC0, DAC1
Vedere la pagina 131
1 2 ... 127 128 129 130 131 132 133 134 135 136 137 ... 190 191

Commenti su questo manuale

Nessun commento