Share via


SpSetDefaultTokenIdForCategoryId (Windows CE 5.0)

Send Feedback

This function sets a token identifier as the default for the specified category.

inline HRESULT SpSetDefaultTokenIdForCategoryId(const WCHAR* pszCategoryId,const WCHAR* pszTokenId);

Parameters

  • pszCategoryId
    [in] Pointer to the category identifier.
  • pszTokenId
    [in] Pointer to the default token identifier.

Return Values

The following table shows the possible return values.

Value Description
S_OK Function completed successfully.
FAILED(hr) Appropriate error message.

Requirements

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

See Also

SAPI Functions

Send Feedback on this topic to the authors

Feedback FAQs

© 2006 Microsoft Corporation. All rights reserved.