Al_getnumofbuffers – Measurement Computing ADLIB WIN User Manual

Page 135

Advertising
background image

Chapter 40 Buffer Handler Functions

27-15

27.14 AL_GetNumOfBuffers

Prototype

C\C++

STATUS

AL_GetNumOfBuffers(LHLD

lhld);


Visual Basic for Windows

Function

AL_GetNumOfBuffers(ByVal

lhld As Long) As Long


LHLD lhld

handle of the LDSD


The AL_GetNumOfBuffers function retrieves the number of buffers in the LDSD.

Parameter Description

lhld

Identifies the instance of the logical device subsystem.


Returns:
On success STATUS contains the number of buffers currently set in the LDSD for the specified device,
otherwise STATUS contains a negative error code that occurred during the call.

Related Functions:
AL_SetNumOfBuffers

Supported Logical Device Subsystems:
Pci55xx Series: ADC0, DAC0, DAC1

Advertising