formZ SDK | 5.0 API Reference | System | Plugin Manager (FZPL)
Description
Associates a function set with the plugin which implements it. Used in the FZPL_PLUGIN_INITIALIZE phase of fzpl_plugin_entry_func.
Plugin Prototype
fzrt_error_td fzpl_plugin_add_fset(
fzrt_unsigned_int | plugin_id, |
const fzrt_UUID_td | fset_id, |
fset_version, | |
const char * | fset_name, |
const char * | fset_type_str, |
fzrt_unsigned_int | fset_size, |
fset_get_fset, | |
is_dynamic ) |
Parameters
plugin_id [Input]
The plugin to add to function set to.
fset_id [Input]
The UUID type of the function set. Usually provided by a formZ header file.
fset_version [Input]
The version of the function set.
fset_name [Input]
A human readable name of the function set. Usually provided by a formZ header file.
fset_type_str [Input]
The type of the function set struct.
Use FZPL_TYPE_STRING(
fset_size [Input]
The size of the function set struct.
Use sizeof(
fset_get_fset [Input]
The plugin implemented function used to set the function pointers of the function set struct.
is_dynamic [Input]
TRUE - The function pointers can change.
Tells the application not to
cache function pointers.
FALSE - The function pointers will never change.
Returns
FZRT_NOERR on success.
FZRT_BAD_PARAM_ERROR - plugin_id is not valid.
Availability
5.0.0.0
Function Set
Defined in