Author: tretiakov
Date: Thu Mar 8 22:44:36 2007
New Revision: 26038
URL:
http://svn.reactos.org/svn/reactos?rev=26038&view=rev
Log:
Fix build:
- Add missing function protype.
- Move IntSetupClipboard to winsta.c
Modified:
trunk/reactos/subsystems/win32/win32k/include/clipboard.h
trunk/reactos/subsystems/win32/win32k/ntuser/clipboard.c
trunk/reactos/subsystems/win32/win32k/ntuser/winsta.c
Modified: trunk/reactos/subsystems/win32/win32k/include/clipboard.h
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/subsystems/win32/win32k/in…
==============================================================================
--- trunk/reactos/subsystems/win32/win32k/include/clipboard.h (original)
+++ trunk/reactos/subsystems/win32/win32k/include/clipboard.h Thu Mar 8 22:44:36 2007
@@ -40,6 +40,9 @@
} CLIPBOARDSYSTEM, *PCLIPBOARDSYSTEM;
+VOID FASTCALL
+IntClipboardFreeWindow(PWINDOW_OBJECT window);
+
/*
UINT FASTCALL
IntEnumClipboardFormats(UINT format);
Modified: trunk/reactos/subsystems/win32/win32k/ntuser/clipboard.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/subsystems/win32/win32k/nt…
==============================================================================
--- trunk/reactos/subsystems/win32/win32k/ntuser/clipboard.c (original)
+++ trunk/reactos/subsystems/win32/win32k/ntuser/clipboard.c Thu Mar 8 22:44:36 2007
@@ -1202,17 +1202,6 @@
return sn;
}
-BOOL FASTCALL
-IntSetupClipboard(PWINSTATION_OBJECT WinStaObj)
-{
- WinStaObj->Clipboard = ExAllocatePool(PagedPool, sizeof(CLIPBOARDSYSTEM));
- if (WinStaObj->Clipboard)
- {
- RtlZeroMemory(WinStaObj->Clipboard, sizeof(CLIPBOARDSYSTEM));
- return TRUE;
- }
- return FALSE;
-}
/**************** VISTA FUNCTIONS******************/
Modified: trunk/reactos/subsystems/win32/win32k/ntuser/winsta.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/subsystems/win32/win32k/nt…
==============================================================================
--- trunk/reactos/subsystems/win32/win32k/ntuser/winsta.c (original)
+++ trunk/reactos/subsystems/win32/win32k/ntuser/winsta.c Thu Mar 8 22:44:36 2007
@@ -55,6 +55,7 @@
WINSTA_READATTRIBUTES | WINSTA_READSCREEN | WINSTA_WRITEATTRIBUTES
};
+
NTSTATUS FASTCALL
InitWindowStationImpl(VOID)
{
@@ -90,6 +91,18 @@
CleanupWindowStationImpl(VOID)
{
return STATUS_SUCCESS;
+}
+
+BOOL FASTCALL
+IntSetupClipboard(PWINSTATION_OBJECT WinStaObj)
+{
+ WinStaObj->Clipboard = ExAllocatePool(PagedPool, sizeof(CLIPBOARDSYSTEM));
+ if (WinStaObj->Clipboard)
+ {
+ RtlZeroMemory(WinStaObj->Clipboard, sizeof(CLIPBOARDSYSTEM));
+ return TRUE;
+ }
+ return FALSE;
}
/* OBJECT CALLBACKS **********************************************************/