Jump to content

wpSetFileSizeInfo

From EDM2

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

This instance method sets the file size values in the instance data.

Syntax

_wpSetFileSizeInfo(somSelf, cbFileSize, cbEASize)

Parameters

somSelf (WPFileSystem *) - input
Pointer to the object on which the method is being invoked.
Points to an object of class WPFileSystem.
cbFileSize (ULONG) - input
Size of the file.
cbEASize (ULONG) - input
Size of the file's extended attributes (EAs).

Returns

rc (ULONG) - returns
Success indicator.
  • 0 No error.
  • other 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 cbFileSize; /* Size of the file. */
ULONG cbEASize; /* Size of the file's extended attributes (EAs). */
ULONG rc; /* Success indicator. */

rc = _wpSetFileSizeInfo(somSelf, cbFileSize,
          cbEASize);

Related Methods