SplReplace
This function offers a suggestion that an application can use to automatically replace a misspelled word. An application that implements an inline spelling checker with an automatic replacement feature can use this function to automatically correct errors as a user inputs words.
int SplReplace(
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 for the checked word.
Return Values
1 indicates success. 0 indicates failure.
Remarks
To use SplReplace, an application must set a replacement error tolerance by calling the SplLimitSet function.
SplReplace combines the processing abilities of the SplCheck and SplSuggest functions for use in an inline spelling checker with an automatic replacement feature.
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, SplCheck, SplInit, SplLimitSet, SplSuggest
Last updated on Tuesday, July 13, 2004
© 1992-2000 Microsoft Corporation. All rights reserved.