public enum STRRET_TYPE
{
STRRET_WSTR = 0, // Use STRRET.pOleStr must be freed by caller of
// GetDisplayNameOf
STRRET_OFFSET = 0x1, // Use STRRET.uOffset Offset into SHITEMID for
// ANSI string
STRRET_CSTR = 0x2, // Use STRRET.cStr ANSI Buffer
}
Enum STRRET_TYPE
TODO
End Enum
Use in conjuction with the STRRET structure.
Example:
// Structure used to return the display name to
STRRET pDisplayName;
String DisplayName;
SHFILEINFO m_shfi = new SHFILEINFO();
// Request the string as a char although Windows will likely ignore
// the request.
pDisplayName.uType = (uint)STRRET_TYPE.STRRET_CSTR;