- java.lang.Object
-
- de.ibapl.jnhw.winapi.ProcessEnv
-
@Include("processenv.h") public class ProcessEnv extends Object
Wrapper around the processenv.h header.- Author:
- aploese
-
-
Field Summary
Fields Modifier and Type Field Description static booleanHAVE_PROCESSENV_H
-
Constructor Summary
Constructors Constructor Description ProcessEnv()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static Winnt.HANDLEGetStdHandle(int nStdHandle)
-
-
-
Method Detail
-
GetStdHandle
public static final Winnt.HANDLE GetStdHandle(int nStdHandle) throws NativeErrorException
- Parameters:
nStdHandle- The standard device. This parameter can be one of the following values. STD_INPUT_HANDLE, STD_OUTPUT_HANDLE, STD_ERROR_HANDLE.- Returns:
- If the function succeeds, the return value is a handle to the specified device, or a redirected handle set by a previous call to SetStdHandle.
- Throws:
NativeErrorException- if the return value of the native function indicates an error.
-
-