Jump to content

wpQueryLastWrite

From EDM2

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

This instance method returns the last date and time a given file was written to.

Syntax

_wpQueryLastWrite(somSelf, fdate, ftime)

Parameters

somSelf (WPFileSystem *) - input
Pointer to the object on which the method is being invoked.
Points to an object of class WPFileSystem.
fdate (FDATE *) - output
Pointer to the date structure containing the last date the file was written to.
ftime (FTIME *) - output
Pointer to the time structure containing the last time the file was written to.

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. */
FDATE *fdate; /* Pointer to the date structure containing the last date the file was written to. */
FTIME *ftime; /* Pointer to the time structure containing the last time the file was written to. */
ULONG rc; /* Success indicator. */

rc = _wpQueryLastWrite(somSelf, fdate, ftime);

Related Methods