Jump to content

wpclsQueryAwakeObject

From EDM2
Revision as of 23:04, 24 May 2025 by Martini (talk | contribs) (Created page with "{{DISPLAYTITLE:wpclsQueryAwakeObject}} This class method determines if the given object is already awake. It is specific to version 3 or higher of the OS/2 operating system. ==Syntax== <PRE> Object = _wpclsQueryAwakeObject(somSelf, pszInputPath); </PRE> ==Parameters== ;''somSelf'' (M_WPFileSystem *) - input :Pointer to the WPFileSystem class object. ;''pszInputPath'' (PSZ) - input :Fully-qualified input path. Note: This parameter must be a valid path. The...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

This class method determines if the given object is already awake. It is specific to version 3 or higher of the OS/2 operating system.

Syntax

Object = _wpclsQueryAwakeObject(somSelf, pszInputPath);

Parameters

somSelf (M_WPFileSystem *) - input
Pointer to the WPFileSystem class object.
pszInputPath (PSZ) - input
Fully-qualified input path. Note: This parameter must be a valid path. The system does not call the file system to check whether the file exists.

Returns

Object (WPObject) - returns
The awake object.
Value Description
Non-NULL Pointer to the awake object.
NULL Object is not already awake.

Remarks

This method requires that for an object to be awake, all path components prior to the object are also awake. If any path component is not found awake, then the routine assumes that the object for that passed file cannot be awake either.

Usage

This method can be called at any time.

How to Override

This method is generally not overridden.

Related Methods