次の方法で共有


SHFILEINFO (Compact 2013)

3/28/2014

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

See Also

Reference

Shell Structures