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"
|
|
|
|
|
2022-05-01 22:47:30 +02:00
|
|
|
/* x11drv_clipboard_message params */
|
|
|
|
struct clipboard_message_params
|
|
|
|
{
|
|
|
|
HWND hwnd;
|
|
|
|
UINT msg;
|
|
|
|
WPARAM wparam;
|
|
|
|
LPARAM lparam;
|
|
|
|
};
|
|
|
|
|
2022-05-02 00:07:10 +02:00
|
|
|
/* x11drv_create_desktop params */
|
|
|
|
struct create_desktop_params
|
|
|
|
{
|
|
|
|
UINT width;
|
|
|
|
UINT height;
|
|
|
|
};
|
|
|
|
|
2022-05-02 20:12:01 +02:00
|
|
|
/* x11drv_tablet_info params */
|
|
|
|
struct tablet_info_params
|
|
|
|
{
|
|
|
|
UINT category;
|
|
|
|
UINT index;
|
|
|
|
void *output;
|
|
|
|
};
|
|
|
|
|
2022-04-28 00:23:32 +02:00
|
|
|
/* 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;
|
|
|
|
};
|