Jump to content

wpModuleForClass

From EDM2

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

This instance method returns the module name for a given class.

Syntax

_wpModuleForClass(somSelf, pszClass)

Parameters

somSelf (WPClassManager *) - input
Pointer to the object on which the method is being invoked.
Points to an object of class **SOMClassMgr**.
pszClass (PSZ) - input
Class for which the module name is returned.

Returns

pszModule (PSZ) - returns
Module name for *pszClass*.

How to Override

This method should not be overridden.

Usage

This method can be called at any time. It is invoked using **SOMClassMgrObject**.

Example Code

#define INCL_WINWORKPLACE
#include <os2.h>

WPClassManager *somSelf; /* Pointer to the object on which the method is being invoked. */
PSZ pszClass; /* Class for which the module name is returned. */
PSZ pszModule; /* Module name for pszClass. */

pszModule = _wpModuleForClass(somSelf, pszClass);