Interface VirtualMachine.ForHotSpot.Connection.ForJnaWindowsNamedPipe.WindowsAttachLibrary

All Superinterfaces:
com.sun.jna.AltCallingConvention, com.sun.jna.Library, com.sun.jna.win32.StdCall, com.sun.jna.win32.StdCallLibrary
Enclosing class:
VirtualMachine.ForHotSpot.Connection.ForJnaWindowsNamedPipe

protected static interface VirtualMachine.ForHotSpot.Connection.ForJnaWindowsNamedPipe.WindowsAttachLibrary extends com.sun.jna.win32.StdCallLibrary
A library for interacting with Windows.
  • Nested Class Summary

    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 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
    com.sun.jna.platform.win32.WinDef.LPVOID
    allocate_remote_argument(com.sun.jna.platform.win32.WinNT.HANDLE process, String pipe, String argument0, String argument1, String argument2, String argument3)
    Allocates the remote argument to supply to the remote code upon execution.
    com.sun.jna.platform.win32.WinDef.LPVOID
    allocate_remote_code(com.sun.jna.platform.win32.WinNT.HANDLE process)
    Allocates the code to invoke on the remote VM.
  • Method Details

    • allocate_remote_code

      @MaybeNull com.sun.jna.platform.win32.WinDef.LPVOID allocate_remote_code(com.sun.jna.platform.win32.WinNT.HANDLE process)
      Allocates the code to invoke on the remote VM.
      Parameters:
      process - A handle to the target process.
      Returns:
      A pointer to the allocated code or null if the code could not be allocated.
    • allocate_remote_argument

      @MaybeNull com.sun.jna.platform.win32.WinDef.LPVOID allocate_remote_argument(com.sun.jna.platform.win32.WinNT.HANDLE process, String pipe, @MaybeNull String argument0, @MaybeNull String argument1, @MaybeNull String argument2, @MaybeNull String argument3)
      Allocates the remote argument to supply to the remote code upon execution.
      Parameters:
      process - A handle to the target process.
      pipe - The name of the pipe used for supplying an answer.
      argument0 - The first argument or null if no such argument is provided.
      argument1 - The second argument or null if no such argument is provided.
      argument2 - The third argument or null if no such argument is provided.
      argument3 - The forth argument or null if no such argument is provided.
      Returns:
      A pointer to the allocated argument or null if the argument could not be allocated.