Community articleIFSGetGlobalIFX function
Added by IBM contributorIBM on July 26, 2013
Rate this article 1 starsRate this article 2 starsRate this article 3 starsRate this article 4 starsRate this article 5 stars

Description

This function retrieves the IFX Manager from the Forms System. Use this function to initialize your applications to work with extensions.
For more information about extensions refer to About the Function Call Interface FCI API 801 CCreate New Article.

Function

IFX *IFSGetGlobalIFX(void);


Parameters

There are no parameters for this function.

Returns

Returns a pointer to the Internet Forms Extension Manager referred to in this manual as the IFX Manager. Returns NULL on failure.

Example

IFX *getIFXManager(void *theInstance)
{
IFX *theIFX;
r_error theError;
      error = IFSInitialize("SampleAp", "1.0.0", "4.5.0");
      if (error != OK)
      {
         fprintf(stderr, "Could not retrieve IFX");
         return(NULL);
      }
      else
      {
         theIFX = IFSGetGlobalIFX();
         return(theIFX);
      }
}