IWbemObjectAccess::GetPropertyInfoByHandle method

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

Syntax

HRESULT GetPropertyInfoByHandle(
  long    lHandle,
  BSTR    *pstrName,
  CIMTYPE *pType
);

Parameters

lHandle

Integer that contains the handle identifying the property.

pstrName

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

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 withinan HRESULT.

Requirements

   
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