This instance method is called by wpSetup to parse the KEYWORDS and KEYWORD values from the setup string that is passed when the object is created.
#define INCL_WINWORKPLACE #include <os2.h> WPObject *somSelf; /* Pointer to the object on which the method is being invoked. */ PSZ pszSetupString; /* Class-specific setup parameters for an object. */ PSZ pszKey; /* Key to scan for. */ PSZ pszValue; /* Buffer for the value. */ PULONG pcbValue; /* Buffer length. */ BOOL rc; /* Success indicator. */ rc = _wpScanSetupString(somSelf, pszSetupString, pszKey, pszValue, pcbValue);