This method is called to allow the specified class to create default template instances of its class.

#define INCL_WINWORKPLACE
#include <os2.h>

M_WPObject     *somSelf;  /*  Pointer to the WPObject class object. */
WPFolder       *Folder;   /*  Pointer to the folder in which to create the templates. */
BOOL            rc;       /*  Flag indicating whether the class creates the templates. */

rc = _wpclsCreateDefaultTemplates(somSelf,
       Folder);


[Back] [Next]