Share via


IContactCollection::GetCurrent Method

Retrieves the current contact in the enumeration.

Syntax

HRESULT GetCurrent(      
    IContact **ppContact
);

Parameters

  • ppContact
    [out] If successful, contains the current contact.

Return Value

Returns S_OK if successful, or an error value otherwise.

Remarks

After reset, a call to IContactCollection::GetCurrent without first calling IContactCollection::Next will fail.

See Also

IContactCollection::Reset