Jump to content

DRAGINFO

From EDM2
Revision as of 00:20, 21 April 2025 by Martini (talk | contribs) (Created page with "Drag-information structure. == Type == struct == C Declaration Method == typedef == Example Code == <pre> typedef struct _DRAGINFO { ULONG cbDraginfo; Structure size, in bytes.: USHORT cbDragitem; Size, in bytes, of each DRAGITEM structure.: USHORT usOperation; Modified drag operations.: HWND hwndSource; Window handle of the source of the drag operation.: SHORT xDrop; /* X-coordinate of drop poin...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Drag-information structure.

Type

struct

C Declaration Method

typedef

Example Code

typedef struct _DRAGINFO {
  ULONG      cbDraginfo;   /*  Structure size, in bytes. */
  USHORT     cbDragitem;   /*  Size, in bytes, of each DRAGITEM structure. */
  USHORT     usOperation;  /*  Modified drag operations. */
  HWND       hwndSource;   /*  Window handle of the source of the drag operation. */
  SHORT      xDrop;        /*  X-coordinate of drop point expressed in desktop coordinates. */
  SHORT      yDrop;        /*  Y-coordinate of drop point expressed in desktop coordinates. */
  USHORT     cditem;       /*  Count of DRAGITEM structures. */
  USHORT     usReserved;   /*  Reserved. */
} DRAGINFO;

typedef   DRAGINFO   * PDRAGINFO ;