WinDestroyObject: Difference between revisions
Appearance
m Martini moved page OS2 API:WinDestroyObject to OS2 API:PMI:WinDestroyObject |
No edit summary |
||
(6 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
Dispose of a class from the Workplace Shell. | |||
== | ==Syntax== | ||
WinDestroyObject (objHndle) | |||
== | ==Parameters == | ||
; objHandle ([[HOBJECT]]) - output : Handle to a Workplace object. | |||
=== Returns | == Constants == | ||
== Returns == | |||
True if successful, false if not successful. | True if successful, false if not successful. | ||
* [[ | * [[TRUE]] | ||
* [[ | * [[FALSE]] | ||
== Define (C/C++) == | |||
INCL_WINWORKPLACE | INCL_WINWORKPLACE | ||
== Calling Convention == | |||
[[Cdecl32]] | [[Cdecl32]] | ||
== Example Code == | |||
... | ... | ||
HOBJECT objHndl; | |||
BOOL rc; | |||
... | ... | ||
rc = WinDestroyObject (objHndl); | rc = WinDestroyObject (objHndl); | ||
... | ... | ||
== Related Functions == | |||
[[ | *[[WinCreateObject]] | ||
[[ | *[[WinSetObjectData]] | ||
[[Category: | [[Category:Win]] |
Latest revision as of 20:03, 7 April 2024
Dispose of a class from the Workplace Shell.
Syntax
WinDestroyObject (objHndle)
Parameters
- objHandle (HOBJECT) - output
- Handle to a Workplace object.
Constants
Returns
True if successful, false if not successful.
Define (C/C++)
INCL_WINWORKPLACE
Calling Convention
Example Code
... HOBJECT objHndl; BOOL rc; ... rc = WinDestroyObject (objHndl); ...