Helper Functions (SAPI 5.4)
Helper functions are available as a convenience to programming. Since many of the procedures use the same few methods or calls in the same sequence each time, these functions are available to consolidate those standard sequences. In all cases, the functions represent nothing more than the individual steps combined into one call; no additional features have been added or removed. Programmers are free to either use these functions or include the original lines of code. The function name attempts to clearly identify the purpose of the function itself.
The following helper functions are used with SAPI 5.
- SpCreateNewToken (by category ID)
- SpCreateNewToken (by token ID)
- SpCreateNewTokenEx (by category ID)
- SpCreateNewTokenEx (by token ID)