Jump to content

WinDestroyObject: Difference between revisions

From EDM2
Line 31: Line 31:


=== Related Functions ===
=== Related Functions ===
[[OS2 API:WinCreateObject|WinCreateObject]]
[[OS2 API:PMI:WinCreateObject|WinCreateObject]]
[[OS2 API:WinSetObjectData|WinSetObjectData]]
[[OS2 API:PMI:WinSetObjectData|WinSetObjectData]]


=== Notes ===
=== Notes ===

Revision as of 17:48, 17 May 2016

WinDestroyObject

WinDestroyObject (objHndle)
Dispose of a class from the Workplace Shell.

Parameters

objHandle - HOBJECT - output
Handle to a Workplace object.

Constants

Returns

True if successful, false if not successful.

Module

Define (C/C++)

INCL_WINWORKPLACE

Export name/Ordinal

Calling conversion

Cdecl32

Example Code

...
HOBJECT objHndl;
BOOL    rc;
...
rc = WinDestroyObject (objHndl);
...

Related Functions

WinCreateObject WinSetObjectData

Notes

OS Version Introduced