Share via


ISpObjectToken::MatchesAttributes (Windows Embedded CE 6.0)

1/6/2010

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

Syntax

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 Value

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

Header sapi.h, sapi.idl
Library sapilib.lib
Windows Embedded CE Windows CE .NET 4.1 and later

See Also

Reference

ISpObjectToken
SAPI Interfaces