Compartir a través de


ISpObjectTokenEnumBuilder::SetAttribs (Windows CE 5.0)

Send Feedback

This method sets required and optional attributes of the object token enumerator. This method can be called only once per object.

HRESULT SetAttribs(const WCHAR* pszReqAttribs,const WCHAR* pszOptAttribs);

Parameters

  • pszReqAttribs
    [in] Pointer to a null-terminated string specifying required attributes.
  • pszOptAttribs
    [in] Pointer to a null-terminated string specifying optional attributes.

Return Values

The following table shows the possible return values.

Value Description
S_OK Function completed successfully.
SPERR_ALREADY_INITIALIZED The object has already been initialized.
E_OUTOFMEMORY Exceeded available memory.
FAILED(hr) Appropriate error message.

Requirements

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

See Also

ISpObjectTokenEnumBuilder | SAPI Interfaces

Send Feedback on this topic to the authors

Feedback FAQs

© 2006 Microsoft Corporation. All rights reserved.