Interface ConsoleApiNative

All Superinterfaces:
com.sun.jna.AltCallingConvention, com.sun.jna.Library, com.sun.jna.win32.StdCall, com.sun.jna.win32.StdCallLibrary

public interface ConsoleApiNative extends com.sun.jna.win32.StdCallLibrary
  • Nested Class Summary

    Nested Classes
    Modifier and Type
    Interface
    Description
    static class 
     
    static class 
     
    static class 
     
    static class 
     

    Nested classes/interfaces inherited from interface com.sun.jna.Library

    com.sun.jna.Library.Handler

    Nested classes/interfaces inherited from interface com.sun.jna.win32.StdCallLibrary

    com.sun.jna.win32.StdCallLibrary.StdCallCallback
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final com.sun.jna.platform.win32.WinDef.BOOL
     
    static final ConsoleApiNative
     

    Fields inherited from interface com.sun.jna.Library

    OPTION_ALLOW_OBJECTS, OPTION_CALLING_CONVENTION, OPTION_CLASSLOADER, OPTION_FUNCTION_MAPPER, OPTION_INVOCATION_MAPPER, OPTION_OPEN_FLAGS, OPTION_STRING_ENCODING, OPTION_STRUCTURE_ALIGNMENT, OPTION_SYMBOL_PROVIDER, OPTION_TYPE_MAPPER

    Fields inherited from interface com.sun.jna.win32.StdCallLibrary

    FUNCTION_MAPPER, STDCALL_CONVENTION
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    ClosePseudoConsole(com.sun.jna.platform.win32.WinNT.HANDLE hPC)
     
    com.sun.jna.platform.win32.WinDef.BOOL
    CreatePipe(com.sun.jna.platform.win32.WinNT.HANDLEByReference hReadPipe, com.sun.jna.platform.win32.WinNT.HANDLEByReference hWritePipe, ConsoleApiNative.SECURITY_ATTRIBUTES.ByReference lpPipeAttributes, com.sun.jna.platform.win32.WinDef.DWORD nSize)
     
    com.sun.jna.platform.win32.WinDef.BOOL
    CreateProcessW(com.sun.jna.WString lpApplicationName, com.sun.jna.WString lpCommandLine, com.sun.jna.platform.win32.WinBase.SECURITY_ATTRIBUTES lpProcessAttributes, com.sun.jna.platform.win32.WinBase.SECURITY_ATTRIBUTES lpThreadAttributes, boolean bInheritHandles, com.sun.jna.platform.win32.WinDef.DWORD dwCreationFlags, com.sun.jna.WString lpEnvironment, com.sun.jna.WString lpCurrentDirectory, ConsoleApiNative.STARTUPINFOEX lpStartupInfo, com.sun.jna.platform.win32.WinBase.PROCESS_INFORMATION lpProcessInformation)
     
    com.sun.jna.platform.win32.WinNT.HRESULT
    CreatePseudoConsole(ConsoleApiNative.COORD.ByValue size, com.sun.jna.platform.win32.WinNT.HANDLE hInput, com.sun.jna.platform.win32.WinNT.HANDLE hOutput, com.sun.jna.platform.win32.WinDef.DWORD dwFlags, com.sun.jna.platform.win32.WinNT.HANDLEByReference phPC)
     
    com.sun.jna.platform.win32.WinDef.BOOL
    InitializeProcThreadAttributeList(com.sun.jna.Pointer lpAttributeList, com.sun.jna.platform.win32.WinDef.DWORD dwAttributeCount, com.sun.jna.platform.win32.WinDef.DWORD dwFlags, com.sun.jna.platform.win32.WinDef.UINTByReference lpSize)
     
    com.sun.jna.platform.win32.WinNT.HRESULT
    ResizePseudoConsole(com.sun.jna.platform.win32.WinNT.HANDLE hPC, ConsoleApiNative.COORD.ByValue size)
     
    com.sun.jna.platform.win32.WinDef.BOOL
    UpdateProcThreadAttribute(com.sun.jna.Pointer lpAttributeList, com.sun.jna.platform.win32.WinDef.DWORD dwFlags, com.sun.jna.platform.win32.WinDef.DWORD Attribute, com.sun.jna.platform.win32.WinDef.PVOID lpValue, com.sun.jna.platform.win32.WinDef.DWORD cbSize, com.sun.jna.platform.win32.WinDef.PVOID lpPreviousValue, com.sun.jna.platform.win32.WinDef.ULONGLONGByReference lpReturnSize)
     
  • Field Details

    • INSTANCE

      static final ConsoleApiNative INSTANCE
    • FAIL

      static final com.sun.jna.platform.win32.WinDef.BOOL FAIL
  • Method Details

    • CreatePipe

      com.sun.jna.platform.win32.WinDef.BOOL CreatePipe(com.sun.jna.platform.win32.WinNT.HANDLEByReference hReadPipe, com.sun.jna.platform.win32.WinNT.HANDLEByReference hWritePipe, ConsoleApiNative.SECURITY_ATTRIBUTES.ByReference lpPipeAttributes, com.sun.jna.platform.win32.WinDef.DWORD nSize)
    • CreatePseudoConsole

      com.sun.jna.platform.win32.WinNT.HRESULT CreatePseudoConsole(ConsoleApiNative.COORD.ByValue size, com.sun.jna.platform.win32.WinNT.HANDLE hInput, com.sun.jna.platform.win32.WinNT.HANDLE hOutput, com.sun.jna.platform.win32.WinDef.DWORD dwFlags, com.sun.jna.platform.win32.WinNT.HANDLEByReference phPC)
    • ResizePseudoConsole

      com.sun.jna.platform.win32.WinNT.HRESULT ResizePseudoConsole(com.sun.jna.platform.win32.WinNT.HANDLE hPC, ConsoleApiNative.COORD.ByValue size)
    • ClosePseudoConsole

      void ClosePseudoConsole(com.sun.jna.platform.win32.WinNT.HANDLE hPC)
    • InitializeProcThreadAttributeList

      com.sun.jna.platform.win32.WinDef.BOOL InitializeProcThreadAttributeList(com.sun.jna.Pointer lpAttributeList, com.sun.jna.platform.win32.WinDef.DWORD dwAttributeCount, com.sun.jna.platform.win32.WinDef.DWORD dwFlags, com.sun.jna.platform.win32.WinDef.UINTByReference lpSize)
    • UpdateProcThreadAttribute

      com.sun.jna.platform.win32.WinDef.BOOL UpdateProcThreadAttribute(com.sun.jna.Pointer lpAttributeList, com.sun.jna.platform.win32.WinDef.DWORD dwFlags, com.sun.jna.platform.win32.WinDef.DWORD Attribute, com.sun.jna.platform.win32.WinDef.PVOID lpValue, com.sun.jna.platform.win32.WinDef.DWORD cbSize, com.sun.jna.platform.win32.WinDef.PVOID lpPreviousValue, com.sun.jna.platform.win32.WinDef.ULONGLONGByReference lpReturnSize)
    • CreateProcessW

      com.sun.jna.platform.win32.WinDef.BOOL CreateProcessW(com.sun.jna.WString lpApplicationName, com.sun.jna.WString lpCommandLine, com.sun.jna.platform.win32.WinBase.SECURITY_ATTRIBUTES lpProcessAttributes, com.sun.jna.platform.win32.WinBase.SECURITY_ATTRIBUTES lpThreadAttributes, boolean bInheritHandles, com.sun.jna.platform.win32.WinDef.DWORD dwCreationFlags, com.sun.jna.WString lpEnvironment, com.sun.jna.WString lpCurrentDirectory, ConsoleApiNative.STARTUPINFOEX lpStartupInfo, com.sun.jna.platform.win32.WinBase.PROCESS_INFORMATION lpProcessInformation)