KDB_Transaction_SetHook

Purpose

Register a callback routine to be executed in transactions.

Definition

DEFSUB 'KDB_Transaction_SetHook(HookFn AS SYM('KDB_Transaction_SetHook_Prototype), UserData AS SYM(KCMLString)) AS Void

Parameters

HookFnSYM of a function compatible with the prototype 'KDB_Transaction_SetHook_Prototype
UserDataSYM of an application state block

Description

Allows an application routine to be called when entering or leaving a WHILE TRANS block.

See also

Internal KCML Functions, Internally defined structures and Internally defined enumerations and constants.