예제 #1
0
파일: Methods.cs 프로젝트: zoroz/Terminals
 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);
예제 #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);
예제 #3
0
파일: Methods.cs 프로젝트: zoroz/Terminals
 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);
예제 #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);