This documentation is archived and is not being maintained.

IDiaPropertyStorage::ReadDWORD

Reads DWORD values in a property set.

HRESULT ReadDWORD ( 
   PROPID id,
   DWORD* pValue
);

id

[in] Identifier of the property to be read (PROPID is defined in WTypes.h as a ULONG).

pValue

[out] Returns the property value.

If successful, returns S_OK; otherwise returns an error code. Returns E_INVALIDARG if the property is not of type DWORD.

A DWORD is defined by Windows as a 32-bit unsigned integer.

Show: