uint64 getProcMainWnd(int pid)
Returns the specified process's main window handle
Security
Trust Level Required: Full Trust
Parameters
Name | Description |
pid |
int The process ID |
Return
The window handle, or 0 if not found
Remarks
IMPORTANT: While KioWare can be used to open 3rd party applications, it cannot guarantee any security of your kiosk while these applications are in use.It is also possible to show a taskbar with all open apps via the User Interface section of the Configuration Tool.
Examples
var mainWnd = KioUtils.getProcMainWnd(1234);
if (mainWnd != 0)
KioUtils.hideWnd(mainWnd);
Requirements
KioWare OS (Linux®) version 1.0 or greater.
Linux® is the registered trademark of Linus Torvalds in the U.S. and other countries.