Package ghidra.pty.windows

# Class Handle

java.lang.Object
ghidra.pty.windows.Handle

All Implemented Interfaces:
  `AutoCloseable`

Direct Known Subclasses:
  `PseudoConsoleHandle`

public class Handle extends Object implements AutoCloseable

- ## Nested Class Summary

  Nested Classes
  Modifier and Type
  Class
  Description
  `protected static class`
  `Handle.State`

- ## Constructor Summary

  Constructors
  Constructor
  Description
  `Handle(com.sun.jna.platform.win32.WinNT.HANDLE handle)`

- ## Method Summary

  Modifier and Type
  Method
  Description
  `void`
  `close()`
  `com.sun.jna.platform.win32.WinNT.HANDLE`
  `getNative()`
  `protected Handle.State`
  `newState(com.sun.jna.platform.win32.WinNT.HANDLE handle)`

  ### Methods inherited from class java.lang.Object

  `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- ## Constructor Details

  - ### Handle

    public Handle(com.sun.jna.platform.win32.WinNT.HANDLE handle)

- ## Method Details

  - ### newState

    protected Handle.State newState(com.sun.jna.platform.win32.WinNT.HANDLE handle)

  - ### close

    public void close()
    Specified by:
      `close` in interface `AutoCloseable`

  - ### getNative

    public com.sun.jna.platform.win32.WinNT.HANDLE getNative()