Class Netapi32FFM
java.lang.Object
oshi.ffm.ForeignFunctions
oshi.ffm.windows.WindowsForeignFunctions
oshi.ffm.windows.Netapi32FFM
-
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 intNetApiBufferFree(MemorySegment buffer) static intNetSessionEnum(MemorySegment serverName, MemorySegment uncClientName, MemorySegment userName, int level, MemorySegment bufptr, int prefmaxlen, MemorySegment entriesRead, MemorySegment totalEntries, MemorySegment resumeHandle) Methods inherited from class WindowsForeignFunctions
checkSuccess, isSuccess, readAnsiString, readWideString, setupTokenPrivileges, toWideStringMethods inherited from class ForeignFunctions
downcall, getByteArrayFromNativePointer, getErrno, getStringFromNativePointer, getStructFromNativePointer, lib, libraryLookup
-
Field Details
-
MAX_PREFERRED_LENGTH
public static final int MAX_PREFERRED_LENGTH- See Also:
-
-
Constructor Details
-
Netapi32FFM
public Netapi32FFM()
-
-
Method Details
-
NetSessionEnum
public static int NetSessionEnum(MemorySegment serverName, MemorySegment uncClientName, MemorySegment userName, int level, MemorySegment bufptr, int prefmaxlen, MemorySegment entriesRead, MemorySegment totalEntries, MemorySegment resumeHandle) throws Throwable - Throws:
Throwable
-
NetApiBufferFree
- Throws:
Throwable
-