JCL Help:GetShellProcessHandle

From Project JEDI Wiki
Jump to navigationJump to search


Summary

Returns a handle to the shell process.


Pascal

 function GetShellProcessHandle: THandle;


Return Value

If the function succeeds it returns a handle to the shell process. Upon failure the function raises an exception (EOSError).


Description

GetShellProcessHandle returns a handle to the shell process, if any. The handle is opened with full access (PROCESS_ALL_ACCESS) and must be closed by the caller using the CloseHandle Windows API function.


See Also

GetShellProcessName


About

Unit

JclSysInfo


Donator

Marcel van Brakel


Contribute to this help topic

This documentation wiki is based on the collaborative effort of Project JEDI users. Your edits are welcome in order to improve documentation quality: edit this page