Jump to content

WPToolsSetObjectData: Difference between revisions

From EDM2
No edit summary
Ak120 (talk | contribs)
Line 1: Line 1:
==Purpose==
#redirect[[WPTools Functions#WPToolsSetObjectData]]
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]]

Revision as of 23:44, 17 October 2016