Share via


SpSetCommonTokenData (Windows CE 5.0)

Send Feedback

This function sets common data for an object token. Unused parameters must be NULL.

inline HRESULT SpSetCommonTokenData(ISpObjectToken* pToken,const CLSID* pclsid,const WCHAR* pszLangIndependentName,LANGID langid,const WCHAR* pszLangDependentName,ISpDataKey** ppDataKeyAttribs);

Parameters

  • pToken
    [in] Pointer to an object implementing ISpObjectToken.
  • pclsid
    [in] Pointer to the token identifier, or NULL if no token is specified.
  • pszLangIndependentName
    [in] Pointer to the language-independent name of the token.
  • langid
    [in] Language identifier of the word. This value can be zero to indicate that the word can be of any language.
  • pszLangDependentName
    [in] Pointer to the language-dependent name of the token.
  • ppDataKeyAttribs
    [in] Address of a pointer to an object implementing ISpDataKey that contains data attributes for the token. The data key is created if it does not currently exist. This value can be NULL if the data key is not needed.

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.