Class Wtsapi32FFM
java.lang.Object
oshi.ffm.ForeignFunctions
oshi.ffm.windows.WindowsForeignFunctions
oshi.ffm.windows.Wtsapi32FFM
-
Field Summary
FieldsFields inherited from class ForeignFunctions
CAPTURE_CALL_STATE, CAPTURED_STATE_LAYOUT, ERRNO_HANDLE, LIBRARY_ARENA, LINKER, NATIVE_LONG_SIZE, NATIVE_POINTER_SIZE, NATIVE_SIZE_T_SIZE, SYMBOL_LOOKUP -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic booleanWTSEnumerateSessions(MemorySegment hServer, int reserved, int version, MemorySegment ppSessionInfo, MemorySegment pCount) static voidWTSFreeMemory(MemorySegment pMemory) static booleanWTSQuerySessionInformation(MemorySegment hServer, int sessionId, int wtsInfoClass, MemorySegment ppBuffer, MemorySegment pBytesReturned) Methods inherited from class WindowsForeignFunctions
checkSuccess, isSuccess, readAnsiString, readWideString, setupTokenPrivileges, toWideStringMethods inherited from class ForeignFunctions
downcall, getByteArrayFromNativePointer, getErrno, getStringFromNativePointer, getStructFromNativePointer, lib, libraryLookup
-
Field Details
-
WTS_CURRENT_SERVER_HANDLE
-
-
Constructor Details
-
Wtsapi32FFM
public Wtsapi32FFM()
-
-
Method Details
-
WTSEnumerateSessions
public static boolean WTSEnumerateSessions(MemorySegment hServer, int reserved, int version, MemorySegment ppSessionInfo, MemorySegment pCount) throws Throwable - Throws:
Throwable
-
WTSQuerySessionInformation
public static boolean WTSQuerySessionInformation(MemorySegment hServer, int sessionId, int wtsInfoClass, MemorySegment ppBuffer, MemorySegment pBytesReturned) throws Throwable - Throws:
Throwable
-
WTSFreeMemory
- Throws:
Throwable
-