Products | Support | Send comments on this topic. | Email a link to this topic. | Back to Getting Started | Help Version 18.0.10.23
LEADTOOLS DICOM C++ Class Library Help

GETIMAGECALLBACK Function

Show in webframe

#include "ltdic.h"

L_BOOL pEXT_CALLBACK YourFunction(nIndex, nCount, pUserData)

L_UINT32 nIndex;

/* index of the image to load */

L_UINT32 nCount;

/* number of images to load */

L_VOID * pUserData;

/* pointer to additional data */

Called for each image that is loaded using LDicomDS::GetImageList.

Parameter

Description

nIndex

Zero-based index of the image to load.

nCount

Total number of images to be loaded. This is the same value passed to the LDicomDS::GetImageList function.

pUserData

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 the LDicomDS::GetImageList function.)

 

Keep in mind that this is a void pointer, which must be cast to the appropriate data type within your callback function.

Returns

TRUE

Continue loading.

FALSE

Abort loading.

Comments

The LDicomDS::GetImageList function has two overload functions. GETIMAGECALLBACK is used with the version that has a callback.

Required DLLs and Libraries

LTDIC

For a listing of the exact DLLs and Libraries needed, based on the toolkit version, refer to Files To Be Included With Your Application

Platforms

Win32, x64

Products | Support | Contact Us | Copyright Notices
© 2006-2014 All Rights Reserved. LEAD Technologies, Inc.