DragAcceptFiles

  VOID DragAcceptFiles(hWnd, fAccept)    
  HWND hWnd; /* handle of the registering window */
  BOOL fAccept; /* flag for whether dropped files are accepted */

The DragAcceptFiles function registers whether a window accepts dropped files.

Parameters

hWnd

Identifies the window that registers whether it accepts dropped files.

fAccept

Specifies whether the window specified by the hWnd parameter accepts dropped files. This value is TRUE to accept dropped files or FALSE to discontinue accepting dropped files.

Return Value

Tis function does not return a value.

Comments

An application that calls DragAcceptFiles with fAccept set to TRUE has identified itself as able to process the WM_DROPFILES message from File Manager.