Jump to content

wpSetAttr

From EDM2
Revision as of 17:10, 24 November 2025 by Martini (talk | contribs) (Created page with "{{DISPLAYTITLE:wpSetAttr}} 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]...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

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