LlStgsysAppend

Syntax:

INT LlStgsysAppend (HLLSTG hStg, HLLSTG hStgToAppend);

Task:

Append another preview job to the current storage file.

Parameter:

hStg: The handle returned by LlStgsysStorageOpen()

hStgToAppend: Handle of the preview file to append.

Return value:

<0: Error code
 = 0: okay

Hints:

This function needs both (!) preview files to be in the LL_STG_STORAGE format.

If the file to append contains a backside page it will only be used if the original file doesn't already contain such a page itself.

Of course, the current storage format may not be opened with bReadOnly = TRUE!

Example:

HLLSTG hStgOrg;
HLLSTG hStgAppend;

hStgOrg = LlStgsysStorageOpen("c:\\test\\label1.ll", FALSE, FALSE);
hStgAppend = LlStgsysStorageOpen("c:\\test\\label2.ll", FALSE, TRUE);
LlStgsysAppend(hStgOrg, hStgAppend);
LlStgsysClose(hStgsysOrg);
LlStgsysClose(hStgsysAppend);