EnumMode

Calls to EnumMode are intended to provide access to the names of the supported start_mode vales and the number of security_level values of a start_mode.

int WINAPI EnumMode(LPINT code, LPINT mode, LPSTR name, LPINT levels);

where code is a pointer to the code (ie. Barcode type) whose mode names are being enumerated

mode is a pointer to the mode (ie start_mode value) whose name and number of security levels are required

name is a pointer to a string that will received the mode name. This string must exist and be at least 24 characters long prior to the call

levels is a pointer to an integer that will receive the number of security levels supported in the named mode.

The call may be made from Visual Basic or Visual Basic for Applications, in which case the following Basic declaration will be required in the calling program:

Private Declare Function EnumMode Lib "Dls2d" (ByRef co As Long, ByRef mo As Long, ByVal nm$, ByRef lv As Long) As Long

More:

ErrorMess2D