Export (0) Print
Expand All

IWbemPathKeyList::GetInfo method

The IWbemPathKeyList::GetInfo method retrieves the status bits for the key.

Syntax


HRESULT GetInfo(
  [in]   ULONG uRequestedInfo,
  [out]  ULONGLONG *puResponse
);

Parameters

uRequestedInfo [in]

Reserved. Must be 0 (zero).

puResponse [out]

Status for the key. The following bits indicate the values available.

ValueMeaning
WBEMPATH_INFO_IS_COMPOUND

Compound key is used.

WBEMPATH_INFO_HAS_V2_REF_PATHS

One or more of the keys has a CIM_REFERENCE.

WBEMPATH_INFO_HAS_IMPLIED_KEY

Key names are missing somewhere.

WBEMPATH_INFO_CONTAINS_SINGLETON

One or more singletons in the path.

 

Return value

This method returns an HRESULT indicating the status of the method call.

Return codeDescription
S_OK

Method executed successfully.

WBEM_E_INVALID_PARAMETER

The uRequestedInfo is not 0 (zero) or puResponse is NULL.

WBEM_E_OUT_OF_MEMORY

Insufficient memory to perform the operation.

 

Requirements

Minimum supported client

Windows Vista

Minimum supported server

Windows Server 2003

Header

Wmiutils.h

Library

Wbemuuid.lib

DLL

Wmiutils.dll

See also

IWbemPath
IWbemPathKeyList

 

 

Show:
© 2014 Microsoft