combit List & Label 30 - .NET Help
combit.Reporting Namespace / LlCore Class / LlStgsysGetLastError Method

The handle returned by LlStgsysStorageOpen



LlStgsysGetLastError Method

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

You should avoid calling this API directly. The PreviewFile Class offers you a much more powerful way to work with preview files.

Syntax
'Declaration
 
Public Shared Function LlStgsysGetLastError( _
   ByVal hStg As IntPtr _
) As Integer
 

Parameters

hStg

The handle returned by LlStgsysStorageOpen

Return Value

Value Meaning
<0

Error code

0

no error

Remarks

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

Requirements

Platforms: Windows 10 (Version 21H2 - 23H2), Windows 11 (21H2 - 22H2), Windows Server 2016 - 2022
.NET: .NET Framework 4.8, .NET 6, .NET 8, .NET 9

See Also