This function handles the file direct manipulation protocol for a given window.
#define INCL_WINSTDDRAG
#include <os2.h>
HWND hwnd; /* Handle of calling window. */
PSZ pszPath; /* Directory in which to place the dropped files. */
PSZ pszTypes; /* List of types that are acceptable to the drop. */
ULONG ulDefaultOp; /* Default drag operation for this window. */
ULONG ulRsvd; /* Reserved. */
BOOL rc; /* Success indicator. */
rc = DrgAcceptDroppedFiles(hwnd, pszPath,
pszTypes, ulDefaultOp, ulRsvd);