LlGetOptionString

Syntax:

INT LlGetOptionString (HLLJOB hJob, INT nMode, LPTSTR pszBuffer, UINT nBufSize);

Task:

Requests various string settings (see below) from List & Label.

Parameter:

hJob: List & Label job handle

nMode: Option index, see LlSetOptionString()

pszBuffer: Pointer to a buffer where the requested value will be stored.

nBufSize: Size of the buffer

Return Value:

The value of the corresponding option

Hints:

The option indices are listed in the description of LlSetOptionString().

See chapter Important Remarks on the Function Parameters of DLLs concerning the buffer return value.

Example:

HLLJOB   hJob;
TCHAR    szExt[128];

LlSetDebug(TRUE);
hJob = LlJobOpen(0);
// ....
LlGetOptionString(hJob, LL_OPTIONSTR_PRJEXT,
   szExt,sizeof(szExt));
// ....
LlJobClose(hJob);

See also:

LlSetOptionString