Bagikan melalui


IDiaPropertyStorage::ReadLONG

Reads LONG values in a property set.

HRESULT ReadDLONG ( 
   PROPID id,
   LONG*  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 LONG.

Remarks

A LONG is defined by Windows as a 32-bit signed integer.

See Also

Reference

IDiaPropertyStorage