DrgLazyDrag is called when a direct-manipulation button is pressed wile the lazy drag augmentation key is held to initiate a pickup and drop (lazy drag) operation.
#define INCL_WINSTDDRAG #include <os2.h> HWND hwndSource; /* Handle of the source window that is calling this function. */ PDRAGINFO pdinfo; /* Pointer to the DRAGINFO structure which contains information about the objects being dragged. */ PDRAGIMAGE pdimg; /* Pointer to an array of DRAGIMAGE structures. */ ULONG cdimg; /* Number of DRAGIMAGE structures in the pdimg array. */ PVOID pRsvd; /* Reserved value, must be 0. */ BOOL rc; /* Success indicator. */ rc = DrgLazyDrag(hwndSource, pdinfo, pdimg, cdimg, pRsvd);