STRRET structure (shtypes.h)
Contains strings returned from the IShellFolder interface methods.
typedef struct _STRRET {
UINT uType;
union {
LPWSTR pOleStr;
UINT uOffset;
char cStr[260];
} DUMMYUNIONNAME;
} STRRET;
uType
Type: UINT
A value that specifies the desired format of the string. This can be one of the following values.
The string is returned in the cStr member.
The uOffset member value indicates the number of bytes from the beginning of the item identifier list where the string is located.
The string is at the address specified by pOleStr member.
DUMMYUNIONNAME
DUMMYUNIONNAME.pOleStr
Type: LPWSTR
A pointer to the string. This memory must be allocated with CoTaskMemAlloc. It is the calling application's responsibility to free this memory with CoTaskMemFree when it is no longer needed.
DUMMYUNIONNAME.uOffset
Type: UINT
The offset into the item identifier list.
DUMMYUNIONNAME.cStr[260]
Type: CHAR[MAX_PATH]
The buffer to receive the display name.
Requirement | Value |
---|---|
Minimum supported client | Windows XP [desktop apps only] |
Minimum supported server | Windows 2000 Server [desktop apps only] |
Header | shtypes.h |