L_DispContainerGetTagCallBack

Summary

Gets the current tag callback function along with the user data, which were set using L_DispContainerSetTagCallBack.

Syntax

#include "ltivw.h"

L_LTIVW_API L_INT EXT_FUNCTION L_DispContainerGetTagCallBack(hCellWnd, ppfnCallBack, ppUserData)

Parameters

L_HWND hCellWnd

A handle to the window that represents the Medical Viewer Cell.

DISPCONTAINERTAGCALLBACK * ppfnCallBack

Pointer to a pointer to a callback function to be updated with the last tag callback function set using L_DispContainerSetTagCallBack.

LPVOID * 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

Value Meaning
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

See Also

Functions

Topics

Example

For an example, refer to L_DispContainerGetActionCallBack.

Help Version 22.0.2022.12.7
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2023 LEAD Technologies, Inc. All Rights Reserved.

LEADTOOLS Medical Image Viewer C API Help
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2023 LEAD Technologies, Inc. All Rights Reserved.