wpQueryProgramAssociations - 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>

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

ProgramAssoc = _wpQueryProgramAssociations(
                somSelf, ptr, pszAssoc, fFilter);


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