ISpellChecker::GetOptionValue method (spellcheck.h)

Retrieves the value associated with the given option.

Syntax

HRESULT GetOptionValue(
  [in]          LPCWSTR optionId,
  [out, retval] BYTE    *value
);

Parameters

[in] optionId

The option identifier.

[out, retval] value

The value associated with optionId.

Return value

This method can return one of these values.

Return code Description
S_OK
Successful.
E_ INVALIDARG
optionId is an empty string, or it is not one of the available options.
E_POINTER
optionId 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

See also

ISpellChecker