Jump to content

wpQueryFileSize

From EDM2
Revision as of 22:04, 24 November 2025 by Martini (talk | contribs) (Created page with "{{DISPLAYTITLE:wpQueryFileSize}} 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 gen...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

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