Jump to content

wpQueryCreation

From EDM2
Revision as of 17:52, 24 November 2025 by Martini (talk | contribs) (Created page with "{{DISPLAYTITLE:wpQueryCreation}} This method is specific to version 3, or higher, of the OS/2 operating system. This instance method returns the creation date and time of a file. ==Syntax== _wpQueryCreation(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 in which...")
(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 creation date and time of a file.

Syntax

_wpQueryCreation(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 in which the file's creation date is returned.
ftime (FTIME *) - output
Pointer to the time structure in which the file's creation time is returned.

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 in which the file's creation date is returned. */
FTIME *ftime; /* Pointer to the time structure in which the file's creation time is returned. */
ULONG rc; /* Success indicator. */

rc = _wpQueryCreation(somSelf, fdate, ftime);

Related Methods