WpQueryFileSize: Difference between revisions
Appearance
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..." |
(No difference)
|
Latest revision as of 22:04, 24 November 2025
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);