WpQueryLastAccess: Difference between revisions
Appearance
Created page with "{{DISPLAYTITLE:wpQueryLastAccess}} 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 accessed. ==Syntax== _wpQueryLastAccess(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 str..." |
(No difference)
|
Latest revision as of 17:52, 24 November 2025
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 accessed.
Syntax
_wpQueryLastAccess(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 accessed.
- ftime (FTIME *) - output
- Pointer to the time structure containing the last time the file was accessed.
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 accessed. */ FTIME *ftime; /* Pointer to the time structure containing the last time the file was accessed. */ ULONG rc; /* Success indicator. */ rc = _wpQueryLastAccess(somSelf, fdate, ftime);