Al_setbufferdonehandlerparams – Measurement Computing ADLIB WIN User Manual

Page 133

Advertising
background image

Chapter 40 Buffer Handler Functions

27-13

27.12 AL_SetBufferDoneHandlerParams

Prototype

C\C++

ERRNUM

AL_SetBufferDoneHandlerParams(LHLD lhld, WPARAM wparam,

LPARAM

wparam)


Visual Basic for Windows

Function

AL_SetBufferDoneHandlerParams

(ByVal

lhld As Long,

ByVal wparam As Long, ByVal lparam As

Long)

As

Long

LHLD lhld

handle of the LDSD

WPARAM wparam

value of the windows wparam parameter to be posted.

LPARAM lparam

value of the windows lparam parameter to be posted.


The AL_SetBufferDoneHandlerParams function sets the wparam and lparam parameters to be posted to
a user application when the ADLIB function AL_SetBufferDoneHandler is set to
AL_POSTMESSAGE_PARAMS.

Parameter Description

lhld

Identifies the instance of the logical device subsystem.


wparam

Actual WPARAM value to be posted:


lparam

Actual LPARAM value to be posted:


Returns:
On success ERRNUM is set to 1, otherwise ERRNUM contains the last error code that occurred during the
call.

Related Functions:
AL_SetBufferDoneHandler
AL_SetBufferDoneHandlerParams

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

Advertising