ISpObjectToken::MatchesAttributes

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

 Last updated on Saturday, April 10, 2004

© 1992-2003 Microsoft Corporation. All rights reserved.