- java.lang.Object
-
- de.ibapl.jnhw.winapi.Handleapi
-
@Include("handleapi.h") public abstract class Handleapi extends Object
Wrapper around the handleapi.h header.- Author:
- aploese
-
-
Field Summary
Fields Modifier and Type Field Description static Winnt.HANDLEINVALID_HANDLE_VALUEcached instance.
-
Constructor Summary
Constructors Constructor Description Handleapi()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static voidCloseHandle(Winnt.HANDLE hObject)CloseHandle Closes an open object handle.
-
-
-
Field Detail
-
INVALID_HANDLE_VALUE
public static final Winnt.HANDLE INVALID_HANDLE_VALUE
cached instance.
-
-
Method Detail
-
CloseHandle
public static final void CloseHandle(Winnt.HANDLE hObject) throws NativeErrorException
CloseHandle Closes an open object handle.- Parameters:
hObject- a valid handle to an open object.- Throws:
NullPointerException- if hObject isnull.NativeErrorException- if the return value of the native function indicates an error.
-
-