Available in LEADTOOLS Medical Imaging toolkits. |
L_DispContainerGetTagCallBack
#include "ltivw.h"
L_LTIVW_API L_INT EXT_FUNCTION L_DispContainerGetTagCallBack(hCon, ppfnCallBack, ppUserData)
HDISPCONTAINER hCon; |
/* handle to the container */ |
DISPCONTAINERTAGCALLBACK * ppfnCallBack; |
/*pointer to the callback function */ |
LPVOID * ppUserData; |
/* pointer to be updated with user data */ |
Gets the current tag callback function along with the user data, which were set using L_DispContainerSetTagCallBack.
Parameter |
Description |
hCon |
Handle to the container. |
ppfnCallBack |
Pointer to a pointer to a callback function to be updated with the last tag callback function set using L_DispContainerSetTagCallBack. |
ppUserData |
Void pointer to be updated with the user defined data associated with the tag callback. If you are not interested in the user-defined data, pass NULL for this parameter. |
Returns
SUCCESS |
The function was successful. |
< 1 |
An error occurred. Refer to Return Codes. |
Comments
To set the callback function used to handle custom tags, call L_DispContainerSetTagCallback.
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. |
See Also
Functions: |
L_DispContainerSetTagCallBack, L_DispContainerSetActionCallBack, L_DispContainerGetActionCallBack, DISPCONTAINERTAGCALLBACK, DISPCONTAINERACTIONCALLBACK |
Topics: |
|
|
Example
For an example, refer to L_DispContainerGetActionCallBack.