Vanara/Core/IHandle.cs

11 lines
317 B
C#

using System;
namespace Vanara.PInvoke;
/// <summary>Signals that a structure or class holds a HANDLE.</summary>
public interface IHandle
{
/// <summary>Returns the value of the handle field.</summary>
/// <returns>An IntPtr representing the value of the handle field.</returns>
IntPtr DangerousGetHandle();
}