Exemplo n.º 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);
Exemplo n.º 2
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);
Exemplo n.º 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);
Exemplo n.º 4
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);