OS2 API:WinDestroyObject

From EDM2

Jump to: navigation, search

Contents

[edit] WinDestroyObject

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

[edit] Parameters

objHandle - HOBJECT - output 
Handle to a Workplace object.

[edit] Constants

[edit] Returns

True if successful, false if not successful.

[edit] Module

[edit] Define (C/C++)

INCL_WINWORKPLACE

[edit] Export name/Ordinal

[edit] Calling conversion

Cdecl32

[edit] Example Code

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

[edit] Related Functions

WinCreateObject WinSetObjectData

[edit] Notes

[edit] OS Version Introduced

Personal tools