GetLoadedAppInstance

(System Library)

Description: Retrieves the Layer object (LayerRoot) for a particular application specified by GUID
Returns: Layer object
Usage: Script Only.
Function Groups: Configuration Management
Related to: GetAppInstance | GetCodeObj
Format: System.GetLoadedAppInstance(GUID)
Parameters:  
GUID
Required text. The 36-byte GUID of the application to be found.
Comments:

This function is similar to GetAppInstance, but is a synchronous operation, returning the Layer object directly rather than in a pointer parameter.

If the target application is not yet loaded, then this function will return Invalid rather than wait.