Al_setbufferdonehandlermsg – Measurement Computing ADLIB WIN User Manual
Page 130

Chapter 40 Buffer Handler Functions
27-10
27.9 AL_SetBufferDoneHandlerMsg
Prototype
C\C++
ERRNUM
AL_SetBufferDoneHandlerMsg(LHLD
lhld, HWND hwnd, UINT uiMsg);
Visual Basic for Windows
Function
AL_SetBufferDoneHandlerMsg(ByVal
lhld As Long,
ByVal hwnd As Integer,
ByVal uiMsg As Integer) As Long
LHLD lhld
handle of the LDSD
HWND hwnd
handle of the destination window
UINT uiMsg
message to post
The AL_SetBufferDoneHandlerMsg function sets the buffer done handler message window and message
identifier in the LDSD when the ADLIB function AL_SetBufferDoneHandler is set to
AL_POSTMESSAGE.
Parameter
Description
lhld
Identifies the instance of the logical device subsystem.
hwnd
Identifies the window to which the message will be posted.
uiMsg
Specifies the message 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_GetBufferDoneHandlerMsg
Supported Logical Device Subsystems:
Pci55xx Series: ADC0, DAC0, DAC1