code: def getApplicationProcessId(self, pchAppKey):
          
  
          fn = self.function_table.getApplicationProcessId
          result = fn(pchAppKey)
          return result
docs: Returns the process ID for an application. Return 0 if the application was not found or is not running.