Compartir a través de


ISpObjectTokenEnumBuilder::AddTokensFromDataKey (Windows CE 5.0)

Send Feedback

This method adds a new object token using subkey and category identifier information.

HRESULT AddTokensFromDataKey(ISpDataKey* pDataKey,const WCHAR* pszSubKey,const WCHAR* pszCategoryId);

Parameters

  • pDataKey
    [n] Pointer to an object implementing ISpDataKey that represents the system registry key from which to create the token.
  • pszSubKey
    [in] Pointer to a null-terminated string specifying the system registry subkey name.
  • pszCategoryId
    [in] Pointer to a null-terminated string specifying category identifier information for the system registry subkey.

Return Values

The following table shows the possible return values.

Value Description
S_OK Function completed successfully.
E_INVALIDARG One or more arguments are invalid.
SPERR_UNINITIALIZED The object has not been properly initialized.
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.