WPToolsSetObjectData: Difference between revisions
Appearance
Created page with "WPToolsSetObjectData Change the settings of an object; this functions works with object IDs, file names and object handles. Category:The OS/2 API Project" |
No edit summary |
||
Line 1: | Line 1: | ||
==Purpose== | |||
Change the settings of an existing object. This functions works with object IDs, file names and object handles. | |||
==Usage== | |||
rc=WPToolsSetObjectData(object, setup) | |||
Where : | |||
object = A fully qualified path name to a file or directory, or | |||
An OBJECTID string (e.g. <WP_DESKTOP>), or | |||
A string starting with a '#' and being followed | |||
by a hexadecimal object handle (See WPToolsFolderContent) | |||
setup = A WinCreateObject setup string | |||
Returns: 1 on success and 0 when a error occurred. | |||
'''NOTE:''' This function is equal to SysSetObjectData with one difference that beside a file name or OBJECTID also a '#' followed by an hexadecimal object handle can be specified. This makes it posible that the outcome if WPToolsFolderContant can be used. | |||
[[Category:The OS/2 API Project]] | [[Category:The OS/2 API Project]] |
Revision as of 04:18, 24 February 2015
Purpose
Change the settings of an existing object. This functions works with object IDs, file names and object handles.
Usage
rc=WPToolsSetObjectData(object, setup)
Where :
object = A fully qualified path name to a file or directory, or An OBJECTID string (e.g. <WP_DESKTOP>), or A string starting with a '#' and being followed by a hexadecimal object handle (See WPToolsFolderContent)
setup = A WinCreateObject setup string
Returns: 1 on success and 0 when a error occurred.
NOTE: This function is equal to SysSetObjectData with one difference that beside a file name or OBJECTID also a '#' followed by an hexadecimal object handle can be specified. This makes it posible that the outcome if WPToolsFolderContant can be used.