From 4d19f25802b23d42a50d9482dcfcac55029a43fa Mon Sep 17 00:00:00 2001 From: Giannis Adamopoulos Date: Tue, 20 Sep 2011 19:41:33 +0000 Subject: [PATCH] [win32k] - Replace long file headers with short headers - Minor cleanup svn path=/trunk/; revision=53778 --- reactos/subsystems/win32/win32k/eng/bitblt.c | 2 - reactos/subsystems/win32/win32k/eng/clip.c | 21 -------- .../subsystems/win32/win32k/eng/copybits.c | 20 -------- reactos/subsystems/win32/win32k/eng/debug.c | 25 +--------- .../subsystems/win32/win32k/eng/engevent.c | 1 - reactos/subsystems/win32/win32k/eng/engmisc.c | 22 ++------- .../subsystems/win32/win32k/eng/engwindow.c | 20 -------- reactos/subsystems/win32/win32k/eng/float.c | 22 +-------- .../subsystems/win32/win32k/eng/gradient.c | 23 +-------- reactos/subsystems/win32/win32k/eng/ldevobj.c | 3 -- reactos/subsystems/win32/win32k/eng/lineto.c | 23 ++------- reactos/subsystems/win32/win32k/eng/mem.c | 21 -------- reactos/subsystems/win32/win32k/eng/mouse.c | 3 +- reactos/subsystems/win32/win32k/eng/paint.c | 23 +-------- reactos/subsystems/win32/win32k/eng/pdevobj.c | 3 -- reactos/subsystems/win32/win32k/eng/perfcnt.c | 21 +------- reactos/subsystems/win32/win32k/eng/sort.c | 22 ++------- reactos/subsystems/win32/win32k/eng/surface.c | 3 -- .../subsystems/win32/win32k/eng/transblt.c | 23 +-------- reactos/subsystems/win32/win32k/eng/xlate.c | 2 - .../subsystems/win32/win32k/include/intgdi.h | 8 ++++ .../subsystems/win32/win32k/include/path.h | 14 ++++++ .../subsystems/win32/win32k/include/text.h | 1 + .../subsystems/win32/win32k/include/win32kp.h | 2 +- .../win32/win32k/ntuser/accelerator.c | 32 ++----------- .../subsystems/win32/win32k/ntuser/callback.c | 9 +--- .../subsystems/win32/win32k/ntuser/callproc.c | 7 +-- .../subsystems/win32/win32k/ntuser/caret.c | 8 +--- .../subsystems/win32/win32k/ntuser/class.c | 4 -- .../win32/win32k/ntuser/clipboard.c | 1 - reactos/subsystems/win32/win32k/ntuser/csr.c | 6 +-- .../win32/win32k/ntuser/cursoricon.c | 23 ++------- .../subsystems/win32/win32k/ntuser/defwnd.c | 2 - .../subsystems/win32/win32k/ntuser/desktop.c | 3 -- .../subsystems/win32/win32k/ntuser/display.c | 3 -- .../subsystems/win32/win32k/ntuser/event.c | 1 - .../subsystems/win32/win32k/ntuser/focus.c | 23 ++------- .../subsystems/win32/win32k/ntuser/guicheck.c | 25 +--------- reactos/subsystems/win32/win32k/ntuser/hook.c | 6 +-- .../subsystems/win32/win32k/ntuser/hotkey.c | 27 ----------- .../subsystems/win32/win32k/ntuser/input.c | 6 --- .../win32/win32k/ntuser/kbdlayout.c | 6 --- .../subsystems/win32/win32k/ntuser/keyboard.c | 25 +--------- reactos/subsystems/win32/win32k/ntuser/menu.c | 4 -- .../subsystems/win32/win32k/ntuser/message.c | 5 -- .../subsystems/win32/win32k/ntuser/metric.c | 3 -- reactos/subsystems/win32/win32k/ntuser/misc.c | 3 -- .../subsystems/win32/win32k/ntuser/monitor.c | 5 -- .../subsystems/win32/win32k/ntuser/msgqueue.c | 5 -- .../subsystems/win32/win32k/ntuser/ntstubs.c | 4 +- .../subsystems/win32/win32k/ntuser/ntuser.c | 5 -- .../subsystems/win32/win32k/ntuser/object.c | 27 ++--------- .../subsystems/win32/win32k/ntuser/painting.c | 6 --- reactos/subsystems/win32/win32k/ntuser/prop.c | 24 +--------- .../win32/win32k/ntuser/scrollbar.c | 4 -- .../subsystems/win32/win32k/ntuser/session.c | 21 -------- .../win32/win32k/ntuser/simplecall.c | 3 -- .../win32/win32k/ntuser/sysparams.c | 2 - .../subsystems/win32/win32k/ntuser/timer.c | 5 -- .../subsystems/win32/win32k/ntuser/useratom.c | 19 -------- reactos/subsystems/win32/win32k/ntuser/vis.c | 19 -------- .../subsystems/win32/win32k/ntuser/windc.c | 6 +-- .../subsystems/win32/win32k/ntuser/window.c | 5 -- .../subsystems/win32/win32k/ntuser/winpos.c | 22 --------- .../subsystems/win32/win32k/ntuser/winsta.c | 25 ---------- reactos/subsystems/win32/win32k/objects/arc.c | 5 -- .../subsystems/win32/win32k/objects/bezier.c | 22 ++------- .../subsystems/win32/win32k/objects/bitblt.c | 24 +++------- .../subsystems/win32/win32k/objects/bitmaps.c | 21 ++------ .../subsystems/win32/win32k/objects/cliprgn.c | 21 ++------ .../subsystems/win32/win32k/objects/dclife.c | 1 - .../subsystems/win32/win32k/objects/dibobj.c | 21 ++------ .../subsystems/win32/win32k/objects/drawing.c | 2 - .../win32/win32k/objects/fillshap.c | 26 ++-------- .../subsystems/win32/win32k/objects/font.c | 2 - .../win32/win32k/objects/freetype.c | 43 ++--------------- reactos/subsystems/win32/win32k/objects/icm.c | 21 ++------ .../subsystems/win32/win32k/objects/line.c | 21 ++------ .../subsystems/win32/win32k/objects/path.c | 48 ++----------------- reactos/subsystems/win32/win32k/objects/pen.c | 24 ++-------- .../win32/win32k/objects/polyfill.c | 23 --------- .../subsystems/win32/win32k/objects/print.c | 24 +++------- .../subsystems/win32/win32k/objects/rect.c | 21 ++------ .../win32/win32k/objects/stockobj.c | 26 ++-------- .../subsystems/win32/win32k/objects/wingl.c | 22 ++------- reactos/subsystems/win32/win32k/pch.h | 16 ++++++- 86 files changed, 168 insertions(+), 1033 deletions(-) diff --git a/reactos/subsystems/win32/win32k/eng/bitblt.c b/reactos/subsystems/win32/win32k/eng/bitblt.c index 04f6ad3ffa6..189eb679a67 100644 --- a/reactos/subsystems/win32/win32k/eng/bitblt.c +++ b/reactos/subsystems/win32/win32k/eng/bitblt.c @@ -5,8 +5,6 @@ * FILE: subsys/win32k/eng/bitblt.c * PROGRAMER: Jason Filby * Timo Kreuzer - * REVISION HISTORY: - * 2/10/1999: Created */ #include diff --git a/reactos/subsystems/win32/win32k/eng/clip.c b/reactos/subsystems/win32/win32k/eng/clip.c index 9a0f06fa228..9a54fa96e58 100644 --- a/reactos/subsystems/win32/win32k/eng/clip.c +++ b/reactos/subsystems/win32/win32k/eng/clip.c @@ -1,30 +1,9 @@ /* - * ReactOS W32 Subsystem - * Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003 ReactOS Team - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. - * - * This program 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 General Public License for more details. - * - * You should have received a copy of the GNU General Public License along - * with this program; if not, write to the Free Software Foundation, Inc., - * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. - */ -/* $Id$ - * * COPYRIGHT: See COPYING in the top level directory * PROJECT: ReactOS kernel * PURPOSE: GDI Clipping Functions * FILE: subsys/win32k/eng/clip.c * PROGRAMER: Jason Filby - * REVISION HISTORY: - * 21/8/1999: Created */ #include diff --git a/reactos/subsystems/win32/win32k/eng/copybits.c b/reactos/subsystems/win32/win32k/eng/copybits.c index 0bec04a5af3..0e488f24bd9 100644 --- a/reactos/subsystems/win32/win32k/eng/copybits.c +++ b/reactos/subsystems/win32/win32k/eng/copybits.c @@ -1,29 +1,9 @@ -/* - * ReactOS W32 Subsystem - * Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003 ReactOS Team - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. - * - * This program 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 General Public License for more details. - * - * You should have received a copy of the GNU General Public License along - * with this program; if not, write to the Free Software Foundation, Inc., - * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. - */ /* * COPYRIGHT: See COPYING in the top level directory * PROJECT: ReactOS kernel * PURPOSE: GDI EngCopyBits Function * FILE: subsys/win32k/eng/copybits.c * PROGRAMER: Jason Filby - * REVISION HISTORY: - * 8/18/1999: Created */ #include diff --git a/reactos/subsystems/win32/win32k/eng/debug.c b/reactos/subsystems/win32/win32k/eng/debug.c index 9e2e7226a0e..4405a96007c 100644 --- a/reactos/subsystems/win32/win32k/eng/debug.c +++ b/reactos/subsystems/win32/win32k/eng/debug.c @@ -1,30 +1,9 @@ -/* - * ReactOS W32 Subsystem - * Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003 ReactOS Team - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. - * - * This program 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 General Public License for more details. - * - * You should have received a copy of the GNU General Public License along - * with this program; if not, write to the Free Software Foundation, Inc., - * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. - */ -/* $Id$ - * +/* * COPYRIGHT: See COPYING in the top level directory * PROJECT: ReactOS kernel - * PURPOSE: GDI Driver Brush Functions + * PURPOSE: * FILE: subsys/win32k/eng/debug.c * PROGRAMER: Jason Filby - * REVISION HISTORY: - * 11/7/1999: Created */ #include diff --git a/reactos/subsystems/win32/win32k/eng/engevent.c b/reactos/subsystems/win32/win32k/eng/engevent.c index e916cf5f901..4289f457b87 100644 --- a/reactos/subsystems/win32/win32k/eng/engevent.c +++ b/reactos/subsystems/win32/win32k/eng/engevent.c @@ -10,7 +10,6 @@ /* INCLUDES *******************************************************************/ #include -#include #define NDEBUG #include diff --git a/reactos/subsystems/win32/win32k/eng/engmisc.c b/reactos/subsystems/win32/win32k/eng/engmisc.c index 31ea864dc9d..9e6080155af 100644 --- a/reactos/subsystems/win32/win32k/eng/engmisc.c +++ b/reactos/subsystems/win32/win32k/eng/engmisc.c @@ -1,22 +1,10 @@ /* - * ReactOS W32 Subsystem - * Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003 ReactOS Team - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. - * - * This program 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 General Public License for more details. - * - * You should have received a copy of the GNU General Public License along - * with this program; if not, write to the Free Software Foundation, Inc., - * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. + * COPYRIGHT: See COPYING in the top level directory + * PROJECT: ReactOS kernel + * PURPOSE: ENG misc Functions + * FILE: subsystems/win32/win32k/eng/engmisc.c + * PROGRAMER: ReactOS Team */ -/* $Id$ */ #include diff --git a/reactos/subsystems/win32/win32k/eng/engwindow.c b/reactos/subsystems/win32/win32k/eng/engwindow.c index 19d76be7aa3..42a99d16910 100644 --- a/reactos/subsystems/win32/win32k/eng/engwindow.c +++ b/reactos/subsystems/win32/win32k/eng/engwindow.c @@ -1,29 +1,9 @@ -/* - * ReactOS W32 Subsystem - * Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003, 2004 ReactOS Team - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. - * - * This program 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 General Public License for more details. - * - * You should have received a copy of the GNU General Public License along - * with this program; if not, write to the Free Software Foundation, Inc., - * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. - */ /* * COPYRIGHT: See COPYING in the top level directory * PROJECT: ReactOS kernel * PURPOSE: GDI WNDOBJ Functions * FILE: subsystems/win32/win32k/eng/engwindow.c * PROGRAMER: Gregor Anich - * REVISION HISTORY: - * 16/11/2004: Created */ /* TODO: Check how the WNDOBJ implementation should behave with a driver on windows. diff --git a/reactos/subsystems/win32/win32k/eng/float.c b/reactos/subsystems/win32/win32k/eng/float.c index 2ca5fe9b796..b4c9406f2a7 100644 --- a/reactos/subsystems/win32/win32k/eng/float.c +++ b/reactos/subsystems/win32/win32k/eng/float.c @@ -1,29 +1,9 @@ -/* - * ReactOS W32 Subsystem - * Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003 ReactOS Team - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. - * - * This program 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 General Public License for more details. - * - * You should have received a copy of the GNU General Public License along - * with this program; if not, write to the Free Software Foundation, Inc., - * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. - */ -/* $Id$ - * +/* * COPYRIGHT: See COPYING in the top level directory * PROJECT: ReactOS kernel * PURPOSE: Engine floating point functions * FILE: subsys/win32k/eng/float.c * PROGRAMER: Jason Filby - * REVISION HISTORY: */ /* INCLUDES *****************************************************************/ diff --git a/reactos/subsystems/win32/win32k/eng/gradient.c b/reactos/subsystems/win32/win32k/eng/gradient.c index a4070eb61cc..afd81368d24 100644 --- a/reactos/subsystems/win32/win32k/eng/gradient.c +++ b/reactos/subsystems/win32/win32k/eng/gradient.c @@ -1,30 +1,9 @@ -/* - * ReactOS W32 Subsystem - * Copyright (C) 1998 - 2004 ReactOS Team - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. - * - * This program 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 General Public License for more details. - * - * You should have received a copy of the GNU General Public License along - * with this program; if not, write to the Free Software Foundation, Inc., - * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. - */ -/* $Id$ - * +/* * COPYRIGHT: See COPYING in the top level directory * PROJECT: ReactOS kernel * PURPOSE: GDI Driver Gradient Functions * FILE: subsys/win32k/eng/gradient.c * PROGRAMER: Thomas Weidenmueller - * REVISION HISTORY: - * 3/7/1999: Created */ #include diff --git a/reactos/subsystems/win32/win32k/eng/ldevobj.c b/reactos/subsystems/win32/win32k/eng/ldevobj.c index 9f7c1c989fd..25375cb7c3f 100644 --- a/reactos/subsystems/win32/win32k/eng/ldevobj.c +++ b/reactos/subsystems/win32/win32k/eng/ldevobj.c @@ -7,9 +7,6 @@ */ #include - -#include - #define NDEBUG #include diff --git a/reactos/subsystems/win32/win32k/eng/lineto.c b/reactos/subsystems/win32/win32k/eng/lineto.c index d5db687be0e..954c81a0243 100644 --- a/reactos/subsystems/win32/win32k/eng/lineto.c +++ b/reactos/subsystems/win32/win32k/eng/lineto.c @@ -1,22 +1,9 @@ /* - * ReactOS W32 Subsystem - * Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003 ReactOS Team - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. - * - * This program 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 General Public License for more details. - * - * You should have received a copy of the GNU General Public License along - * with this program; if not, write to the Free Software Foundation, Inc., - * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. - * - * $Id$ + * COPYRIGHT: See COPYING in the top level directory + * PROJECT: ReactOS kernel + * PURPOSE: Line functions + * FILE: subsystems/win32/win32k/eng/lineto.c + * PROGRAMER: ReactOS Team */ #include diff --git a/reactos/subsystems/win32/win32k/eng/mem.c b/reactos/subsystems/win32/win32k/eng/mem.c index 1fb81b339bc..93d7fb52e3c 100644 --- a/reactos/subsystems/win32/win32k/eng/mem.c +++ b/reactos/subsystems/win32/win32k/eng/mem.c @@ -1,30 +1,9 @@ /* - * ReactOS W32 Subsystem - * Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003 ReactOS Team - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. - * - * This program 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 General Public License for more details. - * - * You should have received a copy of the GNU General Public License along - * with this program; if not, write to the Free Software Foundation, Inc., - * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. - */ -/* $Id$ - * * COPYRIGHT: See COPYING in the top level directory * PROJECT: ReactOS kernel * PURPOSE: GDI Driver Memory Management Functions * FILE: subsys/win32k/eng/mem.c * PROGRAMER: Jason Filby - * REVISION HISTORY: - * 3/7/1999: Created */ #include diff --git a/reactos/subsystems/win32/win32k/eng/mouse.c b/reactos/subsystems/win32/win32k/eng/mouse.c index 2f30a7569aa..2b5d647e0c9 100644 --- a/reactos/subsystems/win32/win32k/eng/mouse.c +++ b/reactos/subsystems/win32/win32k/eng/mouse.c @@ -1,11 +1,10 @@ /* + * COPYRIGHT: See COPYING in the top level directory * PROJECT: ReactOS win32 subsystem * PURPOSE: Mouse pointer functions * FILE: subsystems/win32k/eng/mouse.c * PROGRAMER: Casper S. Hornstrup (chorns@users.sourceforge.net) * Timo Kreuzer (timo.kreuzer@reactos.org) - * REVISION HISTORY: - * 06-06-2001 CSH Created */ /* INCLUDES ******************************************************************/ diff --git a/reactos/subsystems/win32/win32k/eng/paint.c b/reactos/subsystems/win32/win32k/eng/paint.c index d59c4f217aa..61481229b15 100644 --- a/reactos/subsystems/win32/win32k/eng/paint.c +++ b/reactos/subsystems/win32/win32k/eng/paint.c @@ -1,30 +1,9 @@ -/* - * ReactOS W32 Subsystem - * Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003 ReactOS Team - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. - * - * This program 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 General Public License for more details. - * - * You should have received a copy of the GNU General Public License along - * with this program; if not, write to the Free Software Foundation, Inc., - * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. - */ -/* $Id$ - * +/* * COPYRIGHT: See COPYING in the top level directory * PROJECT: ReactOS kernel * PURPOSE: GDI Driver Paint Functions * FILE: subsys/win32k/eng/paint.c * PROGRAMER: Jason Filby - * REVISION HISTORY: - * 3/7/1999: Created */ #include diff --git a/reactos/subsystems/win32/win32k/eng/pdevobj.c b/reactos/subsystems/win32/win32k/eng/pdevobj.c index 9d1ee125a7a..8b3658abe4d 100644 --- a/reactos/subsystems/win32/win32k/eng/pdevobj.c +++ b/reactos/subsystems/win32/win32k/eng/pdevobj.c @@ -7,9 +7,6 @@ */ #include - -#include - #define NDEBUG #include diff --git a/reactos/subsystems/win32/win32k/eng/perfcnt.c b/reactos/subsystems/win32/win32k/eng/perfcnt.c index 381abc40c20..b8fb9790181 100644 --- a/reactos/subsystems/win32/win32k/eng/perfcnt.c +++ b/reactos/subsystems/win32/win32k/eng/perfcnt.c @@ -1,23 +1,4 @@ -/* - * ReactOS W32 Subsystem - * Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003 ReactOS Team - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. - * - * This program 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 General Public License for more details. - * - * You should have received a copy of the GNU General Public License along - * with this program; if not, write to the Free Software Foundation, Inc., - * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. - */ -/* $Id$ - * +/* * COPYRIGHT: See COPYING in the top level directory * PROJECT: ReactOS kernel * PURPOSE: GDI Driver Performance Counter Functions diff --git a/reactos/subsystems/win32/win32k/eng/sort.c b/reactos/subsystems/win32/win32k/eng/sort.c index 0b9354bc599..96c629f2060 100644 --- a/reactos/subsystems/win32/win32k/eng/sort.c +++ b/reactos/subsystems/win32/win32k/eng/sort.c @@ -1,22 +1,10 @@ /* - * ReactOS W32 Subsystem - * Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003 ReactOS Team - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. - * - * This program 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 General Public License for more details. - * - * You should have received a copy of the GNU General Public License along - * with this program; if not, write to the Free Software Foundation, Inc., - * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. + * COPYRIGHT: See COPYING in the top level directory + * PROJECT: ReactOS win32 subsystem + * PURPOSE: + * FILE: subsystems/win32k/eng/sort.c + * PROGRAMER: ReactOS Team */ -/* $Id$ */ #include diff --git a/reactos/subsystems/win32/win32k/eng/surface.c b/reactos/subsystems/win32/win32k/eng/surface.c index 27e289eb831..028945d72e3 100644 --- a/reactos/subsystems/win32/win32k/eng/surface.c +++ b/reactos/subsystems/win32/win32k/eng/surface.c @@ -5,9 +5,6 @@ * FILE: subsys/win32k/eng/surface.c * PROGRAMERS: Jason Filby * Timo Kreuzer - * REVISION HISTORY: - * 3/7/1999: Created - * 9/11/2000: Updated to handle real pixel packed bitmaps (UPDATE TO DATE COMPLETED) * TESTING TO BE DONE: * - Create a GDI bitmap with all formats, perform all drawing operations on them, render to VGA surface * refer to \test\microwin\src\engine\devdraw.c for info on correct pixel plotting for various formats diff --git a/reactos/subsystems/win32/win32k/eng/transblt.c b/reactos/subsystems/win32/win32k/eng/transblt.c index 0bfc145eb94..9b19e461e54 100644 --- a/reactos/subsystems/win32/win32k/eng/transblt.c +++ b/reactos/subsystems/win32/win32k/eng/transblt.c @@ -1,30 +1,9 @@ -/* - * ReactOS W32 Subsystem - * Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003 ReactOS Team - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. - * - * This program 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 General Public License for more details. - * - * You should have received a copy of the GNU General Public License along - * with this program; if not, write to the Free Software Foundation, Inc., - * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. - */ -/* $Id$ - * +/* * COPYRIGHT: See COPYING in the top level directory * PROJECT: ReactOS kernel * PURPOSE: GDI TransparentBlt Function * FILE: subsys/win32k/eng/transblt.c * PROGRAMER: Thomas Weidenmueller (w3seek@users.sourceforge.net) - * REVISION HISTORY: - * 4/6/2004: Created */ #include diff --git a/reactos/subsystems/win32/win32k/eng/xlate.c b/reactos/subsystems/win32/win32k/eng/xlate.c index 2c9ac0b422b..58a93b6c5fa 100644 --- a/reactos/subsystems/win32/win32k/eng/xlate.c +++ b/reactos/subsystems/win32/win32k/eng/xlate.c @@ -8,8 +8,6 @@ #include -#include - #define NDEBUG #include diff --git a/reactos/subsystems/win32/win32k/include/intgdi.h b/reactos/subsystems/win32/win32k/include/intgdi.h index b0abf8f3dc6..760a880f4be 100644 --- a/reactos/subsystems/win32/win32k/include/intgdi.h +++ b/reactos/subsystems/win32/win32k/include/intgdi.h @@ -128,3 +128,11 @@ VOID FASTCALL CreateStockObjects (VOID); VOID FASTCALL CreateSysColorObjects (VOID); PPOINT FASTCALL GDI_Bezier (const POINT *Points, INT count, PINT nPtsOut); + +BOOL FASTCALL IntFillArc( PDC dc, INT XLeft, INT YLeft, INT Width, INT Height, double StartArc, double EndArc, ARCTYPE arctype); +BOOL FASTCALL IntDrawArc( PDC dc, INT XLeft, INT YLeft, INT Width, INT Height, double StartArc, double EndArc, ARCTYPE arctype, PBRUSH pbrush); + +BOOL FASTCALL IntFillEllipse( PDC dc, INT XLeft, INT YLeft, INT Width, INT Height, PBRUSH pbrush); +BOOL FASTCALL IntDrawEllipse( PDC dc, INT XLeft, INT YLeft, INT Width, INT Height, PBRUSH pbrush); +BOOL FASTCALL IntFillRoundRect( PDC dc, INT Left, INT Top, INT Right, INT Bottom, INT Wellipse, INT Hellipse, PBRUSH pbrush); +BOOL FASTCALL IntDrawRoundRect( PDC dc, INT Left, INT Top, INT Right, INT Bottom, INT Wellipse, INT Hellipse, PBRUSH pbrush); diff --git a/reactos/subsystems/win32/win32k/include/path.h b/reactos/subsystems/win32/win32k/include/path.h index 24cfe030872..c079504d531 100644 --- a/reactos/subsystems/win32/win32k/include/path.h +++ b/reactos/subsystems/win32/win32k/include/path.h @@ -65,5 +65,19 @@ BOOL FASTCALL PATH_RoundRect(DC *dc, INT x1, INT y1, INT x2, INT y2, INT ell_wid BOOL FASTCALL PATH_PathToRegion (PPATH pPath, INT nPolyFillMode, HRGN *pHrgn); BOOL FASTCALL PATH_ExtTextOut(PDC dc,INT x,INT y,UINT flags,const RECTL *lprc,LPCWSTR str,UINT count,const INT *dx); +BOOL FASTCALL PATH_AddEntry (PPATH pPath, const POINT *pPoint, BYTE flags); +BOOL FASTCALL PATH_AddFlatBezier (PPATH pPath, POINT *pt, BOOL closed); +BOOL FASTCALL PATH_DoArcPart (PPATH pPath, FLOAT_POINT corners[], double angleStart, double angleEnd, BYTE startEntryType); +BOOL FASTCALL PATH_FillPath( PDC dc, PPATH pPath ); +BOOL FASTCALL PATH_FlattenPath (PPATH pPath); +VOID FASTCALL PATH_NormalizePoint (FLOAT_POINT corners[], const FLOAT_POINT *pPoint, double *pX, double *pY); + +BOOL FASTCALL PATH_ReserveEntries (PPATH pPath, INT numEntries); +VOID FASTCALL PATH_ScaleNormalizedPoint (FLOAT_POINT corners[], double x, double y, POINT *pPoint); +BOOL FASTCALL PATH_StrokePath(DC *dc, PPATH pPath); +BOOL PATH_CheckCorners(DC *dc, POINT corners[], INT x1, INT y1, INT x2, INT y2); + VOID FASTCALL IntGdiCloseFigure(PPATH pPath); BOOL FASTCALL PATH_Delete(HPATH hPath); + +VOID FASTCALL IntGetCurrentPositionEx(PDC dc, LPPOINT pt); diff --git a/reactos/subsystems/win32/win32k/include/text.h b/reactos/subsystems/win32/win32k/include/text.h index 8768149bef6..dfd9065df42 100644 --- a/reactos/subsystems/win32/win32k/include/text.h +++ b/reactos/subsystems/win32/win32k/include/text.h @@ -108,6 +108,7 @@ BOOL NTAPI GreExtTextOutW(IN HDC,IN INT,IN INT,IN UINT,IN OPTIONAL RECTL*, DWORD FASTCALL IntGetCharDimensions(HDC, PTEXTMETRICW, PDWORD); BOOL FASTCALL GreGetTextExtentW(HDC,LPWSTR,INT,LPSIZE,UINT); BOOL FASTCALL GreGetTextExtentExW(HDC,LPWSTR,ULONG,ULONG,PULONG,PULONG,LPSIZE,FLONG); +DWORD FASTCALL GreGetGlyphIndicesW(HDC,LPWSTR,INT,LPWORD,DWORD,DWORD); #define IntLockProcessPrivateFonts(W32Process) \ ExEnterCriticalRegionAndAcquireFastMutexUnsafe(&W32Process->PrivateFontListLock) diff --git a/reactos/subsystems/win32/win32k/include/win32kp.h b/reactos/subsystems/win32/win32k/include/win32kp.h index 084965d7f8c..12518ab2ec5 100644 --- a/reactos/subsystems/win32/win32k/include/win32kp.h +++ b/reactos/subsystems/win32/win32k/include/win32kp.h @@ -46,7 +46,6 @@ typedef struct _DC *PDC; #include #include #include -#include #include #include #include @@ -60,6 +59,7 @@ typedef struct _DC *PDC; #include #include #include +#include #include #include #include diff --git a/reactos/subsystems/win32/win32k/ntuser/accelerator.c b/reactos/subsystems/win32/win32k/ntuser/accelerator.c index c7b2938f0b5..03e5fa836ea 100644 --- a/reactos/subsystems/win32/win32k/ntuser/accelerator.c +++ b/reactos/subsystems/win32/win32k/ntuser/accelerator.c @@ -4,40 +4,18 @@ * PURPOSE: Window accelerator * FILE: subsystems/win32/win32k/ntuser/accelerator.c * PROGRAMER: Casper S. Hornstrup (chorns@users.sourceforge.net) - * REVISION HISTORY: - * 06-06-2001 CSH Created + * Copyright 1993 Martin Ayotte + * Copyright 1994 Alexandre Julliard + * Copyright 1997 Morten Welinder + * Copyright 2011 Rafal Harabien */ -/* - * Copyright 1993 Martin Ayotte - * Copyright 1994 Alexandre Julliard - * Copyright 1997 Morten Welinder - * Copyright 2011 Rafal Harabien - * - * 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 Street, Fifth Floor, Boston, MA 02110-1301 USA - */ - -/* INCLUDES ******************************************************************/ - #include +DBG_DEFAULT_CHANNEL(UserAccel); #define FVIRT_TBL_END 0x80 #define FVIRT_MASK 0x7F -DBG_DEFAULT_CHANNEL(UserAccel); - /* FUNCTIONS *****************************************************************/ PACCELERATOR_TABLE FASTCALL UserGetAccelObject(HACCEL hAccel) diff --git a/reactos/subsystems/win32/win32k/ntuser/callback.c b/reactos/subsystems/win32/win32k/ntuser/callback.c index f17c5a0cb52..e5293a06ea4 100644 --- a/reactos/subsystems/win32/win32k/ntuser/callback.c +++ b/reactos/subsystems/win32/win32k/ntuser/callback.c @@ -1,21 +1,16 @@ /* * COPYRIGHT: See COPYING in the top level directory * PROJECT: ReactOS kernel - * PURPOSE: Window classes - * FILE: subsys/win32k/ntuser/wndproc.c + * PURPOSE: Callback to usermode support + * FILE: subsys/win32k/ntuser/callback.c * PROGRAMER: Casper S. Hornstrup (chorns@users.sourceforge.net) * Thomas Weidenmueller (w3seek@users.sourceforge.net) - * REVISION HISTORY: - * 06-06-2001 CSH Created * NOTES: Please use the Callback Memory Management functions for * callbacks to make sure, the memory is freed on thread * termination! */ -/* INCLUDES ******************************************************************/ - #include - DBG_DEFAULT_CHANNEL(UserCallback); /* CALLBACK MEMORY MANAGEMENT ************************************************/ diff --git a/reactos/subsystems/win32/win32k/ntuser/callproc.c b/reactos/subsystems/win32/win32k/ntuser/callproc.c index f42c9840368..5ecacbcd14e 100644 --- a/reactos/subsystems/win32/win32k/ntuser/callproc.c +++ b/reactos/subsystems/win32/win32k/ntuser/callproc.c @@ -1,13 +1,10 @@ /* * COPYRIGHT: See COPYING in the top level directory * PROJECT: ReactOS kernel - * PURPOSE: Window classes - * FILE: subsystems/win32/win32k/ntuser/class.c + * PURPOSE: Callproc support + * FILE: subsystems/win32/win32k/ntuser/callproc.c * PROGRAMER: Thomas Weidenmueller - * REVISION HISTORY: - * 06-06-2001 CSH Created */ -/* INCLUDES ******************************************************************/ #include diff --git a/reactos/subsystems/win32/win32k/ntuser/caret.c b/reactos/subsystems/win32/win32k/ntuser/caret.c index 837d8545f12..fcaad9ec784 100644 --- a/reactos/subsystems/win32/win32k/ntuser/caret.c +++ b/reactos/subsystems/win32/win32k/ntuser/caret.c @@ -1,18 +1,12 @@ -/* $Id$ - * +/* * COPYRIGHT: See COPYING in the top level directory * PROJECT: ReactOS kernel * PURPOSE: Caret functions * FILE: subsys/win32k/ntuser/caret.c * PROGRAMER: Thomas Weidenmueller (w3seek@users.sourceforge.net) - * REVISION HISTORY: - * 10/15/2003 Created */ -/* INCLUDES ******************************************************************/ - #include - DBG_DEFAULT_CHANNEL(UserCaret); /* DEFINES *****************************************************************/ diff --git a/reactos/subsystems/win32/win32k/ntuser/class.c b/reactos/subsystems/win32/win32k/ntuser/class.c index 892f66ce1c5..43ca287d5df 100644 --- a/reactos/subsystems/win32/win32k/ntuser/class.c +++ b/reactos/subsystems/win32/win32k/ntuser/class.c @@ -4,13 +4,9 @@ * PURPOSE: Window classes * FILE: subsystems/win32/win32k/ntuser/class.c * PROGRAMER: Thomas Weidenmueller - * REVISION HISTORY: - * 06-06-2001 CSH Created */ -/* INCLUDES ******************************************************************/ #include - DBG_DEFAULT_CHANNEL(UserClass); REGISTER_SYSCLASS DefaultServerClasses[] = diff --git a/reactos/subsystems/win32/win32k/ntuser/clipboard.c b/reactos/subsystems/win32/win32k/ntuser/clipboard.c index f4f22840933..d62e2e2df02 100644 --- a/reactos/subsystems/win32/win32k/ntuser/clipboard.c +++ b/reactos/subsystems/win32/win32k/ntuser/clipboard.c @@ -9,7 +9,6 @@ */ #include - DBG_DEFAULT_CHANNEL(UserClipbrd); #define DATA_DELAYED (HANDLE)0 diff --git a/reactos/subsystems/win32/win32k/ntuser/csr.c b/reactos/subsystems/win32/win32k/ntuser/csr.c index 9487af53689..af757006a69 100644 --- a/reactos/subsystems/win32/win32k/ntuser/csr.c +++ b/reactos/subsystems/win32/win32k/ntuser/csr.c @@ -1,5 +1,4 @@ -/* $Id$ - * +/* * COPYRIGHT: See COPYING in the top level directory * PROJECT: ReactOS kernel * PURPOSE: Interface to csrss @@ -9,9 +8,6 @@ #include -#define NDEBUG -#include - static HANDLE WindowsApiPort = NULL; PEPROCESS CsrProcess = NULL; diff --git a/reactos/subsystems/win32/win32k/ntuser/cursoricon.c b/reactos/subsystems/win32/win32k/ntuser/cursoricon.c index e6d56f57d45..936ded559b2 100644 --- a/reactos/subsystems/win32/win32k/ntuser/cursoricon.c +++ b/reactos/subsystems/win32/win32k/ntuser/cursoricon.c @@ -1,22 +1,10 @@ /* - * ReactOS W32 Subsystem - * Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003 ReactOS Team - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. - * - * This program 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 General Public License for more details. - * - * You should have received a copy of the GNU General Public License along - * with this program; if not, write to the Free Software Foundation, Inc., - * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. + * COPYRIGHT: See COPYING in the top level directory + * PROJECT: ReactOS kernel + * PURPOSE: Cursor and icon functions + * FILE: subsystem/win32/win32k/ntuser/cursoricon.c + * PROGRAMER: ReactOS Team */ - /* * We handle two types of cursors/icons: * - Private @@ -37,7 +25,6 @@ */ #include - DBG_DEFAULT_CHANNEL(UserIcon); static PAGED_LOOKASIDE_LIST gProcessLookasideList; diff --git a/reactos/subsystems/win32/win32k/ntuser/defwnd.c b/reactos/subsystems/win32/win32k/ntuser/defwnd.c index 5accfad2d1f..b52f2b3ebe5 100644 --- a/reactos/subsystems/win32/win32k/ntuser/defwnd.c +++ b/reactos/subsystems/win32/win32k/ntuser/defwnd.c @@ -4,11 +4,9 @@ * PURPOSE: Misc User funcs * FILE: subsystem/win32/win32k/ntuser/defwnd.c * PROGRAMER: - * */ #include - DBG_DEFAULT_CHANNEL(UserDefwnd); // Client Shutdown messages diff --git a/reactos/subsystems/win32/win32k/ntuser/desktop.c b/reactos/subsystems/win32/win32k/ntuser/desktop.c index 7df46b10179..dc0b9361ca8 100644 --- a/reactos/subsystems/win32/win32k/ntuser/desktop.c +++ b/reactos/subsystems/win32/win32k/ntuser/desktop.c @@ -4,14 +4,11 @@ * PURPOSE: Desktops * FILE: subsystems/win32/win32k/ntuser/desktop.c * PROGRAMER: Casper S. Hornstrup (chorns@users.sourceforge.net) - * REVISION HISTORY: - * 06-06-2001 CSH Created */ /* INCLUDES ******************************************************************/ #include - DBG_DEFAULT_CHANNEL(UserDesktop); static diff --git a/reactos/subsystems/win32/win32k/ntuser/display.c b/reactos/subsystems/win32/win32k/ntuser/display.c index b730d14b025..9c217993f5f 100644 --- a/reactos/subsystems/win32/win32k/ntuser/display.c +++ b/reactos/subsystems/win32/win32k/ntuser/display.c @@ -7,9 +7,6 @@ */ #include - -#include - DBG_DEFAULT_CHANNEL(UserDisplay); BOOL gbBaseVideo = 0; diff --git a/reactos/subsystems/win32/win32k/ntuser/event.c b/reactos/subsystems/win32/win32k/ntuser/event.c index 45801bcf774..0d140967552 100644 --- a/reactos/subsystems/win32/win32k/ntuser/event.c +++ b/reactos/subsystems/win32/win32k/ntuser/event.c @@ -7,7 +7,6 @@ */ #include - DBG_DEFAULT_CHANNEL(UserEvent); typedef struct _EVENTPACK diff --git a/reactos/subsystems/win32/win32k/ntuser/focus.c b/reactos/subsystems/win32/win32k/ntuser/focus.c index e2bb1be0c26..b35373729b2 100644 --- a/reactos/subsystems/win32/win32k/ntuser/focus.c +++ b/reactos/subsystems/win32/win32k/ntuser/focus.c @@ -1,25 +1,12 @@ /* - * ReactOS Win32 Subsystem - * Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003 ReactOS Team - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. - * - * This program 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 General Public License for more details. - * - * You should have received a copy of the GNU General Public License along - * with this program; if not, write to the Free Software Foundation, Inc., - * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. - * + * COPYRIGHT: See COPYING in the top level directory + * PROJECT: ReactOS kernel + * PURPOSE: Focus functions + * FILE: subsystem/win32/win32k/ntuser/focus.c + * PROGRAMER: ReactOS Team */ #include - DBG_DEFAULT_CHANNEL(UserFocus); HWND FASTCALL diff --git a/reactos/subsystems/win32/win32k/ntuser/guicheck.c b/reactos/subsystems/win32/win32k/ntuser/guicheck.c index 0c58756a5c6..6453fd9f005 100644 --- a/reactos/subsystems/win32/win32k/ntuser/guicheck.c +++ b/reactos/subsystems/win32/win32k/ntuser/guicheck.c @@ -1,23 +1,4 @@ -/* - * ReactOS W32 Subsystem - * Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003 ReactOS Team - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. - * - * This program 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 General Public License for more details. - * - * You should have received a copy of the GNU General Public License along - * with this program; if not, write to the Free Software Foundation, Inc., - * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. - */ -/* $Id$ - * +/* * COPYRIGHT: See COPYING in the top level directory * PROJECT: ReactOS kernel * PURPOSE: GUI state check @@ -27,12 +8,8 @@ * 1) A GUI process is assigned a window station * 2) A message queue is created for a GUI thread before use * 3) The system window classes are registered for a process - * REVISION HISTORY: - * 06-06-2001 CSH Created */ -/* INCLUDES ******************************************************************/ - #include /* GLOBALS *******************************************************************/ diff --git a/reactos/subsystems/win32/win32k/ntuser/hook.c b/reactos/subsystems/win32/win32k/ntuser/hook.c index 07037238760..a3c8c753f39 100644 --- a/reactos/subsystems/win32/win32k/ntuser/hook.c +++ b/reactos/subsystems/win32/win32k/ntuser/hook.c @@ -6,15 +6,11 @@ * PROGRAMER: Casper S. Hornstrup (chorns@users.sourceforge.net) * James Tabor (james.tabor@rectos.org) * Rafal Harabien (rafalh@reactos.org) - * - * REVISION HISTORY: - * 06-06-2001 CSH Created - * NOTE: Most of this code was adapted from Wine, + * NOTE: Most of this code was adapted from Wine, * Copyright (C) 2002 Alexandre Julliard */ #include - DBG_DEFAULT_CHANNEL(UserHook); typedef struct _HOOKPACK diff --git a/reactos/subsystems/win32/win32k/ntuser/hotkey.c b/reactos/subsystems/win32/win32k/ntuser/hotkey.c index 1e0be2124f3..120aa7801b1 100644 --- a/reactos/subsystems/win32/win32k/ntuser/hotkey.c +++ b/reactos/subsystems/win32/win32k/ntuser/hotkey.c @@ -1,35 +1,12 @@ -/* - * ReactOS W32 Subsystem - * Copyright (C) 2003 ReactOS Team - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. - * - * This program 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 General Public License for more details. - * - * You should have received a copy of the GNU General Public License along - * with this program; if not, write to the Free Software Foundation, Inc., - * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. - */ /* * COPYRIGHT: See COPYING in the top level directory * PROJECT: ReactOS kernel * PURPOSE: HotKey support * FILE: subsys/win32k/ntuser/hotkey.c * PROGRAMER: Eric Kohl - * REVISION HISTORY: - * 02-11-2003 EK Created */ - - /* - FIXME: Hotkey notifications are triggered by keyboard input (physical or programatically) and since only desktops on WinSta0 can recieve input in seems very wrong to allow windows/threads on destops not belonging to WinSta0 to set hotkeys (recieve notifications). @@ -37,11 +14,7 @@ windows/threads on destops not belonging to WinSta0 to set hotkeys (recieve noti -Gunnar */ - -/* INCLUDES ******************************************************************/ - #include - DBG_DEFAULT_CHANNEL(UserHotkey); /* GLOBALS *******************************************************************/ diff --git a/reactos/subsystems/win32/win32k/ntuser/input.c b/reactos/subsystems/win32/win32k/ntuser/input.c index 334edc41329..7b8681029cc 100644 --- a/reactos/subsystems/win32/win32k/ntuser/input.c +++ b/reactos/subsystems/win32/win32k/ntuser/input.c @@ -4,15 +4,9 @@ * PURPOSE: Window classes * FILE: subsystems/win32/win32k/ntuser/input.c * PROGRAMER: Casper S. Hornstrup (chorns@users.sourceforge.net) - * REVISION HISTORY: - * 06-06-2001 CSH Created */ -/* INCLUDES ******************************************************************/ - #include -#include - DBG_DEFAULT_CHANNEL(UserInput); extern BYTE gKeyStateTable[]; diff --git a/reactos/subsystems/win32/win32k/ntuser/kbdlayout.c b/reactos/subsystems/win32/win32k/ntuser/kbdlayout.c index 98e54b29c4f..7fe07bf5c90 100644 --- a/reactos/subsystems/win32/win32k/ntuser/kbdlayout.c +++ b/reactos/subsystems/win32/win32k/ntuser/kbdlayout.c @@ -1,4 +1,3 @@ - /* * PROJECT: ReactOS Kernel * LICENSE: GPL - See COPYING in the top level directory @@ -6,14 +5,9 @@ * PURPOSE: Keyboard layout management * COPYRIGHT: Copyright 2007 Saveliy Tretiakov * Copyright 2008 Colin Finck - * */ - -/* INCLUDES ******************************************************************/ - #include - DBG_DEFAULT_CHANNEL(UserKbdLayout); PKBL KBLList = NULL; // Keyboard layout list. diff --git a/reactos/subsystems/win32/win32k/ntuser/keyboard.c b/reactos/subsystems/win32/win32k/ntuser/keyboard.c index 151c7011622..821a11fc79c 100644 --- a/reactos/subsystems/win32/win32k/ntuser/keyboard.c +++ b/reactos/subsystems/win32/win32k/ntuser/keyboard.c @@ -1,35 +1,12 @@ -/* - * ReactOS W32 Subsystem - * Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003 ReactOS Team - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. - * - * This program 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 General Public License for more details. - * - * You should have received a copy of the GNU General Public License along - * with this program; if not, write to the Free Software Foundation, Inc., - * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. - */ /* * COPYRIGHT: See COPYING in the top level directory * PROJECT: ReactOS kernel - * PURPOSE: Messages + * PURPOSE: Keyboard functions * FILE: subsys/win32k/ntuser/keyboard.c * PROGRAMER: Casper S. Hornstrup (chorns@users.sourceforge.net) - * REVISION HISTORY: - * 06-06-2001 CSH Created */ -/* INCLUDES ******************************************************************/ - #include - DBG_DEFAULT_CHANNEL(UserKbd); BYTE gKeyStateTable[0x100]; diff --git a/reactos/subsystems/win32/win32k/ntuser/menu.c b/reactos/subsystems/win32/win32k/ntuser/menu.c index d9648a53eea..0cf4f58ce84 100644 --- a/reactos/subsystems/win32/win32k/ntuser/menu.c +++ b/reactos/subsystems/win32/win32k/ntuser/menu.c @@ -4,13 +4,9 @@ * PURPOSE: Menus * FILE: subsys/win32k/ntuser/menu.c * PROGRAMER: Thomas Weidenmueller (w3seek@users.sourceforge.net) - * REVISION HISTORY: - * 07/30/2003 CSH Created */ -/* INCLUDES ******************************************************************/ #include - DBG_DEFAULT_CHANNEL(UserMenu); /* INTERNAL ******************************************************************/ diff --git a/reactos/subsystems/win32/win32k/ntuser/message.c b/reactos/subsystems/win32/win32k/ntuser/message.c index 754bacf5034..ebd7ca7be1a 100644 --- a/reactos/subsystems/win32/win32k/ntuser/message.c +++ b/reactos/subsystems/win32/win32k/ntuser/message.c @@ -4,14 +4,9 @@ * PURPOSE: Messages * FILE: subsystems/win32/win32k/ntuser/message.c * PROGRAMER: Casper S. Hornstrup (chorns@users.sourceforge.net) -* REVISION HISTORY: -* 06-06-2001 CSH Created */ -/* INCLUDES ******************************************************************/ - #include - DBG_DEFAULT_CHANNEL(UserMsg); #define PM_BADMSGFLAGS ~((QS_RAWINPUT << 16)|PM_QS_SENDMESSAGE|PM_QS_PAINT|PM_QS_POSTMESSAGE|PM_QS_INPUT|PM_NOYIELD|PM_REMOVE) diff --git a/reactos/subsystems/win32/win32k/ntuser/metric.c b/reactos/subsystems/win32/win32k/ntuser/metric.c index da1377c6242..e64217aaabb 100644 --- a/reactos/subsystems/win32/win32k/ntuser/metric.c +++ b/reactos/subsystems/win32/win32k/ntuser/metric.c @@ -7,10 +7,7 @@ * Timo Kreuzer (timo.kreuzer@reactos.org) */ -/* INCLUDES ******************************************************************/ - #include - DBG_DEFAULT_CHANNEL(UserSysparams); static BOOL Setup = FALSE; diff --git a/reactos/subsystems/win32/win32k/ntuser/misc.c b/reactos/subsystems/win32/win32k/ntuser/misc.c index 55405378d83..35cced101ee 100644 --- a/reactos/subsystems/win32/win32k/ntuser/misc.c +++ b/reactos/subsystems/win32/win32k/ntuser/misc.c @@ -4,12 +4,9 @@ * PURPOSE: Misc User funcs * FILE: subsystems/win32/win32k/ntuser/misc.c * PROGRAMER: Ge van Geldorp (ge@gse.nl) - * REVISION HISTORY: - * 2003/05/22 Created */ #include - DBG_DEFAULT_CHANNEL(UserMisc); SHORT diff --git a/reactos/subsystems/win32/win32k/ntuser/monitor.c b/reactos/subsystems/win32/win32k/ntuser/monitor.c index 4f0f19d5f34..6804ab592fe 100644 --- a/reactos/subsystems/win32/win32k/ntuser/monitor.c +++ b/reactos/subsystems/win32/win32k/ntuser/monitor.c @@ -4,14 +4,9 @@ * PURPOSE: Monitor support * FILE: subsys/win32k/ntuser/monitor.c * PROGRAMER: Anich Gregor (blight@blight.eu.org) - * REVISION HISTORY: - * 26-02-2004 Created */ -/* INCLUDES ******************************************************************/ - #include - DBG_DEFAULT_CHANNEL(UserMonitor); /* FIXME: find include file for these */ diff --git a/reactos/subsystems/win32/win32k/ntuser/msgqueue.c b/reactos/subsystems/win32/win32k/ntuser/msgqueue.c index 22758f4b658..ad635a91fa9 100644 --- a/reactos/subsystems/win32/win32k/ntuser/msgqueue.c +++ b/reactos/subsystems/win32/win32k/ntuser/msgqueue.c @@ -6,14 +6,9 @@ * PROGRAMER: Casper S. Hornstrup (chorns@users.sourceforge.net) Alexandre Julliard Maarten Lankhorst - * REVISION HISTORY: - * 06-06-2001 CSH Created */ -/* INCLUDES ******************************************************************/ - #include - DBG_DEFAULT_CHANNEL(UserMsgQ); /* GLOBALS *******************************************************************/ diff --git a/reactos/subsystems/win32/win32k/ntuser/ntstubs.c b/reactos/subsystems/win32/win32k/ntuser/ntstubs.c index 8c1e1147566..2b4ad7df1a4 100644 --- a/reactos/subsystems/win32/win32k/ntuser/ntstubs.c +++ b/reactos/subsystems/win32/win32k/ntuser/ntstubs.c @@ -4,11 +4,9 @@ * PURPOSE: Native User stubs * FILE: subsys/win32k/ntuser/stubs.c * PROGRAMER: Casper S. Hornstrup (chorns@users.sourceforge.net) - * REVISION HISTORY: - * 04-06-2001 CSH Created */ -#include +#include DBG_DEFAULT_CHANNEL(UserMisc); DWORD diff --git a/reactos/subsystems/win32/win32k/ntuser/ntuser.c b/reactos/subsystems/win32/win32k/ntuser/ntuser.c index 3aa8405314c..4fd203c2041 100644 --- a/reactos/subsystems/win32/win32k/ntuser/ntuser.c +++ b/reactos/subsystems/win32/win32k/ntuser/ntuser.c @@ -3,14 +3,9 @@ * PROJECT: ReactOS kernel * PURPOSE: ntuser init. and main funcs. * FILE: subsystems/win32/win32k/ntuser/ntuser.c - * REVISION HISTORY: - * 16 July 2005 Created (hardon) */ -/* INCLUDES ******************************************************************/ - #include - DBG_DEFAULT_CHANNEL(UserMisc); /* GLOBALS *******************************************************************/ diff --git a/reactos/subsystems/win32/win32k/ntuser/object.c b/reactos/subsystems/win32/win32k/ntuser/object.c index 6fd3e3893d1..47b792145f0 100644 --- a/reactos/subsystems/win32/win32k/ntuser/object.c +++ b/reactos/subsystems/win32/win32k/ntuser/object.c @@ -1,29 +1,12 @@ /* - * Server-side USER handles - * - * Copyright (C) 2001 Alexandre Julliard - * - * 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 Street, Fifth Floor, Boston, MA 02110-1301 USA + * COPYRIGHT: See COPYING in the top level directory + * PROJECT: ReactOS kernel + * PURPOSE: User handle manager + * FILE: subsystems/win32/win32k/ntuser/object.c + * PROGRAMER: Copyright (C) 2001 Alexandre Julliard */ - - -/* INCLUDES ******************************************************************/ - #include - DBG_DEFAULT_CHANNEL(UserObj); //int usedHandles=0; diff --git a/reactos/subsystems/win32/win32k/ntuser/painting.c b/reactos/subsystems/win32/win32k/ntuser/painting.c index c69c75b484f..406070ac8ad 100644 --- a/reactos/subsystems/win32/win32k/ntuser/painting.c +++ b/reactos/subsystems/win32/win32k/ntuser/painting.c @@ -4,15 +4,9 @@ * PURPOSE: Window painting function * FILE: subsystems/win32/win32k/ntuser/painting.c * PROGRAMER: Filip Navara (xnavara@volny.cz) - * REVISION HISTORY: - * 06/06/2001 Created (?) - * 18/11/2003 Complete rewrite */ -/* INCLUDES ******************************************************************/ - #include - DBG_DEFAULT_CHANNEL(UserPainting); /* PRIVATE FUNCTIONS **********************************************************/ diff --git a/reactos/subsystems/win32/win32k/ntuser/prop.c b/reactos/subsystems/win32/win32k/ntuser/prop.c index 39f0f8e8579..ab3dd0df3a1 100644 --- a/reactos/subsystems/win32/win32k/ntuser/prop.c +++ b/reactos/subsystems/win32/win32k/ntuser/prop.c @@ -1,34 +1,12 @@ -/* - * ReactOS W32 Subsystem - * Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003 ReactOS Team - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. - * - * This program 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 General Public License for more details. - * - * You should have received a copy of the GNU General Public License along - * with this program; if not, write to the Free Software Foundation, Inc., - * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. - */ /* * COPYRIGHT: See COPYING in the top level directory * PROJECT: ReactOS kernel * PURPOSE: Window properties * FILE: subsys/win32k/ntuser/prop.c * PROGRAMER: Casper S. Hornstrup (chorns@users.sourceforge.net) - * REVISION HISTORY: - * 06-06-2001 CSH Created */ -/* INCLUDES ******************************************************************/ - + #include - DBG_DEFAULT_CHANNEL(UserProp); /* STATIC FUNCTIONS **********************************************************/ diff --git a/reactos/subsystems/win32/win32k/ntuser/scrollbar.c b/reactos/subsystems/win32/win32k/ntuser/scrollbar.c index ded52b626e1..308cf8f0382 100644 --- a/reactos/subsystems/win32/win32k/ntuser/scrollbar.c +++ b/reactos/subsystems/win32/win32k/ntuser/scrollbar.c @@ -5,13 +5,9 @@ * FILE: subsys/win32k/ntuser/scrollbar.c * PROGRAMER: Thomas Weidenmueller (w3seek@users.sourceforge.net) * Jason Filby (jasonfilby@yahoo.com) - * REVISION HISTORY: - * 16-11-2002 Jason Filby Created */ -/* INCLUDES ******************************************************************/ #include - DBG_DEFAULT_CHANNEL(UserScrollbar); #define MINTRACKTHUMB 8 /* Minimum size of the rectangle between the arrows */ diff --git a/reactos/subsystems/win32/win32k/ntuser/session.c b/reactos/subsystems/win32/win32k/ntuser/session.c index 88e453164cb..4247a342239 100644 --- a/reactos/subsystems/win32/win32k/ntuser/session.c +++ b/reactos/subsystems/win32/win32k/ntuser/session.c @@ -1,21 +1,3 @@ -/* - * ReactOS W32 Subsystem - * Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003 ReactOS Team - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. - * - * This program 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 General Public License for more details. - * - * You should have received a copy of the GNU General Public License along - * with this program; if not, write to the Free Software Foundation, Inc., - * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. - */ /* * COPYRIGHT: See COPYING in the top level directory * PROJECT: ReactOS kernel @@ -26,9 +8,6 @@ #include -#define NDEBUG -#include - /* GLOBALS *******************************************************************/ PRTL_ATOM_TABLE gAtomTable = NULL; diff --git a/reactos/subsystems/win32/win32k/ntuser/simplecall.c b/reactos/subsystems/win32/win32k/ntuser/simplecall.c index 0a24b68b4a7..e2828414826 100644 --- a/reactos/subsystems/win32/win32k/ntuser/simplecall.c +++ b/reactos/subsystems/win32/win32k/ntuser/simplecall.c @@ -4,12 +4,9 @@ * PURPOSE: NtUserCallXxx call stubs * FILE: subsystem/win32/win32k/ntuser/simplecall.c * PROGRAMER: Ge van Geldorp (ge@gse.nl) - * REVISION HISTORY: - * 2008/03/20 Split from misc.c */ #include - DBG_DEFAULT_CHANNEL(UserMisc); /* registered Logon process */ diff --git a/reactos/subsystems/win32/win32k/ntuser/sysparams.c b/reactos/subsystems/win32/win32k/ntuser/sysparams.c index db75af7758a..9d14ac6356e 100644 --- a/reactos/subsystems/win32/win32k/ntuser/sysparams.c +++ b/reactos/subsystems/win32/win32k/ntuser/sysparams.c @@ -12,10 +12,8 @@ // - save appropriate text metrics #include - DBG_DEFAULT_CHANNEL(UserSysparams); - SPIVALUES gspv; BOOL gbSpiInitialized = FALSE; PWINSTATION_OBJECT gpwinstaCurrent = NULL; diff --git a/reactos/subsystems/win32/win32k/ntuser/timer.c b/reactos/subsystems/win32/win32k/ntuser/timer.c index d387e7c7c9c..6813b680405 100644 --- a/reactos/subsystems/win32/win32k/ntuser/timer.c +++ b/reactos/subsystems/win32/win32k/ntuser/timer.c @@ -6,14 +6,9 @@ * PROGRAMER: Gunnar * Thomas Weidenmueller (w3seek@users.sourceforge.net) * Michael Martin (michael.martin@reactos.org) - * REVISION HISTORY: 10/04/2003 Implemented System Timers - * */ -/* INCLUDES ******************************************************************/ - #include - DBG_DEFAULT_CHANNEL(UserTimer); /* GLOBALS *******************************************************************/ diff --git a/reactos/subsystems/win32/win32k/ntuser/useratom.c b/reactos/subsystems/win32/win32k/ntuser/useratom.c index 99db8684baa..7b8469cf8e1 100644 --- a/reactos/subsystems/win32/win32k/ntuser/useratom.c +++ b/reactos/subsystems/win32/win32k/ntuser/useratom.c @@ -1,21 +1,3 @@ -/* - * ReactOS W32 Subsystem - * Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003 ReactOS Team - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. - * - * This program 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 General Public License for more details. - * - * You should have received a copy of the GNU General Public License along - * with this program; if not, write to the Free Software Foundation, Inc., - * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. - */ /* * COPYRIGHT: See COPYING in the top level directory * PROJECT: ReactOS kernel @@ -25,7 +7,6 @@ */ #include - DBG_DEFAULT_CHANNEL(UserMisc); RTL_ATOM FASTCALL diff --git a/reactos/subsystems/win32/win32k/ntuser/vis.c b/reactos/subsystems/win32/win32k/ntuser/vis.c index 4c029b0ea3b..1f0b7dc98f7 100644 --- a/reactos/subsystems/win32/win32k/ntuser/vis.c +++ b/reactos/subsystems/win32/win32k/ntuser/vis.c @@ -1,22 +1,4 @@ /* - * ReactOS W32 Subsystem - * Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003 ReactOS Team - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. - * - * This program 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 General Public License for more details. - * - * You should have received a copy of the GNU General Public License along - * with this program; if not, write to the Free Software Foundation, Inc., - * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. - * - * * COPYRIGHT: See COPYING in the top level directory * PROJECT: ReactOS kernel * PURPOSE: Visibility computations @@ -25,7 +7,6 @@ */ #include - DBG_DEFAULT_CHANNEL(UserWinpos); HRGN FASTCALL diff --git a/reactos/subsystems/win32/win32k/ntuser/windc.c b/reactos/subsystems/win32/win32k/ntuser/windc.c index 9710fdc479a..6cbc8943556 100644 --- a/reactos/subsystems/win32/win32k/ntuser/windc.c +++ b/reactos/subsystems/win32/win32k/ntuser/windc.c @@ -4,13 +4,9 @@ * FILE: subsystems/win32/win32k/ntuser/windc.c * PURPOSE: Window DC management * COPYRIGHT: Copyright 2007 ReactOS - * - */ - -/* INCLUDES ******************************************************************/ + */ #include - DBG_DEFAULT_CHANNEL(UserDce); /* GLOBALS *******************************************************************/ diff --git a/reactos/subsystems/win32/win32k/ntuser/window.c b/reactos/subsystems/win32/win32k/ntuser/window.c index 2f79aa53347..ce45077a746 100644 --- a/reactos/subsystems/win32/win32k/ntuser/window.c +++ b/reactos/subsystems/win32/win32k/ntuser/window.c @@ -4,14 +4,9 @@ * PURPOSE: Windows * FILE: subsystems/win32/win32k/ntuser/window.c * PROGRAMER: Casper S. Hornstrup (chorns@users.sourceforge.net) - * REVISION HISTORY: - * 06-06-2001 CSH Created */ -/* INCLUDES ******************************************************************/ - #include - DBG_DEFAULT_CHANNEL(UserWnd); /* HELPER FUNCTIONS ***********************************************************/ diff --git a/reactos/subsystems/win32/win32k/ntuser/winpos.c b/reactos/subsystems/win32/win32k/ntuser/winpos.c index e9f246bacc4..484e1739cee 100644 --- a/reactos/subsystems/win32/win32k/ntuser/winpos.c +++ b/reactos/subsystems/win32/win32k/ntuser/winpos.c @@ -1,34 +1,12 @@ -/* - * ReactOS W32 Subsystem - * Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003 ReactOS Team - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. - * - * This program 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 General Public License for more details. - * - * You should have received a copy of the GNU General Public License along - * with this program; if not, write to the Free Software Foundation, Inc., - * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. - */ /* * COPYRIGHT: See COPYING in the top level directory * PROJECT: ReactOS kernel * PURPOSE: Windows * FILE: subsystems/win32/win32k/ntuser/window.c * PROGRAMER: Casper S. Hornstrup (chorns@users.sourceforge.net) - * REVISION HISTORY: - * 06-06-2001 CSH NtGdid */ -/* INCLUDES ******************************************************************/ #include - DBG_DEFAULT_CHANNEL(UserWinpos); /* GLOBALS *******************************************************************/ diff --git a/reactos/subsystems/win32/win32k/ntuser/winsta.c b/reactos/subsystems/win32/win32k/ntuser/winsta.c index 93e27043083..d75e2d38f83 100644 --- a/reactos/subsystems/win32/win32k/ntuser/winsta.c +++ b/reactos/subsystems/win32/win32k/ntuser/winsta.c @@ -1,40 +1,15 @@ /* - * ReactOS W32 Subsystem - * Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003 ReactOS Team - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. - * - * This program 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 General Public License for more details. - * - * You should have received a copy of the GNU General Public License along - * with this program; if not, write to the Free Software Foundation, Inc., - * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. - * * COPYRIGHT: See COPYING in the top level directory * PROJECT: ReactOS kernel * PURPOSE: Window stations * FILE: subsys/win32k/ntuser/winsta.c * PROGRAMER: Casper S. Hornstrup (chorns@users.sourceforge.net) - * REVISION HISTORY: - * 06-06-2001 CSH Created - * NOTES: Exported functions set the Win32 last error value - * on errors. The value can be retrieved with the Win32 - * function GetLastError(). * TODO: The process window station is created on * the first USER32/GDI32 call not related * to window station/desktop handling */ -/* INCLUDES ******************************************************************/ - #include - DBG_DEFAULT_CHANNEL(UserWinsta); /* GLOBALS *******************************************************************/ diff --git a/reactos/subsystems/win32/win32k/objects/arc.c b/reactos/subsystems/win32/win32k/objects/arc.c index d22b212e65c..4de47478a47 100644 --- a/reactos/subsystems/win32/win32k/objects/arc.c +++ b/reactos/subsystems/win32/win32k/objects/arc.c @@ -1,6 +1,4 @@ #include -#define _USE_MATH_DEFINES -#include #define NDEBUG #include @@ -27,9 +25,6 @@ #define Rsin(d) ((d) == 0.0 ? 0.0 : ((d) == 90.0 ? 1.0 : sin(d*M_PI/180.0))) #define Rcos(d) ((d) == 0.0 ? 1.0 : ((d) == 90.0 ? 0.0 : cos(d*M_PI/180.0))) -BOOL FASTCALL IntFillArc( PDC dc, INT XLeft, INT YLeft, INT Width, INT Height, double StartArc, double EndArc, ARCTYPE arctype); -BOOL FASTCALL IntDrawArc( PDC dc, INT XLeft, INT YLeft, INT Width, INT Height, double StartArc, double EndArc, ARCTYPE arctype, PBRUSH pbrush); - static BOOL FASTCALL diff --git a/reactos/subsystems/win32/win32k/objects/bezier.c b/reactos/subsystems/win32/win32k/objects/bezier.c index 3e20c292590..855d72cf5de 100644 --- a/reactos/subsystems/win32/win32k/objects/bezier.c +++ b/reactos/subsystems/win32/win32k/objects/bezier.c @@ -1,22 +1,10 @@ /* - * ReactOS W32 Subsystem - * Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003 ReactOS Team - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. - * - * This program 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 General Public License for more details. - * - * You should have received a copy of the GNU General Public License along - * with this program; if not, write to the Free Software Foundation, Inc., - * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. + * COPYRIGHT: GNU GPL, See COPYING in the top level directory + * PROJECT: ReactOS kernel + * PURPOSE: Bezier functions + * FILE: subsys/win32k/objects/bezier.c + * PROGRAMER: Unknown */ -/* $Id$ */ #include diff --git a/reactos/subsystems/win32/win32k/objects/bitblt.c b/reactos/subsystems/win32/win32k/objects/bitblt.c index 0c3f0a756e2..33e8dffabe2 100644 --- a/reactos/subsystems/win32/win32k/objects/bitblt.c +++ b/reactos/subsystems/win32/win32k/objects/bitblt.c @@ -1,22 +1,10 @@ /* -* ReactOS W32 Subsystem -* Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003 ReactOS Team -* -* This program is free software; you can redistribute it and/or modify -* it under the terms of the GNU General Public License as published by -* the Free Software Foundation; either version 2 of the License, or -* (at your option) any later version. -* -* This program 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 General Public License for more details. -* -* You should have received a copy of the GNU General Public License along -* with this program; if not, write to the Free Software Foundation, Inc., -* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. -*/ -/* $Id: bitmaps.c 28300 2007-08-12 15:20:09Z tkreuzer $ */ + * COPYRIGHT: GNU GPL, See COPYING in the top level directory + * PROJECT: ReactOS kernel + * PURPOSE: Bit blit functions + * FILE: subsys/win32k/objects/bitblt.c + * PROGRAMER: Unknown + */ #include diff --git a/reactos/subsystems/win32/win32k/objects/bitmaps.c b/reactos/subsystems/win32/win32k/objects/bitmaps.c index f81f151eb00..b4e194e77db 100644 --- a/reactos/subsystems/win32/win32k/objects/bitmaps.c +++ b/reactos/subsystems/win32/win32k/objects/bitmaps.c @@ -1,20 +1,9 @@ /* - * ReactOS W32 Subsystem - * Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003 ReactOS Team - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. - * - * This program 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 General Public License for more details. - * - * You should have received a copy of the GNU General Public License along - * with this program; if not, write to the Free Software Foundation, Inc., - * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. + * COPYRIGHT: GNU GPL, See COPYING in the top level directory + * PROJECT: ReactOS kernel + * PURPOSE: Bitmap functions + * FILE: subsys/win32k/objects/bitmaps.c + * PROGRAMER: Unknown */ #include diff --git a/reactos/subsystems/win32/win32k/objects/cliprgn.c b/reactos/subsystems/win32/win32k/objects/cliprgn.c index 60f8e1c5a54..b5da4994f9f 100644 --- a/reactos/subsystems/win32/win32k/objects/cliprgn.c +++ b/reactos/subsystems/win32/win32k/objects/cliprgn.c @@ -1,20 +1,9 @@ /* - * ReactOS W32 Subsystem - * Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003 ReactOS Team - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. - * - * This program 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 General Public License for more details. - * - * You should have received a copy of the GNU General Public License along - * with this program; if not, write to the Free Software Foundation, Inc., - * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. + * COPYRIGHT: GNU GPL, See COPYING in the top level directory + * PROJECT: ReactOS kernel + * PURPOSE: Clip region functions + * FILE: subsys/win32k/objects/cliprgn.c + * PROGRAMER: Unknown */ #include diff --git a/reactos/subsystems/win32/win32k/objects/dclife.c b/reactos/subsystems/win32/win32k/objects/dclife.c index 547dc75ed1a..7a0fe9d64ac 100644 --- a/reactos/subsystems/win32/win32k/objects/dclife.c +++ b/reactos/subsystems/win32/win32k/objects/dclife.c @@ -7,7 +7,6 @@ */ #include -#include #define NDEBUG #include diff --git a/reactos/subsystems/win32/win32k/objects/dibobj.c b/reactos/subsystems/win32/win32k/objects/dibobj.c index 350480b1c96..48ef02d96d3 100644 --- a/reactos/subsystems/win32/win32k/objects/dibobj.c +++ b/reactos/subsystems/win32/win32k/objects/dibobj.c @@ -1,20 +1,9 @@ /* - * ReactOS W32 Subsystem - * Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003 ReactOS Team - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. - * - * This program 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 General Public License for more details. - * - * You should have received a copy of the GNU General Public License along - * with this program; if not, write to the Free Software Foundation, Inc., - * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. + * PROJECT: ReactOS win32 kernel mode subsystem + * LICENSE: GPL - See COPYING in the top level directory + * FILE: subsystems/win32/win32k/objects/dibobj.c + * PURPOSE: Dib object functions + * PROGRAMMER: */ #include diff --git a/reactos/subsystems/win32/win32k/objects/drawing.c b/reactos/subsystems/win32/win32k/objects/drawing.c index c465c71619d..63900715b93 100644 --- a/reactos/subsystems/win32/win32k/objects/drawing.c +++ b/reactos/subsystems/win32/win32k/objects/drawing.c @@ -50,8 +50,6 @@ SUCH DAMAGE. */ #include -#define _USE_MATH_DEFINES -#include #define NDEBUG #include diff --git a/reactos/subsystems/win32/win32k/objects/fillshap.c b/reactos/subsystems/win32/win32k/objects/fillshap.c index c1ff20183c0..05485c1c057 100644 --- a/reactos/subsystems/win32/win32k/objects/fillshap.c +++ b/reactos/subsystems/win32/win32k/objects/fillshap.c @@ -1,20 +1,9 @@ /* - * ReactOS W32 Subsystem - * Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003 ReactOS Team - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. - * - * This program 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 General Public License for more details. - * - * You should have received a copy of the GNU General Public License along - * with this program; if not, write to the Free Software Foundation, Inc., - * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. + * PROJECT: ReactOS win32 kernel mode subsystem + * LICENSE: GPL - See COPYING in the top level directory + * FILE: subsystems/win32/win32k/objects/fillshap.c + * PURPOSE: fillshap + * PROGRAMMER: */ #include @@ -25,11 +14,6 @@ #define Rsin(d) ((d) == 0.0 ? 0.0 : ((d) == 90.0 ? 1.0 : sin(d*M_PI/180.0))) #define Rcos(d) ((d) == 0.0 ? 1.0 : ((d) == 90.0 ? 0.0 : cos(d*M_PI/180.0))) -BOOL FASTCALL IntFillEllipse( PDC dc, INT XLeft, INT YLeft, INT Width, INT Height, PBRUSH pbrush); -BOOL FASTCALL IntDrawEllipse( PDC dc, INT XLeft, INT YLeft, INT Width, INT Height, PBRUSH pbrush); -BOOL FASTCALL IntFillRoundRect( PDC dc, INT Left, INT Top, INT Right, INT Bottom, INT Wellipse, INT Hellipse, PBRUSH pbrush); -BOOL FASTCALL IntDrawRoundRect( PDC dc, INT Left, INT Top, INT Right, INT Bottom, INT Wellipse, INT Hellipse, PBRUSH pbrush); - BOOL FASTCALL IntGdiPolygon(PDC dc, PPOINT Points, diff --git a/reactos/subsystems/win32/win32k/objects/font.c b/reactos/subsystems/win32/win32k/objects/font.c index 8ac2eb3244a..ce69036dcb5 100644 --- a/reactos/subsystems/win32/win32k/objects/font.c +++ b/reactos/subsystems/win32/win32k/objects/font.c @@ -13,8 +13,6 @@ #define NDEBUG #include -DWORD FASTCALL GreGetGlyphIndicesW(HDC,LPWSTR,INT,LPWORD,DWORD,DWORD); - /** Internal ******************************************************************/ DWORD diff --git a/reactos/subsystems/win32/win32k/objects/freetype.c b/reactos/subsystems/win32/win32k/objects/freetype.c index 1c3a9259582..889cab6cec3 100644 --- a/reactos/subsystems/win32/win32k/objects/freetype.c +++ b/reactos/subsystems/win32/win32k/objects/freetype.c @@ -1,53 +1,16 @@ -/* - * FreeType font engine interface - * - * Copyright 2001 Huw D M Davies for CodeWeavers. - * Copyright 2006 Dmitry Timoshkov for CodeWeavers. - * - * This file contains the WineEng* functions. - * - * 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 - */ -/* - * - * Addaped for the use in ReactOS. - * - */ /* * PROJECT: ReactOS win32 kernel mode subsystem * LICENSE: GPL - See COPYING in the top level directory * FILE: subsystems/win32/win32k/objects/freetype.c - * PURPOSE: Freetype library support - * PROGRAMMER: + * PURPOSE: FreeType font engine interface + * PROGRAMMER: Copyright 2001 Huw D M Davies for CodeWeavers. + * Copyright 2006 Dmitry Timoshkov for CodeWeavers. */ /** Includes ******************************************************************/ #include -#include -#include FT_FREETYPE_H -#include FT_GLYPH_H -#include FT_TYPE1_TABLES_H -#include -#include -#include -#include -#include -#include - #define NDEBUG #include diff --git a/reactos/subsystems/win32/win32k/objects/icm.c b/reactos/subsystems/win32/win32k/objects/icm.c index 8e76174de75..626a22fe37c 100644 --- a/reactos/subsystems/win32/win32k/objects/icm.c +++ b/reactos/subsystems/win32/win32k/objects/icm.c @@ -1,20 +1,9 @@ /* - * ReactOS W32 Subsystem - * Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003 ReactOS Team - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. - * - * This program 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 General Public License for more details. - * - * You should have received a copy of the GNU General Public License along - * with this program; if not, write to the Free Software Foundation, Inc., - * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. + * PROJECT: ReactOS Win32k Subsystem + * LICENSE: GPL - See COPYING in the top level directory + * FILE: win32k/objects/icm.c + * PURPOSE: Icm functions + * PROGRAMMERS: ... */ #include diff --git a/reactos/subsystems/win32/win32k/objects/line.c b/reactos/subsystems/win32/win32k/objects/line.c index 1894a63bfae..b8cbc12bb7c 100644 --- a/reactos/subsystems/win32/win32k/objects/line.c +++ b/reactos/subsystems/win32/win32k/objects/line.c @@ -1,20 +1,9 @@ /* - * ReactOS W32 Subsystem - * Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003 ReactOS Team - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. - * - * This program 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 General Public License for more details. - * - * You should have received a copy of the GNU General Public License along - * with this program; if not, write to the Free Software Foundation, Inc., - * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. + * PROJECT: ReactOS Win32k Subsystem + * LICENSE: GPL - See COPYING in the top level directory + * FILE: win32k/objects/line.c + * PURPOSE: Line functions + * PROGRAMMERS: ... */ #include diff --git a/reactos/subsystems/win32/win32k/objects/path.c b/reactos/subsystems/win32/win32k/objects/path.c index 90debae3c8b..46c19a954a4 100644 --- a/reactos/subsystems/win32/win32k/objects/path.c +++ b/reactos/subsystems/win32/win32k/objects/path.c @@ -1,40 +1,14 @@ -/* - * Graphics paths (BeginPath, EndPath etc.) - * - * Copyright 1997, 1998 Martin Boehme - * 1999 Huw D M Davies - * Copyright 2005 Dmitry Timoshkov - * - * 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 - */ -/* - * - * Addaped for the use in ReactOS. - * - */ /* * PROJECT: ReactOS win32 kernel mode subsystem * LICENSE: GPL - See COPYING in the top level directory * FILE: subsystems/win32/win32k/objects/path.c - * PURPOSE: Path support - * PROGRAMMER: + * PURPOSE: Graphics paths (BeginPath, EndPath etc.) + * PROGRAMMER: Copyright 1997, 1998 Martin Boehme + * 1999 Huw D M Davies + * 2005 Dmitry Timoshkov */ #include -#define _USE_MATH_DEFINES -#include #define NDEBUG #include @@ -43,20 +17,6 @@ #define GROW_FACTOR_NUMER 2 /* Numerator of grow factor for the array */ #define GROW_FACTOR_DENOM 1 /* Denominator of grow factor */ -BOOL FASTCALL PATH_AddEntry (PPATH pPath, const POINT *pPoint, BYTE flags); -BOOL FASTCALL PATH_AddFlatBezier (PPATH pPath, POINT *pt, BOOL closed); -BOOL FASTCALL PATH_DoArcPart (PPATH pPath, FLOAT_POINT corners[], double angleStart, double angleEnd, BYTE startEntryType); -BOOL FASTCALL PATH_FillPath( PDC dc, PPATH pPath ); -BOOL FASTCALL PATH_FlattenPath (PPATH pPath); -VOID FASTCALL PATH_NormalizePoint (FLOAT_POINT corners[], const FLOAT_POINT *pPoint, double *pX, double *pY); - -BOOL FASTCALL PATH_ReserveEntries (PPATH pPath, INT numEntries); -VOID FASTCALL PATH_ScaleNormalizedPoint (FLOAT_POINT corners[], double x, double y, POINT *pPoint); -BOOL FASTCALL PATH_StrokePath(DC *dc, PPATH pPath); -BOOL PATH_CheckCorners(DC *dc, POINT corners[], INT x1, INT y1, INT x2, INT y2); - -VOID FASTCALL IntGetCurrentPositionEx(PDC dc, LPPOINT pt); - /*********************************************************************** * Internal functions */ diff --git a/reactos/subsystems/win32/win32k/objects/pen.c b/reactos/subsystems/win32/win32k/objects/pen.c index 9c246b891e3..7c152307cab 100644 --- a/reactos/subsystems/win32/win32k/objects/pen.c +++ b/reactos/subsystems/win32/win32k/objects/pen.c @@ -1,23 +1,9 @@ /* - * ReactOS Win32 Subsystem - * - * Copyright (C) 1998 - 2004 ReactOS Team - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. - * - * This program 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 General Public License for more details. - * - * You should have received a copy of the GNU General Public License along - * with this program; if not, write to the Free Software Foundation, Inc., - * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. - * - * $Id$ + * COPYRIGHT: See COPYING in the top level directory + * PROJECT: ReactOS kernel + * PURPOSE: Pen functiona + * FILE: subsys/win32k/objects/pen.c + * PROGRAMER: */ #include diff --git a/reactos/subsystems/win32/win32k/objects/polyfill.c b/reactos/subsystems/win32/win32k/objects/polyfill.c index e1b33802960..40a51ec848e 100644 --- a/reactos/subsystems/win32/win32k/objects/polyfill.c +++ b/reactos/subsystems/win32/win32k/objects/polyfill.c @@ -1,30 +1,9 @@ /* - * ReactOS W32 Subsystem - * Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003 ReactOS Team - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. - * - * This program 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 General Public License for more details. - * - * You should have received a copy of the GNU General Public License along - * with this program; if not, write to the Free Software Foundation, Inc., - * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. - */ -/* $Id$ - * * COPYRIGHT: See COPYING in the top level directory * PROJECT: ReactOS kernel * PURPOSE: Various Polygon Filling routines for Polygon() * FILE: subsys/win32k/objects/polyfill.c * PROGRAMER: Mark Tempel - * REVISION HISTORY: - * 21/2/2003: Created */ #include @@ -32,8 +11,6 @@ #define NDEBUG #include -INT __cdecl abs(INT nm); - #define FILL_EDGE_ALLOC_TAG 0x45465044 /* diff --git a/reactos/subsystems/win32/win32k/objects/print.c b/reactos/subsystems/win32/win32k/objects/print.c index f0ab461cbac..be30012e1f9 100644 --- a/reactos/subsystems/win32/win32k/objects/print.c +++ b/reactos/subsystems/win32/win32k/objects/print.c @@ -1,23 +1,11 @@ /* - * ReactOS W32 Subsystem - * Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003 ReactOS Team - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. - * - * This program 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 General Public License for more details. - * - * You should have received a copy of the GNU General Public License along - * with this program; if not, write to the Free Software Foundation, Inc., - * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. + * PROJECT: ReactOS win32 kernel mode subsystem + * LICENSE: GPL - See COPYING in the top level directory + * FILE: subsystems/win32/win32k/objects/print.c + * PURPOSE: Print functions + * PROGRAMMER: */ -/* $Id$ */ - + #include #define NDEBUG diff --git a/reactos/subsystems/win32/win32k/objects/rect.c b/reactos/subsystems/win32/win32k/objects/rect.c index 9fd5cdaefc6..6582bae887c 100644 --- a/reactos/subsystems/win32/win32k/objects/rect.c +++ b/reactos/subsystems/win32/win32k/objects/rect.c @@ -1,20 +1,9 @@ /* - * ReactOS W32 Subsystem - * Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003 ReactOS Team - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. - * - * This program 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 General Public License for more details. - * - * You should have received a copy of the GNU General Public License along - * with this program; if not, write to the Free Software Foundation, Inc., - * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. + * PROJECT: ReactOS win32 kernel mode subsystem + * LICENSE: GPL - See COPYING in the top level directory + * FILE: subsystems/win32/win32k/objects/rect.c + * PURPOSE: Rect functions + * PROGRAMMER: Timo Kreuzer */ #include diff --git a/reactos/subsystems/win32/win32k/objects/stockobj.c b/reactos/subsystems/win32/win32k/objects/stockobj.c index ed46f161029..f03cf2bf8bb 100644 --- a/reactos/subsystems/win32/win32k/objects/stockobj.c +++ b/reactos/subsystems/win32/win32k/objects/stockobj.c @@ -1,25 +1,9 @@ /* - * ReactOS W32 Subsystem - * Copyright (C) 1998 - 2004 ReactOS Team - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. - * - * This program 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 General Public License for more details. - * - * You should have received a copy of the GNU General Public License along - * with this program; if not, write to the Free Software Foundation, Inc., - * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. - */ -/* - * STOCKOBJ.C - GDI Stock Objects - * - * + * PROJECT: ReactOS win32 kernel mode subsystem + * LICENSE: GPL - See COPYING in the top level directory + * FILE: subsystems/win32/win32k/objects/stockobj.c + * PURPOSE: Stock objects functions + * PROGRAMMER: */ #include diff --git a/reactos/subsystems/win32/win32k/objects/wingl.c b/reactos/subsystems/win32/win32k/objects/wingl.c index 6be90d72e98..232fc53b97f 100644 --- a/reactos/subsystems/win32/win32k/objects/wingl.c +++ b/reactos/subsystems/win32/win32k/objects/wingl.c @@ -1,22 +1,10 @@ /* - * ReactOS W32 Subsystem - * Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003 ReactOS Team - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. - * - * This program 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 General Public License for more details. - * - * You should have received a copy of the GNU General Public License along - * with this program; if not, write to the Free Software Foundation, Inc., - * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. + * PROJECT: ReactOS win32 kernel mode subsystem + * LICENSE: GPL - See COPYING in the top level directory + * FILE: subsystems/win32/win32k/objects/wingl.c + * PURPOSE: wingl api + * PROGRAMMER: */ -/* $Id$ */ #include diff --git a/reactos/subsystems/win32/win32k/pch.h b/reactos/subsystems/win32/win32k/pch.h index fcb3583cca2..b152d719be9 100644 --- a/reactos/subsystems/win32/win32k/pch.h +++ b/reactos/subsystems/win32/win32k/pch.h @@ -3,7 +3,7 @@ /* * COPYRIGHT: See COPYING in the top level directory * PROJECT: ReactOS Graphics Subsystem - * FILE: subsys/win32k/w32k.h + * FILE: subsys/win32k/pch.h * PURPOSE: Main Win32K Header * PROGRAMMER: Alex Ionescu (alex@relsoft.net) */ @@ -17,6 +17,7 @@ #define NTDDI_VERSION NTDDI_WS03SP1 #include #include +#include #include #include #include @@ -28,6 +29,8 @@ #include #include #include +#include +#include /* Win32 Headers */ /* FIXME: Defines in winbase.h that we need... */ @@ -37,7 +40,9 @@ typedef struct _SECURITY_ATTRIBUTES SECURITY_ATTRIBUTES, *LPSECURITY_ATTRIBUTES; #define STARTF_USEPOSITION 4 #include #include +#define _USE_MATH_DEFINES #include +#include /* Avoid type casting, by defining RECT to RECTL */ #define RECT RECTL @@ -79,6 +84,15 @@ typedef struct _SECURITY_ATTRIBUTES SECURITY_ATTRIBUTES, *LPSECURITY_ATTRIBUTES; /* Freetype headers*/ #include +#include FT_FREETYPE_H +#include FT_GLYPH_H +#include FT_TYPE1_TABLES_H +#include +#include +#include +#include +#include +#include #include /* Internal Win32K Header */