This callback is called every time the user creates, changes or removes a region from one of the bitmaps displayed in a cell.
A handle to the window that represents the Medical Viewer Cell.
Handle to the Windows region.
A zero-based index of the cell that contains the tag to be deleted. Pass -2 to delete the tag of the specific information in all selected cells in the container.
A zero-based index of the sub-cell. This sub-cell contains the image that contains the region changed. Pass -2 to refer to the selected sub-cell.
The action to take regarding the existing bitmap region, if one is defined. It can be one of the following value:
| An AND operation has been applied to the existing region.
| A new region has been created.
| The existing region has been reduced.
| A new region has been combined with the existing one.
| An inverted region has been created.
| The existing region has been removed.
A void pointer that you can use to access a variable or structure containing data that your callback function needs. This gives you a way to receive data indirectly from the function that uses this callback function. (This is the same pointer that you pass in the pUserData parameter of L_DispContainerSetRegionCallBack.) Keep in mind that this is a void pointer, which must be cast to the appropriate data type within your callback function.
|The function was successful.
|An error occurred. Refer to Return Codes.
For an example, refer to L_DispContainerGetRegionCallBack.