Beispiel #1
0
 public static extern Int32 StrRetToBuf(
     ref STRRET pstr,        // Pointer to the STRRET structure. When the function returns, this pointer will no
                             // longer be valid.
     IntPtr pidl,            // Pointer to the item's ITEMIDLIST structure.
     StringBuilder pszBuf,   // Buffer to hold the display name. It will be returned as a null-terminated
                             // string. If cchBuf is too small, the name will be truncated to fit. 
     UInt32 cchBuf);         // Size of pszBuf, in characters. If cchBuf is too small, the string will be 
Beispiel #2
0
 public static extern Int32 StrRetToBuf(
     ref STRRET pstr,
     IntPtr pidl,
     StringBuilder pszBuf,
     UInt32 cchBuf);
Beispiel #3
0
 public static extern Int32 StrRetToBSTR(
     ref STRRET pstr,        // Pointer to a STRRET structure.
     IntPtr pidl,            // Pointer to an ITEMIDLIST uniquely identifying a file object or subfolder relative
                             // to the parent folder.
     [MarshalAs(UnmanagedType.BStr)]
     out String pbstr);      // Pointer to a variable of type BSTR that contains the converted string.
Beispiel #4
0
        public static extern Int32 StrRetToBSTR(
            ref STRRET pstr,
            IntPtr pidl,
            [MarshalAs(UnmanagedType.BStr)]
			out String pbstr);