Changeset 618 for trunk/dll/info.c


Ignore:
Timestamp:
Apr 20, 2007, 9:19:03 PM (18 years ago)
Author:
Steven Levine
Message:

Add more drag/drop error checking
Use FreeDragInfoData
Sync with NumItemsToUnhilite AcceptOneDrop GetOneDrop mods

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/dll/info.c

    r576 r618  
    1818  24 Mar 07 SHL Correct FileInfoProc binary file detect
    1919  24 Mar 07 SHL Correct FileInfoProc/IconProc race crash
     20  19 Apr 07 SHL Sync with AcceptOneDrop GetOneDrop mods
    2021
    2122***********************************************************************/
     
    368369      DrawTargetEmphasis(hwnd, emphasized);
    369370    }
    370     if (AcceptOneDrop(mp1, mp2))
     371    if (AcceptOneDrop(hwnd, mp1, mp2))
    371372      return MRFROM2SHORT(DOR_DROP, DO_MOVE);
    372373    return MRFROM2SHORT(DOR_NEVERDROP, 0);
     
    389390      emphasized = FALSE;
    390391      DrawTargetEmphasis(hwnd, emphasized);
    391       if (GetOneDrop(mp1, mp2, szFrom, sizeof(szFrom))) {
     392      if (GetOneDrop(hwnd, mp1, mp2, szFrom, sizeof(szFrom))) {
    392393        memset(&ici, 0, sizeof(ICONINFO));
    393394        ici.cb = sizeof(ICONINFO);
Note: See TracChangeset for help on using the changeset viewer.