Contains strings returned from IShellFolder methods, such as GetDisplayNameOf.
typedef struct _STRRET { // str
UINT uType;
union
{
LPWSTR pOleStr; // pointer to OLE string to free
UINT uOffset; // offset into item identifier list
char cStr[MAX_PATH]; // buffer to receive the display name
} DUMMYUNIONNAME;
} STRRET, *LPSTRRET;
|
STRRET_CSTR |
The string is returned in cStr. |
|
STRRET_OFFSET |
The string is located at uOffset bytes from the beginning of the item identifier list. |
|
STRRET_WSTR |
The string is at the address pointed to by pOleStr. |
The system may or may not provide the display name in the desired format. When IShellFolder::GetDisplayNameOf returns, the uType member indicates the format.