com.jniwrapper.win32.process.monitoring
Class ProcessEntry

java.lang.Object
  extended by com.jniwrapper.Parameter
      extended by com.jniwrapper.Structure
          extended by com.jniwrapper.win32.process.monitoring.ProcessEntry
All Implemented Interfaces:
com.jniwrapper.AlignmentAwareParameter, com.jniwrapper.CompositeParameter

public class ProcessEntry
extends com.jniwrapper.Structure

ProcessEntry class represents PROCESSENTRY32 structure.


Field Summary
 
Fields inherited from class com.jniwrapper.Structure
i
 
Fields inherited from class com.jniwrapper.Parameter
LICENSE_TYPE, V
 
Constructor Summary
ProcessEntry()
           
 
Method Summary
 long getBasePriorityClass()
          Base priority of any threads created by this process.
 long getDefaultHeapID()
          Identifier of the default heap for the process.
 java.lang.String getExeFile()
          String that specifies the name of the executable file for the process.
 long getModuleID()
          Module identifier of the process.
 long getParentProcessID()
          Identifier of the process that created the process being examined.
 long getProcessID()
          Identifier of the process.
 long getThreadsCount()
          The number of execution threads started by the process.
 long getUsageCounter()
          The number of references to the process.
 
Methods inherited from class com.jniwrapper.Structure
a, a, acceptIOPerformer, addMembers, clone, computeLength, equals, getAlignmentRequirement, getDebugInfo, getFirstMemberSize, getLength, getMember, getMembers, getOffsets, init, init, initFrom, pop, push, read, setDataBuffer, write
 
Methods inherited from class com.jniwrapper.Parameter
, a, asReturnValue, b, dataBufferAssigned, getAlignedLength, getDataBuffer, getDataBufferOffset, hashCode, indent, read, read, toByteArray, write
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ProcessEntry

public ProcessEntry()
Method Detail

getUsageCounter

public long getUsageCounter()
The number of references to the process.

Returns:
Number of references to the process.

getProcessID

public long getProcessID()
Identifier of the process.

Returns:
Identifier of the process.

getDefaultHeapID

public long getDefaultHeapID()
Identifier of the default heap for the process.

Returns:
Identifier of the default heap for the process.

getModuleID

public long getModuleID()
Module identifier of the process.

Returns:
Module identifier of the process.

getThreadsCount

public long getThreadsCount()
The number of execution threads started by the process.

Returns:
The number of execution threads started by the process.

getParentProcessID

public long getParentProcessID()
Identifier of the process that created the process being examined.

Returns:
Identifier of the process that created the process being examined.

getBasePriorityClass

public long getBasePriorityClass()
Base priority of any threads created by this process.

Returns:
Base priority of any threads created by this process.

getExeFile

public java.lang.String getExeFile()
String that specifies the name of the executable file for the process.

Returns:
String that specifies the name of the executable file for the process.