This method is specific to version 3, or higher, of the OS/2 operating system.
This instance method determines whether the given class is currently replaced by a specified class.
#define INCL_WINWORKPLACE
#include <os2.h>
WPClassManager *somSelf; /* Pointer to the object on which the method is being invoked. */
PSZ pszOldClass; /* Old class. */
PSZ pszNewClass; /* New class. */
BOOL flReplaced; /* Flag indicating whether the given old class is currently replaced by the specified new class. */
flReplaced = _wpReplacementIsInEffect(somSelf,
pszOldClass, pszNewClass);