ISpObjectTokenEnumBuilder::AddTokensFromDataKey (Windows Embedded CE 6.0)
1/6/2010
This method adds a new object token using subkey and category identifier information.
Syntax
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 Value
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
Header | sapiddk.h, sapiddk.idl |
Library | sapilib.lib |
Windows Embedded CE | Windows CE .NET 4.1 and later |