Measurement-computing ADLIB WIN Manual de usuario Pagina 127

  • Descarga
  • Añadir a mis manuales
  • Imprimir
  • Pagina
    / 191
  • Tabla de contenidos
  • MARCADORES
  • Valorado. / 5. Basado en revisión del cliente
Vista de pagina 126
Chapter 40 Buffer Handler Functions
27-7
27.7 AL_SetBufferDoneHandler
Prototype C\C++
ERRNUM AL_SetBufferDoneHandler(LHLD lhld, LPSTR lpstrMethod)
Visual Basic for Windows
Function AL_SetBufferDoneHandler(ByVal lhld As Long,
ByVal lpstrMethod As String) As Long
LHLD lhld handle of the LDSD
LPSTR lpstrMethod address of the notification method string
The AL_SetBufferDoneHandler function sets the buffer done handler method of the LDSD. See sections
4.2 OPERATING MODES and 6.4 BUFFER NOTIFICATIONS for additional details.
Parameter Description
lhld Identifies the instance of the logical device subsystem.
lpstrMethod Points to the desired notification method. The available settings are defined in
the ADLIB include file as follows:
AL_CHECK_BUFFER Buffers are polled for completion
AL_POSTMESSAGE ADLIB calls a user function when
a buffer is completed.
AL_POSTMESSAGE_PARAMS ADLIB calls a user function with
the user specified lparam and
wparam set by the
AL_SetBufferDoneHandlerParams
function when a buffer is completed
AL_CALLBACK ADLIB calls a user defined function
per the function call
AL_SetBufferDoneHandlerFunc.
(MSC Support Only)
AL_CONTINUOUS _WAVE For DAC channels only. ADLIB
automatically clears the buffer done
flag and puts the buffer back in the
queue, repeating buffers 0-N.
Vista de pagina 126
1 2 ... 122 123 124 125 126 127 128 129 130 131 132 ... 190 191

Comentarios a estos manuales

Sin comentarios