Contents Index Topic Contents | ||
Previous Topic: SHELLFLAGSTATE Next Topic: SHFILEOPSTRUCT |
SHFILEINFO
typedef struct _SHFILEINFO{ HICON hIcon; int iIcon; DWORD dwAttributes; char szDisplayName[MAX_PATH]; char szTypeName[80]; } SHFILEINFO;Contains information about a file object.
- hIcon
- Handle to the icon that represents the file.
- iIcon
- Index of the icon image within the system image list.
- dwAttributes
- Array of values that indicates the attributes of the file object. For information about these values, see the IShellFolder::GetAttributesOf method.
- szDisplayName
- String that contains the name of the file as it appears in the Windows shell, or the path and file name of the file that contains the icon representing the file.
- szTypeName
- String that describes the type of file.
This structure is used with the SHGetFileInfo function.
Top of Page
© 1997 Microsoft Corporation. All rights reserved. Terms of Use.