Files
HandyControl/Net35/HandyControl_Net35/Shell/Standard/IShellItem.cs
T
2019-01-21 00:43:10 +08:00

20 lines
718 B
C#

namespace Standard
{
using System;
using System.Runtime.InteropServices;
using System.Runtime.InteropServices.ComTypes;
[ComImport, Guid("43826d1e-e718-42ee-bc55-a1e261c37bfe"), InterfaceType(ComInterfaceType.InterfaceIsIUnknown)]
internal interface IShellItem
{
[return: MarshalAs(UnmanagedType.Interface)]
object BindToHandler(IBindCtx pbc, [In] ref Guid bhid, [In] ref Guid riid);
Standard.IShellItem GetParent();
[return: MarshalAs(UnmanagedType.LPWStr)]
string GetDisplayName(Standard.SIGDN sigdnName);
Standard.SFGAO GetAttributes(Standard.SFGAO sfgaoMask);
int Compare(Standard.IShellItem psi, Standard.SICHINT hint);
}
}