Partager via


SHFILEINFO

A version of this page is also available for

Windows Embedded CE 6.0 R3

4/8/2010

This structure contains information about a file object.

Syntax

typedef struct _SHFILEINFO { 
  HICON hIcon; 
  int iIcon; 
  DWORD dwAttributes; 
  TCHAR szDisplayName[MAX_PATH]; 
  TCHAR szTypeName[80]; 
} SHFILEINFO;

Members

  • hIcon
    Handle to the icon that represents the file.
  • iIcon
    Index of the icon image within the system image list.
  • dwAttributes
    Specifies the attributes of the file object.
  • szDisplayName
    Null-terminated string that contains the name of the file as it appears in the Windows shell, or the path and name of the file that contains the icon representing the file.
  • szTypeName
    Null-terminated string that describes the type of file.

Remarks

This structure is used with the SHGetFileInfo function.

Requirements

Header shellapi.h
Windows Embedded CE Windows CE 1.0 and later
Windows Mobile Windows Mobile Version 5.0 and later

See Also

Other Resources