Platform SDK: SMTP Server Events

IMailMsgQueueMgmt::IncrementRecipientCount

[This is preliminary documentation and subject to change.]

Increment the recipient count.

HRESULT IncrementRecipientCount([in] DWORD dwIncrement);
dwIncrement
The amount by which to increment the recipient count.

Return Values

Value Description
S_OK Success. The recipient count went from zero to more than zero.
S_FALSE Success. The recipient count was greater than zero and has been incremented by the amount specified.
E_FAIL Failure. The recipient count was negative before the call.

The S_OK and S_FALSE return values are designed to aid debugging the use of this method and perform no other function. Use the SUCCEEDED() macro to denote success if not debugging.

See Also

IMailMsgQueueMgmt.SetRecipientCount

IMailMsgQueueMgmt.GetRecipientCount

IMailMsgQueueMgmt.DecrementRecipientCount