IEnumSpellingError::Next method (spellcheck.h)

Gets the next spelling error.

Syntax

HRESULT Next(
  [out, retval] ISpellingError **value
);

Parameters

[out, retval] value

The spelling error (ISpellingError) returned.

Return value

This method can return one of these values.

Return code Description
S_OK
Successful.
S_FALSE
There is no spelling error left to return. value does not point at a valid ISpellingError.

Remarks

If there are no spelling errors, this will return S_FALSE. This provides a way for a provider to implement spell checking lazily if desired—instead of doing the spell checking work on ISpellCheckProvider::Check and getting all the errors at once, you can do it only as needed when this method is called, getting one error per call.

Requirements

Requirement Value
Minimum supported client Windows 8 [desktop apps | UWP apps]
Minimum supported server Windows Server 2012 [desktop apps | UWP apps]
Target Platform Windows
Header spellcheck.h

See also

IEnumSpellingError

ISpellingError