Al_setnumofbuffers – Measurement Computing ADLIB WIN User Manual
Page 134

Chapter 40 Buffer Handler Functions
27-14
27.13 AL_SetNumOfBuffers
Prototype
C\C++
ERRNUM
AL_SetNumOfBuffers(LHLD
lhld, long lNumBuffers);
Visual Basic for Windows
Function
AL_SetNumOfBuffers(ByVal
lhld As Long,
ByVal lNumBuffers As Long) As Long
LHLD lhld
handle of the LDSD
long lNumBuffers specifies the quantity of buffers
The AL_SetNumOfBuffers function sets the number of buffers in the LDSD.
Parameter
Description
lhld
Identifies the instance of the logical device subsystem.
lNumBuffers
Specifies the quantify of buffers required for a hardware subsystem.
Returns:
On success ERRNUM is set to 1, otherwise ERRNUM contains the last error code that occurred during the
call.
Related Functions:
AL_GetNumOfBuffers
AL_SetBufferSize
Supported Logical Device Subsystems:
Pci55xx Series: ADC0, DAC0, DAC1