OS2 API:WinRegisterObjectClass

From EDM2

Jump to: navigation, search

Contents

[edit] WinRegisterObjectClass

WinRegisterObjectClass(className, moduleName) 
Register a workplace class.

[edit] Parameters

className - PSZ - input 
Class name string.
moduleName - PSZ - input 
Dynamic link library name.

[edit] Constants

[edit] Returns

This function returns a BOOL with the values of:

[edit] Module

[edit] Define (C/C++)

INCL_WINWORKPLACE

[edit] Export name/Ordinal

[edit] Calling conversion

Cdecl32

[edit] Example Code

...
PSZ  className; 
PSZ  moduleName;
BOOL rc;
...
rc = WinRegisterObjectClass (className, moduleName);
...

[edit] Related Functions

WinCreateObject WinDeregisterObjectClass WinReplaceObjectClass

[edit] Notes

The DLL must be created using the System Object Model.

[edit] OS Version Introduced

Personal tools