The following example will query for FFST configuration. FFST configuration values are returned in the buffer. You can access individual parameters by using the CONFIGPARMS structure.

#define INCL_FFST
#include <unichar.h>
#include <os2.h>
APIRET rc;
ULONG buffer_length;
UniChar config_buffer[300];

CONFIGPARMS  FFSTConfig;
PCONFIGPARMS  pFFSTConfig  *FFSTConfig;

buffer_length = 300;
rc = FFSTQueryConfiguration (  &buffer_length, &config_buffer );
if (rc != 0)                                    /* If Problem      */
        {                                       /* reason          */
        printf("FFSTConfigure error: return code = %d",rc);
        return;
        }


[Back: FFSTQueryConfiguration - Related Functions]
[Next: FFSTQueryConfiguration - Topics]