wpSetAssociationFilter - Syntax

This instance method is called to set an association of the program object to a data file object based on a file title filter.

#define INCL_WINWORKPLACE
#include <os2.h>

WPProgramFile     *somSelf;    /*  Pointer to the object on which the method is being invoked. */
PSZ                pszFilter;  /*  Pointer to file title filters. */
BOOL               rc;         /*  Success indicator. */

rc = _wpSetAssociationFilter(somSelf, pszFilter);


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