Desktop Functions: Smart Device Functions:
|
Search Results for "STRRET" in [All]Structures1: STRRET
public struct STRRET
public UInt32 uType; // One of the STRRET_* values
Public Structure STRRET
<FieldOffset(0)> Public uType As UInt32 'One of the STRRET_* values
STRRET pDisplayName;
pDisplayName.uType = (uint)STRRET_TYPE.STRRET_CSTR;
// Get the display name from the STRRET structure
WindowsAPI.StrRetToBuf(ref pDisplayName, pidlItems[0], The size of STRRET sturctre in 64bit is 272 bytes. shell32
public static extern Int32 StrRetToBuf(
ref STRRET pstr,
STRRET strret = new STRRET();
out strret );
StrRetToBuf (
ref strret,
out STRRET pName);
public enum ESTRRET : int
eeRRET_WSTR = 0x0000, // Use STRRET.pOleStr
STRRET_OFFSET = 0x0001, // Use STRRET.uOffset to Ansi
STRRET_CSTR = 0x0002 // Use STRRET.cStr
public struct STRRETinternal
public struct STRRET
public STRRETinternal data; Interfaces3: IShellFolder
/// <param name="pName"> Address of a STRRET structure in which to return the display name.</param>
void GetDisplayNameOf(IntPtr pidl, ESHGDN uFlags, out STRRET pName);
public enum ESTRRET : int
eeRRET_WSTR = 0x0000, // Use STRRET.pOleStr
STRRET_OFFSET = 0x0001, // Use STRRET.uOffset to Ansi
STRRET_CSTR = 0x0002 // Use STRRET.cStr
public struct STRRETinternal
public struct STRRET
public STRRETinternal data; Enums4: STRRET_TYPE public enum STRRET_TYPE
STRRET_WSTR = 0, // Use STRRET.pOleStr must be freed by caller of
STRRET_OFFSET = 0x1, // Use STRRET.uOffset Offset into SHITEMID for
STRRET_CSTR = 0x2, // Use STRRET.cStr ANSI Buffer
Enum STRRET_TYPE Use in conjuction with the STRRET structure. STRRET pDisplayName; pDisplayName.uType = (uint)STRRET_TYPE.STRRET_CSTR; |