porting shell from nuget to local
This commit is contained in:
1 parent
d971be8816
commit
035ef17569
164 files changed
+10363
-11
No files matched your search
@@ -0,0 +1,56 @@
|
||||
using System;
|
||||
using System.Runtime.InteropServices;
|
||||
using System.Runtime.InteropServices.ComTypes;
|
||||
|
||||
namespace Standard
|
||||
{
|
||||
[InterfaceType(ComInterfaceType.InterfaceIsIUnknown)]
|
||||
[Guid("7e9fb0d3-919f-4307-ab2e-9b1860310c93")]
|
||||
[ComImport]
|
||||
internal interface IShellItem2 : IShellItem
|
||||
{
|
||||
[return: MarshalAs(UnmanagedType.Interface)]
|
||||
object BindToHandler([In] IBindCtx pbc, [In] ref Guid bhid, [In] ref Guid riid);
|
||||
|
||||
IShellItem GetParent();
|
||||
|
||||
[return: MarshalAs(UnmanagedType.LPWStr)]
|
||||
string GetDisplayName(SIGDN sigdnName);
|
||||
|
||||
SFGAO GetAttributes(SFGAO sfgaoMask);
|
||||
|
||||
int Compare(IShellItem psi, SICHINT hint);
|
||||
|
||||
[return: MarshalAs(UnmanagedType.Interface)]
|
||||
object GetPropertyStore(GPS flags, [In] ref Guid riid);
|
||||
|
||||
[return: MarshalAs(UnmanagedType.Interface)]
|
||||
object GetPropertyStoreWithCreateObject(GPS flags, [MarshalAs(UnmanagedType.IUnknown)] object punkCreateObject, [In] ref Guid riid);
|
||||
|
||||
[return: MarshalAs(UnmanagedType.Interface)]
|
||||
object GetPropertyStoreForKeys(IntPtr rgKeys, uint cKeys, GPS flags, [In] ref Guid riid);
|
||||
|
||||
[return: MarshalAs(UnmanagedType.Interface)]
|
||||
object GetPropertyDescriptionList(IntPtr keyType, [In] ref Guid riid);
|
||||
|
||||
void Update(IBindCtx pbc);
|
||||
|
||||
PROPVARIANT GetProperty(IntPtr key);
|
||||
|
||||
Guid GetCLSID(IntPtr key);
|
||||
|
||||
System.Runtime.InteropServices.ComTypes.FILETIME GetFileTime(IntPtr key);
|
||||
|
||||
int GetInt32(IntPtr key);
|
||||
|
||||
[return: MarshalAs(UnmanagedType.LPWStr)]
|
||||
string GetString(IntPtr key);
|
||||
|
||||
uint GetUInt32(IntPtr key);
|
||||
|
||||
ulong GetUInt64(IntPtr key);
|
||||
|
||||
[return: MarshalAs(UnmanagedType.Bool)]
|
||||
void GetBool(IntPtr key);
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user