ISpObjectToken::MatchesAttributes (Microsoft Speech Platform)

Microsoft Speech Platform SDK 11

Microsoft Speech Platform

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 Description
S_OK Function completed successfully.
E_INVALIDARG One or more parameters are invalid.
SPERR_UNINITIALIZED The object has not been properly initialized.
FAILED(hr) Appropriate error message.