LlGetOption

Syntax:

INT_PTR LlGetOption (HLLJOB hJob, INT nMode);

Task:

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

Parameter:

hJob: List & Label job handle

nMode: Option index, see LlSetOption()

Return Value:

The value of the corresponding option

Hints:

The option indices are listed in the description of LlSetOption(). In addition, there are some new or (with regard to the function LlSetOption()) modified options:

LL_OPTION_LANGUAGE

Returns the currently selected language (See LlJobOpen() and LlJobOpenLCID()).

LL_OPTION_HELPAVAILABLE

LOWORD: See LlSetOption()
HIWORD: Checks whether the help file is present: TRUE: usable, FALSE: not usable (not present)

LL_OPTION_DEFPRINTERINSTALLED

Returns whether the operating system has a default printer.

Example:

HLLJOB   hJob;
UINT     nLanguage;

LlSetDebug(TRUE);
hJob = LlJobOpen(0);
// ....
nLanguage = LlGetOption(hJob, LL_OPTION_LANGUAGE);
// ....
LlJobClose(hJob);

See also:

LlSetOption