Jump to content

WpSetup

From EDM2
Revision as of 23:14, 8 June 2025 by Ak120 (talk | contribs) (Created page with "This instance method is called to allow the newly created object to initialize itself based on an input setup string. <pre> #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.: BOOL rc; Success indicator.: rc = _wpSetup(somSelf, pszSetupString); </pre>")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

This instance method is called to allow the newly created object to initialize itself based on an input setup string.

#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. */
BOOL       rc;              /* Success indicator. */

rc = _wpSetup(somSelf, pszSetupString);