Al_getbufferdonehandlermsg – Measurement Computing ADLIB WIN User Manual
Page 131

Chapter 40 Buffer Handler Functions
27-11
27.10 AL_GetBufferDoneHandlerMsg
Prototype
C\C++
ERRNUM
AL_GetBufferDoneHandlerMsg(LHLD
lhld, LPWORD lpwordHwnd,
LPWORD lpwordMsg);
Visual Basic for Windows
Function
AL_GetBufferDoneHandlerMsg(ByVal
lhld As Long,
lpwordHwnd As Integer,
lpwordMsg As Integer) As Long
LHLD lhld
handle of the LDSD
LPWORD
lpwordHwnddestination address for the window handle
LPWORD
lpwordMsgdestination address for the window message ID
The AL_GetBufferDoneHandlerMsg function returns the current buffer done message handler window
handle and message ID of the LDSD.
Parameter
Description
lhld
Identifies the instance of the logical device subsystem.
lpwordHwnd
Points to the destination address for window handle.
lpwordMsg
Points to the destination address for posting message ID.
Returns:
On success ERRNUM is set to 1, lpwordHwnd is set to the LDSD done buffer window identifier and
lpwordMsg points to the message ID number. Otherwise ERRNUM contains the last error code that
occurred during the call.
Related Functions:
AL_SetBufferDoneHandlerMsg
Supported Logical Device Subsystems:
Pci55xx Series: ADC0, DAC0, DAC1