Jump to content

wpclsQueryObjectFromPath

From EDM2
Revision as of 21:45, 25 May 2025 by Martini (talk | contribs) (Created page with "{{DISPLAYTITLE:wpclsQueryObjectFromPath}} This method is specific to version 3, or higher, of the OS/2 operating system. This class method returns the object pointer for a file or directory. ==Syntax== _wpclsQueryObjectFromPath(somSelf, pszFQPath) ==Parameters== ;'''somSelf''' (M_WPFileSystem *) - input :Pointer to the WPFileSystem class object. ;'''pszFQPath''' (PSZ) - input :String containing the fully qualified path name (or object ID). ;'''pObject''' (WPOb...")
(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 class method returns the object pointer for a file or directory.

Syntax

_wpclsQueryObjectFromPath(somSelf, pszFQPath)

Parameters

somSelf (M_WPFileSystem *) - input
Pointer to the WPFileSystem class object.
pszFQPath (PSZ) - input
String containing the fully qualified path name (or object ID).
pObject (WPObject *) - returns
Pointer to the object that represents the file or directory specified in pszFQPath.

Returns

pObject (WPObject *) - returns
Pointer to the object that represents the file or directory specified in pszFQPath.

Remarks

The object is initially locked, so there is no risk of the object being made dormant before the object pointer is obtained.

How to Override

This method is generally not overridden.

Usage

This method can be called at any time.

Related Methods