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 SummaryNested classes/interfaces inherited from class com.sun.jna.StructureStructure.ByReference, Structure.ByValue, Structure.FieldOrder, Structure.StructField
- 
Field SummaryFieldsModifier and TypeFieldDescriptionfinal byte[]intintintintintintintintfinal byte[]final byte[]Fields inherited from class com.sun.jna.StructureALIGN_DEFAULT, ALIGN_GNUC, ALIGN_MSVC, ALIGN_NONE, CALCULATE_SIZE
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionConvenience method to return the null-terminated string in theDomainmember, accounting forCHARorWCHARbyte width.Convenience method to return the null-terminated string in theUserNamemember, accounting forCHARorWCHARbyte width.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 Details- 
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
- 
ConnectTime
- 
DisconnectTime
- 
LastInputTime
- 
LogonTime
- 
CurrentTime
 
- 
- 
Constructor Details- 
WTSINFOpublic WTSINFO()
- 
WTSINFO
 
- 
- 
Method Details- 
getWinStationNameConvenience method to return the null-terminated string in theWinStationNamemember, accounting forCHARorWCHARbyte width.- Returns:
- The WinStationNameas a string.
 
- 
getDomainConvenience method to return the null-terminated string in theDomainmember, accounting forCHARorWCHARbyte width.- Returns:
- The Domainas a string.
 
- 
getUserNameConvenience method to return the null-terminated string in theUserNamemember, accounting forCHARorWCHARbyte width.- Returns:
- The UserNameas a string.
 
 
-