combit List & Label 25 - .NET Online Web Help
LlStgsysGetLastError Method


combit.ListLabel25 Namespace > LlCore Class : LlStgsysGetLastError Method

The handle returned by LlStgsysStorageOpen

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
public static int LlStgsysGetLastError( 
   IntPtr hStg
)
public:
static int LlStgsysGetLastError( 
   IntPtr hStg
) 

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 7 SP1 - Windows 10 Version 1909, Windows Server 2008 R2 - 2019

See Also

Reference

LlCore Class
LlCore Members