If a Windows application is spawned, the instance handle can be obtained using exec_instancehandleget.
When a Windows app is started, its instance handle can be retrieved with the exec_instancehandleget function.