IWbemObjectAccess::GetPropertyInfoByHandle method (wbemcli.h)

The GetPropertyInfoByHandle method returns the name and data type of the property that is associated with a property handle.

Syntax

HRESULT GetPropertyInfoByHandle(
  [in]  long    lHandle,
  [out] BSTR    *pstrName,
  [out] CIMTYPE *pType
);

Parameters

[in] lHandle

Integer that contains the handle identifying the property.

[out] pstrName

Pointer to a string used to return the name of the specified property.

[out] pType

Pointer to a CIMTYPE used to return the type of the property.

Return value

This method returns an HRESULT indicating the status of the method call. The following list lists the value contained within an HRESULT.

Requirements

Requirement Value
Minimum supported client Windows Vista
Minimum supported server Windows Server 2008
Target Platform Windows
Header wbemcli.h (include Wbemidl.h)
Library Wbemuuid.lib
DLL Esscli.dll; Fastprox.dll; Wbemess.dll

See also

IWbemObjectAccess