DrgQueryDraginfoPtr
Appearance
This function obtains a pointer to the current DRAGINFO structure.
Syntax
DrgQueryDraginfoPtr(pRsvd)
Parameters
- pRsvd (PDRAGINFO) - input
- Reserved value, must be NULL.
Returns
- pDragInfo (PDRAGINFO) - returns
- Pointer to the current DRAGINFO structure.
- A return value of NULL indicates that a DRAGINFO has not been allocated.
Remarks
The returned DRAGINFO structure could have been allocated for use in either a standard or lazy drag operation. DrgQueryDragStatus can be used to determine which type of drag is active.
Example Code
#define INCL_WINSTDDRAG
#include <os2.h>
PDRAGINFO pdinfo; /* Pointer to a DRAGINFO structure */
pdinfo = DrgQueryDraginfoPtr(NULL);
if (pdinfo)
{
.
.
.
}