@Structure.FieldOrder(value={"State","SessionId","IncomingBytes","OutgoingBytes","IncomingFrames","OutgoingFrames","IncomingCompressedBytes","OutgoingCompressedBytes","WinStationName","Domain","UserName","ConnectTime","DisconnectTime","LastInputTime","LogonTime","CurrentTime"}) public static class Wtsapi32.WTSINFO extends Structure
Structure.ByReference, Structure.ByValue, Structure.FieldOrder, Structure.StructField
Modifier and Type | Field and Description |
---|---|
WinNT.LARGE_INTEGER |
ConnectTime |
WinNT.LARGE_INTEGER |
CurrentTime |
WinNT.LARGE_INTEGER |
DisconnectTime |
byte[] |
Domain |
int |
IncomingBytes |
int |
IncomingCompressedBytes |
int |
IncomingFrames |
WinNT.LARGE_INTEGER |
LastInputTime |
WinNT.LARGE_INTEGER |
LogonTime |
int |
OutgoingBytes |
int |
OutgoingCompressedBytes |
int |
OutgoingFrames |
int |
SessionId |
int |
State |
byte[] |
UserName |
byte[] |
WinStationName |
ALIGN_DEFAULT, ALIGN_GNUC, ALIGN_MSVC, ALIGN_NONE, CALCULATE_SIZE
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getDomain()
Convenience method to return the null-terminated string in the
Domain member, accounting for CHAR or WCHAR byte
width. |
java.lang.String |
getUserName()
Convenience method to return the null-terminated string in the
UserName member, accounting for CHAR or WCHAR byte
width. |
java.lang.String |
getWinStationName()
Convenience method to return the null-terminated string in the
WinStationName member, accounting for CHAR or WCHAR
byte width. |
allocateMemory, allocateMemory, autoAllocate, autoRead, autoRead, autoWrite, autoWrite, cacheTypeInfo, calculateSize, clear, createFieldsOrder, createFieldsOrder, createFieldsOrder, createFieldsOrder, dataEquals, dataEquals, ensureAllocated, equals, fieldOffset, getAutoRead, getAutoWrite, getFieldList, getFieldOrder, getFields, getNativeAlignment, getNativeSize, getNativeSize, getPointer, getStringEncoding, getStructAlignment, hashCode, newInstance, newInstance, read, readField, readField, setAlignType, setAutoRead, setAutoSynch, setAutoWrite, setStringEncoding, size, sortFields, toArray, toArray, toString, toString, useMemory, useMemory, write, writeField, writeField, writeField
public int State
public int SessionId
public int IncomingBytes
public int OutgoingBytes
public int IncomingFrames
public int OutgoingFrames
public int IncomingCompressedBytes
public int OutgoingCompressedBytes
public final byte[] WinStationName
public final byte[] Domain
public final byte[] UserName
public WinNT.LARGE_INTEGER ConnectTime
public WinNT.LARGE_INTEGER DisconnectTime
public WinNT.LARGE_INTEGER LastInputTime
public WinNT.LARGE_INTEGER LogonTime
public WinNT.LARGE_INTEGER CurrentTime
public WTSINFO()
public WTSINFO(Pointer p)
public java.lang.String getWinStationName()
WinStationName
member, accounting for CHAR
or WCHAR
byte width.WinStationName
as a string.public java.lang.String getDomain()
Domain
member, accounting for CHAR
or WCHAR
byte
width.Domain
as a string.public java.lang.String getUserName()
UserName
member, accounting for CHAR
or WCHAR
byte
width.UserName
as a string.