Search
Module:
Directory

   Desktop Functions:

   Smart Device Functions:


Show Recent Changes
Subscribe (RSS)
Misc. Pages
Comments
FAQ
Helpful Tools
Playground
Suggested Reading
Website TODO List
Download Visual Studio Add-In

Search Results for "STRRET" in [All]

Structures

.

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],

.
Documentation
[STRRET] on MSDN
.

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;

Interfaces

.

    /// <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;

Enums

.

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;

.
Documentation
[STRRET_TYPE] on MSDN

 
Access PInvoke.net directly from VS: