Jump to content

WinDeregisterObjectClass

From EDM2
Revision as of 23:49, 6 May 2005 by Daniel.lee.kruse (talk | contribs) (WinDeregisterObjectClass created.)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

WinDeregisterObjectClass

WinDeregisterObjectClass (className)

Remove a Workplace Shell class.

Parameters

className - PSZ - input

Class name.

Constants

Returns

True if successful, false if not successful.

Module

Define (C/C++)

INCL_WINWORKPLACE

Export name/Ordinal

Calling conversion

Cdecl32

Example Code

...
PSZ    className;
BOOL   rc;
...
rc = WinDeregisterObjectClass (className);
...

Related Functions

WinRegisterObjectClass WinReplaceObjectClass

Notes

Object class(es) are automatically registered when a dynamic load library containing an object definition is invoked.

The only advantage of deregistering an object is to improve system performance.

All registered classes are maintained in OS2.ini and are cached upon system initialization. Should a class not be needed it should be removed.

OS Version Introduced