Jump to content

WinDeregisterObjectClass: Difference between revisions

From EDM2
m corrected links
m formatting
Line 1: Line 1:
== WinDeregisterObjectClass ==
== WinDeregisterObjectClass ==
; WinDeregisterObjectClass (className) :  
; WinDeregisterObjectClass (className) : Remove a Workplace Shell class.
Remove a Workplace Shell class.


=== Parameters ===
=== Parameters ===
; className - [[OS2 API:DataType:PSZ|PSZ]] - input :  
; className - [[OS2 API:DataType:PSZ|PSZ]] - input : Class name.
Class name.


=== Constants ===
=== Constants ===

Revision as of 04:56, 1 May 2006

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 Interface Repository. Some classes has its representation in OS2.INI and are cached upon system initialization. Should a class not be needed it should be removed.

OS Version Introduced