L_VecDlgGetString

#include "lvdlg.h"

L_INT EXT_FUNCTION L_VecDlgGetString(uString, pszString)

L_UINT32 uString;

/* index of a string */

L_TCHAR L_FAR * pszString;

/* pointer to the variable to be updated */

Gets the current string for the specified index.

Parameter

Description

uString

Index into a list of strings. For a list of the strings, refer to Dialog Strings.

pszString

Pointer to the buffer to be updated with the current string.

Returns

SUCCESS

The function was successful.

< 1

An error occurred. Refer to Return Codes.

Comments

Before calling this function, call L_VecDlgGetStringLen to get the length of the text you want to retrieve.

Use L_VecDlgSetString to modify the automated menu item.

Before calling this function, you must declare a variable as a pointer to a character string. Then, pass the variable in the pString parameter. This function will update the variable with the character string at the given index.

Required DLLs and Libraries

LVDLG

For a listing of the exact DLLs and Libraries needed, based on the toolkit version, refer to Files To Be Included With Your Application.

See Also

Functions:

L_VecDlgGetStringLen, L_VecDlgSetString

Topics:

Vector Dialogs

Example

For an example, refer to L_VecDlgSetString.