Jump to content

WPToolsSetObjectData

From EDM2
Revision as of 04:18, 24 February 2015 by Martini (talk | contribs)

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.