Interface WindowsFFI.Kernel32

Enclosing class:
WindowsFFI

public static interface WindowsFFI.Kernel32
  • Field Details

  • Method Details

    • GetProcessId

      int GetProcessId(long handle)
    • OpenProcess

      jnr.ffi.Pointer OpenProcess(int dwDesiredAccess, int bInheritHandle, int dwProcessId)
    • CloseHandle

      int CloseHandle(jnr.ffi.Pointer handle)
    • GetLastError

      int GetLastError()
    • SetLastError

      int SetLastError(int ErrorCode)
    • GetExitCodeProcess

      int GetExitCodeProcess(jnr.ffi.Pointer hProcess, jnr.ffi.byref.IntByReference pointerToExitCodeDword)
    • TerminateProcess

      int TerminateProcess(jnr.ffi.Pointer hProcess, int uExitCode)