Description:
This function is used to get the most recently running, non-system app context (if any).
For ex: While App A is executing, if it switches temporariy to system context (for
privilege purposes), this API can be used to determine the class ID of the app (A) that is
running while A has switched to system context.
When A has switched to system context, calling the function AEE_GetAppContext()
will not yield the app context of A since that function returns the current app-context. This
function AEE_GetLastAppContext() has to be used for that purpose.
After obtaining the AppContext, the function AEE_GetAppContextCls() can then be used to
obtain the actual ClassID of the app is running. If that returns AEECLSID_SHELL, it indicates
that the system context is currently running and there is no non-system app
executing currently.
Prototype:
void * AEE_GetLastAppContext(void);
Parameters:
None
Return Value:
Pointer to the current application context.
Comments:
None
Side Effects:
None
See Also:
AEE_GetAppContext(),AEE_GetAppContextCls