This function sets the image that is being dragged.
#define INCL_WINSTDDRAG
#include <os2.h>
PDRAGINFO pdinfo; /* Pointer to the DRAGINFO structure representing the drag operation for which the pointer is to be set. */
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 NULL. */
BOOL rc; /* Success indicator. */
rc = DrgSetDragImage(pdinfo, pdimg, cdimg,
pRsvd);