LlStgsysGetLastError

Syntax:

INT LlStgsysGetLastError (HLLSTG hStg);

Task:

Returns the error code of the last call to a LlStgsys()-API function.

Parameter:

hStg: The handle returned by LlStgsysStorageOpen()

Return value:

<0: Error code
 = 0: no error

Hints:

Can be used for functions that return NULL as return value in case of an error (i.e. LlStgsysGetPageMetafile() ).

See also:

LlStgsysGetPageMetafile