DETAILSINFO structure (shlobj_core.h)
Contains detail information for a Shell folder item. Used with the SFVM_GETDETAILSOF notification.
Syntax
typedef struct _DETAILSINFO {
PCUITEMID_CHILD pidl;
int fmt;
int cxChar;
STRRET str;
int iImage;
} DETAILSINFO;
Members
pidl
Type: PCUITEMID_CHILD
PIDL of the item whose details are being retrieved.
fmt
Type: int
The alignment of the column heading and the subitem text in the column. This member can be one of the following values. Note that the alignment of the leftmost column is always left-justified and cannot be changed.
LVCFMT_CENTER
Text is centered.
LVCFMT_COL_HAS_IMAGES
Header item contains an image in the image list.
LVCFMT_LEFT
Text is left-aligned.
LVCFMT_RIGHT
Text is right-aligned.
cxChar
Type: int
The number of average-sized characters in the heading.
str
Type: STRRET
An STRRET structure that includes a string containing the requested detail. To convert this structure to a string, use StrRetToBuf or StrRetToStr.
iImage
Type: int
The index of an icon in the Shell image list that is displayed in the view.
Requirements
Requirement | Value |
---|---|
Minimum supported client | Windows 2000 Professional [desktop apps only] |
Minimum supported server | Windows 2000 Server [desktop apps only] |
Header | shlobj_core.h (include Shlobj.h) |