CObjectPathParser class (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 WMI path which can include a remote computer name, namespaces, and classes. Use of this object is not recommended. Instead, use the IWbemPath COM interface.
The CObjectPathParser class has these methods.
CObjectPathParser::CObjectPathParser Constructs and initializes an instance of a CObjectPathParser object that requires a full object path. Use of this object is not recommended. Instead, use the IWbemPath COM interface. |
CObjectPathParser::Free Releases the memory that contains the unparsed path. Use of this object is not recommended. Instead, use the IWbemPath COM interface. (overload 2/2) |
CObjectPathParser::Free Releases the memory that contains the unparsed path. Use of this object is not recommended. Instead, use the IWbemPath COM interface. (overload 1/2) |
CObjectPathParser::Parse 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. |
CObjectPathParser::Unparse Converts a structure that contains the parsed path to a string. Use of this object is not recommended. Instead, use the IWbemPath COM interface. |
Requirement | Value |
---|---|
Minimum supported client | Windows Vista |
Minimum supported server | Windows Server 2008 |
Target Platform | Windows |
Header | objpath.h (include ObjPath.h) |