This function returns the number of objects being dragged during the current direct manipulation operation.
#define INCL_WINSTDDRAG #include <os2.h> PDRAGINFO pdinfo; /* Pointer to the DRAGINFO structure for which number of dragged objects is requested. */ ULONG cDitem; /* Number of objects being dragged. */ cDitem = DrgQueryDragitemCount(pdinfo);