This callback function is triggered by including the $USERCB
token in a member of KVHTMLTemplate
. For example, placing "$USERCB=my_callback "
in pszFirstH1Start
results in a callback at the point when pszFirstH1Start
is processed. The user callback function is identified by the text assigned to $USERCB
, which in this example is my_callback
. This identifier is passed to the argument pszUserCBid
.
BOOL (pascal *UserCB) ( void *pCallingContext, char *pszUserCBid, KVOutputStream *pNewOutput void *pReserved);
|
A pointer that gets passed back to the caller-provided callback function. This pointer, which can be |
|
A pointer to a string that identifies the source of the callback. The identifier must be delimited by a trailing white space. For example, |
|
A pointer to a |
pReserved |
Reserved for future use. |
If the call is successful, the return value is TRUE
.
If the call is unsuccessful, the return value is FALSE
. Processing is halted.
|