Package jtermios.windows
Interface WinAPI.Windows_kernel32_lib
-
- All Superinterfaces:
com.sun.jna.AltCallingConvention,com.sun.jna.Library,com.sun.jna.win32.StdCall,com.sun.jna.win32.StdCallLibrary
- All Known Implementing Classes:
WinAPI.Windows_kernel32_lib_Direct
- Enclosing class:
- WinAPI
public static interface WinAPI.Windows_kernel32_lib extends com.sun.jna.win32.StdCallLibrary
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description booleanCancelIo(WinAPI.HANDLE hFile)booleanClearCommBreak(WinAPI.HANDLE hFile)booleanClearCommError(WinAPI.HANDLE hFile, int[] n, WinAPI.COMSTAT s)booleanCloseHandle(WinAPI.HANDLE hFile)WinAPI.HANDLECreateEvent(WinAPI.SECURITY_ATTRIBUTES lpEventAttributes, boolean bManualReset, boolean bInitialState, String lpName)WinAPI.HANDLECreateFile(String name, int access, int mode, WinAPI.SECURITY_ATTRIBUTES security, int create, int atteribs, com.sun.jna.Pointer template)booleanEscapeCommFunction(WinAPI.HANDLE hFile, int func)booleanFlushFileBuffers(WinAPI.HANDLE hFile)intFormatMessageW(int flags, com.sun.jna.Pointer src, int msgId, int langId, com.sun.jna.Pointer dst, int sze, com.sun.jna.Pointer va_list)booleanGetCommMask(WinAPI.HANDLE hFile, int[] dwEvtMask)booleanGetCommModemStatus(WinAPI.HANDLE hFile, int[] stat)booleanGetCommState(WinAPI.HANDLE hFile, WinAPI.DCB dcb)booleanGetOverlappedResult(WinAPI.HANDLE hFile, com.sun.jna.Pointer lpOverlapped, int[] lpNumberOfBytesTransferred, boolean bWait)booleanPurgeComm(WinAPI.HANDLE hFile, int qmask)intQueryDosDevice(String name, byte[] buffer, int bsize)booleanReadFile(WinAPI.HANDLE hFile, byte[] buf, int rdn, int[] nrd, com.sun.jna.Pointer lpOverlapped)booleanReadFile(WinAPI.HANDLE hFile, com.sun.jna.Pointer lpBuffer, int rdn, int[] nrd, com.sun.jna.Pointer lpOverlapped)booleanResetEvent(WinAPI.HANDLE hEvent)booleanSetCommBreak(WinAPI.HANDLE hFile)booleanSetCommMask(WinAPI.HANDLE hFile, int dwEvtMask)booleanSetCommState(WinAPI.HANDLE hFile, WinAPI.DCB dcb)booleanSetCommTimeouts(WinAPI.HANDLE hFile, WinAPI.COMMTIMEOUTS tout)booleanSetEvent(WinAPI.HANDLE hEvent)booleanSetupComm(WinAPI.HANDLE hFile, int dwInQueue, int dwOutQueue)booleanWaitCommEvent(WinAPI.HANDLE hFile, com.sun.jna.ptr.IntByReference lpEvtMask, com.sun.jna.Pointer lpOverlapped)intWaitForSingleObject(WinAPI.HANDLE hHandle, int dwMilliseconds)booleanWriteFile(WinAPI.HANDLE hFile, byte[] buf, int wrn, int[] nwrtn, com.sun.jna.Pointer lpOverlapped)booleanWriteFile(WinAPI.HANDLE hFile, com.sun.jna.Pointer buf, int wrn, int[] nwrtn, com.sun.jna.Pointer lpOverlapped)
-
-
-
Method Detail
-
CreateFile
WinAPI.HANDLE CreateFile(String name, int access, int mode, WinAPI.SECURITY_ATTRIBUTES security, int create, int atteribs, com.sun.jna.Pointer template)
-
WriteFile
boolean WriteFile(WinAPI.HANDLE hFile, byte[] buf, int wrn, int[] nwrtn, com.sun.jna.Pointer lpOverlapped)
-
WriteFile
boolean WriteFile(WinAPI.HANDLE hFile, com.sun.jna.Pointer buf, int wrn, int[] nwrtn, com.sun.jna.Pointer lpOverlapped)
-
ReadFile
boolean ReadFile(WinAPI.HANDLE hFile, byte[] buf, int rdn, int[] nrd, com.sun.jna.Pointer lpOverlapped)
-
ReadFile
boolean ReadFile(WinAPI.HANDLE hFile, com.sun.jna.Pointer lpBuffer, int rdn, int[] nrd, com.sun.jna.Pointer lpOverlapped)
-
FlushFileBuffers
boolean FlushFileBuffers(WinAPI.HANDLE hFile)
-
PurgeComm
boolean PurgeComm(WinAPI.HANDLE hFile, int qmask)
-
CancelIo
boolean CancelIo(WinAPI.HANDLE hFile)
-
CloseHandle
boolean CloseHandle(WinAPI.HANDLE hFile)
-
ClearCommError
boolean ClearCommError(WinAPI.HANDLE hFile, int[] n, WinAPI.COMSTAT s)
-
SetCommMask
boolean SetCommMask(WinAPI.HANDLE hFile, int dwEvtMask)
-
GetCommMask
boolean GetCommMask(WinAPI.HANDLE hFile, int[] dwEvtMask)
-
GetCommState
boolean GetCommState(WinAPI.HANDLE hFile, WinAPI.DCB dcb)
-
SetCommState
boolean SetCommState(WinAPI.HANDLE hFile, WinAPI.DCB dcb)
-
SetCommTimeouts
boolean SetCommTimeouts(WinAPI.HANDLE hFile, WinAPI.COMMTIMEOUTS tout)
-
SetupComm
boolean SetupComm(WinAPI.HANDLE hFile, int dwInQueue, int dwOutQueue)
-
SetCommBreak
boolean SetCommBreak(WinAPI.HANDLE hFile)
-
ClearCommBreak
boolean ClearCommBreak(WinAPI.HANDLE hFile)
-
GetCommModemStatus
boolean GetCommModemStatus(WinAPI.HANDLE hFile, int[] stat)
-
EscapeCommFunction
boolean EscapeCommFunction(WinAPI.HANDLE hFile, int func)
-
CreateEvent
WinAPI.HANDLE CreateEvent(WinAPI.SECURITY_ATTRIBUTES lpEventAttributes, boolean bManualReset, boolean bInitialState, String lpName)
-
ResetEvent
boolean ResetEvent(WinAPI.HANDLE hEvent)
-
SetEvent
boolean SetEvent(WinAPI.HANDLE hEvent)
-
WaitCommEvent
boolean WaitCommEvent(WinAPI.HANDLE hFile, com.sun.jna.ptr.IntByReference lpEvtMask, com.sun.jna.Pointer lpOverlapped)
-
WaitForSingleObject
int WaitForSingleObject(WinAPI.HANDLE hHandle, int dwMilliseconds)
-
GetOverlappedResult
boolean GetOverlappedResult(WinAPI.HANDLE hFile, com.sun.jna.Pointer lpOverlapped, int[] lpNumberOfBytesTransferred, boolean bWait)
-
FormatMessageW
int FormatMessageW(int flags, com.sun.jna.Pointer src, int msgId, int langId, com.sun.jna.Pointer dst, int sze, com.sun.jna.Pointer va_list)
-
QueryDosDevice
int QueryDosDevice(String name, byte[] buffer, int bsize)
-
-