wpSetTaskRec - Syntax

This method is specific to Version 4, or higher, of the OS/2 operating system.

This instance method adds, replaces, or deletes a task data block.

#define INCL_WINWORKPLACE
#include <os2.h>

WPObject     *somSelf;  /*  Pointer to the object on which the method is being invoked. */
PTASKREC      pNew;     /*  New task link to be added or replaced. */
PTASKREC      pOld;     /*  Old task link to be deleted or replaced. */
BOOL32        rc;       /*  Success indicator */

rc = _wpSetTaskRec(somSelf, pNew, pOld);


[Back: wpSetTaskRec]
[Next: wpSetTaskRec Parameter - somSelf]