This function allows you to obtain the persistant object handle for any file object, by passing the fully qualified filename. Similarly any objects' handle can be retrieved if its object ID string is passed. Once a program has an object handle, it is able to change the objects state by using the WinSetObjectData function or delete the object using the WinDestroyObject function. Note that valid object ID strings must always start with the "<" character and be terminated by the ">" character, and are thus invalid file system names.

Using HOBJECT for .INI files or files in which an application uses a rename/save/delete sequence is not supported.


[Back] [Next]