using System; namespace Vanara.PInvoke; /// Signals that a structure or class holds a handle to a graphics object. public interface IGraphicsObjectHandle : IUserHandle { } /// Signals that a structure or class holds a HANDLE. public interface IHandle { /// Returns the value of the handle field. /// An IntPtr representing the value of the handle field. IntPtr DangerousGetHandle(); } /// Signals that a structure or class holds a handle to a kernel object. public interface IKernelHandle : IHandle { } /// Signals that a structure or class holds a pointer to a security object. public interface ISecurityObject : IHandle { } /// Signals that a structure or class holds a handle to a shell object. public interface IShellHandle : IHandle { } /// Signals that a structure or class holds a handle to a synchronization object. public interface ISyncHandle : IKernelHandle { } /// Signals that a structure or class holds a handle to a user object. public interface IUserHandle : IHandle { }