ISpPhraseBuilder::AddProperties (SAPI 5.4)

Microsoft Speech API 5.4

ISpPhraseBuilder::AddProperties

ISpPhraseBuilder::AddProperties adds property entries to the phrase object.

  
    HRESULT AddProperties(
   const SPPHRASEPROPERTYHANDLE hParent,
   const SPPHRASEPROPERTY      *pProperty,
   SPPHRASEPROPERTYHANDLE      *phNewProperty
);

Parameters

  • hParent
    [in] Handle to the parent phrase element.
  • pProperty
    [in] Address of the SPPHRASEPROPERTY structure that contains the property information.
  • phNewProperty
    [out] Address of the handle of SPPHRASEPROPERTY that contains the new property information.

Return values

Value
S_OK
E_INVALIDARG
E_POINTER
SPERR_UNINITIALIZED
SPERR_ALREADY_INITIALIZED
FAILED(hr)