다음을 통해 공유


SHFILEINFO (Windows Embedded CE 6.0)

1/6/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

See Also

Reference

Standard Shell Structures