Location: Symbol Reference > Functions > JwGetProcessSessionID Function
JWSCL Documentation
ContentsIndexHome
PreviousUpNext
JwGetProcessSessionID Function
Pascal
function JwGetProcessSessionID(ProcessIDorHandle: TJwProcessId; const ParameterType: TJwProcessParameterType): TJwSessionId;
Parameters 
Description 
ProcessIDorHandle: TJwProcessId 
defines the process ID or handle. Which one is used, is defined by parameter ParameterType. Can be zero or -1 to use current process.  
const ParameterType: TJwProcessParameterType 
defines whether parameter ProcessIDorHandle is a process or a handle  

Returns the session ID (zero based).

GetProcessSessionID returns the session ID of a process given by handle or ID.

Exceptions 
Description 
GetProcessSessionID can raise a child class of this 
exception class. The following functions are used that can fail 
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!