FM_GetCurrentAppId

Returns the AppID recorded in the current request originated from the host side. If there is no active request (e.g. a call from Startup() function), FM_DEFAULT_PID is returned.

Synopsis
#include <fmappid.h>
Uint64_t FM_GetCurrentAppId(void);
Return Code

The AppId of the application which originated the current request to the FM.