wpQueryDefaultDropOp - Example Code

In this example, the current Desktop object is found and then the default drop operation for the desktop is done.

  WPDesktop    *Desktop;
  ULONG        ulDropOp;

  Desktop  = _wpclsQueryObjectFromPath("<WP_DESKTOP>");
  ulDropOp = _wpQueryDefaultDropOp(Desktop);
  /* Value of ulDropOp is DO_LINK or DO_MOVE */


[Back: wpQueryDefaultDropOp - Related Methods]
[Next: wpQueryDefaultDropOp - Topics]