AsmSource : Assembly Language Programming

Dos Source

Win Source

Links

Email

Utilities

DragAcceptFiles

taken from http://msdn.microsoft.com/library/psdk/shellcc/shell/Functions/DragAcceptFiles.htm

Registers whether a window accepts dropped files.

VOID DragAcceptFiles(
    HWND hWnd,
    BOOL fAccept
);

Parameters

hWnd
Identifier of the window that is registering whether it will accept dropped files.
fAccept
Value that indicates if the window identified by the hWnd parameter accepts dropped files. This value is TRUE to accept dropped files or FALSE to discontinue accepting dropped files.

Return Values

No return 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.

Requirements

  Windows NT/2000: Requires Windows NT 3.1 or later.
  Windows 95/98: Requires Windows 95 or later.
  Header: Declared in shellapi.h.
  Import Library: shell32.lib.

© 2000 Microsoft Corporation. All rights reserved. Terms of use.