Al_getbufferdonehandler – Measurement Computing ADLIB WIN User Manual

Page 129

Advertising
background image

Chapter 40 Buffer Handler Functions

27-9

27.8

AL_GetBufferDoneHandler

Prototype

C\C++

ERRNUM

AL_GetBufferDoneHandler(LHLD lhld, LPSTR lpstrMethod, long

lMaxLength);


Visual Basic for Windows

Function

AL_GetBufferDoneHandler(ByVal

lhld As Long,

ByVal lpstrMethod As String,

ByVal lMaxLength As Long) As Long

LHLD lhld

handle of the LDSD

LPSTR lpstrMethod

destination address of the notification method string

long lMaxLength

the count in bytes to be copied


The AL_GetBufferDoneHandler function returns the buffer done handler method.

Parameter

Description

lhld

Identifies the instance of the logical device subsystem.


lpstrMethod

Points to the destination string for the copy.


lMaxLength

Maximum length in bytes to be copied to the user method string, including the

NULL

termination

character.


Returns:
On success ERRNUM is set to 1, lpstrMethod is set to the LDSD done buffer handler method. 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

Advertising