IWbemPath::GetInfo method (wmiutils.h)
The IWbemPath::GetInfo method returns details about a path that has been placed into a parser object.
HRESULT GetInfo(
[in] ULONG uRequestedInfo,
[out] ULONGLONG *puResponse
);
[in] uRequestedInfo
Reserved for future use. Must be 0 (zero).
[out] puResponse
Upon success, this bitmap is set to 0 (zero) or more bits in the following list.
Path has "." or NULL as the server name.
Server name is specified in the path and that name is not ".".
There is a class part to the path, but it is not an instance.
There is a class part to the path and there are key values.
A subscope is present in the path. Currently WMI does not support scopes.
Compound key is used.
One or more keys has a CIM reference.
Key names are missing somewhere in the path.
One or more singletons.
No scopes and no CIM_REFERENCE keys.
Reserved. Do not use.
Reserved. Do not use.
Object is a singleton.
Path is just "..".
There is no class portion of the path.
Path parser was initialized using SetText.
Reserved. Do not use.
Server name was set by either SetText or SetServer.
This method returns one of the following values.
Requirement | Value |
---|---|
Minimum supported client | Windows Vista |
Minimum supported server | Windows Server 2008 |
Target Platform | Windows |
Header | wmiutils.h |
Library | Wbemuuid.lib |
DLL | Wmiutils.dll |