SpSetDefaultTokenForCategoryId (Windows CE 5.0)
This function sets the default token for the specified category identifier.
inline HRESULT SpSetDefaultTokenForCategoryId(const WCHAR* pszCategoryId,ISpObjectToken* pToken);
Parameters
- pszCategoryId
[in] Pointer to the category identifier. - pToken
[in] Pointer to an object implementing ISpObjectToken to set as the default.
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
Send Feedback on this topic to the authors