#include "ltivw.h"
L_LTIVW_API L_INT L_DispContainerGetProbeToolUpdatedCallBack(hCellWnd, ppfnCallBack, ppUserData);
L_HWND hCellWnd; |
handle to the cell window |
DISPCONTAINERPROBETOOLUPDATEDCALLBACK * ppfnCallBack; |
pointer to the callback function |
LPVOID * ppUserData; |
pointer to be updated with user data |
Gets the current probe tool callback function along with the user data, which were set using L_DispContainerSetProbeToolUpdatedCallBack.
Parameter |
Description |
| hCellWnd | A handle to the window that represents the Medical Viewer Cell. |
| ppfnCallBack | Pointer to a pointer to a callback function to be updated with the last annotation callback function set using L_DispContainerGetProbeToolUpdatedCallBack. |
| ppUserData | 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. |
| 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.
Required DLLs and Libraries
| LTIVW For a listing of the exact DLLs and Libraries needed, based on the toolkit version, refer to Files To Be Included With Your Application. |
For an example, refer to L_DispContainerSetProbeToolUpdatedCallBack.