Gets the current probe tool callback function along with the user data, which were set using L_DispContainerSetProbeToolUpdatedCallBack.
#include "ltivw.h"
L_LTIVW_API L_INT L_DispContainerGetProbeToolUpdatedCallBack(hCellWnd, ppfnCallBack, ppUserData);
A handle to the window that represents the Medical Viewer Cell.
Pointer to a pointer to a callback function to be updated with the last annotation callback function set using L_DispContainerGetProbeToolUpdatedCallBack.
Void pointer to be updated with the value of user defined data associated with the tag callback. If you are not interested in the user-defined data, pass NULL for this parameter.
Value | Meaning |
---|---|
SUCCESS | The function was successful. |
1 | An error occurred. Refer to Return Codes. |
To set the current callback function used to notify the user about the change in the probe tool position, call the L_DispContainerSetProbeToolUpdatedCallBack.
To enable the probe tool action, first use the function L_DispContainerAddAction, then use the function L_DispContainerSetAction using the flag CONTAINER_ACTION_PROBETOOL.
For an example, refer to L_DispContainerSetProbeToolUpdatedCallBack.