ISpObjectToken::MatchesAttributes (SAPI 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
Value |
S_OK |
E_INVALIDARG |
SPERR_UNINITIALIZED |
FAILED(hr) |