combit List & Label 29 - .NET Help
combit.Reporting Namespace / LlCore Class / LlStgsysGetAPIVersion Method

The handle returned by LlStgsysStorageOpen



In This Topic
    LlStgsysGetAPIVersion Method
    In This Topic

    Returns the version of the Stgsys API. 

    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 LlStgsysGetAPIVersion( _
       ByVal hStg As IntPtr _
    ) As Integer
    public static int LlStgsysGetAPIVersion( 
       IntPtr hStg
    )
    public:
    static int LlStgsysGetAPIVersion( 
       IntPtr hStg
    ) 

    Parameters

    hStg

    The handle returned by LlStgsysStorageOpen

    Return Value

    The version number of the Stgsys API in C?LS1?.DLL

    Remarks

    This function should be used to test the API version. Newer APIs might have a larger set of functions available, older ones less.

    Requirements

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

    See Also