We are querying for only 200 MWL entries. There are 2000 .wl lists in Worklist server, we use wlmscpfs.
We maintain a count, and once we receive, we request cancel,
Code: Select all
struct ProgressCallbackInfo
{
T_ASC_Association *assoc;
T_ASC_PresentationContextID presId;
void *instance;
};
if (maxResultsExceeded)
{
ProgressCallbackInfo *myCallbackData = OFstatic_cast(ProgressCallbackInfo*, pCallbackData);
if (myCallbackData && pRequest)
{
const OFCondition cond = DIMSE_sendCancelRequest(myCallbackData->assoc, myCallbackData->presId, pRequest->MessageID);
if (cond.bad())
{
// LOG ...
}
}
}
Is there any thing missing in my code?