DrgSetDragitem - Syntax

This function sets the values in a DRAGITEM structure.

#define INCL_WINSTDDRAG
#include <os2.h>

PDRAGINFO    pdinfo;    /*  Pointer to the DRAGINFO structure in which to place the DRAGITEM. */
PDRAGITEM    pditem;    /*  Pointer to the DRAGITEM structure to place in DRAGINFO. */
ULONG        cbBuffer;  /*  Size of the DRAGITEM addressed by pditem. */
ULONG        iItem;     /*  Zero-based index of the DRAGITEM to be set. */
BOOL         rc;        /*  Success indicator. */

rc = DrgSetDragitem(pdinfo, pditem, cbBuffer,
       iItem);


[Back: DrgSetDragitem]
[Next: DrgSetDragitem Parameter - pdinfo]