Share via


SplCheck

This function is called by an application to notify the spelling checker to look for errors in a text buffer.

int SplCheck( 
HSPL hspl, 
SPLBUFFER * psb );

Parameters

  • hspl
    Handle to the spelling session. An application initiates a spelling session by calling the SplInit function, which then generates this handle.
  • psb
    Pointer to the SPLBUFFER structure that contains the string to be checked.

Return Values

1 indicates success. 0 indicates failure.

Remarks

Before using SplCheck, an application must initialize the spelling session with the SplInit function and can set options with the SplOptionSet function. An application can specify the spelling checkers behavior using the SplOptionSet, SplSuggest, and SplReplace functions.

After each call to SplCheck, an application checks SPLBUFFER for results and sets the SPLBUFFER members to specify where in the input buffer the spelling checker resumes checking with the next SplCheck call.

Requirements

Runs on Versions Defined in Include Link to
Windows CE OS 2.10 and later Splapi.h   Splusa.lib

Note   This API is part of the complete Windows CE OS package as provided by Microsoft. The functionality of a particular platform is determined by the original equipment manufacturer (OEM) and some devices may not support this API.

See Also

SPLBUFFER, SplInit, SplOptionSet, SplReplace, SplSuggest

 Last updated on Tuesday, July 13, 2004

© 1992-2000 Microsoft Corporation. All rights reserved.