Nuta
Dostęp do tej strony wymaga autoryzacji. Możesz spróbować się zalogować lub zmienić katalog.
Dostęp do tej strony wymaga autoryzacji. Możesz spróbować zmienić katalogi.
Causes occurrences of one word to be replaced by another.
Syntax
HRESULT AutoCorrect(
[in] LPCWSTR from,
[in] LPCWSTR to
);
Parameters
[in] from
The incorrectly spelled word to be autocorrected.
[in] to
The correctly spelled word that should replace from.
Return value
This method can return one of these values.
| Return code | Description |
|---|---|
|
Successful. |
|
from or to is an empty string, or the length of at least one of the parameters is greater than MAX_WORD_LENGTH. |
|
from or to is a null pointer. |
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 |