Compartilhar via


IDiaPropertyStorage::ReadDWORD

Note

This article applies to Visual Studio 2015. If you're looking for the latest Visual Studio documentation, see Visual Studio documentation. We recommend upgrading to the latest version of Visual Studio. Download it here

Reads DWORD values in a property set.

Syntax

HRESULT ReadDWORD (   
   PROPID id,  
   DWORD* pValue  
);  

Parameters

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

pValue
[out] Returns the property value.

Return Value

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

Remarks

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

See Also

IDiaPropertyStorage