This method is specific to version 3, or higher, of the OS/2 operating system.
This instance method sets the file attributes of a filesystem-based object.
#define INCL_WINWORKPLACE #include <os2.h> WPFileSystem *somSelf; /* Pointer to the object on which the method is being invoked. */ ULONG attrFile; /* File attributes. */ BOOL rc; /* Success indicator. */ rc = _wpSetAttr(somSelf, attrFile);