Jump to content

WpclsQueryActiveDesktop: Difference between revisions

From EDM2
Created page with "{{DISPLAYTITLE:wpclsQueryActiveDesktop}} 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== <PRE> WPDesktop = _wpclsQueryActiveDesktop(somSelf); </PRE> ==Parameters== ;''somSelf'' (M_WPDesktop *) - input :Pointer to the WPDesktop class object. ==Returns== ;''WPDesktop'' (WPDesktop *) - returns :Pointer to the active desktop object. :{| class="wikitable" ! Va..."
 
(No difference)

Latest revision as of 22:59, 24 May 2025

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