DragAcceptFiles  7X4U08 

The DragAcceptFiles function registers whether a window accepts dropped files.

VOID DragAcceptFiles(

    HWND hWnd,

// handle to the registering window

    BOOL fAccept

// acceptance option

   );

 

 

Parameters

hWnd

Identifies the window registering whether it accepts dropped files.

fAccept

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

 

Return Values

This function does not return a value.

Remarks

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

See Also

WM_DROPFILES