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

The handle returned by LlStgsysStorageOpen



In This Topic
    LlStgsysGetFileVersion Method
    In This Topic

    Returns the version of the preview file. 

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

    Parameters

    hStg

    The handle returned by LlStgsysStorageOpen

    Return Value

    The version number of the preview file and the type

    Remarks

    This call is also very important to find out about properties of the storage file and to be able to take care of possible differences.

    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