다음을 통해 공유


ISpObjectToken::MatchesAttributes (Windows CE 5.0)

Send Feedback

This method determines if an object token supports a specified attribute.

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

Parameters

  • pszAttributes
    [in] Pointer to a null-terminated string specifying the object token attribute.
  • pfMatches
    [out] Pointer to a 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 to FALSE otherwise.

Return Values

The following table shows the possible return values.

Value Description
S_OK Function completed successfully.
E_INVALIDARG One or more arguments are invalid.
SPERR_UNINITIALIZED The object has not been properly initialized.
FAILED(hr) Appropriate error message.

Requirements

OS Versions: Windows CE .NET 4.1 and later.
Header: sapi.h, sapi.idl.
Link Library: Sapilib.lib.

See Also

ISpObjectToken | SAPI Interfaces

Send Feedback on this topic to the authors

Feedback FAQs

© 2006 Microsoft Corporation. All rights reserved.