Jump to content

WinDestroyObject: Difference between revisions

From EDM2
Ak120 (talk | contribs)
mNo edit summary
No edit summary
 
(3 intermediate revisions by 2 users not shown)
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==
; objHandle - [[HOBJECT]] - output : Handle to a Workplace object.
WinDestroyObject (objHndle)


=== Constants ===
==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]]
* [[TRUE]]
* [[FALSE]]
* [[FALSE]]


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


=== Calling conversion ===
== 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]]

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

Cdecl32

Example Code

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

Related Functions