Measurement-computing ADLIB WIN Manual do Utilizador Página 126

  • Descarregar
  • Adicionar aos meus manuais
  • Imprimir
  • Página
    / 191
  • Índice
  • MARCADORES
  • Avaliado. / 5. Com base em avaliações de clientes
Vista de página 125
Chapter 40 Buffer Handler Functions
27-6
27.6 AL_GetBufferStatus
Prototype C\C++
ERRNUM AL_GetBufferStatus(LHLD lhld,
LPDATABUFFSTATUS lpDataBuffStat,
long lBuffNum);
Visual Basic for Windows
Function AL_ GetBufferStatus(ByVal lhld As Long,
lpDataBuffStat As LPDATABUFFSTATUS,
ByVal lBuffNum As Long) As Long
LHLD lhld handle of the LDSD
LPDATABUFFSTATUS lpDataBuffStat address of the LPDATABUFFSTATUS structure
long lBuffNum specifies the buffer number
The AL_ GetBufferStatus function retrieves a buffer’s current status.
Parameter Description
lhld Identifies the instance of the logical device subsystem.
lpDataBuffStat Points to the data buffer status structure to be filled.
lBuffNum Specifies the ID number of the buffer from which the status information is
obtained.
DONE_BUFFER Gets the next available buffer
Returns:
On success lpDataBuffStat is set with the specified lBuffNum or the next available buffer status, otherwise
ERRNUM contains the last error code that occurred during the call. If lBuffNum is set to DONE_BUFFER
a return value of 0 indicates the buffer is incomplete, a return value of 1 indicates the buffer is complete.
Related Functions:
AL_ClearBufferDoneFlag
Supported Logical Device Subsystems:
Pci55xx Series: ADC0, DAC0, DAC1
Vista de página 125
1 2 ... 121 122 123 124 125 126 127 128 129 130 131 ... 190 191

Comentários a estes Manuais

Sem comentários