SpEnumTokens
Other versions of this page are also available for the following:
8/28/2008
This function enumerates the tokens for the specified category. It retrieves the list in the form of an object implementing IEnumSpObjectTokens.
Syntax
inline HRESULT SpEnumTokens(
const WCHAR* pszCategoryId,
const WCHAR* pszReqAttribs,
const WCHAR* pszOptAttribs,
IEnumSpObjectTokens** ppEnum
);
Parameters
- pszCategoryId
[in] Pointer to the identifier for the category.
- pszReqAttribs
[in] Pointer to required attributes for the tokens.
- pszOptAttribs
[in] Pointer to optional attributes for the tokens. The attributes are arranged in the same order as that used for the tokens listed in ppEnum.
- ppEnum
[out] Address of a pointer to an object implementing IEnumSpObjectTokens.
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 |