Index   Commented   Search   About

Overview
Group
Quick Info

Windows NT
Yes
Win95
Yes
Win32s
No
Import Library
-
Header File
shlobj.h
Unicode
No
Platform Notes
None

STRRET

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;

Member

uType

Value that specifies the desired format of the string. This member can be one of the following values:

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.

Remarks

The system may or may not provide the display name in the desired format. When IShellFolder::GetDisplayNameOf returns, the uType member indicates the format.

See Also

IShellFolder::GetDisplayNameOf

Related Links

Software for Delphi and C++ Builder developers
Software for Visual Studio .NET developers
Software for Visual Basic 6 developers
Delphi Tips&Tricks
MegaDetailed.NET
TMS Scripter Studio Pro components for Delphi/C++Builder

More Online Helps

Win32 Multimedia Programmer's Reference (mmedia.hlp)
OLE Programmer's Reference (ole.hlp)
Microsoft Windows Pen API Programmer's Reference (penapi.hlp)
Microsoft Windows Sockets 2 Reference (sock2.hlp)
Microsoft Windows Telephony API (TAPI) Programmer's Reference (tapi.hlp)
Unix Manual Pages

Free Tech Secrets ;) Copyright © 2008 Free Tect Secrets ;) greatis just4fun network just4fun