2010-02-26 11:43:19 +00:00
|
|
|
#pragma once
|
2003-12-14 12:39:32 +00:00
|
|
|
|
2007-03-08 13:31:33 +00:00
|
|
|
#include "window.h"
|
2008-04-16 21:34:12 +00:00
|
|
|
#include <include/win32.h>
|
2007-03-08 13:31:33 +00:00
|
|
|
|
2007-03-09 21:35:14 +00:00
|
|
|
VOID FASTCALL IntIncrementSequenceNumber(VOID);
|
2007-03-08 13:31:33 +00:00
|
|
|
|
|
|
|
typedef struct _ClipboardChainElement
|
|
|
|
{
|
|
|
|
PWINDOW_OBJECT window;
|
|
|
|
struct _ClipboardChainElement *next;
|
|
|
|
} CLIPBOARDCHAINELEMENT, *PCLIPBOARDCHAINELEMENT;
|
|
|
|
|
|
|
|
typedef struct _ClipboardElement
|
|
|
|
{
|
|
|
|
UINT format;
|
2007-10-19 23:21:45 +00:00
|
|
|
HANDLE hData;
|
|
|
|
DWORD size; // data may be delayed o synth render
|
2007-03-08 13:31:33 +00:00
|
|
|
struct _ClipboardElement *next;
|
|
|
|
} CLIPBOARDELEMENT, *PCLIPBOARDELEMENT;
|
|
|
|
|
|
|
|
typedef struct _CLIPBOARDSYSTEM
|
|
|
|
{
|
2009-07-26 16:17:50 +00:00
|
|
|
PTHREADINFO ClipboardThread;
|
|
|
|
PTHREADINFO ClipboardOwnerThread;
|
2007-03-08 13:31:33 +00:00
|
|
|
PWINDOW_OBJECT ClipboardWindow;
|
|
|
|
PWINDOW_OBJECT ClipboardViewerWindow;
|
|
|
|
PWINDOW_OBJECT ClipboardOwnerWindow;
|
|
|
|
BOOL sendDrawClipboardMsg;
|
|
|
|
BOOL recentlySetClipboard;
|
|
|
|
BOOL delayedRender;
|
|
|
|
UINT lastEnumClipboardFormats;
|
|
|
|
DWORD ClipboardSequenceNumber;
|
2007-10-19 23:21:45 +00:00
|
|
|
|
2007-03-08 13:31:33 +00:00
|
|
|
PCLIPBOARDCHAINELEMENT WindowsChain;
|
|
|
|
PCLIPBOARDELEMENT ClipboardData;
|
2007-10-19 23:21:45 +00:00
|
|
|
|
2007-03-08 13:31:33 +00:00
|
|
|
PCHAR synthesizedData;
|
|
|
|
DWORD synthesizedDataSize;
|
2007-10-19 23:21:45 +00:00
|
|
|
|
2007-03-08 13:31:33 +00:00
|
|
|
} CLIPBOARDSYSTEM, *PCLIPBOARDSYSTEM;
|
|
|
|
|
2007-10-19 23:21:45 +00:00
|
|
|
VOID FASTCALL
|
2007-03-08 19:44:36 +00:00
|
|
|
IntClipboardFreeWindow(PWINDOW_OBJECT window);
|
|
|
|
|
2008-11-29 22:48:58 +00:00
|
|
|
UINT APIENTRY IntEnumClipboardFormats(UINT format);
|
Patch by Stefan Ginsberg (stefan__100__ AT hotmail DOT com):
- remove NtUserEnumClipboardFormats, use ->ONEPARAM_ROUTINE_ENUMCLIPBOARDFORMAT insetad
- remove NtUserRegisterClipboardFormat, use NtUserRegisterWIndowsMessage instead
- remove NtUserKillSystemTimer, use HWNDPARAM_ROUTINE_KILLSYSTEMTIMER instead
- remove NtUserInsertMenuItem, use NtUserThunkedMenuItemInfo instead
- remove NtUserGetCapture, use THREADSTATE_CAPTUREWINDOW instead
- remove NtUserGetActiveWindow, use THREADSTATE_ACTIVEWINDOW instead
- remove NtUserGetQueueStatus, use ONEPARAM_ROUTIME_GETQUEUESTATUS instead
- remove NtUserGetLastActivePopup, wasn't implemented
- remove NtUserRealizePalette from ntuser.h, it's not implemented
- remove duplicate NtUserGetLastInputInfo from ntuser.h
- remove PrivateCsrssRergisterPrimitive from user32, it was unused and unimplemented
- remove NtUserDereferenceWndprocHandle, it was unused
- move WNDPROC_INFO structure from ntuser.h to win32k/include/class.h, as it's not used in usermode anymore
tested with AbiWord and FF on VMWare
svn path=/trunk/; revision=32825
2008-04-03 02:13:34 +00:00
|
|
|
|
2007-03-08 13:31:33 +00:00
|
|
|
/*
|
2003-12-14 12:39:32 +00:00
|
|
|
UINT FASTCALL
|
|
|
|
IntEnumClipboardFormats(UINT format);
|
2007-03-08 13:31:33 +00:00
|
|
|
*/
|