Al_setldsstring – Measurement Computing ADLIB WIN User Manual
Page 50

Chapter 12 Logical Device String Names
11-4
11.3 AL_SetLdsString
Prototype
C\C++
ERRNUM
AL_SetLdsString(LHLD
lhld, LPSTR lpstrLds);
Visual Basic for Windows
Function
AL_SetLdsString(ByVal
lhld As Long, ByVal lpstrLds As String) As Long
LHLD lhld
handle of the LDSD
LPSTR lpstrLds
source address
The AL_SetLdsString function copies the lpstrLds string to the ADLIB LDSD string. The maximum
string length allowed is 80 characters, including the NULL termination character. If the input string
exceeds the 80 character limit the resulting string will be truncated and NULL padded.
Parameter
Description
lhld
Identifies the instance of the logical device subsystem.
lpstrEnv
Points to the user define Logical device description string.
Returns:
On success ERRNUM is set to 1, otherwise ERRNUM contains the last error code that occurred during the
call.
Related Functions:
AL_GetLdsString
Program References:
NONE
Supported Logical Device Subsystems:
All