Jump to content

WinSetObjectData: Difference between revisions

From EDM2
WinSetObjectData moved to OS2 API:WinSetObjectData
 
Ak120 (talk | contribs)
mNo edit summary
 
(3 intermediate revisions by 3 users not shown)
Line 1: Line 1:
#REDIRECT [[OS2 API:WinSetObjectData]]
Set the data on a workplace shell object.
WinSetObjectData(objectHndl, setupString)


=== Parameters ===
; objectHndl - [[HOBJECT]] - input : The object handle.
; setupString - [[PSZ]] - input : Object specific parameters.
=== Constants ===
=== Returns ===
This function returns a [[BOOL]] with the values of:
* [[TRUE]]
* [[FALSE]]
=== Define (C/C++) ===
INCL_WINWORKPLACE
=== Calling Convention ===
[[Cdecl32]]
=== Example Code ===
...
HOBJECT  hobj;
PSZ      setupString;
BOOL    rc;
...
rc = WinSetObjectData (hobj, setupString);
...
=== Related Functions ===
*[[WinCreateObject]]
*[[WinDestroyObject]]
[[Category:Win]]

Latest revision as of 01:23, 26 March 2020

Set the data on a workplace shell object.

WinSetObjectData(objectHndl, setupString)

Parameters

objectHndl - HOBJECT - input
The object handle.
setupString - PSZ - input
Object specific parameters.

Constants

Returns

This function returns a BOOL with the values of:

Define (C/C++)

INCL_WINWORKPLACE

Calling Convention

Cdecl32

Example Code

...
HOBJECT  hobj;
PSZ      setupString;
BOOL     rc;
...
rc = WinSetObjectData (hobj, setupString);
...

Related Functions