2022-04-28 00:23:32 +02:00
|
|
|
/*
|
|
|
|
* Copyright 2022 Jacek Caban for CodeWeavers
|
|
|
|
*
|
|
|
|
* This library is free software; you can redistribute it and/or
|
|
|
|
* modify it under the terms of the GNU Lesser General Public
|
|
|
|
* License as published by the Free Software Foundation; either
|
|
|
|
* version 2.1 of the License, or (at your option) any later version.
|
|
|
|
*
|
|
|
|
* This library is distributed in the hope that it will be useful,
|
|
|
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
|
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
|
|
|
* Lesser General Public License for more details.
|
|
|
|
*
|
|
|
|
* You should have received a copy of the GNU Lesser General Public
|
|
|
|
* License along with this library; if not, write to the Free Software
|
|
|
|
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
|
|
|
|
*/
|
|
|
|
|
|
|
|
#include "ntuser.h"
|
|
|
|
#include "wine/unixlib.h"
|
|
|
|
|
|
|
|
/* DnD support */
|
|
|
|
|
|
|
|
struct format_entry
|
|
|
|
{
|
|
|
|
UINT format;
|
|
|
|
UINT size;
|
|
|
|
char data[1];
|
|
|
|
};
|
|
|
|
|
|
|
|
enum dnd_event_type
|
|
|
|
{
|
2022-04-24 22:33:34 +02:00
|
|
|
DND_DROP_EVENT,
|
2022-04-24 22:36:32 +02:00
|
|
|
DND_LEAVE_EVENT,
|
2022-04-28 00:23:32 +02:00
|
|
|
DND_POSITION_EVENT,
|
|
|
|
};
|
|
|
|
|
2022-04-24 22:33:34 +02:00
|
|
|
/* DND_DROP_EVENT params */
|
|
|
|
struct dnd_drop_event_params
|
|
|
|
{
|
|
|
|
UINT type;
|
|
|
|
HWND hwnd;
|
|
|
|
};
|
|
|
|
|
2022-04-28 00:23:32 +02:00
|
|
|
/* DND_POSITION_EVENT params */
|
|
|
|
struct dnd_position_event_params
|
|
|
|
{
|
|
|
|
UINT type;
|
|
|
|
HWND hwnd;
|
|
|
|
POINT point;
|
|
|
|
DWORD effect;
|
|
|
|
};
|