DragAcceptFiles function shell32

void DragAcceptFiles(
  1. HWND hWnd,
  2. bool fAccept
)

Registers whether a window accepts dropped files.

To learn more, see learn.microsoft.com/windows/win32/api/shellapi/nf-shellapi-dragacceptfiles.

Implementation

@pragma('vm:prefer-inline')
void DragAcceptFiles(HWND hWnd, bool fAccept) =>
    _DragAcceptFiles(hWnd, fAccept ? TRUE : FALSE);