wpSetProgramAssociations - Syntax

This method is specific to version 3, or higher, of the OS/2 operating system.

This instance method returns the program associations from the .INI file.

#define INCL_WINWORKPLACE
#include <os2.h>

WPProgramFile     *somSelf;   /*  Pointer to the object on which the method is being invoked. */
PSZ                pszAssoc;  /*  Pointer to string of datafile association types or filters, separated by commas. */
BOOL               fFilter;   /*  Filter flag. */
BOOL               rc;        /*  Success indicator. */

rc = _wpSetProgramAssociations(somSelf, pszAssoc,
       fFilter);


[Back: wpSetProgramAssociations]
[Next: wpSetProgramAssociations Parameter - somSelf]