Partager via


STRRET (Windows CE 5.0)

Send Feedback

This structure contains strings returned from the IShellFolder interface methods.

Syntax

typedef struct _STRRET {  UINT uType;   union {     LPWSTR pOleStr;    UINT uOffset;    char cStr[MAX_PATH];  } DUMMYUNIONNAME; } STRRET, *LPSTRRET;

Members

  • uType
    Value that specifies the desired format of the string. The following table shows the possible values.
    Value Description
    STRRET_CSTR The string is returned in the cStr member.
    STRRET_OFFSET The uOffset member value indicates the number of bytes from the beginning of the item identifier list where the string is located.
    STRRET_WSTR The string is at the address pointed to in the pOleStr member.
  • pOleStr
    Pointer to the OLE string. This memory must be allocated with the shell's allocator. For more information, see SHGetMalloc. It is the calling application's responsibility to use the shell's allocator to free this memory when it is no longer needed.
  • uOffset
    Offset into item identifier list.
  • cStr
    Buffer to receive the display name.

Requirements

OS Versions: Windows CE .NET 4.2 and later.
Header: Shtypes.h.

See Also

Standard Shell Structures | IShellFolder::GetDisplayNameOf | SHGetMalloc

Send Feedback on this topic to the authors

Feedback FAQs

© 2006 Microsoft Corporation. All rights reserved.