using System;
using System.Runtime.InteropServices;
namespace Vanara.PInvoke
{
public static partial class Shell32
{
/// Exposes a method used to initialize a handler, such as a property handler, thumbnail handler, or preview handler, with an IShellItem.
[ComImport, InterfaceType(ComInterfaceType.InterfaceIsIUnknown), Guid("7f73be3f-fb79-493c-a6c7-7ee14e245841")]
public interface IInitializeWithItem
{
/// Initializes a handler with an IShellItem.
/// A pointer to an IShellItem.
/// One of the following STGM values that indicate the access mode for psi..
void Initialize(IShellItem psi, STGM grfMode);
}
}
}