SpGetDefaultTokenIdFromCategoryId
Other versions of this page are also available for the following:
8/28/2008
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 |