IWbemObjectAccess::ReadDWORD method

The ReadDWORD method reads 32 bits of property data using a property handle.

Syntax


HRESULT IWbemObjectAccess ReadDWORD(
  [in]  long  lHandle,
  [out] DWORD *pdw
);

Parameters

lHandle [in]

Integer that contains the handle that identifies this property.

pdw [out]

Pointer to a 32-bit unsigned integer used to return the data.

Return value

This method returns an HRESULT that indicates the status of the method call. The following list lists the value contained withinan HRESULT.

WBEM_S_FALSE

The property was NULL.

WBEM_S_NO_ERROR

The method was successful.

Requirements

Minimum supported client

Windows Vista

Minimum supported server

Windows Server 2008

Header

Wbemcli.h (include Wbemidl.h)

Library

Wbemuuid.lib

DLL

Esscli.dll;
Fastprox.dll;
Wbemess.dll

See also

IWbemObjectAccess

 

 

Show: