This method is called to allow the specified class to awaken an object.

#define INCL_WINWORKPLACE
#include <os2.h>

M_WPObject     *somSelf;   /*  Pointer to the WPObject class object. */
PSZ             pTitle;    /*  Pointer to the object title. */
ULONG           ulStyle;   /*  Object style flags to set on the object. */
HPOINTER        hptrIcon;  /*  Icon to set on the object. */
POBJDATA        pObjData;  /*  Pointer to the object data. */
WPFolder       *Folder;    /*  Pointer to a Folder object. */
ULONG           ulUser;    /*  Base class-defined value. */
WPObject       *Success;   /*  Success indicator. */

Success = _wpclsMakeAwake(somSelf, pTitle,
            ulStyle, hptrIcon, pObjData, Folder,
            ulUser);


[Back] [Next]