CObjectPathParser::Parse method (objpath.h)

[The CObjectPathParser class is part of the WMI Provider Framework which is now considered in final state, and no further development, enhancements, or updates will be available for non-security related issues affecting these libraries. The MI APIs should be used for all new development.]

Parses a string that contains a WMI path into a structure the contains the path parts, such as the server, namespace, class, key that identifies an instance, and others. Use of this object is not recommended. Instead, use the IWbemPath COM interface.

Syntax

int Parse(
  [in]  LPCWSTR          RawPath,
  [out] ParsedObjectPath **pOutput
);

Parameters

[in] RawPath

The raw path data.

[out] pOutput

A structure that contains the parsed path parts.

Return value

None

Requirements

Requirement Value
Minimum supported client Windows Vista
Minimum supported server Windows Server 2008
Target Platform Windows
Header objpath.h (include ObjPath.h)
Library FrameDyn.lib
DLL FrameDynOS.dll; FrameDyn.dll

See also

CObjectPathParser