ISpPhraseAlt::GetAltInfo (Windows Embedded CE 6.0)
1/6/2010
This method gets data elements associated with an alternate phrase.
Syntax
HRESULT GetAltInfo(
ISpPhrase** ppParent,
ULONG* pulStartElementInParent,
ULONG* pcElementsInParent,
ULONG* pcElementsInAlt
);
Parameters
- ppParent
[out] Address of a pointer to an object implementing ISpPhrase that represents the parent phrase.
- pulStartElementInParent
[out] Pointer to the starting element within the parent phrase to which the alternate applies.
- pcElementsInParent
[out] Pointer to the number of elements within the parent that the alternate replaces.
- pcElementsInAlt
[out] Pointer to the number of elements that the alternate contains.
Return Value
The following table shows the possible return values.
Value | Description |
---|---|
S_OK |
Function completed successfully. |
E_INVALIDARG |
At least one of the parameters is invalid or bad. |
SPERR_NOT_FOUND |
The alternate is not associated with a valid parent phrase object. |
Requirements
Header | sapi.h, sapi.idl |
Library | sapilib.lib |
Windows Embedded CE | Windows CE .NET 4.1 and later |