Jump to content

wpSetDateInfo

From EDM2
Revision as of 21:35, 24 November 2025 by Martini (talk | contribs) (Created page with "{{DISPLAYTITLE:wpSetDateInfo}} This instance method is called to allow the object to change its current date information. ==Syntax== _wpSetDateInfo(somSelf, pstFileFindBuf) ==Parameters== ;''somSelf'' (WPFileSystem *) - input :Pointer to the object on which the method is being invoked. :Points to an object of class WPFileSystem. ;''pstFileFindBuf'' (FILEFINDBUF4 *) - input :Pointer to the file information buffer. ==Returns== ;''rc'' (ULONG) - returns...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

This instance method is called to allow the object to change its current date information.

Syntax

_wpSetDateInfo(somSelf, pstFileFindBuf)

Parameters

somSelf (WPFileSystem *) - input
Pointer to the object on which the method is being invoked.
Points to an object of class WPFileSystem.
pstFileFindBuf (FILEFINDBUF4 *) - input
Pointer to the file information buffer.

Returns

rc (ULONG) - returns
Success indicator.
  • 0 No error.
  • other Error occurred.

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. */
FILEFINDBUF4 *pstFileFindBuf; /* Pointer to the file information buffer. */
ULONG rc; /* Success indicator. */

rc = _wpSetDateInfo(somSelf, pstFileFindBuf);

Related Methods