ISpObjectToken::MatchesAttributes (SAPI 5.3)

Microsoft Speech API 5.3

ISpObjectToken::MatchesAttributes

ISpObjectToken::MatchesAttributes determines if an object token supports a specified attribute.

  
    HRESULT MatchesAttributes(
   const WCHAR   *pszAttributes,
   BOOL          *pfMatches
);

Parameters

  • pszAttributes
    [in] Address of the null-terminated string specifying the object token attribute to match.
  • pfMatches
    [out] Address of a variable that receives the value indicating a match of the object token attribute specified in pszAttributes. This value is set to TRUE when the object token attribute matches, and FALSE when it does not match.

Return values

Value
S_OK
E_INVALIDARG
SPERR_UNINITIALIZED
FAILED(hr)