jruby/docs BETA
Navigation
org.jruby.util.WindowsFFI 1
I Kernel32
Kernel32 — members 11
F PROCESS_QUERY_INFORMATION() int
F ERROR_INVALID_PARAMETER() int
F PROCESS_TERMINATE() int
F STILL_ACTIVE() int
M close_handle(handle) int
M get_exit_code_process(h_process, pointer_to_exit_code_dword) int
M get_last_error() int
M get_process_id(handle) int
M open_process(dw_desired_access, b_inherit_handle, dw_process_id) Pointer
M set_last_error(error_code) int
M terminate_process(h_process, u_exit_code) int

org.jruby.util.WindowsFFI.Kernel32

interface abstract 11 members

Constants

constanttypenote
PROCESS_QUERY_INFORMATION int
ERROR_INVALID_PARAMETER int
PROCESS_TERMINATE int
STILL_ACTIVE int

Instance Methods

close_handle

int close_handle ( Pointer handle )
Java: CloseHandle(jnr.ffi.Pointer handle)

get_exit_code_process

int get_exit_code_process ( Pointer h_process, IntByReference pointer_to_exit_code_dword )
Java: GetExitCodeProcess(jnr.ffi.Pointer hProcess, jnr.ffi.byref.IntByReference pointerToExitCodeDword)

get_last_error

int get_last_error ( )
Java: GetLastError()

get_process_id

int get_process_id ( long handle )
Java: GetProcessId(long handle)

open_process

Pointer open_process ( int dw_desired_access, int b_inherit_handle, int dw_process_id )
Java: OpenProcess(int dwDesiredAccess, int bInheritHandle, int dwProcessId)

set_last_error

int set_last_error ( int error_code )
Java: SetLastError(int ErrorCode)

terminate_process

int terminate_process ( Pointer h_process, int u_exit_code )
Java: TerminateProcess(jnr.ffi.Pointer hProcess, int uExitCode)