Jump to content

WpSetAttr: Difference between revisions

From EDM2
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]..."
 
(No difference)

Latest revision as of 17:10, 24 November 2025

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