STRRET structure
Applies to: desktop apps only
Contains strings returned from the IShellFolder interface methods.
Syntax
typedef struct _STRRET {
UINT uType;
union {
LPWSTR pOleStr;
UINT uOffset;
CHAR cStr[MAX_PATH];
};
} STRRET, *LPSTRRET;
Members
- uType
-
Type: UINT
-
A value that specifies the desired format of the string. This can be one of the following values.
- 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.
- uOffset
-
Type: UINT
-
The offset into the item identifier list.
- cStr
-
Type: CHAR[MAX_PATH]
-
The buffer to receive the display name.
Requirements
|
Minimum supported client | Windows XP |
|---|---|
|
Minimum supported server | Windows 2000 Server |
|
Header |
|
See also
Send comments about this topic to Microsoft
Build date: 3/7/2012