Location: Symbol Reference > Classes > TJwJobObject Class > TJwJobObject Methods > TJwJobObject.IsProcessInJob Method
JWSCL Documentation
ContentsIndexHome
PreviousUpNext
TJwJobObject.IsProcessInJob Method
Pascal
function IsProcessInJob(hProcess: TJwProcessHandle): Boolean;
Parameters 
Description 
hProcess: TJwProcessHandle 
defines any handle to the process that is tested for membership.  
Returns 
tre if the process is a member of the job; otherwise false.  

Returns true if the given process is assigned to the current job instance; otherwise false.

IsProcessInJob returns whether a process is assigned to the job.

Exceptions 
Description 
can be raised if the call to an winapi function failed. 
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!