LlJobStateRestore

Syntax:

INT LlJobStateRestore(HLLJOB hLlJob, _PISTREAM pStream,UINT nFlags);

Task:

This API is used e.g. by the .NET DesignerControl to restore the state of a job previously saved on one machine on a different other machine. Depending on the flags passed, the variables, fields and database structure are deserialized from the stream. Thus, a following call to LlDefineLayout() offers the structures read from the stream in the Designer.

Parameter:

hJob: List & Label job handle

pStream: Stream that was created by a preceeding call to LlJobStateSave(). The stream format is proprietary and may change anytime without notice.

nFlags: Combination of LL_JOBSTATEFLAG_... values. They determine which values are read from the stream (variables, fields, chart fields, database structure, dictionaries, other job settings). To deserialize all available information, use LL_JOBSTATEFLAG_ALL.

Return Value:

See LlJobOpen().

See also:

LlJobStateSave