Author: pborobia Date: Thu Aug 31 00:32:36 2006 New Revision: 23819
URL: http://svn.reactos.org/svn/reactos?rev=23819&view=rev Log: * more win32k clipboard stuff * GetLayout win32k stubs
Modified: branches/clipboard/subsystems/win32/win32k/include/clipboard.h branches/clipboard/subsystems/win32/win32k/include/dc.h branches/clipboard/subsystems/win32/win32k/include/winsta.h branches/clipboard/subsystems/win32/win32k/objects/dc.c
Modified: branches/clipboard/subsystems/win32/win32k/include/clipboard.h URL: http://svn.reactos.org/svn/reactos/branches/clipboard/subsystems/win32/win32... ============================================================================== --- branches/clipboard/subsystems/win32/win32k/include/clipboard.h (original) +++ branches/clipboard/subsystems/win32/win32k/include/clipboard.h Thu Aug 31 00:32:36 2006 @@ -1,7 +1,48 @@ #ifndef _WIN32K_CLIPBOARD_H #define _WIN32K_CLIPBOARD_H
+#include "window.h" + +VOID FASTCALL IntIncrementSecuenceNumber(VOID); + +typedef struct _ClipboardChainElement +{ + PWINDOW_OBJECT window; + struct _ClipboardChainElement *next; +} CLIPBOARDCHAINELEMENT, *PCLIPBOARDCHAINELEMENT; + +typedef struct _ClipboardElement +{ + UINT format; + HANDLE hData; + DWORD size; // data may be delayed o synth render + struct _ClipboardElement *next; +} CLIPBOARDELEMENT, *PCLIPBOARDELEMENT; + +typedef struct _CLIPBOARDSYSTEM +{ + PW32THREAD ClipboardThread; + PW32THREAD ClipboardOwnerThread; + PWINDOW_OBJECT ClipboardWindow; + PWINDOW_OBJECT ClipboardViewerWindow; + PWINDOW_OBJECT ClipboardOwnerWindow; + BOOL sendDrawClipboardMsg; + BOOL recentlySetClipboard; + BOOL delayedRender; + UINT lastEnumClipboardFormats; + DWORD ClipboardSequenceNumber; + + PCLIPBOARDCHAINELEMENT WindowsChain; + PCLIPBOARDELEMENT ClipboardData; + + PCHAR synthesizedData; + DWORD synthesizedDataSize; + +} CLIPBOARDSYSTEM, *PCLIPBOARDSYSTEM; + +/* UINT FASTCALL IntEnumClipboardFormats(UINT format); +*/
#endif /* _WIN32K_CLIPBOARD_H */
Modified: branches/clipboard/subsystems/win32/win32k/include/dc.h URL: http://svn.reactos.org/svn/reactos/branches/clipboard/subsystems/win32/win32... ============================================================================== --- branches/clipboard/subsystems/win32/win32k/include/dc.h (original) +++ branches/clipboard/subsystems/win32/win32k/include/dc.h Thu Aug 31 00:32:36 2006 @@ -115,6 +115,8 @@ XLATEOBJ *XlateBrush; XLATEOBJ *XlatePen;
+ DWORD layout; + INT saveLevel; BOOL IsIC;
Modified: branches/clipboard/subsystems/win32/win32k/include/winsta.h URL: http://svn.reactos.org/svn/reactos/branches/clipboard/subsystems/win32/win32... ============================================================================== --- branches/clipboard/subsystems/win32/win32k/include/winsta.h (original) +++ branches/clipboard/subsystems/win32/win32k/include/winsta.h Thu Aug 31 00:32:36 2006 @@ -2,6 +2,7 @@ #define _WIN32K_WINSTA_H
#include "msgqueue.h" +#include "clipboard.h"
#define WINSTA_ROOT_NAME L"\Windows\WindowStations" #define WINSTA_ROOT_NAME_LENGTH 23 @@ -45,7 +46,10 @@
ULONG Flags; struct _DESKTOP_OBJECT* ActiveDesktop; - /* FIXME: Clipboard */ + + PCLIPBOARDSYSTEM Clipboard; + DWORD ClipboardSequenceNumber; + } WINSTATION_OBJECT, *PWINSTATION_OBJECT;
extern WINSTATION_OBJECT *InputWindowStation;
Modified: branches/clipboard/subsystems/win32/win32k/objects/dc.c URL: http://svn.reactos.org/svn/reactos/branches/clipboard/subsystems/win32/win32... ============================================================================== --- branches/clipboard/subsystems/win32/win32k/objects/dc.c (original) +++ branches/clipboard/subsystems/win32/win32k/objects/dc.c Thu Aug 31 00:32:36 2006 @@ -2974,5 +2974,14 @@
return Ret; } - +DWORD STDCALL +NtGdiGetLayout(HDC hdc) +{ + return 0; +} +DWORD STDCALL +NtGdiSetLayout(HDC hdc, LONG wox, DWORD layout) +{ + return 0; +} /* EOF */