Nevron.Interop.Win32 Namespace / NShell32 Class / SHGetFileInfo Method


In This Topic
    SHGetFileInfo Method
    In This Topic
    Syntax
    'Declaration
     
    
    Public Shared Function SHGetFileInfo( _
       ByVal pszPath As System.String, _
       ByVal attributes As System.UInteger, _
       ByRef sfi As NShell32.SHFILEINFO, _
       ByVal cbFileInfo As System.Integer, _
       ByVal uFlags As System.UInteger _
    ) As System.IntPtr
    'Usage
     
    
    Dim pszPath As System.String
    Dim attributes As System.UInteger
    Dim sfi As NShell32.SHFILEINFO
    Dim cbFileInfo As System.Integer
    Dim uFlags As System.UInteger
    Dim value As System.IntPtr
     
    value = NShell32.SHGetFileInfo(pszPath, attributes, sfi, cbFileInfo, uFlags)
    public static System.IntPtr SHGetFileInfo( 
       System.string pszPath,
       System.uint attributes,
       ref NShell32.SHFILEINFO sfi,
       System.int cbFileInfo,
       System.uint uFlags
    )

    Parameters

    pszPath
    attributes
    sfi
    cbFileInfo
    uFlags
    Requirements

    Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

    See Also