Allocating Memory for the Drag Operation
To prepare for the drag operation, the source must invoke DrgAllocDraginfo
to allocate memory for the DRAGINFO data structure. DrgAllocDraginfo initializes
the DRAGINFO data structure as follows:
cbDraginfo
 The size, in bytes, of the entire
DRAGINFO data structure, including the DRAGITEM array
 cbDragitem
The size, in bytes, of each DRAGITEM data structure
usOperation
xDrop and yDrop
 The
current mouse-pointer location, in desktop coordinates
 cditem
The count of objects being dragged, as specified
in DrgAllocDraginfo.
[Back: Using Direct Manipulation] 
[Next: Initializing DRAGITEM Data Structure]