Jump to content

wpFindTaskRec

From EDM2

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

An object is sent this message to request information specific to the task being performed in a task thread.

Syntax

_wpFindTaskRec(somSelf)

Parameters

somSelf (WPObject *) - input
Pointer to the object on which the method is being invoked.
Points to an object of class WPObject.

Returns

rc (PTASKREC) - returns
Pointer to the task record information.

How to Override

This method is not generally overridden.

Usage

This method is not covered in the provided text.

Example Code

#define INCL_WINWORKPLACE
#include <os2.h>

WPObject *somSelf; /* Pointer to the object on which the method is being invoked. */
PTASKREC *rc; /* Pointer to the task record information. */

rc = _wpFindTaskRec(somSelf);

Remarks

The task records are used by the Workplace Shell to keep track of work being done on another thread (such as moving and copying objects).

Related Methods