Jump to content

wpSetAttr

From EDM2

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.

Syntax

_wpSetAttr(somSelf, attrFile)

Parameters

somSelf (WPFileSystem *) - input
Pointer to the object on which the method is being invoked.
Points to an object of class WPFileSystem.
attrFile (ULONG) - input
File attributes.

Returns

rc (BOOL) - returns
Success indicator.
  • TRUE Successful completion.
  • FALSE Error occurred.

How to Override

This method is generally not overridden.

Usage

This method is not covered in the provided text.

Remarks

This method is not covered in the provided text.

Example Code

#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);

Related Methods