
SpSetDefaultTokenIdForCategoryId
SpSetDefaultTokenIdForCategoryId sets a specific token ID as the default for the specified category ID.
Found in: sphelper.h
inline HRESULT SpSetDefaultTokenIdForCategoryId(
const WCHAR *pszCategoryId,
const WCHAR *pszTokenId
);
Parameters
- pszCategoryId
- [in] The null-terminated token ID string.
- pszTokenId
- [in] The null-terminated token ID that will be set as default token ID for this specific category.
Return values
Value | Description |
---|---|
S_OK | Function completed successfully. |
FAILED (hr) | Appropriate error message. |