Contains the attribute data for a file.
Syntax
typedef struct tagATTRINFO {
TAG tAttrID;
DWORD dwFlags;
union {
ULONGLONG ullAttr;
DWORD dwAttr;
TCHAR *lpAttr;
};
} ATTRINFO, *PATTRINFO;
Members
tAttrID
The attribute type. See TAG Types.
dwFlags
The flags for this attribute.
| Value | Meaning |
|---|---|
| ATTRIBUTE_AVAILABLE 0x00000001 | The attribute is available. |
| ATTRIBUTE_FAILED 0x00000002 | The call failed because the attribute is not available. |
ullAttr
A QWORD value (if the tag type is TAG_TYPE_QWORD).
dwAttr
A DWORD value (if the tag type is TAG_TYPE_DWORD).
lpAttr
A pointer to a string (if the tag type is TAG_TYPE_STRINGREF).
Requirements
| Requirement | Value |
|---|---|
| Minimum supported client | Windows Vista [desktop apps only] |
| Minimum supported server | Windows Server 2008 [desktop apps only] |
See also
Source: Microsoft Learn / Windows Win32 documentation by Microsoft and contributors. Documentation licensed CC BY 4.0. Code samples are covered by the MIT License. Converted from Markdown, with links normalized and embedded media omitted.
