コード例 #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);