This function allocates a DRAGINFO structure.
#define INCL_WINSTDDRAG #include <os2.h> ULONG cDitem; /* Number of objects being dragged. */ PDRAGINFO Draginfo; /* Pointer to the DRAGINFO structure. */ Draginfo = DrgAllocDraginfo(cDitem);