Use the _finish_extfn v4 API method as an optional pointer to a shutdown function, for which the only argument is a pointer to a_v4_extfn_proc_context.
_finish_extfn(
a_v4_extfn_proc_context *cntxt,
)
The _finish_extfn API deallocates a structure for which the address was stored in the user_data field in the a_v4_extfn_proc_context. This function pointer must be set to the null pointer if there is no need for any cleanup.
| Parameter | Description |
|---|---|
| cntxt | The procedure context object. |