Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Microsoft Speech API 5.3
ISpPhraseBuilder::AddRules
ISpPhraseBuilder::AddRules adds phrase rules to the phrase object.
HRESULT AddRules(
const SPPHRASERULEHANDLE hParent,
const SPPHRASERULE *pRule,
SPPHRASERULEHANDLE *phNewRule
);
Parameters
- hParent
[in] Handle to the parent phrase rule. - pRule
[in] Address of the SPPHRASERULE structure that contains the phrase rule information. - phNewRule
[out] Address of the handle of SPPHRASERULEHANDLE that contains the new phrase rule information.
Return values
| Value |
| S_OK |
| E_POINTER |
| SPERR_UNINITIALIZED |
| FAILED(hr) |