Jump to content

wpclsQueryActiveDesktop

From EDM2

This class method returns a pointer to the active WPDesktop object. It is specific to version 3 or higher of the OS/2 operating system.

Syntax

WPDesktop = _wpclsQueryActiveDesktop(somSelf);

Parameters

somSelf (M_WPDesktop *) - input
Pointer to the WPDesktop class object.

Returns

WPDesktop (WPDesktop *) - returns
Pointer to the active desktop object.
Value Description
Non-NULL Pointer to the active desktop object.
NULL Error occurred.

Remarks

Multiple desktop objects can be awake, but only one can be active at a time.

Usage

This method can be called at any time.

How to Override

This method is generally not overridden.

Related Methods