Package com.sun.jna.platform.win32
Class Wtsapi32.WTSINFO
- java.lang.Object
- 
- com.sun.jna.Structure
- 
- com.sun.jna.platform.win32.Wtsapi32.WTSINFO
 
 
- 
- Enclosing interface:
- Wtsapi32
 
 @FieldOrder({"State","SessionId","IncomingBytes","OutgoingBytes","IncomingFrames","OutgoingFrames","IncomingCompressedBytes","OutgoingCompressedBytes","WinStationName","Domain","UserName","ConnectTime","DisconnectTime","LastInputTime","LogonTime","CurrentTime"}) public static class Wtsapi32.WTSINFO extends Structure Contains information about a Remote Desktop Services session.
- 
- 
Nested Class Summary- 
Nested classes/interfaces inherited from class com.sun.jna.StructureStructure.ByReference, Structure.ByValue, Structure.FieldOrder, Structure.StructField
 
- 
 - 
Field SummaryFields Modifier and Type Field Description WinNT.LARGE_INTEGERConnectTimeWinNT.LARGE_INTEGERCurrentTimeWinNT.LARGE_INTEGERDisconnectTimebyte[]DomainintIncomingBytesintIncomingCompressedBytesintIncomingFramesWinNT.LARGE_INTEGERLastInputTimeWinNT.LARGE_INTEGERLogonTimeintOutgoingBytesintOutgoingCompressedBytesintOutgoingFramesintSessionIdintStatebyte[]UserNamebyte[]WinStationName- 
Fields inherited from class com.sun.jna.StructureALIGN_DEFAULT, ALIGN_GNUC, ALIGN_MSVC, ALIGN_NONE, CALCULATE_SIZE
 
- 
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.StringgetDomain()Convenience method to return the null-terminated string in theDomainmember, accounting forCHARorWCHARbyte width.java.lang.StringgetUserName()Convenience method to return the null-terminated string in theUserNamemember, accounting forCHARorWCHARbyte width.java.lang.StringgetWinStationName()Convenience method to return the null-terminated string in theWinStationNamemember, accounting forCHARorWCHARbyte width.- 
Methods inherited from class com.sun.jna.StructureallocateMemory, 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
 
- 
 
- 
- 
- 
Field Detail- 
Statepublic int State 
 - 
SessionIdpublic int SessionId 
 - 
IncomingBytespublic int IncomingBytes 
 - 
OutgoingBytespublic int OutgoingBytes 
 - 
IncomingFramespublic int IncomingFrames 
 - 
OutgoingFramespublic int OutgoingFrames 
 - 
IncomingCompressedBytespublic int IncomingCompressedBytes 
 - 
OutgoingCompressedBytespublic int OutgoingCompressedBytes 
 - 
WinStationNamepublic final byte[] WinStationName 
 - 
Domainpublic final byte[] Domain 
 - 
UserNamepublic final byte[] UserName 
 - 
ConnectTimepublic WinNT.LARGE_INTEGER ConnectTime 
 - 
DisconnectTimepublic WinNT.LARGE_INTEGER DisconnectTime 
 - 
LastInputTimepublic WinNT.LARGE_INTEGER LastInputTime 
 - 
LogonTimepublic WinNT.LARGE_INTEGER LogonTime 
 - 
CurrentTimepublic WinNT.LARGE_INTEGER CurrentTime 
 
- 
 - 
Constructor Detail- 
WTSINFOpublic WTSINFO() 
 - 
WTSINFOpublic WTSINFO(Pointer p) 
 
- 
 - 
Method Detail- 
getWinStationNamepublic java.lang.String getWinStationName() Convenience method to return the null-terminated string in theWinStationNamemember, accounting forCHARorWCHARbyte width.- Returns:
- The WinStationNameas a string.
 
 - 
getDomainpublic java.lang.String getDomain() Convenience method to return the null-terminated string in theDomainmember, accounting forCHARorWCHARbyte width.- Returns:
- The Domainas a string.
 
 - 
getUserNamepublic java.lang.String getUserName() Convenience method to return the null-terminated string in theUserNamemember, accounting forCHARorWCHARbyte width.- Returns:
- The UserNameas a string.
 
 
- 
 
-