Package net.bytebuddy.agent
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.StdCallLibraryA library for interacting with Windows.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description com.sun.jna.platform.win32.WinDef.LPVOIDallocate_remote_argument(com.sun.jna.platform.win32.WinNT.HANDLE process, java.lang.String pipe, java.lang.String argument0, java.lang.String argument1, java.lang.String argument2, java.lang.String argument3)Allocates the remote argument to supply to the remote code upon execution.com.sun.jna.platform.win32.WinDef.LPVOIDallocate_remote_code(com.sun.jna.platform.win32.WinNT.HANDLE process)Allocates the code to invoke on the remote VM.
-
-
-
Method Detail
-
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
nullif 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, java.lang.String pipe, @MaybeNull java.lang.String argument0, @MaybeNull java.lang.String argument1, @MaybeNull java.lang.String argument2, @MaybeNull java.lang.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 ornullif no such argument is provided.argument1- The second argument ornullif no such argument is provided.argument2- The third argument ornullif no such argument is provided.argument3- The forth argument ornullif no such argument is provided.- Returns:
- A pointer to the allocated argument or
nullif the argument could not be allocated.
-
-