Share via


SpSetDefaultTokenIdForCategoryId (Windows Embedded CE 6.0)

1/6/2010

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

Syntax

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 Value

The following table shows the possible return values.

Value Description

S_OK

Function completed successfully.

FAILED(hr)

Appropriate error message.

Requirements

Header sphelper.h
Library sapilib.lib
Windows Embedded CE Windows CE .NET 4.1 and later

See Also

Reference

SAPI Functions