![]() These files are considered to be read-only and are not modified by the spell checking API. acl files present in the directory will be detected by the spell checking service and added to the user word lists. Each line contains a word (in the Added and Excluded word lists), or an autocorrect pair with the words separated by a vertical bar ("|") (in the AutoCorrect word list). The files are UTF-16 LE plaintext that must start with the appropriate Byte Order Mark (BOM). The filenames are default.dic (Added), default.exc (Excluded) and default.acl (AutoCorrect). The user-specific dictionaries for a language, which hold the content for the Added, Excluded, and AutoCorrect word lists, are located under %AppData%\Microsoft\Spelling\. It will run this code out-of-proc and under a restricted security context. The Spell Checking API may load external code (spell check providers). Standard RPC error codes may be returned by any of the API calls because they are out-of-proc. Errors are not particularly actionable except for incorrect arguments. IErrorInfo and ISupportErrorInfo are not supported in this API. Error handlingĮrrors are returned as HRESULTs. All returned (out parameter) LPWSTR strings (and LPOLESTR items from IEnumString) must be released with CoTaskMemFree when no longer used. InterfacesĪll interfaces must be released when they are no longer used. Future additions to the API will be handled by creating new interfaces that can be determined using QueryInterface on the existing ones. The Spell Checking API is available beginning with the Windows 8 or Windows Server 2012. The Spell Checking API is not supported for use in a Windows or ASP.NET service. The Spell Checking API is designed for use by professional C/C developers of Windows Component Object Model (COM) apps. Developers can also create spell checkers that become providers and are integrated into the Windows spell checking framework. In Windows 8, spell checking is built-in to edit controls.ĭevelopers can use the spell checking API in their apps to consume available spell checking services. For users worldwide, textual input is part of a modern computing experience, for blogging, commenting, tweeting, instant messaging, or any other kind of text typing.
0 Comments
Leave a Reply. |