Jump to content

wpVerifyUpdateAccess

From EDM2

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

This instance method is called to verify the update access of the current file system.

Syntax

_wpVerifyUpdateAccess(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
    • DosOpen** error return code.
Possible values are described in the following list:
  • NO_ERROR
  • ERROR_FILE_NOT_FOUND
  • ERROR_PATH_NOT_FOUND
  • ERROR_TOO_MANY_OPEN_FILES
  • ERROR_ACCESS_DENIED
  • ERROR_INVALID_ACCESS
  • ERROR_NOT_DOS_DISK
  • ERROR_SHARING_VIOLATION
  • ERROR_SHARING_BUFFER_EXCEEDED
  • ERROR_CANNOT_MAKE
  • ERROR_INVALID_PARAMETER
  • ERROR_DEVICE_IN_USE
  • ERROR_DRIVE_LOCKED
  • ERROR_OPEN_FAILED
  • ERROR_DISK_FULL
  • ERROR_FILENAME_EXCED_RANGE
  • ERROR_PIPE_BUSY

How to Override

This method is generally not overridden.

Example Code

#define INCL_WINWORKPLACE
#include <os2.h>

WPFileSystem *somSelf; /* Pointer to the object on which the method is being invoked. */
ULONG rc; /* DosOpen error return code. */

rc = _wpVerifyUpdateAccess(somSelf);