#include "ltwrappr.h"
HDISPCONTAINER LImageViewer::GetHandle()
Gets the medical viewer handle.
HDISPCONTAINER |
The function was successful. |
NULL |
An error occurred. Error can be retrieved from GetLastError(). Refer to Return Codes. |
This method is used to get the handle in order to be able to run the medical viewer C API functions.
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. |
This example check whether the medical viewer is initialized or not.
L_INT LImageViewer_GetHandleExample(LImageViewer& ImageViewer)
{
if (ImageViewer.GetHandle() == NULL)
return ERROR_INV_PARAMETER;
else
return SUCCESS;
}