mirror of
https://github.com/Hofknecht/SystemTrayMenu.git
synced 2024-05-19 11:53:02 +12:00
30 lines
862 B
C#
30 lines
862 B
C#
// <copyright file="IShellItem.cs" company="PlaceholderCompany">
|
|
// Copyright (c) PlaceholderCompany. All rights reserved.
|
|
// </copyright>
|
|
|
|
namespace SystemTrayMenu.DllImports
|
|
{
|
|
using System;
|
|
using System.Runtime.InteropServices;
|
|
|
|
[ComImport]
|
|
[InterfaceType(ComInterfaceType.InterfaceIsIUnknown)]
|
|
[Guid("43826d1e-e718-42ee-bc55-a1e261c37bfe")]
|
|
public interface IShellItem
|
|
{
|
|
void BindToHandler(
|
|
IntPtr pbc,
|
|
[MarshalAs(UnmanagedType.LPStruct)] Guid bhid,
|
|
[MarshalAs(UnmanagedType.LPStruct)] Guid riid,
|
|
out IntPtr ppv);
|
|
|
|
void GetParent(out IShellItem ppsi);
|
|
|
|
void GetDisplayName(SIGDN sigdnName, out IntPtr ppszName);
|
|
|
|
void GetAttributes(uint sfgaoMask, out uint psfgaoAttribs);
|
|
|
|
void Compare(IShellItem psi, uint hint, out int piOrder);
|
|
}
|
|
}
|