This method returns the class object settings from the Settings notebook.

#define INCL_WINWORKPLACE
#include <os2.h>

M_WPAbstract     *somSelf;         /*  Pointer to the WPAbstract class object. */
PSZ               pszSetting;      /*  Name of the setting that is to be queried. */
PVOID             pValue;          /*  Buffer in which settings values are returned. */
ULONG             ulValueLen;      /*  Length of pValue. */
ULONG             ulReturnedData;  /*  Length of data returned in pValue. */

ulReturnedData = _wpclsQuerySetting(somSelf,
                   pszSetting, pValue, ulValueLen);


[Back] [Next]