This function returns a pointer to the DRAGITEM structure used in the direct manipulation operation.
#define INCL_WINSTDDRAG #include <os2.h> PDRAGINFO pdinfo; /* Pointer to the DRAGINFO structure from which the DRAGITEM structureis obtained. */ ULONG ulIndex; /* Zero-based index of the DRAGITEM structure for which the pointer is to be returned. */ PDRAGITEM Dragitem; /* Pointer to the DRAGITEM structure. */ Dragitem = DrgQueryDragitemPtr(pdinfo, ulIndex);