Merging Multiple Preview Files

You can merge multiple preview files. To do this, you must first open the target file. Since write access is required, you must pass a "false" value for the second parameter, ReadOnly. Using the LlStgSysAppend() function you can then merge the files.

Visual Basic:

Dim hStgOrg As Long
Dim hStgAppend As Long

hStgOrg = LL.LlStgsysStorageOpen("C:\Test1.ll", "", False, True)
hStgAppend = LL.LlStgsysStorageOpen("C:\Test2.ll", "", False, True)

LL.LlStgsysAppend hStgOrg, hStgAppend

LL.LlStgsysStorageClose hStgOrg
LL.LlStgsysStorageClose hStgAppend