LlPrintGetProjectParameter

Syntax:

INT LlPrintGetProjectParameter(HLLJOB hLlJob, LPCTSTR pszParameter, BOOL bEvaluated, LPTSTR pszBuffer, INT nBufSize, _LPUINT pnFlags)

Task:

Returns the value of a project parameter

Parameter:

hJob: List & Label job handle

pszParameter: Parameter name. May be NULL (see hints)

pszBuffer: Address of buffer for contents. May be NULL (see hints)

bEvaluated: If the parameter is of the type LL_PARAMETERFLAG_FORMULA, this flag decides whether the parameter should be evaluated first.

nBufSize: Size of the buffer (in TCHARs)

Return Value:

Error code or required buffer size

Hints:

This function cannot be called before LlPrint[WithBox]Start()!

If pszParameter is NULL, a semicolon-separated list of all USER parameters is returned.

If pszBuffer is NULL, the return value equals the size of the required buffer (in TCHARS) including the termination.

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

See also:

LlSetDefaultProjectParameter, LlGetDefaultProjectParameter, LlPrintGetProject­Parameter