WinRegisterObjectClass: Difference between revisions
Appearance
m Redirected page to OS2 API:PMI:WinRegisterObjectClass |
No edit summary |
||
Line 1: | Line 1: | ||
== WinRegisterObjectClass == | |||
; WinRegisterObjectClass(className, moduleName) : Register a workplace class. | |||
=== Parameters === | |||
; className - [[PSZ]] - input : Class name string. | |||
; moduleName - PSZ - input : Dynamic link library name. | |||
=== Returns === | |||
This function returns a [[BOOL]] with the values of: | |||
*[[TRUE]] | |||
*[[FALSE]] | |||
=== Define (C/C++) === | |||
INCL_WINWORKPLACE | |||
=== Calling conversion === | |||
[[Cdecl32]] | |||
=== Example Code === | |||
... | |||
PSZ className; | |||
PSZ moduleName; | |||
BOOL rc; | |||
... | |||
rc = WinRegisterObjectClass (className, moduleName); | |||
... | |||
=== Related Functions === | |||
*[[WinCreateObject]] | |||
*[[WinDeregisterObjectClass]] | |||
*[[WinReplaceObjectClass]] | |||
=== Notes === | |||
The DLL must be created using the [[System Object Model]]. | |||
[[Category:Win]] |
Revision as of 23:21, 30 November 2016
WinRegisterObjectClass
- WinRegisterObjectClass(className, moduleName)
- Register a workplace class.
Parameters
- className - PSZ - input
- Class name string.
- moduleName - PSZ - input
- Dynamic link library name.
Returns
This function returns a BOOL with the values of:
Define (C/C++)
INCL_WINWORKPLACE
Calling conversion
Example Code
... PSZ className; PSZ moduleName; BOOL rc; ... rc = WinRegisterObjectClass (className, moduleName); ...
Related Functions
Notes
The DLL must be created using the System Object Model.