Platform SDK: SMTP Server Events

IMailMsgPropertyManagement::EnumPropIDRange

[This is preliminary documentation and subject to change.]

The IMailMsgPropertyManagement::EnumPropIDRange method gets information about an allocated range of property identifiers in which the specified property identifier is registered.

HRESULT EnumPropIDRange(
  [in,out,unique] DWORD *pdwIndex,
  [out] GUID *pguid,
  [out] DWORD *pcCount,
  [out] DWORD *pdwStart
);
pdwIndex
Specifies the index from which to retrieve property identifier information. To retrieve the first range, set this to zero. During each call, the value will be updated with the next value that must be passed to retrieve the next range.
pguid
On successful return, the GUID for the property identifier range.
pcCount
On successful return, the number of properties in the range.
pdwStart
On successful return, the starting property identifier in the range.

Return Values

Value Description
S_OK Success.
STG_E_NOMOREFILES Failure. There are no more registered property ID ranges.