Location: Symbol Reference > Classes > TJwWTSProcess Class > TJwWTSProcess Members
JWSCL Documentation
ContentsIndexHome
PreviousUpNext
TJwWTSProcess Members

The following tables list the members exposed by TJwWTSProcess.

 
Name 
Description 
 
Create create a TJwWTSProcess instance.  
 
This is Destroy, a member of class TJwWTSProcess. 
 
This is the overview for the Terminate method overload. 
 
Name 
Description 
 
Data 
Data allows storage of a pointer to user specific data and can be freely used. 
 
Owner specifies the TJwTerminalServer instance that owns the session) 
 
This is ParentProcessId, a member of class TJwWTSProcess. 
 
ProcessAge the elapsed time since the process was created in 100-nanosecond intervals since January 1, 1601 (TFileTime). 
 
ProcessAgeStr the elapsed time since the process was created as formatted string. The string is formatted according to the table below:  
 
ProcessCPU can be used to store the relative CPU Time as percentage total. Needs to be calculated by caller... 
 
ProcessCPUTime the total CPU Time (Usertime + Kerneltime) for the given process in 100-nanosecond intervals since January 1, 1601 (TFileTime). 
 
ProcessCPUTimeStr the total CPU Time (Usertime + Kerneltime) for the given process as formatted string. (On Delphi 7 and higher this is a localised string for older version it is fixed at hh:mm) 
 
ProcessCreateTime the Process Creation Time 
 
ProcessCreateTime the Process Creation Time formatted as localised string. 
 
ProcessId the Process Identifier or PID 
 
ProcessMemUsage the Amount of memory in Bytes used by the process 
 
ProcessName the Process Name 
 
This is ProcessVirtualSize, a member of class TJwWTSProcess. 
 
ProcessVMSize the Amount of Virtual memory in Bytes used by the process 
 
Server the netbios name of the Terminal Server. 
 
SessionId the session identifier 
 
Token returns the token of the session. The returned value is cached and must not be freed!
You may need to enable the DEBUG privilege if necessary to obtain a process handle internally.
If the value cannot be obtained the return value is nil. 
 
Username the name of the user associated with the process. 
 
UserSid returns a JwsclSid.TJwSecurityID instance pointing to the SID of the user that is associated with the process. 
 
WinStationName returns the session name. 
Copyright (c) 2010. All rights reserved.
This help was created by Doc-O-Matic sponsored by toolsfactory software inc.
What do you think about this topic? Send feedback!