mirror of
https://github.com/jkocon/g-helper.git
synced 2026-02-23 13:00:52 +01:00
20 lines
513 B
C#
20 lines
513 B
C#
using System;
|
|
|
|
namespace NvAPIWrapper.Native.Interfaces
|
|
{
|
|
/// <summary>
|
|
/// Interface for all pointer based handles
|
|
/// </summary>
|
|
public interface IHandle
|
|
{
|
|
/// <summary>
|
|
/// Returns true if the handle is null and not pointing to a valid location in the memory
|
|
/// </summary>
|
|
bool IsNull { get; }
|
|
|
|
/// <summary>
|
|
/// Gets the address of the handle in the memory
|
|
/// </summary>
|
|
IntPtr MemoryAddress { get; }
|
|
}
|
|
} |