Jump to content

wpQueryFileSize

From EDM2

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

This instance method returns the size of a given file.

Syntax

_wpQueryFileSize(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
Size of the file.

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; /* Size of the file. */

rc = _wpQueryFileSize(somSelf);

Related Methods