Jump to content

wpQueryEASupport

From EDM2
Revision as of 22:06, 24 November 2025 by Martini (talk | contribs) (Created page with "{{DISPLAYTITLE:wpQueryEASupport}} This method is specific to Version 4, or higher, of the OS/2 operating system. This instance method is called to determine whether extended attributes are supported for the specified file system object. ==Syntax== _wpQueryEASupport(somSelf) ==Parameters== ;''somSelf'' (WPFileSystem *) - input :Pointer to the object on which the method is being invoked. :Points to an object of class WPFileSystem. ==Returns== ;''rc'' ([[ULONG]...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

This method is specific to Version 4, or higher, of the OS/2 operating system.

This instance method is called to determine whether extended attributes are supported for the specified file system object.

Syntax

_wpQueryEASupport(somSelf)

Parameters

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

Returns

rc (ULONG) - returns
Success indicator.
  • NO_ERROR Extended attributes supported.
  • ERROR_EAS_NOT_SUPPORTED Extended attributes not supported.

How to Override

This method is generally not overridden.

Usage

This method can be called at any time in order to determine the whether or not the file system that contains the current object supports extended attributes.

Example Code

#define INCL_WINWORKPLACE
#include <os2.h>

WPFileSystem *somSelf; /* Pointer to the object on which the method is being invoked. */
ULONG rc; /* Success indicator */

rc = _wpQueryEASupport(somSelf);

/* Example code provided in the source: */
  ULONG      ulEASupport;

  ulEASupport = _wpQueryEASupport(somSelf);
  /* ulEASupport is NO_ERROR or ERROR_EAS_NOT_SUPPORTED */

Related Methods