Export (0) Print
Expand All

ISpObjectToken::MatchesAttributes (SAPI 5.4)

Speech API 5.4
Microsoft Speech API 5.4

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

ValueDescription
S_OKFunction completed successfully.
E_INVALIDARGOne or more parameters are invalid.
SPERR_UNINITIALIZEDThe object has not been properly initialized.
FAILED(hr)Appropriate error message.
Show:
© 2014 Microsoft