Jump to content

WinDestroyObject: Difference between revisions

From EDM2
mNo edit summary
Line 1: Line 1:
== WinDestroyObject ==
Dispose of a class from the Workplace Shell.
; WinDestroyObject (objHndle) : Dispose of a class from the Workplace Shell.


=== Parameters ===
==Syntax==
WinDestroyObject (objHndle)
 
==Parameters ==
; objHandle - [[HOBJECT]] - output : Handle to a Workplace object.
; objHandle - [[HOBJECT]] - output : Handle to a Workplace object.


=== Constants ===
== Constants ==


=== Returns ===
== Returns ==
True if successful, false if not successful.
True if successful, false if not successful.
* [[TRUE]]
* [[TRUE]]
* [[FALSE]]
* [[FALSE]]


=== Define (C/C++) ===
== Define (C/C++) ==
INCL_WINWORKPLACE
INCL_WINWORKPLACE


=== Calling Convention ===
== Calling Convention ==
[[Cdecl32]]
[[Cdecl32]]


=== Example Code ===
== Example Code ==
  ...
  ...
  HOBJECT objHndl;
  HOBJECT objHndl;
Line 26: Line 28:
  ...
  ...


=== Related Functions ===
== Related Functions ==
*[[WinCreateObject]]
*[[WinCreateObject]]
*[[WinSetObjectData]]
*[[WinSetObjectData]]


[[Category:Win]]
[[Category:Win]]

Revision as of 05:04, 20 May 2018

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

Cdecl32

Example Code

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

Related Functions