Share via


SpGetDefaultTokenIdFromCategoryId (Windows Embedded CE 6.0)

1/6/2010

This function gets the default token identifier for the specified category.

Syntax

inline HRESULT SpGetDefaultTokenIdFromCategoryId(
  const WCHAR* pszCategoryId,
  WCHAR** ppszTokenId
);

Parameters

  • pszCategoryId
    [in] Pointer to the category identifier.
  • ppszTokenId
    [out] Address of a pointer to the identifier for the default token.

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