FM_GetCurrentPid

This function returns the PID 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>ditto for other FM ID functions
unsigned long FM_GetCurrentPid(void);

Return Code

The PID of the application which originated the request.