Package ai.libs.jaicore.processes
Class Kernel32
- java.lang.Object
-
- ai.libs.jaicore.processes.W32API
-
- ai.libs.jaicore.processes.Kernel32
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class ai.libs.jaicore.processes.W32API
W32API.HANDLE
-
-
Field Summary
Fields Modifier and Type Field Description static Kernel32INSTANCE-
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_TYPE_MAPPER
-
Fields inherited from interface com.sun.jna.win32.StdCallLibrary
FUNCTION_MAPPER, STDCALL_CONVENTION
-
Fields inherited from interface ai.libs.jaicore.processes.W32Errors
ERROR_FILE_NOT_FOUND, ERROR_INVALID_FUNCTION, ERROR_PATH_NOT_FOUND, NO_ERROR
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedKernel32()
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description abstract W32API.HANDLEgetCurrentProcess()abstract intgetProcessId(W32API.HANDLE process)
-
-
-
Field Detail
-
INSTANCE
public static final Kernel32 INSTANCE
-
-
Method Detail
-
getCurrentProcess
public abstract W32API.HANDLE getCurrentProcess()
-
getProcessId
public abstract int getProcessId(W32API.HANDLE process)
-
-