Jump to content

WinDestroyObject: Difference between revisions

From EDM2
Ak120 (talk | contribs)
mNo edit summary
Line 3: Line 3:


=== Parameters ===
=== Parameters ===
; objHandle - [[OS2 API:DataType:HOBJECT|HOBJECT]] - output : Handle to a Workplace object.
; objHandle - [[HOBJECT]] - output : Handle to a Workplace object.


=== Constants ===
=== Constants ===
Line 9: Line 9:
=== Returns ===
=== Returns ===
True if successful, false if not successful.
True if successful, false if not successful.
* [[OS2 API:Constant:TRUE|TRUE]]
* [[TRUE]]
* [[OS2 API:Constant:FALSE|FALSE]]
* [[FALSE]]
 
=== Module ===


=== Define (C/C++) ===
=== Define (C/C++) ===
INCL_WINWORKPLACE
INCL_WINWORKPLACE
=== Export name/Ordinal ===


=== Calling conversion ===
=== Calling conversion ===
Line 24: Line 20:
=== Example Code ===
=== Example Code ===
  ...
  ...
  [[OS2 API:DataType:HOBJECT|HOBJECT]] objHndl;
  HOBJECT objHndl;
  [[OS2 API:DataType:BOOL|BOOL]]   rc;
  BOOL    rc;
  ...
  ...
  rc = WinDestroyObject (objHndl);
  rc = WinDestroyObject (objHndl);
Line 31: Line 27:


=== Related Functions ===
=== Related Functions ===
[[OS2 API:PMI:WinCreateObject|WinCreateObject]]
*[[WinCreateObject]]
[[OS2 API:PMI:WinSetObjectData|WinSetObjectData]]
*[[WinSetObjectData]]
 
=== Notes ===
 
=== OS Version Introduced ===
 
 


[[Category:The OS/2 API Project]]
[[Category:Win]]

Revision as of 22:10, 10 November 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.

Define (C/C++)

INCL_WINWORKPLACE

Calling conversion

Cdecl32

Example Code

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

Related Functions