public interface Kernel32
extends com.sun.jna.Library
| Modifier and Type | Interface and Description |
|---|---|
static class |
Kernel32.HANDLE |
| Modifier and Type | Field and Description |
|---|---|
static int |
ERROR_INVALID_HANDLE |
static int |
ERROR_INVALID_PARAMETER |
static int |
HANDLE_FLAG_INHERIT |
static Kernel32 |
INSTANCE |
static Kernel32.HANDLE |
INVALID_HANDLE_VALUE |
static int |
STD_ERROR_HANDLE |
static int |
STD_INPUT_HANDLE |
static int |
STD_OUTPUT_HANDLE |
| Modifier and Type | Method and Description |
|---|---|
int |
GetCurrentDirectory(int nBufferLength,
char[] lpBuffer) |
int |
GetCurrentProcessId() |
int |
GetLastError() |
Kernel32.HANDLE |
GetStdHandle(int stdHandle) |
boolean |
SetCurrentDirectory(String lpPathName) |
boolean |
SetEnvironmentVariable(String lpName,
String lpValue) |
boolean |
SetHandleInformation(Kernel32.HANDLE handle,
int dwMask,
int dwFlags) |
static final Kernel32 INSTANCE
static final int STD_INPUT_HANDLE
static final int STD_OUTPUT_HANDLE
static final int STD_ERROR_HANDLE
static final int HANDLE_FLAG_INHERIT
static final int ERROR_INVALID_HANDLE
static final int ERROR_INVALID_PARAMETER
static final Kernel32.HANDLE INVALID_HANDLE_VALUE
int GetLastError()
Kernel32.HANDLE GetStdHandle(int stdHandle)
boolean SetHandleInformation(Kernel32.HANDLE handle, int dwMask, int dwFlags)
boolean SetCurrentDirectory(String lpPathName)
int GetCurrentDirectory(int nBufferLength,
char[] lpBuffer)
int GetCurrentProcessId()
Copyright © 2013. All rights reserved