ReactOS.org
Sign In
Sign Up
Sign In
Sign Up
Manage this list
×
Keyboard Shortcuts
Thread View
j
: Next unread message
k
: Previous unread message
j a
: Jump to all threads
j l
: Jump to MailingList overview
2024
December
November
October
September
August
July
June
May
April
March
February
January
2023
December
November
October
September
August
July
June
May
April
March
February
January
2022
December
November
October
September
August
July
June
May
April
March
February
January
2021
December
November
October
September
August
July
June
May
April
March
February
January
2020
December
November
October
September
August
July
June
May
April
March
February
January
2019
December
November
October
September
August
July
June
May
April
March
February
January
2018
December
November
October
September
August
July
June
May
April
March
February
January
2017
December
November
October
September
August
July
June
May
April
March
February
January
2016
December
November
October
September
August
July
June
May
April
March
February
January
2015
December
November
October
September
August
July
June
May
April
March
February
January
2014
December
November
October
September
August
July
June
May
April
March
February
January
2013
December
November
October
September
August
July
June
May
April
March
February
January
2012
December
November
October
September
August
July
June
May
April
March
February
January
2011
December
November
October
September
August
July
June
May
April
March
February
January
2010
December
November
October
September
August
July
June
May
April
March
February
January
2009
December
November
October
September
August
July
June
May
April
March
February
January
2008
December
November
October
September
August
July
June
May
April
March
February
January
2007
December
November
October
September
August
July
June
May
April
March
February
January
2006
December
November
October
September
August
July
June
May
April
March
February
January
2005
December
November
October
September
August
July
June
May
April
March
February
January
2004
December
November
October
September
August
July
June
May
April
March
February
List overview
Download
Ros-diffs
July 2007
----- 2024 -----
December 2024
November 2024
October 2024
September 2024
August 2024
July 2024
June 2024
May 2024
April 2024
March 2024
February 2024
January 2024
----- 2023 -----
December 2023
November 2023
October 2023
September 2023
August 2023
July 2023
June 2023
May 2023
April 2023
March 2023
February 2023
January 2023
----- 2022 -----
December 2022
November 2022
October 2022
September 2022
August 2022
July 2022
June 2022
May 2022
April 2022
March 2022
February 2022
January 2022
----- 2021 -----
December 2021
November 2021
October 2021
September 2021
August 2021
July 2021
June 2021
May 2021
April 2021
March 2021
February 2021
January 2021
----- 2020 -----
December 2020
November 2020
October 2020
September 2020
August 2020
July 2020
June 2020
May 2020
April 2020
March 2020
February 2020
January 2020
----- 2019 -----
December 2019
November 2019
October 2019
September 2019
August 2019
July 2019
June 2019
May 2019
April 2019
March 2019
February 2019
January 2019
----- 2018 -----
December 2018
November 2018
October 2018
September 2018
August 2018
July 2018
June 2018
May 2018
April 2018
March 2018
February 2018
January 2018
----- 2017 -----
December 2017
November 2017
October 2017
September 2017
August 2017
July 2017
June 2017
May 2017
April 2017
March 2017
February 2017
January 2017
----- 2016 -----
December 2016
November 2016
October 2016
September 2016
August 2016
July 2016
June 2016
May 2016
April 2016
March 2016
February 2016
January 2016
----- 2015 -----
December 2015
November 2015
October 2015
September 2015
August 2015
July 2015
June 2015
May 2015
April 2015
March 2015
February 2015
January 2015
----- 2014 -----
December 2014
November 2014
October 2014
September 2014
August 2014
July 2014
June 2014
May 2014
April 2014
March 2014
February 2014
January 2014
----- 2013 -----
December 2013
November 2013
October 2013
September 2013
August 2013
July 2013
June 2013
May 2013
April 2013
March 2013
February 2013
January 2013
----- 2012 -----
December 2012
November 2012
October 2012
September 2012
August 2012
July 2012
June 2012
May 2012
April 2012
March 2012
February 2012
January 2012
----- 2011 -----
December 2011
November 2011
October 2011
September 2011
August 2011
July 2011
June 2011
May 2011
April 2011
March 2011
February 2011
January 2011
----- 2010 -----
December 2010
November 2010
October 2010
September 2010
August 2010
July 2010
June 2010
May 2010
April 2010
March 2010
February 2010
January 2010
----- 2009 -----
December 2009
November 2009
October 2009
September 2009
August 2009
July 2009
June 2009
May 2009
April 2009
March 2009
February 2009
January 2009
----- 2008 -----
December 2008
November 2008
October 2008
September 2008
August 2008
July 2008
June 2008
May 2008
April 2008
March 2008
February 2008
January 2008
----- 2007 -----
December 2007
November 2007
October 2007
September 2007
August 2007
July 2007
June 2007
May 2007
April 2007
March 2007
February 2007
January 2007
----- 2006 -----
December 2006
November 2006
October 2006
September 2006
August 2006
July 2006
June 2006
May 2006
April 2006
March 2006
February 2006
January 2006
----- 2005 -----
December 2005
November 2005
October 2005
September 2005
August 2005
July 2005
June 2005
May 2005
April 2005
March 2005
February 2005
January 2005
----- 2004 -----
December 2004
November 2004
October 2004
September 2004
August 2004
July 2004
June 2004
May 2004
April 2004
March 2004
February 2004
ros-diffs@reactos.org
20 participants
707 discussions
Start a n
N
ew thread
[tkreuzer] 27859: remove NtGdiCreateEllipticRegionIndirect from win32k
by tkreuzer@svn.reactos.org
Author: tkreuzer Date: Thu Jul 26 20:40:23 2007 New Revision: 27859 URL:
http://svn.reactos.org/svn/reactos?rev=27859&view=rev
Log: remove NtGdiCreateEllipticRegionIndirect from win32k Modified: trunk/reactos/subsystems/win32/win32k/objects/region.c Modified: trunk/reactos/subsystems/win32/win32k/objects/region.c URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/subsystems/win32/win32k/ob…
============================================================================== --- trunk/reactos/subsystems/win32/win32k/objects/region.c (original) +++ trunk/reactos/subsystems/win32/win32k/objects/region.c Thu Jul 26 20:40:23 2007 @@ -2027,35 +2027,6 @@ Right - Left, Bottom - Top); } -HRGN -STDCALL -NtGdiCreateEllipticRgnIndirect(CONST PRECT Rect) -{ - RECT SafeRect = {0}; - NTSTATUS Status = STATUS_SUCCESS; - - _SEH_TRY - { - ProbeForRead(Rect, - sizeof(RECT), - 1); - SafeRect = *Rect; - } - _SEH_HANDLE - { - Status = _SEH_GetExceptionCode(); - } - _SEH_END; - if(!NT_SUCCESS(Status)) - { - SetLastNtError(Status); - return NULL; - } - - return NtGdiCreateRoundRectRgn(SafeRect.left, SafeRect.top, SafeRect.right, SafeRect.bottom, - SafeRect.right - SafeRect.left, SafeRect.bottom - SafeRect.top); -} - HRGN STDCALL NtGdiCreateRectRgn(INT LeftRect, INT TopRect, INT RightRect, INT BottomRect) {
17 years, 5 months
1
0
0
0
[tkreuzer] 27858: remove NtGdiCreateEllipticRegionIndirect from w32ksvc.db
by tkreuzer@svn.reactos.org
Author: tkreuzer Date: Thu Jul 26 20:39:27 2007 New Revision: 27858 URL:
http://svn.reactos.org/svn/reactos?rev=27858&view=rev
Log: remove NtGdiCreateEllipticRegionIndirect from w32ksvc.db Modified: trunk/reactos/tools/nci/w32ksvc.db Modified: trunk/reactos/tools/nci/w32ksvc.db URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/tools/nci/w32ksvc.db?rev=2…
============================================================================== --- trunk/reactos/tools/nci/w32ksvc.db (original) +++ trunk/reactos/tools/nci/w32ksvc.db Thu Jul 26 20:39:27 2007 @@ -28,7 +28,6 @@ NtGdiCreateDIBBrush 6 NtGdiCreateDIBSection 9 NtGdiCreateEllipticRgn 4 -NtGdiCreateEllipticRgnIndirect 1 NtGdiCreateEnhMetaFile 4 NtGdiCreateHalftonePalette 1 NtGdiCreateHatchBrushInternal 3
17 years, 5 months
1
0
0
0
[tkreuzer] 27857: implement CreateEllipticRgnIndirect, calling NtGdiCreateEllipticRgn, instead of redirecting to NtGdiCreateEllipticRgnIndirect
by tkreuzer@svn.reactos.org
Author: tkreuzer Date: Thu Jul 26 20:27:47 2007 New Revision: 27857 URL:
http://svn.reactos.org/svn/reactos?rev=27857&view=rev
Log: implement CreateEllipticRgnIndirect, calling NtGdiCreateEllipticRgn, instead of redirecting to NtGdiCreateEllipticRgnIndirect Modified: trunk/reactos/dll/win32/gdi32/gdi32.def trunk/reactos/dll/win32/gdi32/objects/region.c Modified: trunk/reactos/dll/win32/gdi32/gdi32.def URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/gdi32/gdi32.def?…
============================================================================== --- trunk/reactos/dll/win32/gdi32/gdi32.def (original) +++ trunk/reactos/dll/win32/gdi32/gdi32.def Thu Jul 26 20:27:47 2007 @@ -62,7 +62,7 @@ CreateDIBitmap@24=NtGdiCreateDIBitmap@24 CreateDiscardableBitmap@12 CreateEllipticRgn@16=NtGdiCreateEllipticRgn@16 -CreateEllipticRgnIndirect@4=NtGdiCreateEllipticRgnIndirect@4 +CreateEllipticRgnIndirect@4 CreateEnhMetaFileA@16 CreateEnhMetaFileW@16 CreateFontA@56 Modified: trunk/reactos/dll/win32/gdi32/objects/region.c URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/gdi32/objects/re…
============================================================================== --- trunk/reactos/dll/win32/gdi32/objects/region.c (original) +++ trunk/reactos/dll/win32/gdi32/objects/region.c Thu Jul 26 20:27:47 2007 @@ -44,4 +44,15 @@ GdiPolyPolyRgn ); } - +HRGN +WINAPI +CreateEllipticRgnIndirect( + const RECT *prc +) +{ + if (prc) + { + return NtGdiCreateEllipticRgn(prc->left, prc->top, prc->right, prc->bottom); + } + return NULL; +}
17 years, 5 months
1
0
0
0
[dreimer] 27856: - Optimize the placement of buttons etc. - Fix the lengths for Russian RC-File. - Add Version Tag.
by dreimer@svn.reactos.org
Author: dreimer Date: Thu Jul 26 20:03:02 2007 New Revision: 27856 URL:
http://svn.reactos.org/svn/reactos?rev=27856&view=rev
Log: - Optimize the placement of buttons etc. - Fix the lengths for Russian RC-File. - Add Version Tag. Modified: trunk/tools/RosBE-Windows/Tools/config/lang/de-DE.rc trunk/tools/RosBE-Windows/Tools/config/lang/en-US.rc trunk/tools/RosBE-Windows/Tools/config/lang/ru-RU.rc trunk/tools/RosBE-Windows/Tools/config/options.rc Modified: trunk/tools/RosBE-Windows/Tools/config/lang/de-DE.rc URL:
http://svn.reactos.org/svn/reactos/trunk/tools/RosBE-Windows/Tools/config/l…
============================================================================== --- trunk/tools/RosBE-Windows/Tools/config/lang/de-DE.rc (original) +++ trunk/tools/RosBE-Windows/Tools/config/lang/de-DE.rc Thu Jul 26 20:03:02 2007 @@ -1,20 +1,20 @@ LANGUAGE LANG_GERMAN, SUBLANG_NEUTRAL -ID_DIALOG DIALOGEX DISCARDABLE 0, 0, 280, 200 +ID_DIALOG DIALOGEX DISCARDABLE 0, 0, 255, 175 STYLE DS_MODALFRAME | DS_CENTER | WS_VISIBLE | WS_POPUP | WS_CAPTION | WS_SYSMENU CAPTION "RosBE Einstellungen" FONT 8, "MS Shell Dlg" { // x, pos_hight, width, hight - LTEXT "Reactos Build Environment Einstellungen", 0x0, 10, 10, 130, 13 - LTEXT "Schriftfarbe", 0x0, 10, 35, 114, 13 + LTEXT "Reactos Build Environment Einstellungen", 0x0, 10, 10, 140, 13 + LTEXT "Schriftfarbe", 0x0, 10, 35, 60, 12 COMBOBOX IDC_FONT, 100, 35, 110, 100, WS_CHILD | WS_VISIBLE | WS_TABSTOP | WS_VSCROLL | CBS_DROPDOWNLIST - LTEXT "Hintergrundfarbe", 0x0, 10, 70, 114, 13 - COMBOBOX IDC_BACK, 100, 70, 110, 100, WS_CHILD | WS_VISIBLE | WS_TABSTOP | WS_VSCROLL | CBS_DROPDOWNLIST - CONTROL "Kompilierdauer anzeigen", ID_SHOWBUILDTIME, "button", BS_AUTOCHECKBOX | WS_CHILD | WS_VISIBLE | WS_TABSTOP, 81, 90, 110, 21 - CONTROL "Logs speichern", ID_SAVELOGS, "button", BS_AUTOCHECKBOX | WS_CHILD | WS_VISIBLE | WS_TABSTOP, 10, 90, 60, 21 - EDITTEXT ID_LOGDIR, 25, 120, 200, 13, WS_TABSTOP - PUSHBUTTON "...", ID_BROWSE, 230, 120, 30, 13, WS_TABSTOP - PUSHBUTTON "Speichern", ID_OK, 92, 160, 59, 26, WS_TABSTOP - PUSHBUTTON "Abbrechen", ID_CANCEL, 162, 160, 59, 26, WS_TABSTOP + LTEXT "Hintergrundfarbe", 0x0, 10, 60, 60, 12 + COMBOBOX IDC_BACK, 100, 60, 110, 100, WS_CHILD | WS_VISIBLE | WS_TABSTOP | WS_VSCROLL | CBS_DROPDOWNLIST + CONTROL "Kompilierdauer anzeigen", ID_SHOWBUILDTIME, "button", BS_AUTOCHECKBOX | WS_CHILD | WS_VISIBLE | WS_TABSTOP, 10, 85, 90, 21 + CONTROL "Logs speichern", ID_SAVELOGS, "button", BS_AUTOCHECKBOX | WS_CHILD | WS_VISIBLE | WS_TABSTOP, 115, 85, 60, 21 + EDITTEXT ID_LOGDIR, 10, 110, 200, 13, WS_TABSTOP + PUSHBUTTON "...", ID_BROWSE, 215, 110, 30, 13, WS_TABSTOP + PUSHBUTTON "Speichern", ID_OK, 63, 138, 59, 26, WS_TABSTOP + PUSHBUTTON "Abbrechen", ID_CANCEL, 133, 138, 59, 26, WS_TABSTOP } Modified: trunk/tools/RosBE-Windows/Tools/config/lang/en-US.rc URL:
http://svn.reactos.org/svn/reactos/trunk/tools/RosBE-Windows/Tools/config/l…
============================================================================== --- trunk/tools/RosBE-Windows/Tools/config/lang/en-US.rc (original) +++ trunk/tools/RosBE-Windows/Tools/config/lang/en-US.rc Thu Jul 26 20:03:02 2007 @@ -1,20 +1,20 @@ LANGUAGE LANG_ENGLISH, SUBLANG_ENGLISH_US -ID_DIALOG DIALOGEX DISCARDABLE 0, 0, 280, 200 +ID_DIALOG DIALOGEX DISCARDABLE 0, 0, 255, 175 STYLE DS_MODALFRAME | DS_CENTER | WS_VISIBLE | WS_POPUP | WS_CAPTION | WS_SYSMENU CAPTION "RosBE Settings" FONT 8, "MS Shell Dlg" { // x, pos_hight, width, hight - LTEXT "Reactos Build Environment Settings", 0x0, 10, 10, 130, 13 - LTEXT "Font Color", 0x0, 10, 35, 114, 13 + LTEXT "Reactos Build Environment Settings", 0x0, 10, 10, 140, 13 + LTEXT "Font Color", 0x0, 10, 35, 60, 12 COMBOBOX IDC_FONT, 100, 35, 110, 100, WS_CHILD | WS_VISIBLE | WS_TABSTOP | WS_VSCROLL | CBS_DROPDOWNLIST - LTEXT "Background Color", 0x0, 10, 70, 114, 13 - COMBOBOX IDC_BACK, 100, 70, 110, 100, WS_CHILD | WS_VISIBLE | WS_TABSTOP | WS_VSCROLL | CBS_DROPDOWNLIST - CONTROL "Show Build Time", ID_SHOWBUILDTIME, "button", BS_AUTOCHECKBOX | WS_CHILD | WS_VISIBLE | WS_TABSTOP, 81, 90, 110, 21 - CONTROL "Save Logs", ID_SAVELOGS, "button", BS_AUTOCHECKBOX | WS_CHILD | WS_VISIBLE | WS_TABSTOP, 10, 90, 60, 21 - EDITTEXT ID_LOGDIR, 25, 120, 200, 13, WS_TABSTOP - PUSHBUTTON "...", ID_BROWSE, 230, 120, 30, 13, WS_TABSTOP - PUSHBUTTON "Save", ID_OK, 92, 160, 59, 26, WS_TABSTOP - PUSHBUTTON "Cancel", ID_CANCEL, 162, 160, 59, 26, WS_TABSTOP + LTEXT "Background Color", 0x0, 10, 60, 60, 12 + COMBOBOX IDC_BACK, 100, 60, 110, 100, WS_CHILD | WS_VISIBLE | WS_TABSTOP | WS_VSCROLL | CBS_DROPDOWNLIST + CONTROL "Show Build Time", ID_SHOWBUILDTIME, "button", BS_AUTOCHECKBOX | WS_CHILD | WS_VISIBLE | WS_TABSTOP, 10, 85, 90, 21 + CONTROL "Save Logs", ID_SAVELOGS, "button", BS_AUTOCHECKBOX | WS_CHILD | WS_VISIBLE | WS_TABSTOP, 115, 85, 60, 21 + EDITTEXT ID_LOGDIR, 10, 110, 200, 13, WS_TABSTOP + PUSHBUTTON "...", ID_BROWSE, 215, 110, 30, 13, WS_TABSTOP + PUSHBUTTON "Save", ID_OK, 63, 138, 59, 26, WS_TABSTOP + PUSHBUTTON "Cancel", ID_CANCEL, 133, 138, 59, 26, WS_TABSTOP } Modified: trunk/tools/RosBE-Windows/Tools/config/lang/ru-RU.rc URL:
http://svn.reactos.org/svn/reactos/trunk/tools/RosBE-Windows/Tools/config/l…
============================================================================== --- trunk/tools/RosBE-Windows/Tools/config/lang/ru-RU.rc (original) +++ trunk/tools/RosBE-Windows/Tools/config/lang/ru-RU.rc Thu Jul 26 20:03:02 2007 @@ -1,20 +1,20 @@ LANGUAGE LANG_RUSSIAN, SUBLANG_DEFAULT -ID_DIALOG DIALOGEX DISCARDABLE 0, 0, 280, 200 +ID_DIALOG DIALOGEX DISCARDABLE 0, 0, 255, 175 STYLE DS_MODALFRAME | DS_CENTER | WS_VISIBLE | WS_POPUP | WS_CAPTION | WS_SYSMENU CAPTION "Óñòàíîâêè RosBE" FONT 8, "MS Shell Dlg" { // x, pos_hight, width, hight - LTEXT "Óñòàíîâêè ïåðåìåííûõ êîìïèëÿòîðà ÐåàêòÎÑ", 0x0, 10, 10, 130, 13 - LTEXT "Öâåò Øðèôòà", 0x0, 10, 35, 114, 13 + LTEXT "Óñòàíîâêè ïåðåìåííûõ êîìïèëÿòîðà ÐåàêòÎÑ", 0x0, 10, 10, 140, 13 + LTEXT "Öâåò Øðèôòà", 0x0, 10, 35, 60, 12 COMBOBOX IDC_FONT, 100, 35, 110, 100, WS_CHILD | WS_VISIBLE | WS_TABSTOP | WS_VSCROLL | CBS_DROPDOWNLIST - LTEXT "Öâåò Ôîíà", 0x0, 10, 70, 114, 13 - COMBOBOX IDC_BACK, 100, 70, 110, 100, WS_CHILD | WS_VISIBLE | WS_TABSTOP | WS_VSCROLL | CBS_DROPDOWNLIST - CONTROL "Ïîêàçûâàòü Âðåìÿ", ID_SHOWBUILDTIME, "button", BS_AUTOCHECKBOX | WS_CHILD | WS_VISIBLE | WS_TABSTOP, 81, 90, 110, 21 - CONTROL "Âåñòè Ëîãè", ID_SAVELOGS, "button", BS_AUTOCHECKBOX | WS_CHILD | WS_VISIBLE | WS_TABSTOP, 10, 90, 60, 21 - EDITTEXT ID_LOGDIR, 25, 120, 200, 13, WS_TABSTOP - PUSHBUTTON "...", ID_BROWSE, 230, 120, 30, 13, WS_TABSTOP - PUSHBUTTON "Ñîõðàíèòü", ID_OK, 92, 160, 59, 26, WS_TABSTOP - PUSHBUTTON "Îòìåíèòü", ID_CANCEL, 162, 160, 59, 26, WS_TABSTOP + LTEXT "Öâåò Ôîíà", 0x0, 10, 60, 60, 12 + COMBOBOX IDC_BACK, 100, 60, 110, 100, WS_CHILD | WS_VISIBLE | WS_TABSTOP | WS_VSCROLL | CBS_DROPDOWNLIST + CONTROL "Ïîêàçûâàòü Âðåìÿ", ID_SHOWBUILDTIME, "button", BS_AUTOCHECKBOX | WS_CHILD | WS_VISIBLE | WS_TABSTOP, 10, 85, 90, 21 + CONTROL "Âåñòè Ëîãè", ID_SAVELOGS, "button", BS_AUTOCHECKBOX | WS_CHILD | WS_VISIBLE | WS_TABSTOP, 115, 85, 60, 21 + EDITTEXT ID_LOGDIR, 10, 110, 200, 13, WS_TABSTOP + PUSHBUTTON "...", ID_BROWSE, 215, 110, 30, 13, WS_TABSTOP + PUSHBUTTON "Ñîõðàíèòü", ID_OK, 63, 138, 59, 26, WS_TABSTOP + PUSHBUTTON "Îòìåíèòü", ID_CANCEL, 133, 138, 59, 26, WS_TABSTOP } Modified: trunk/tools/RosBE-Windows/Tools/config/options.rc URL:
http://svn.reactos.org/svn/reactos/trunk/tools/RosBE-Windows/Tools/config/o…
============================================================================== --- trunk/tools/RosBE-Windows/Tools/config/options.rc (original) +++ trunk/tools/RosBE-Windows/Tools/config/options.rc Thu Jul 26 20:03:02 2007 @@ -3,6 +3,39 @@ ID_OPTICON ICON "reactos.ico" +VS_VERSION_INFO VERSIONINFO + FILEVERSION 1,0,0,0 + PRODUCTVERSION 1,0,0,0 + FILEFLAGSMASK 0x3fL +#ifdef _DEBUG + FILEFLAGS 0x1L +#else + FILEFLAGS 0x0L +#endif + FILEOS 0x40004L + FILETYPE 0x1L + FILESUBTYPE 0x0L +BEGIN + BLOCK "StringFileInfo" + BEGIN + BLOCK "040904b0" + BEGIN + VALUE "CompanyName", "Marteen Bosma / Daniel Reimer\0" + VALUE "FileDescription", "Config Tool for RosBE\0" + VALUE "FileVersion", "1.0.0.0\0" + VALUE "InternalName", "options\0" + VALUE "LegalCopyright", "Copyright © Daniel Reimer 2007\0" + VALUE "OriginalFilename", "options.exe\0" + VALUE "ProductName", "Config Tool for RosBE\0" + VALUE "ProductVersion", "1.0.0.0\0" + END + END + BLOCK "VarFileInfo" + BEGIN + VALUE "Translation", 0x409, 1200 + END +END + #include "lang/en-US.rc" #include "lang/de-DE.rc" #include "lang/ru-RU.rc"
17 years, 5 months
1
0
0
0
[tkreuzer] 27855: update ntgdibad.h
by tkreuzer@svn.reactos.org
Author: tkreuzer Date: Thu Jul 26 20:02:37 2007 New Revision: 27855 URL:
http://svn.reactos.org/svn/reactos?rev=27855&view=rev
Log: update ntgdibad.h Modified: trunk/reactos/include/reactos/win32k/ntgdibad.h Modified: trunk/reactos/include/reactos/win32k/ntgdibad.h URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/include/reactos/win32k/ntg…
============================================================================== --- trunk/reactos/include/reactos/win32k/ntgdibad.h (original) +++ trunk/reactos/include/reactos/win32k/ntgdibad.h Thu Jul 26 20:02:37 2007 @@ -206,15 +206,6 @@ UINT Usage ); -/* Use NtGdiCreateCompatibleBitmap */ -HBITMAP -STDCALL -NtGdiCreateDiscardableBitmap ( - HDC hDC, - INT Width, - INT Height - ); - /* Use NtGdiCreateEllipticRgn and expand the lprect-> */ HRGN STDCALL
17 years, 5 months
1
0
0
0
[tkreuzer] 27854: remove NtGdiCreateCompatibleBitmap from win32k
by tkreuzer@svn.reactos.org
Author: tkreuzer Date: Thu Jul 26 20:01:58 2007 New Revision: 27854 URL:
http://svn.reactos.org/svn/reactos?rev=27854&view=rev
Log: remove NtGdiCreateCompatibleBitmap from win32k Modified: trunk/reactos/subsystems/win32/win32k/objects/bitmaps.c Modified: trunk/reactos/subsystems/win32/win32k/objects/bitmaps.c URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/subsystems/win32/win32k/ob…
============================================================================== --- trunk/reactos/subsystems/win32/win32k/objects/bitmaps.c (original) +++ trunk/reactos/subsystems/win32/win32k/objects/bitmaps.c Thu Jul 26 20:01:58 2007 @@ -552,16 +552,6 @@ DPRINT ("\t\t%04x\n", Bmp); DC_UnlockDc(Dc); return Bmp; -} - -HBITMAP STDCALL -NtGdiCreateDiscardableBitmap( - HDC hDC, - INT Width, - INT Height) -{ - /* FIXME: this probably should do something else */ - return NtGdiCreateCompatibleBitmap(hDC, Width, Height); } BOOL STDCALL
17 years, 5 months
1
0
0
0
[tkreuzer] 27853: remove NtGdiCreateCompatibleBitmap from syscall db
by tkreuzer@svn.reactos.org
Author: tkreuzer Date: Thu Jul 26 20:01:13 2007 New Revision: 27853 URL:
http://svn.reactos.org/svn/reactos?rev=27853&view=rev
Log: remove NtGdiCreateCompatibleBitmap from syscall db Modified: trunk/reactos/tools/nci/w32ksvc.db Modified: trunk/reactos/tools/nci/w32ksvc.db URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/tools/nci/w32ksvc.db?rev=2…
============================================================================== --- trunk/reactos/tools/nci/w32ksvc.db (original) +++ trunk/reactos/tools/nci/w32ksvc.db Thu Jul 26 20:01:13 2007 @@ -27,7 +27,6 @@ NtGdiCreateDIBitmap 6 NtGdiCreateDIBBrush 6 NtGdiCreateDIBSection 9 -NtGdiCreateDiscardableBitmap 3 NtGdiCreateEllipticRgn 4 NtGdiCreateEllipticRgnIndirect 1 NtGdiCreateEnhMetaFile 4
17 years, 5 months
1
0
0
0
[tkreuzer] 27852: implement CreateDiscardableBitmap, calling NtGdiCreateCompatibleBitmap instead of redirecting to NtGdiCreateDiscardableBitmap
by tkreuzer@svn.reactos.org
Author: tkreuzer Date: Thu Jul 26 19:59:44 2007 New Revision: 27852 URL:
http://svn.reactos.org/svn/reactos?rev=27852&view=rev
Log: implement CreateDiscardableBitmap, calling NtGdiCreateCompatibleBitmap instead of redirecting to NtGdiCreateDiscardableBitmap Modified: trunk/reactos/dll/win32/gdi32/gdi32.def trunk/reactos/dll/win32/gdi32/objects/bitmap.c Modified: trunk/reactos/dll/win32/gdi32/gdi32.def URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/gdi32/gdi32.def?…
============================================================================== --- trunk/reactos/dll/win32/gdi32/gdi32.def (original) +++ trunk/reactos/dll/win32/gdi32/gdi32.def Thu Jul 26 19:59:44 2007 @@ -60,7 +60,7 @@ CreateDIBPatternBrushPt@8 CreateDIBSection@24 CreateDIBitmap@24=NtGdiCreateDIBitmap@24 -CreateDiscardableBitmap@12=NtGdiCreateDiscardableBitmap@12 +CreateDiscardableBitmap@12 CreateEllipticRgn@16=NtGdiCreateEllipticRgn@16 CreateEllipticRgnIndirect@4=NtGdiCreateEllipticRgnIndirect@4 CreateEnhMetaFileA@16 Modified: trunk/reactos/dll/win32/gdi32/objects/bitmap.c URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/gdi32/objects/bi…
============================================================================== --- trunk/reactos/dll/win32/gdi32/objects/bitmap.c (original) +++ trunk/reactos/dll/win32/gdi32/objects/bitmap.c Thu Jul 26 19:59:44 2007 @@ -101,3 +101,12 @@ } return NULL; } + +HBITMAP WINAPI +CreateDiscardableBitmap( + HDC hDC, + INT Width, + INT Height) +{ + return NtGdiCreateCompatibleBitmap(hDC, Width, Height); +}
17 years, 5 months
1
0
0
0
[tkreuzer] 27851: - implement CreateBitmapIndirect, calling NtGdicreateBitmap - NtGdiCreateBitmap: directly do the job instead of calling IntCreateBitmapIndirect - remove IntCreateBitmapIndirect - remove NtGdiCreateBitmapIndirect - update ntgdibad.h
by tkreuzer@svn.reactos.org
Author: tkreuzer Date: Thu Jul 26 19:20:29 2007 New Revision: 27851 URL:
http://svn.reactos.org/svn/reactos?rev=27851&view=rev
Log: - implement CreateBitmapIndirect, calling NtGdicreateBitmap - NtGdiCreateBitmap: directly do the job instead of calling IntCreateBitmapIndirect - remove IntCreateBitmapIndirect - remove NtGdiCreateBitmapIndirect - update ntgdibad.h Modified: trunk/reactos/dll/win32/gdi32/gdi32.def trunk/reactos/dll/win32/gdi32/objects/bitmap.c trunk/reactos/include/reactos/win32k/ntgdibad.h trunk/reactos/subsystems/win32/win32k/objects/bitmaps.c trunk/reactos/tools/nci/w32ksvc.db Modified: trunk/reactos/dll/win32/gdi32/gdi32.def URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/gdi32/gdi32.def?…
============================================================================== --- trunk/reactos/dll/win32/gdi32/gdi32.def (original) +++ trunk/reactos/dll/win32/gdi32/gdi32.def Thu Jul 26 19:20:29 2007 @@ -48,7 +48,7 @@ CopyMetaFileA@8 CopyMetaFileW@8 CreateBitmap@20=NtGdiCreateBitmap@20 -CreateBitmapIndirect@4=NtGdiCreateBitmapIndirect@4 +CreateBitmapIndirect@4 CreateBrushIndirect@4 CreateColorSpaceA@4 CreateColorSpaceW@4 Modified: trunk/reactos/dll/win32/gdi32/objects/bitmap.c URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/gdi32/objects/bi…
============================================================================== --- trunk/reactos/dll/win32/gdi32/objects/bitmap.c (original) +++ trunk/reactos/dll/win32/gdi32/objects/bitmap.c Thu Jul 26 19:20:29 2007 @@ -84,3 +84,20 @@ return NtGdiBitBlt(hdcDest, nXOriginDest, nYOriginDest, nWidthDest, nHeightDest, hdcSrc, nXOriginSrc, nYOriginSrc, dwRop, 0, 0); } + +/* + * @implemented + */ +HBITMAP WINAPI +CreateBitmapIndirect(const BITMAP *pbm) +{ + if (pbm) + { + return NtGdiCreateBitmap(pbm->bmWidth, + pbm->bmHeight, + pbm->bmPlanes, + pbm->bmBitsPixel, + pbm->bmBits); + } + return NULL; +} Modified: trunk/reactos/include/reactos/win32k/ntgdibad.h URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/include/reactos/win32k/ntg…
============================================================================== --- trunk/reactos/include/reactos/win32k/ntgdibad.h (original) +++ trunk/reactos/include/reactos/win32k/ntgdibad.h Thu Jul 26 19:20:29 2007 @@ -194,13 +194,6 @@ LPCWSTR File ); -/* Use NtGdiCreateBitmap and expand the pbm-> */ -HBITMAP -STDCALL -NtGdiCreateBitmapIndirect ( - CONST BITMAP * BM - ); - /* Use NtGdiCreateDIBitmapInternal */ HBITMAP STDCALL Modified: trunk/reactos/subsystems/win32/win32k/objects/bitmaps.c URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/subsystems/win32/win32k/ob…
============================================================================== --- trunk/reactos/subsystems/win32/win32k/objects/bitmaps.c (original) +++ trunk/reactos/subsystems/win32/win32k/objects/bitmaps.c Thu Jul 26 19:20:29 2007 @@ -400,36 +400,42 @@ return Ret; } -static HBITMAP -IntCreateBitmapIndirect(CONST BITMAP *BM) +HBITMAP STDCALL +NtGdiCreateBitmap( + INT Width, + INT Height, + UINT Planes, + UINT BitsPixel, + IN OPTIONAL LPBYTE Bits) { PBITMAPOBJ bmp; HBITMAP hBitmap; SIZEL Size; - UINT BitsPixel; + LONG WidthBytes; /* NOTE: Windows also doesn't store nr. of planes separately! */ - BitsPixel = BM->bmBitsPixel * BM->bmPlanes; + BitsPixel = BitsPixel * Planes; + WidthBytes = BITMAPOBJ_GetWidthBytes(Width, BitsPixel); /* Check parameters */ - if (0 == BM->bmHeight || 0 == BM->bmWidth) + if (0 == Height || 0 == Width) { Size.cx = Size.cy = 1; } else { - Size.cx = abs(BM->bmWidth); - Size.cy = abs(BM->bmHeight); + Size.cx = abs(Width); + Size.cy = abs(Height); } /* Create the bitmap object. */ - hBitmap = IntCreateBitmap(Size, BM->bmWidthBytes, + hBitmap = IntCreateBitmap(Size, WidthBytes, BitmapFormat(BitsPixel, BI_RGB), - (BM->bmHeight < 0 ? BMF_TOPDOWN : 0) | - (NULL == BM->bmBits ? 0 : BMF_NOZEROINIT), NULL); + (Height < 0 ? BMF_TOPDOWN : 0) | + (NULL == Bits ? 0 : BMF_NOZEROINIT), NULL); if (!hBitmap) { - DPRINT("NtGdiCreateBitmap: IntCreateBitmap returned 0\n"); + DPRINT("NtGdiCreateBitmap: returned 0\n"); return 0; } @@ -452,33 +458,12 @@ * to us it should be safe. */ - if (NULL != BM->bmBits) + if (NULL != Bits) { - NtGdiSetBitmapBits(hBitmap, bmp->SurfObj.cjBits, BM->bmBits); + NtGdiSetBitmapBits(hBitmap, bmp->SurfObj.cjBits, Bits); } return hBitmap; -} - -HBITMAP STDCALL -NtGdiCreateBitmap( - INT Width, - INT Height, - UINT Planes, - UINT BitsPixel, - IN OPTIONAL LPBYTE Bits) -{ - BITMAP BM; - - BM.bmType = 0; - BM.bmWidth = Width; - BM.bmHeight = Height; - BM.bmWidthBytes = BITMAPOBJ_GetWidthBytes(Width, Planes * BitsPixel); - BM.bmPlanes = Planes; - BM.bmBitsPixel = BitsPixel; - BM.bmBits = Bits; - - return IntCreateBitmapIndirect(&BM); } BOOL INTERNAL_CALL @@ -567,35 +552,6 @@ DPRINT ("\t\t%04x\n", Bmp); DC_UnlockDc(Dc); return Bmp; -} - -HBITMAP STDCALL -NtGdiCreateBitmapIndirect(CONST BITMAP *UnsafeBM) -{ - BITMAP BM; - NTSTATUS Status = STATUS_SUCCESS; - - _SEH_TRY - { - ProbeForRead(UnsafeBM, sizeof(BITMAP), 1); - BM = *UnsafeBM; - if (NULL != BM.bmBits) - { - ProbeForRead(BM.bmBits, BM.bmWidthBytes * abs(BM.bmHeight), 2); - } - } - _SEH_HANDLE - { - Status = _SEH_GetExceptionCode(); - } - _SEH_END; - if(!NT_SUCCESS(Status)) - { - SetLastNtError(Status); - return NULL; - } - - return IntCreateBitmapIndirect(&BM); } HBITMAP STDCALL @@ -1546,7 +1502,11 @@ if (Bitmap->SurfObj.lDelta >= 0) bm.bmHeight = -bm.bmHeight; - res = IntCreateBitmapIndirect(&bm); + res = NtGdiCreateBitmap(bm.bmWidth, + bm.bmHeight, + bm.bmPlanes, + bm.bmBitsPixel, + bm.bmBits); if(res) { PBYTE buf; Modified: trunk/reactos/tools/nci/w32ksvc.db URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/tools/nci/w32ksvc.db?rev=2…
============================================================================== --- trunk/reactos/tools/nci/w32ksvc.db (original) +++ trunk/reactos/tools/nci/w32ksvc.db Thu Jul 26 19:20:29 2007 @@ -21,7 +21,6 @@ NtGdiCopyEnhMetaFile 2 NtGdiCopyMetaFile 2 NtGdiCreateBitmap 5 -NtGdiCreateBitmapIndirect 1 NtGdiCreateColorSpace 1 NtGdiCreateCompatibleBitmap 3 NtGdiCreateCompatibleDC 1
17 years, 5 months
1
0
0
0
[hpoussin] 27850: Don't abuse debug system
by hpoussin@svn.reactos.org
Author: hpoussin Date: Thu Jul 26 19:13:36 2007 New Revision: 27850 URL:
http://svn.reactos.org/svn/reactos?rev=27850&view=rev
Log: Don't abuse debug system Modified: trunk/reactos/base/applications/winhelp/winhelp.h trunk/reactos/base/applications/winhelp/winhelp.rbuild trunk/reactos/base/system/winlogon/sas.c trunk/reactos/base/system/winlogon/screensaver.c trunk/reactos/base/system/winlogon/setup.c trunk/reactos/base/system/winlogon/winlogon.c trunk/reactos/base/system/winlogon/winlogon.rbuild trunk/reactos/base/system/winlogon/wlx.c trunk/reactos/dll/win32/advapi32/misc/shutdown.c trunk/reactos/dll/win32/advapi32/reg/reg.c trunk/reactos/dll/win32/advapi32/token/token.c trunk/reactos/dll/win32/icmp/icmp.rbuild trunk/reactos/dll/win32/iphlpapi/ifenum_reactos.c trunk/reactos/dll/win32/iphlpapi/iphlpapi_main.c trunk/reactos/dll/win32/iphlpapi/ipstats_reactos.c trunk/reactos/dll/win32/iphlpapi/route_reactos.c trunk/reactos/dll/win32/kernel32/kernel32.rbuild trunk/reactos/dll/win32/kernel32/misc/lcformat.c trunk/reactos/dll/win32/msgina/gui.c trunk/reactos/dll/win32/msgina/msgina.c trunk/reactos/dll/win32/msgina/msgina.rbuild trunk/reactos/dll/win32/msgina/tui.c trunk/reactos/dll/win32/newdev/stubs.c trunk/reactos/dll/win32/rpcrt4/ndr_contexth.c trunk/reactos/dll/win32/shell32/shfldr_fs.c trunk/reactos/dll/win32/shell32/shv_bg_cmenu.c trunk/reactos/dll/win32/user32/controls/button.c trunk/reactos/dll/win32/user32/controls/listbox.c trunk/reactos/dll/win32/user32/controls/scrollbar.c trunk/reactos/dll/win32/user32/include/user32.h trunk/reactos/dll/win32/user32/misc/desktop.c trunk/reactos/dll/win32/user32/misc/display.c trunk/reactos/dll/win32/user32/misc/object.c trunk/reactos/dll/win32/user32/windows/bitmap.c trunk/reactos/dll/win32/user32/windows/class.c trunk/reactos/dll/win32/user32/windows/clipboard.c trunk/reactos/dll/win32/user32/windows/defwnd.c trunk/reactos/dll/win32/user32/windows/dialog.c trunk/reactos/dll/win32/user32/windows/icon.c trunk/reactos/dll/win32/user32/windows/input.c trunk/reactos/dll/win32/user32/windows/menu.c trunk/reactos/dll/win32/user32/windows/message.c trunk/reactos/dll/win32/user32/windows/window.c trunk/reactos/dll/win32/user32/windows/winpos.c trunk/reactos/dll/win32/winspool/winspool.rbuild trunk/reactos/lib/sdk/crt/wine/heap.c trunk/reactos/lib/sdk/crt/wine/thread.c trunk/reactos/lib/sdk/crt/wine/undname.c trunk/reactos/subsystems/win32/win32k/ntuser/class.c trunk/reactos/subsystems/win32/win32k/ntuser/desktop.c Modified: trunk/reactos/base/applications/winhelp/winhelp.h URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/base/applications/winhelp/…
============================================================================== --- trunk/reactos/base/applications/winhelp/winhelp.h (original) +++ trunk/reactos/base/applications/winhelp/winhelp.h Thu Jul 26 19:13:36 2007 @@ -32,8 +32,6 @@ #define SHADOW_DY 10 #define BUTTON_CX 6 #define BUTTON_CY 6 - -#define WINE_WARN DPRINT #ifndef RC_INVOKED Modified: trunk/reactos/base/applications/winhelp/winhelp.rbuild URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/base/applications/winhelp/…
============================================================================== --- trunk/reactos/base/applications/winhelp/winhelp.rbuild (original) +++ trunk/reactos/base/applications/winhelp/winhelp.rbuild Thu Jul 26 19:13:36 2007 @@ -5,6 +5,7 @@ <define name="__USE_W32API" /> <define name="_WIN32_IE">0x0600</define> <define name="_WIN32_WINNT">0x0501</define> + <library>wine</library> <library>kernel32</library> <library>user32</library> <library>gdi32</library> @@ -13,14 +14,12 @@ <library>advapi32</library> <library>shell32</library> <library>comctl32</library> - <compilationunit name="unit.c"> - <file>callback.c</file> - <file>hlpfile.c</file> - <file>macro.c</file> - <file>string.c</file> - <file>winhelp.c</file> - <file>lex.yy.c</file> - </compilationunit> + <file>callback.c</file> + <file>hlpfile.c</file> + <file>macro.c</file> + <file>string.c</file> + <file>winhelp.c</file> + <file>lex.yy.c</file> <file>rsrc.rc</file> </module> </rbuild> Modified: trunk/reactos/base/system/winlogon/sas.c URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/base/system/winlogon/sas.c…
============================================================================== --- trunk/reactos/base/system/winlogon/sas.c (original) +++ trunk/reactos/base/system/winlogon/sas.c Thu Jul 26 19:13:36 2007 @@ -1,7 +1,7 @@ /* * COPYRIGHT: See COPYING in the top level directory - * PROJECT: ReactOS kernel - * FILE: services/winlogon/sas.c + * PROJECT: ReactOS Winlogon + * FILE: base/system/winlogon/sas.c * PURPOSE: Secure Attention Sequence * PROGRAMMERS: Thomas Weidenmueller (w3seek(a)users.sourceforge.net) * Hervé Poussineau (hpoussin(a)reactos.org) @@ -9,10 +9,16 @@ * Created 28/03/2004 */ +/* INCLUDES *****************************************************************/ + #include "winlogon.h" //#define YDEBUG #include <wine/debug.h> + +WINE_DEFAULT_DEBUG_CHANNEL(winlogon); + +/* GLOBALS ******************************************************************/ #define WINLOGON_SAS_CLASS L"SAS Window class" #define WINLOGON_SAS_TITLE L"SAS window" @@ -23,6 +29,8 @@ #ifdef __USE_W32API extern BOOL STDCALL SetLogonNotifyWindow(HWND Wnd, HWINSTA WinSta); #endif + +/* FUNCTIONS ****************************************************************/ static BOOL StartTaskManager( Modified: trunk/reactos/base/system/winlogon/screensaver.c URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/base/system/winlogon/scree…
============================================================================== --- trunk/reactos/base/system/winlogon/screensaver.c (original) +++ trunk/reactos/base/system/winlogon/screensaver.c Thu Jul 26 19:13:36 2007 @@ -1,15 +1,21 @@ /* * COPYRIGHT: See COPYING in the top level directory - * PROJECT: ReactOS kernel - * FILE: services/winlogon/screensaver.c + * PROJECT: ReactOS Winlogon + * FILE: base/system/winlogon/screensaver.c * PURPOSE: Screen saver management * PROGRAMMERS: Hervé Poussineau (hpoussin(a)reactos.org) */ +/* INCLUDES *****************************************************************/ + #include "winlogon.h" #define YDEBUG #include <wine/debug.h> + +WINE_DEFAULT_DEBUG_CHANNEL(winlogon); + +/* FUNCTIONS ****************************************************************/ #ifndef USE_GETLASTINPUTINFO static LRESULT CALLBACK Modified: trunk/reactos/base/system/winlogon/setup.c URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/base/system/winlogon/setup…
============================================================================== --- trunk/reactos/base/system/winlogon/setup.c (original) +++ trunk/reactos/base/system/winlogon/setup.c Thu Jul 26 19:13:36 2007 @@ -1,36 +1,19 @@ /* - * ReactOS kernel - * 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., 675 Mass Ave, Cambridge, MA 02139, USA. - */ -/* $Id$ * COPYRIGHT: See COPYING in the top level directory - * PROJECT: ReactOS winlogon - * FILE: subsys/system/winlogon/setup.h + * PROJECT: ReactOS Winlogon + * FILE: base/system/winlogon/setup.c * PURPOSE: Setup support functions - * PROGRAMMER: Eric Kohl + * PROGRAMMERS: Eric Kohl */ /* INCLUDES *****************************************************************/ #include "winlogon.h" -#define NDEBUG -#include <debug.h> +//#define YDEBUG +#include <wine/debug.h> +WINE_DEFAULT_DEBUG_CHANNEL(winlogon); /* FUNCTIONS ****************************************************************/ @@ -116,7 +99,7 @@ DWORD dwSize; DWORD dwExitCode; - DPRINT ("RunSetup() called\n"); + TRACE ("RunSetup() called\n"); dwError = RegOpenKeyExW (HKEY_LOCAL_MACHINE, L"SYSTEM\\Setup", @@ -154,7 +137,7 @@ return FALSE; } - DPRINT ("Winlogon: Should run '%S' now.\n", CommandLine); + TRACE ("Should run '%S' now.\n", CommandLine); StartupInfo.cb = sizeof(StartupInfo); StartupInfo.lpReserved = NULL; @@ -164,7 +147,7 @@ StartupInfo.cbReserved2 = 0; StartupInfo.lpReserved2 = 0; - DPRINT ("Winlogon: Creating new setup process\n"); + TRACE ("Creating new setup process\n"); Result = CreateProcessW (NULL, CommandLine, @@ -178,7 +161,7 @@ &ProcessInformation); if (!Result) { - DPRINT ("Winlogon: Failed to run setup process\n"); + TRACE ("Failed to run setup process\n"); return FALSE; } @@ -195,7 +178,7 @@ SetSetupType (0); } - DPRINT ("Winlogon: RunSetup() done.\n"); + TRACE ("RunSetup() done.\n"); return TRUE; } Modified: trunk/reactos/base/system/winlogon/winlogon.c URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/base/system/winlogon/winlo…
============================================================================== --- trunk/reactos/base/system/winlogon/winlogon.c (original) +++ trunk/reactos/base/system/winlogon/winlogon.c Thu Jul 26 19:13:36 2007 @@ -1,7 +1,7 @@ /* * COPYRIGHT: See COPYING in the top level directory * PROJECT: ReactOS Winlogon - * FILE: services/winlogon/winlogon.c + * FILE: base/system/winlogon/winlogon.c * PURPOSE: Logon * PROGRAMMERS: Thomas Weidenmueller (w3seek(a)users.sourceforge.net) * Filip Navara @@ -9,10 +9,13 @@ */ /* INCLUDES *****************************************************************/ + #include "winlogon.h" //#define YDEBUG #include <wine/debug.h> + +WINE_DEFAULT_DEBUG_CHANNEL(winlogon); /* GLOBALS ******************************************************************/ @@ -425,7 +428,7 @@ if (!StartLsass()) { - DPRINT1("WL: Failed to start lsass.exe service (error %lu)\n", GetLastError()); + ERR("WL: Failed to start lsass.exe service (error %lu)\n", GetLastError()); NtRaiseHardError(STATUS_SYSTEM_PROCESS_TERMINATED, 0, 0, 0, OptionOk, &HardErrorResponse); ExitProcess(1); } Modified: trunk/reactos/base/system/winlogon/winlogon.rbuild URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/base/system/winlogon/winlo…
============================================================================== --- trunk/reactos/base/system/winlogon/winlogon.rbuild (original) +++ trunk/reactos/base/system/winlogon/winlogon.rbuild Thu Jul 26 19:13:36 2007 @@ -4,6 +4,7 @@ <include base="winlogon">.</include> <define name="__USE_W32API" /> <define name="_WIN32_WINNT">0x0501</define> + <library>wine</library> <library>ntdll</library> <library>kernel32</library> <library>user32</library> Modified: trunk/reactos/base/system/winlogon/wlx.c URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/base/system/winlogon/wlx.c…
============================================================================== --- trunk/reactos/base/system/winlogon/wlx.c (original) +++ trunk/reactos/base/system/winlogon/wlx.c Thu Jul 26 19:13:36 2007 @@ -1,7 +1,7 @@ /* * COPYRIGHT: See COPYING in the top level directory * PROJECT: ReactOS Winlogon - * FILE: services/winlogon/wlx.c + * FILE: base/system/winlogon/wlx.c * PURPOSE: Logon * PROGRAMMERS: Thomas Weidenmueller (w3seek(a)users.sourceforge.net) * Ge van Geldorp (gvg(a)reactos.com) @@ -15,8 +15,14 @@ //#define YDEBUG #include <wine/debug.h> +WINE_DEFAULT_DEBUG_CHANNEL(winlogon); + +/* GLOBALS ******************************************************************/ + static DLGPROC PreviousWindowProc; static UINT_PTR IdTimer; + +/* FUNCTIONS ****************************************************************/ static BOOL CALLBACK DefaultWlxWindowProc( Modified: trunk/reactos/dll/win32/advapi32/misc/shutdown.c URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/advapi32/misc/sh…
============================================================================== --- trunk/reactos/dll/win32/advapi32/misc/shutdown.c (original) +++ trunk/reactos/dll/win32/advapi32/misc/shutdown.c Thu Jul 26 19:13:36 2007 @@ -11,7 +11,7 @@ */ #include <advapi32.h> -#include <wine/debug.h> +#include <debug.h> #define USZ {0,0,0} @@ -150,9 +150,7 @@ DWORD dwTimeout, BOOL bForceAppsClosed, BOOL bRebootAfterShutdown, DWORD dwReason) { - FIXME("%s %s %ld %d %d %ld\n", debugstr_w(lpMachineName), - debugstr_w(lpMessage), dwTimeout, bForceAppsClosed, - bRebootAfterShutdown, dwReason); + UNIMPLEMENTED; return TRUE; } Modified: trunk/reactos/dll/win32/advapi32/reg/reg.c URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/advapi32/reg/reg…
============================================================================== --- trunk/reactos/dll/win32/advapi32/reg/reg.c (original) +++ trunk/reactos/dll/win32/advapi32/reg/reg.c Thu Jul 26 19:13:36 2007 @@ -16,6 +16,8 @@ #include <advapi32.h> #define NDEBUG #include <wine/debug.h> + +WINE_DEFAULT_DEBUG_CHANNEL(advapi32); /* DEFINES ******************************************************************/ @@ -1668,7 +1670,7 @@ LONG WINAPI RegDisableReflectionKey(IN HKEY hBase) { - DPRINT1("RegDisableReflectionKey(0x%p) UNIMPLEMENTED!\n", hBase); + FIXME("RegDisableReflectionKey(0x%p) UNIMPLEMENTED!\n", hBase); return ERROR_CALL_NOT_IMPLEMENTED; } @@ -1681,7 +1683,7 @@ LONG WINAPI RegEnableReflectionKey(IN HKEY hBase) { - DPRINT1("RegEnableReflectionKey(0x%p) UNIMPLEMENTED!\n", hBase); + FIXME("RegEnableReflectionKey(0x%p) UNIMPLEMENTED!\n", hBase); return ERROR_CALL_NOT_IMPLEMENTED; } @@ -3697,8 +3699,8 @@ RegQueryReflectionKey(IN HKEY hBase, OUT BOOL* bIsReflectionDisabled) { - DPRINT1("RegQueryReflectionKey(0x%p, 0x%p) UNIMPLEMENTED!\n", - hBase, bIsReflectionDisabled); + FIXME("RegQueryReflectionKey(0x%p, 0x%p) UNIMPLEMENTED!\n", + hBase, bIsReflectionDisabled); return ERROR_CALL_NOT_IMPLEMENTED; } @@ -4860,8 +4862,8 @@ IN ULONG Reserved, IN LPCWSTR pszDirectory OPTIONAL) { - DPRINT1("RegLoadMUIStringW(0x%p, 0x%p, 0x%p, 0x%x, 0x%x, 0x%p) UNIMPLEMENTED!\n", - hKey, pszValue, pszOutBuf, cbOutBuf, Reserved, pszDirectory); + FIXME("RegLoadMUIStringW(0x%p, 0x%p, 0x%p, 0x%x, 0x%x, 0x%p) UNIMPLEMENTED!\n", + hKey, pszValue, pszOutBuf, cbOutBuf, Reserved, pszDirectory); return ERROR_CALL_NOT_IMPLEMENTED; } @@ -4879,8 +4881,8 @@ IN ULONG Reserved, IN LPCSTR pszDirectory OPTIONAL) { - DPRINT1("RegLoadMUIStringA(0x%p, 0x%p, 0x%p, 0x%x, 0x%x, 0x%p) UNIMPLEMENTED!\n", - hKey, pszValue, pszOutBuf, cbOutBuf, Reserved, pszDirectory); + FIXME("RegLoadMUIStringA(0x%p, 0x%p, 0x%p, 0x%x, 0x%x, 0x%p) UNIMPLEMENTED!\n", + hKey, pszValue, pszOutBuf, cbOutBuf, Reserved, pszDirectory); return ERROR_CALL_NOT_IMPLEMENTED; } Modified: trunk/reactos/dll/win32/advapi32/token/token.c URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/advapi32/token/t…
============================================================================== --- trunk/reactos/dll/win32/advapi32/token/token.c (original) +++ trunk/reactos/dll/win32/advapi32/token/token.c Thu Jul 26 19:13:36 2007 @@ -13,6 +13,8 @@ #define NDEBUG #include <wine/debug.h> #include <debug.h> + +WINE_DEFAULT_DEBUG_CHANNEL(advapi32); /* * @implemented Modified: trunk/reactos/dll/win32/icmp/icmp.rbuild URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/icmp/icmp.rbuild…
============================================================================== --- trunk/reactos/dll/win32/icmp/icmp.rbuild (original) +++ trunk/reactos/dll/win32/icmp/icmp.rbuild Thu Jul 26 19:13:36 2007 @@ -4,6 +4,7 @@ <include base="ReactOS">include/reactos/wine</include> <define name="__USE_W32API" /> <define name="_WIN32_WINNT">0x501</define> + <library>wine</library> <library>kernel32</library> <library>ws2_32</library> <library>wine</library> Modified: trunk/reactos/dll/win32/iphlpapi/ifenum_reactos.c URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/iphlpapi/ifenum_…
============================================================================== --- trunk/reactos/dll/win32/iphlpapi/ifenum_reactos.c (original) +++ trunk/reactos/dll/win32/iphlpapi/ifenum_reactos.c Thu Jul 26 19:13:36 2007 @@ -43,6 +43,8 @@ //#define NDEBUG #include "debug.h" +WINE_DEFAULT_DEBUG_CHANNEL(iphlpapi); + /* Globals */ const PWCHAR TcpFileName = L"\\Device\\Tcp"; @@ -96,7 +98,7 @@ * string we provided */ if (!NT_SUCCESS(status)) { - DPRINT1("openTcpFile for <%wZ> failed: 0x%lx\n", &fileName, status); + ERR("openTcpFile for <%wZ> failed: 0x%lx\n", &fileName, status); } return status; @@ -172,7 +174,7 @@ if(!NT_SUCCESS(status)) { - DPRINT("IOCTL Failed\n"); + ERR("IOCTL Failed\n"); return STATUS_UNSUCCESSFUL; } @@ -181,7 +183,7 @@ if( !entitySet ) { status = STATUS_INSUFFICIENT_RESOURCES; - DPRINT("TdiGetSetOfThings() => %08x\n", (int)status); + WARN("TdiGetSetOfThings() => %08x\n", (int)status); return status; } @@ -203,11 +205,11 @@ if(!status) { - DPRINT("IOCTL Failed\n"); + WARN("IOCTL Failed\n"); return STATUS_UNSUCCESSFUL; } - DPRINT("TdiGetSetOfThings(): Array changed size: %d -> %d.\n", + WARN("TdiGetSetOfThings(): Array changed size: %d -> %d.\n", arraySize, allocationSizeForEntityArray ); } while( TRUE ); /* We break if the array we received was the size we * expected. Therefore, we got here because it wasn't */ @@ -215,7 +217,7 @@ *numEntries = (arraySize - fixedPart) / entrySize; *tdiEntitySet = entitySet; - DPRINT("TdiGetSetOfThings() => Success: %d things @ %08x\n", + WARN("TdiGetSetOfThings() => Success: %d things @ %08x\n", (int)*numEntries, (int)entitySet); return STATUS_SUCCESS; @@ -231,7 +233,7 @@ NTSTATUS status = STATUS_SUCCESS; DWORD returnSize; - DPRINT("TdiGetMibForIfEntity(tcpFile %x,entityId %x)\n", + WARN("TdiGetMibForIfEntity(tcpFile %x,entityId %x)\n", (int)tcpFile, (int)ent->tei_instance); req.ID.toi_class = INFO_CLASS_PROTOCOL; @@ -250,11 +252,11 @@ if(!status) { - DPRINT("IOCTL Failed\n"); + WARN("IOCTL Failed\n"); return STATUS_UNSUCCESSFUL; } - DPRINT("TdiGetMibForIfEntity() => {\n" + TRACE("TdiGetMibForIfEntity() => {\n" " if_index ....................... %x\n" " if_type ........................ %x\n" " if_mtu ......................... %d\n" @@ -265,7 +267,7 @@ entry->ent.if_mtu, entry->ent.if_speed, entry->ent.if_physaddrlen); - DPRINT(" if_physaddr .................... %02x:%02x:%02x:%02x:%02x:%02x\n" + TRACE(" if_physaddr .................... %02x:%02x:%02x:%02x:%02x:%02x\n" " if_descr ....................... %s\n", entry->ent.if_physaddr[0] & 0xff, entry->ent.if_physaddr[1] & 0xff, @@ -274,7 +276,7 @@ entry->ent.if_physaddr[4] & 0xff, entry->ent.if_physaddr[5] & 0xff, entry->ent.if_descr); - DPRINT("} status %08x\n",status); + TRACE("} status %08x\n",status); return status; } @@ -296,7 +298,7 @@ int i; for( i = 0; i < *numEntities; i++ ) { - DPRINT("%-4d: %04x:%08x\n", + TRACE("%-4d: %04x:%08x\n", i, (*entitySet)[i].tei_entity, (*entitySet)[i].tei_instance ); @@ -328,7 +330,7 @@ NTSTATUS status = STATUS_SUCCESS; DWORD returnSize; - DPRINT("TdiGetEntityType(tcpFile %x,entityId %x)\n", + TRACE("TdiGetEntityType(tcpFile %x,entityId %x)\n", (DWORD)tcpFile, ent->tei_instance); req.ID.toi_class = INFO_CLASS_GENERIC; @@ -346,7 +348,7 @@ &returnSize, NULL ); - DPRINT("TdiGetEntityType() => %08x %08x\n", *type, status); + TRACE("TdiGetEntityType() => %08x %08x\n", *type, status); return (status ? STATUS_SUCCESS : STATUS_UNSUCCESSFUL); } @@ -386,7 +388,7 @@ int curInterf = 0, i; if (!NT_SUCCESS(status)) { - DPRINT1("getInterfaceInfoSet: tdiGetEntityIDSet() failed: 0x%lx\n", status); + ERR("getInterfaceInfoSet: tdiGetEntityIDSet() failed: 0x%lx\n", status); return status; } @@ -401,7 +403,7 @@ ( tcpFile, &entIDSet[i], &infoSetInt[curInterf].if_info ); - DPRINT("tdiGetMibForIfEntity: %08x\n", status); + TRACE("tdiGetMibForIfEntity: %08x\n", status); if( NT_SUCCESS(status) ) { DWORD numAddrs; IPAddrEntry *addrs; @@ -414,7 +416,7 @@ status = tdiGetIpAddrsForIpEntity ( tcpFile, &ip_ent, &addrs, &numAddrs ); for( j = 0; j < numAddrs && NT_SUCCESS(status); j++ ) { - DPRINT("ADDR %d: index %d (target %d)\n", j, addrs[j].iae_index, infoSetInt[curInterf].if_info.ent.if_index); + TRACE("ADDR %d: index %d (target %d)\n", j, addrs[j].iae_index, infoSetInt[curInterf].if_info.ent.if_index); if( addrs[j].iae_index == infoSetInt[curInterf].if_info.ent.if_index ) { memcpy( &infoSetInt[curInterf].ip_addr, @@ -452,14 +454,14 @@ status = openTcpFile( &tcpFile ); if( !NT_SUCCESS(status) ) { - DPRINT("getNumInterfaces: failed %08x\n", status ); + WARN("getNumInterfaces: failed %08x\n", status ); return 0; } status = tdiGetEntityIDSet( tcpFile, &entitySet, &numEntities ); if( !NT_SUCCESS(status) ) { - DPRINT("getNumInterfaces: failed %08x\n", status ); + WARN("getNumInterfaces: failed %08x\n", status ); return 0; } @@ -470,7 +472,7 @@ numInterfaces++; } - DPRINT("getNumInterfaces: success: %d %d %08x\n", + TRACE("getNumInterfaces: success: %d %d %08x\n", onlyNonLoopback, numInterfaces, status ); closeTcpFile( tcpFile ); @@ -507,7 +509,7 @@ } } - DPRINT("Index %d is entity #%d - %04x:%08x\n", index, i, + TRACE("Index %d is entity #%d - %04x:%08x\n", index, i, entitySet[i].tei_entity, entitySet[i].tei_instance ); if( numInterfaces == index && i < numEntities ) { @@ -619,7 +621,7 @@ if( NT_SUCCESS(status) ) { status = getInterfaceInfoSet( tcpFile, &ifInfo, &numInterfaces ); - DPRINT("InterfaceInfoSet: %08x, %04x:%08x\n", + TRACE("InterfaceInfoSet: %08x, %04x:%08x\n", status, ifInfo->entity_id.tei_entity, ifInfo->entity_id.tei_instance); @@ -632,13 +634,13 @@ if (ret) { ret->numAllocated = numInterfaces; - DPRINT("NumInterfaces = %d\n", numInterfaces); + TRACE("NumInterfaces = %d\n", numInterfaces); for( i = 0; i < numInterfaces; i++ ) { - DPRINT("Examining interface %d\n", i); + TRACE("Examining interface %d\n", i); if( !nonLoopbackOnly || !isLoopback( tcpFile, &ifInfo[i].entity_id ) ) { - DPRINT("Interface %d matches (%d)\n", i, curInterface); + TRACE("Interface %d matches (%d)\n", i, curInterface); ret->indexes[curInterface++] = ifInfo[i].if_info.ent.if_index; } @@ -678,7 +680,7 @@ getInterfaceInfoByIndex( tcpFile, index, ifInfo ); if (!NT_SUCCESS(status)) { - DPRINT1("getIPAddrEntryForIf returning %lx\n", status); + ERR("getIPAddrEntryForIf returning %lx\n", status); } return status; @@ -797,7 +799,7 @@ IFInfo info; NTSTATUS status = openTcpFile( &tcpFile ); - DPRINT("Called.\n"); + TRACE("Called.\n"); if( NT_SUCCESS(status) ) { status = getInterfaceInfoByName( tcpFile, (char *)name, &info ); @@ -808,7 +810,7 @@ sizeof(info.if_info) ); } - DPRINT("entry->bDescr = %s\n", entry->bDescr); + TRACE("entry->bDescr = %s\n", entry->bDescr); closeTcpFile( tcpFile ); } @@ -822,7 +824,7 @@ IFInfo info; NTSTATUS status = openTcpFile( &tcpFile ); - DPRINT("Called.\n"); + TRACE("Called.\n"); if( NT_SUCCESS(status) ) { status = getInterfaceInfoByIndex( tcpFile, index, &info ); @@ -860,7 +862,7 @@ IP_SET_DATA Data; IO_STATUS_BLOCK Iosb; - DPRINT("Called.\n"); + TRACE("Called.\n"); if( !NT_SUCCESS(status) ) return status; @@ -887,7 +889,7 @@ } if (!NT_SUCCESS(status)) { - DPRINT1("addIPAddress for if %d returning 0x%lx\n", IfIndex, status); + ERR("addIPAddress for if %d returning 0x%lx\n", IfIndex, status); } return status; @@ -900,7 +902,7 @@ NTSTATUS status = openTcpFile( &tcpFile ); IO_STATUS_BLOCK Iosb; - DPRINT("Called.\n"); + TRACE("Called.\n"); if( !NT_SUCCESS(status) ) return status; @@ -918,7 +920,7 @@ closeTcpFile( tcpFile ); if (!NT_SUCCESS(status)) { - DPRINT1("deleteIpAddress(%lu) returning 0x%lx\n", NteContext, status); + ERR("deleteIpAddress(%lu) returning 0x%lx\n", NteContext, status); } return status; Modified: trunk/reactos/dll/win32/iphlpapi/iphlpapi_main.c URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/iphlpapi/iphlpap…
============================================================================== --- trunk/reactos/dll/win32/iphlpapi/iphlpapi_main.c (original) +++ trunk/reactos/dll/win32/iphlpapi/iphlpapi_main.c Thu Jul 26 19:13:36 2007 @@ -946,7 +946,7 @@ ret = ERROR_INVALID_PARAMETER; else { DWORD numNonLoopbackInterfaces = getNumNonLoopbackInterfaces(); - DPRINT("numNonLoopbackInterfaces == 0x%x\n", numNonLoopbackInterfaces); + TRACE("numNonLoopbackInterfaces == 0x%x\n", numNonLoopbackInterfaces); ULONG size = sizeof(IP_INTERFACE_INFO) + (numNonLoopbackInterfaces) * sizeof(IP_ADAPTER_INDEX_MAP); @@ -956,7 +956,7 @@ } else { InterfaceIndexTable *table = getNonLoopbackInterfaceIndexTable(); - DPRINT("table->numIndexes == 0x%x\n", table->numIndexes); + TRACE("table->numIndexes == 0x%x\n", table->numIndexes); if (table) { size = sizeof(IP_INTERFACE_INFO) + (table->numIndexes) * Modified: trunk/reactos/dll/win32/iphlpapi/ipstats_reactos.c URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/iphlpapi/ipstats…
============================================================================== --- trunk/reactos/dll/win32/iphlpapi/ipstats_reactos.c (original) +++ trunk/reactos/dll/win32/iphlpapi/ipstats_reactos.c Thu Jul 26 19:13:36 2007 @@ -26,6 +26,8 @@ #include "ipstats.h" #include "ifenum.h" +WINE_DEFAULT_DEBUG_CHANNEL(iphlpapi); + #ifndef TCPS_ESTABLISHED # define TCPS_ESTABLISHED TCP_ESTABLISHED #endif @@ -81,7 +83,7 @@ &returnedLen, NULL ); - DPRINT("Ent: %04x:d -> %04x\n", + TRACE("Ent: %04x:d -> %04x\n", ent->tei_entity, ent->tei_instance, entityType ); return NT_SUCCESS(status) && entityType == CL_NL_IP; @@ -99,14 +101,14 @@ for( i = 0; i < numEntities; i++ ) { if( isIpEntity( tcpFile, &entitySet[i] ) ) { - DPRINT("Entity %d is an IP Entity\n", i); + TRACE("Entity %d is an IP Entity\n", i); if( numRoutes == index ) break; else numRoutes++; } } if( numRoutes == index && i < numEntities ) { - DPRINT("Index %d is entity #%d - %04x:%08x\n", index, i, + TRACE("Index %d is entity #%d - %04x:%08x\n", index, i, entitySet[i].tei_entity, entitySet[i].tei_instance ); memcpy( ent, &entitySet[i], sizeof(*ent) ); tdiFreeThingSet( entitySet ); @@ -125,7 +127,7 @@ memset( entry, 0, sizeof( *entry ) ); - DPRINT("TdiGetMibForIpEntity(tcpFile %x,entityId %x)\n", + TRACE("TdiGetMibForIpEntity(tcpFile %x,entityId %x)\n", (DWORD)tcpFile, ent->tei_instance); req.ID.toi_class = INFO_CLASS_PROTOCOL; @@ -142,7 +144,7 @@ &returnSize, NULL ); - DPRINT("TdiGetMibForIpEntity() => {\n" + TRACE("TdiGetMibForIpEntity() => {\n" " ipsi_forwarding ............ %d\n" " ipsi_defaultttl ............ %d\n" " ipsi_inreceives ............ %d\n" @@ -175,7 +177,7 @@ ( HANDLE tcpFile, TDIEntityID *ent, IPRouteEntry **routes, PDWORD numRoutes ) { NTSTATUS status = STATUS_SUCCESS; - DPRINT("TdiGetRoutesForIpEntity(tcpFile %x,entityId %x)\n", + TRACE("TdiGetRoutesForIpEntity(tcpFile %x,entityId %x)\n", (DWORD)tcpFile, ent->tei_instance); status = tdiGetSetOfThings( tcpFile, @@ -196,7 +198,7 @@ ( HANDLE tcpFile, TDIEntityID *ent, IPAddrEntry **addrs, PDWORD numAddrs ) { NTSTATUS status; - DPRINT("TdiGetIpAddrsForIpEntity(tcpFile %x,entityId %x)\n", + TRACE("TdiGetIpAddrsForIpEntity(tcpFile %x,entityId %x)\n", (DWORD)tcpFile, ent->tei_instance); status = tdiGetSetOfThings( tcpFile, @@ -451,7 +453,7 @@ if( !NT_SUCCESS(status) ) return 0; - DPRINT("GETTING ROUTE TABLE\n"); + TRACE("GETTING ROUTE TABLE\n"); out_route_table = HeapAlloc( GetProcessHeap(), 0, sizeof(RouteTable) + @@ -466,7 +468,7 @@ getNthIpEntity( tcpFile, i, &ent ); tdiGetMibForIpEntity( tcpFile, &ent, &snmpInfo ); - DPRINT( "%d routes in instance %d\n", snmpInfo.ipsi_numroutes, i ); + TRACE( "%d routes in instance %d\n", snmpInfo.ipsi_numroutes, i ); tdiGetRoutesForIpEntity( tcpFile, &ent, &route_set, &numRoutes ); @@ -476,7 +478,7 @@ return 0; } - DPRINT("Route set returned\n"); + TRACE("Route set returned\n"); #if 0 HexDump( route_set, sizeof( IPRouteEntry ) * @@ -502,7 +504,7 @@ routesAdded += snmpInfo.ipsi_numroutes; } - DPRINT("Return: %08x, %08x\n", status, out_route_table); + TRACE("Return: %08x, %08x\n", status, out_route_table); return out_route_table; } Modified: trunk/reactos/dll/win32/iphlpapi/route_reactos.c URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/iphlpapi/route_r…
============================================================================== --- trunk/reactos/dll/win32/iphlpapi/route_reactos.c (original) +++ trunk/reactos/dll/win32/iphlpapi/route_reactos.c Thu Jul 26 19:13:36 2007 @@ -61,7 +61,7 @@ TDIEntityID id; DWORD returnSize = 0; - DPRINT("Called.\n"); + TRACE("Called.\n"); if( NT_SUCCESS(status) ) status = getNthIpEntity( tcpFile, 0, &id ); @@ -103,7 +103,7 @@ if( tcpFile != INVALID_HANDLE_VALUE ) closeTcpFile( tcpFile ); - DPRINT("Returning: %08x (IOCTL was %08x)\n", status, IOCTL_TCP_SET_INFORMATION_EX); + TRACE("Returning: %08x (IOCTL was %08x)\n", status, IOCTL_TCP_SET_INFORMATION_EX); if( NT_SUCCESS(status) ) return NO_ERROR; @@ -125,7 +125,7 @@ TDIEntityID id; DWORD returnSize = 0; - DPRINT("Called.\n"); + TRACE("Called.\n"); if( NT_SUCCESS(status) ) status = getNthIpEntity( tcpFile, 0, &id ); @@ -167,7 +167,7 @@ if( tcpFile != INVALID_HANDLE_VALUE ) closeTcpFile( tcpFile ); - DPRINT("Returning: %08x (IOCTL was %08x)\n", status, IOCTL_TCP_SET_INFORMATION_EX); + TRACE("Returning: %08x (IOCTL was %08x)\n", status, IOCTL_TCP_SET_INFORMATION_EX); if( NT_SUCCESS(status) ) return NO_ERROR; Modified: trunk/reactos/dll/win32/kernel32/kernel32.rbuild URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/kernel32/kernel3…
============================================================================== --- trunk/reactos/dll/win32/kernel32/kernel32.rbuild (original) +++ trunk/reactos/dll/win32/kernel32/kernel32.rbuild Thu Jul 26 19:13:36 2007 @@ -110,7 +110,7 @@ <directory name="thread"> <directory name="i386"> <file>fiber.S</file> - <file>thread.S</file> + <file>thread.S</file> </directory> </directory> </module> Modified: trunk/reactos/dll/win32/kernel32/misc/lcformat.c URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/kernel32/misc/lc…
============================================================================== --- trunk/reactos/dll/win32/kernel32/misc/lcformat.c (original) +++ trunk/reactos/dll/win32/kernel32/misc/lcformat.c Thu Jul 26 19:13:36 2007 @@ -3,7 +3,7 @@ * * Copyright 1995 Martin von Loewis * Copyright 1998 David Lee Lambert - * Copyright 2000 Julio César Gázquez + * Copyright 2000 Julio César Gázquez * Copyright 2003 Jon Griffiths * * This library is free software; you can redistribute it and/or @@ -32,10 +32,12 @@ #include "wine/config.h" #include "wine/unicode.h" -#include "wine/debug.h" - - -WINE_DEFAULT_DEBUG_CHANNEL(nls); +#define NDEBUG +#include <debug.h> + +#define TRACE DPRINT +#define WARN DPRINT1 +#define FIXME DPRINT1 #define DATE_DATEVARSONLY 0x0100 /* only date stuff: yMdg */ #define TIME_TIMEVARSONLY 0x0200 /* only time stuff: hHmst */ Modified: trunk/reactos/dll/win32/msgina/gui.c URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/msgina/gui.c?rev…
============================================================================== --- trunk/reactos/dll/win32/msgina/gui.c (original) +++ trunk/reactos/dll/win32/msgina/gui.c Thu Jul 26 19:13:36 2007 @@ -9,6 +9,8 @@ //#define YDEBUG #include <wine/debug.h> + +WINE_DEFAULT_DEBUG_CHANNEL(msgina); typedef struct _DISPLAYSTATUSMSG { Modified: trunk/reactos/dll/win32/msgina/msgina.c URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/msgina/msgina.c?…
============================================================================== --- trunk/reactos/dll/win32/msgina/msgina.c (original) +++ trunk/reactos/dll/win32/msgina/msgina.c Thu Jul 26 19:13:36 2007 @@ -28,6 +28,8 @@ //#define YDEBUG #include <wine/debug.h> + +WINE_DEFAULT_DEBUG_CHANNEL(msgina); extern HINSTANCE hDllInstance; Modified: trunk/reactos/dll/win32/msgina/msgina.rbuild URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/msgina/msgina.rb…
============================================================================== --- trunk/reactos/dll/win32/msgina/msgina.rbuild (original) +++ trunk/reactos/dll/win32/msgina/msgina.rbuild Thu Jul 26 19:13:36 2007 @@ -5,6 +5,7 @@ <define name="__REACTOS__" /> <define name="__USE_W32API" /> <library>ntdll</library> + <library>wine</library> <library>kernel32</library> <library>advapi32</library> <library>user32</library> Modified: trunk/reactos/dll/win32/msgina/tui.c URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/msgina/tui.c?rev…
============================================================================== --- trunk/reactos/dll/win32/msgina/tui.c (original) +++ trunk/reactos/dll/win32/msgina/tui.c Thu Jul 26 19:13:36 2007 @@ -9,6 +9,8 @@ #define YDEBUG #include <wine/debug.h> + +WINE_DEFAULT_DEBUG_CHANNEL(msgina); static BOOL TUIInitialize( Modified: trunk/reactos/dll/win32/newdev/stubs.c URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/newdev/stubs.c?r…
============================================================================== --- trunk/reactos/dll/win32/newdev/stubs.c (original) +++ trunk/reactos/dll/win32/newdev/stubs.c Thu Jul 26 19:13:36 2007 @@ -19,8 +19,6 @@ */ #include "newdev_private.h" - -WINE_DEFAULT_DEBUG_CHANNEL(newdev); /* * @unimplemented Modified: trunk/reactos/dll/win32/rpcrt4/ndr_contexth.c URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/rpcrt4/ndr_conte…
============================================================================== --- trunk/reactos/dll/win32/rpcrt4/ndr_contexth.c (original) +++ trunk/reactos/dll/win32/rpcrt4/ndr_contexth.c Thu Jul 26 19:13:36 2007 @@ -25,6 +25,8 @@ #include "rpc_binding.h" #include "ndr_contexth.h" +WINE_DEFAULT_DEBUG_CHANNEL(rpcrt4); + static SContextHandle *CtxList = NULL; static CRITICAL_SECTION CtxList_cs; Modified: trunk/reactos/dll/win32/shell32/shfldr_fs.c URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/shell32/shfldr_f…
============================================================================== --- trunk/reactos/dll/win32/shell32/shfldr_fs.c (original) +++ trunk/reactos/dll/win32/shell32/shfldr_fs.c Thu Jul 26 19:13:36 2007 @@ -1250,7 +1250,7 @@ PathAddBackslashA (szDstPath); _ILSimpleGetText (apidl[i], szDstPath + strlen (szDstPath), MAX_PATH); - DPRINT1 ("copy %s to %s\n", szSrcPath, szDstPath); + TRACE ("copy %s to %s\n", szSrcPath, szDstPath); if (fileMoving) { Modified: trunk/reactos/dll/win32/shell32/shv_bg_cmenu.c URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/shell32/shv_bg_c…
============================================================================== --- trunk/reactos/dll/win32/shell32/shv_bg_cmenu.c (original) +++ trunk/reactos/dll/win32/shell32/shv_bg_cmenu.c Thu Jul 26 19:13:36 2007 @@ -244,7 +244,7 @@ goto fail; } - DPRINT1("shortcut point to %s\n", pSrcFile); + TRACE("shortcut point to %s\n", pSrcFile); hres = IShellLinkA_SetPath(psl, pSrcFile); @@ -270,12 +270,12 @@ hres = IPersistFile_SaveCompleted(pPf, widelink); IPersistFile_Release(pPf); IShellLinkA_Release(psl); - DPRINT1("shortcut %s has been created, result=%08lx\n", pDstFile, hres); + TRACE("shortcut %s has been created, result=%08lx\n", pDstFile, hres); ret = TRUE; } else { - DPRINT1("CoCreateInstance failed, hres=%08lx\n", hres); + ERR("CoCreateInstance failed, hres=%08lx\n", hres); } fail: @@ -330,7 +330,7 @@ IShellFolder_QueryInterface(This->pSFParent, &IID_IPersistFolder2, (LPVOID*)&ppfdst); IShellFolder_QueryInterface(psfFrom, &IID_IPersistFolder2, (LPVOID*)&ppfsrc); - DPRINT1("[%p,%p]\n",ppfdst,ppfsrc); + TRACE("[%p,%p]\n",ppfdst,ppfsrc); /* do the link/s */ /* hack to get desktop path */ @@ -363,7 +363,7 @@ { _ILSimpleGetText (apidl[i], filename, MAX_PATH); - DPRINT1("filename %s\n", filename); + TRACE("filename %s\n", filename); lstrcpyA(linkFilename, szDstPath); PathAddBackslashA(linkFilename); @@ -371,13 +371,13 @@ lstrcatA(linkFilename, filename); lstrcatA(linkFilename, ".lnk"); - DPRINT1("linkFilename %s\n", linkFilename); + TRACE("linkFilename %s\n", linkFilename); lstrcpyA(srcFilename, szSrcPath); PathAddBackslashA(srcFilename); lstrcatA(srcFilename, filename); - DPRINT1("srcFilename %s\n", srcFilename); + TRACE("srcFilename %s\n", srcFilename); ret = DoLink(srcFilename, linkFilename); Modified: trunk/reactos/dll/win32/user32/controls/button.c URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/user32/controls/…
============================================================================== --- trunk/reactos/dll/win32/user32/controls/button.c (original) +++ trunk/reactos/dll/win32/user32/controls/button.c Thu Jul 26 19:13:36 2007 @@ -66,6 +66,7 @@ #include <user32.h> #include <wine/debug.h> +WINE_DEFAULT_DEBUG_CHANNEL(button); /* GetWindowLong offsets for window extra information */ #define STATE_GWL_OFFSET 0 Modified: trunk/reactos/dll/win32/user32/controls/listbox.c URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/user32/controls/…
============================================================================== --- trunk/reactos/dll/win32/user32/controls/listbox.c (original) +++ trunk/reactos/dll/win32/user32/controls/listbox.c Thu Jul 26 19:13:36 2007 @@ -21,6 +21,8 @@ #include <user32.h> #include <wine/debug.h> +WINE_DECLARE_DEBUG_CHANNEL(combo); +WINE_DEFAULT_DEBUG_CHANNEL(listbox); /* Start of hack section -------------------------------- */ Modified: trunk/reactos/dll/win32/user32/controls/scrollbar.c URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/user32/controls/…
============================================================================== --- trunk/reactos/dll/win32/user32/controls/scrollbar.c (original) +++ trunk/reactos/dll/win32/user32/controls/scrollbar.c Thu Jul 26 19:13:36 2007 @@ -33,7 +33,7 @@ #include <user32.h> #include <wine/debug.h> - +WINE_DEFAULT_DEBUG_CHANNEL(scrollbar); /* GLOBAL VARIABLES ***********************************************************/ @@ -729,7 +729,7 @@ WPARAM wParam /* [in] Variable input including enable state */, LPARAM lParam /* [in] Variable input including input point */) { - DPRINT("Wnd=%p wParam=%d lParam=%ld\n", Wnd, wParam, lParam); + TRACE("Wnd=%p wParam=%d lParam=%ld\n", Wnd, wParam, lParam); /* hide caret on first KEYDOWN to prevent flicker */ if (0 == (lParam & PFD_DOUBLEBUFFER_DONTCARE)) @@ -1079,7 +1079,7 @@ Info.nTrackPos = 0; NtUserSetScrollInfo(Wnd, SB_CTL, &Info, FALSE); - DPRINT("hwnd=%p lpCreate=%p\n", Wnd, lpCreate); + TRACE("hwnd=%p lpCreate=%p\n", Wnd, lpCreate); #if 0 /* FIXME */ if (lpCreate->style & WS_DISABLED) @@ -1445,14 +1445,14 @@ case 0x00ed: case 0x00ee: case 0x00ef: - DPRINT("unknown Win32 msg %04x wp=%08x lp=%08lx\n", + WARN("unknown Win32 msg %04x wp=%08x lp=%08lx\n", Msg, wParam, lParam ); break; default: if (WM_USER <= Msg) { - DPRINT("unknown msg %04x wp=%04x lp=%08lx\n", Msg, wParam, lParam); + WARN("unknown msg %04x wp=%04x lp=%08lx\n", Msg, wParam, lParam); } return DefWindowProcW(Wnd, Msg, wParam, lParam ); } @@ -1503,7 +1503,7 @@ INT STDCALL GetScrollPos(HWND Wnd, INT Bar) { - DPRINT("Wnd=%p Bar=%d\n", Wnd, Bar); + TRACE("Wnd=%p Bar=%d\n", Wnd, Bar); /* Refer SB_CTL requests to the window */ if (SB_CTL == Bar) @@ -1522,7 +1522,7 @@ BOOL STDCALL GetScrollRange(HWND Wnd, int Bar, LPINT MinPos, LPINT MaxPos) { - DPRINT("Wnd=%x Bar=%d Min=%p Max=%p\n", Wnd, Bar, MinPos, MaxPos); + TRACE("Wnd=%x Bar=%d Min=%p Max=%p\n", Wnd, Bar, MinPos, MaxPos); /* Refer SB_CTL requests to the window */ if (SB_CTL == Bar) Modified: trunk/reactos/dll/win32/user32/include/user32.h URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/user32/include/u…
============================================================================== --- trunk/reactos/dll/win32/user32/include/user32.h (original) +++ trunk/reactos/dll/win32/user32/include/user32.h Thu Jul 26 19:13:36 2007 @@ -9,6 +9,7 @@ /* INCLUDES ******************************************************************/ /* C Headers */ +#include <assert.h> #include <stdio.h> #include <math.h> Modified: trunk/reactos/dll/win32/user32/misc/desktop.c URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/user32/misc/desk…
============================================================================== --- trunk/reactos/dll/win32/user32/misc/desktop.c (original) +++ trunk/reactos/dll/win32/user32/misc/desktop.c Thu Jul 26 19:13:36 2007 @@ -12,6 +12,7 @@ #include <user32.h> #include <wine/debug.h> +WINE_DEFAULT_DEBUG_CHANNEL(user32); #define DESKTOP_CLASS_ATOM MAKEINTATOMA(32769) /* Desktop */ static LRESULT WINAPI DesktopWndProc( HWND hwnd, UINT message, WPARAM wParam, LPARAM lParam ); @@ -35,7 +36,7 @@ WINAPI DesktopWndProc( HWND hwnd, UINT message, WPARAM wParam, LPARAM lParam ) { - DPRINT1("Desktop Class Atom!\n"); + FIXME("Desktop Class Atom!\n"); if (message == WM_NCCREATE) return TRUE; return 0; /* all other messages are ignored */ } @@ -126,7 +127,7 @@ case SPI_SETSOUNDSENTRY: { /* FIXME: Support this accessibility SPI actions */ - DPRINT1("FIXME: Unsupported SPI Code: %lx \n",uiAction ); + FIXME("FIXME: Unsupported SPI Code: %lx \n",uiAction ); return FALSE; } @@ -349,7 +350,7 @@ case SPI_SETSOUNDSENTRY: { /* FIXME: Support this accessibility SPI actions */ - DPRINT1("FIXME: Unsupported SPI Code: %lx \n",uiAction ); + FIXME("FIXME: Unsupported SPI Code: %lx \n",uiAction ); return FALSE; } case SPI_GETDESKWALLPAPER: Modified: trunk/reactos/dll/win32/user32/misc/display.c URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/user32/misc/disp…
============================================================================== --- trunk/reactos/dll/win32/user32/misc/display.c (original) +++ trunk/reactos/dll/win32/user32/misc/display.c Thu Jul 26 19:13:36 2007 @@ -31,6 +31,7 @@ #include <user32.h> #include <wine/debug.h> +WINE_DEFAULT_DEBUG_CHANNEL(user32); #define SIZEOF_DEVMODEA_300 124 #define SIZEOF_DEVMODEA_400 148 @@ -368,7 +369,7 @@ NULL, NULL); if (res == 0) { - DPRINT("WideCharToMultiByte() failed!\n"); + WARN("WideCharToMultiByte() failed!\n"); return FALSE; } } Modified: trunk/reactos/dll/win32/user32/misc/object.c URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/user32/misc/obje…
============================================================================== --- trunk/reactos/dll/win32/user32/misc/object.c (original) +++ trunk/reactos/dll/win32/user32/misc/object.c Thu Jul 26 19:13:36 2007 @@ -31,6 +31,7 @@ #include <user32.h> #include <wine/debug.h> +WINE_DEFAULT_DEBUG_CHANNEL(user32); /* FUNCTIONS *****************************************************************/ @@ -96,7 +97,7 @@ LPWSTR buffer; BOOL ret = TRUE; - DPRINT("GetUserObjectInformationA(%x %d %x %d %x)\n", hObj, nIndex, + TRACE("GetUserObjectInformationA(%x %d %x %d %x)\n", hObj, nIndex, pvInfo, nLength, lpnLengthNeeded); if (nIndex != UOI_NAME && nIndex != UOI_TYPE) @@ -143,7 +144,7 @@ DWORD nLength, LPDWORD lpnLengthNeeded) { - DPRINT("GetUserObjectInformationW(%x %d %x %d %x)\n", hObj, nIndex, + TRACE("GetUserObjectInformationW(%x %d %x %d %x)\n", hObj, nIndex, pvInfo, nLength, lpnLengthNeeded); return NtUserGetObjectInformation(hObj, nIndex, pvInfo, nLength, lpnLengthNeeded); } Modified: trunk/reactos/dll/win32/user32/windows/bitmap.c URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/user32/windows/b…
============================================================================== --- trunk/reactos/dll/win32/user32/windows/bitmap.c (original) +++ trunk/reactos/dll/win32/user32/windows/bitmap.c Thu Jul 26 19:13:36 2007 @@ -31,6 +31,7 @@ #include <user32.h> #include <wine/debug.h> +WINE_DEFAULT_DEBUG_CHANNEL(user32); #include "pshpack1.h" @@ -600,7 +601,7 @@ if (flags & LR_COPYFROMRESOURCE) { - DPRINT1("FIXME: The flag LR_COPYFROMRESOURCE is not implemented for bitmaps\n"); + FIXME("FIXME: The flag LR_COPYFROMRESOURCE is not implemented for bitmaps\n"); } if (desiredx == 0) desiredx = ds.dsBm.bmWidth; @@ -771,7 +772,7 @@ /* FIXME: support loading the image as shared from an instance */ if (!IconMsgDisplayed) { - DPRINT("FIXME: CopyImage doesn't support IMAGE_ICON correctly!\n"); + FIXME("FIXME: CopyImage doesn't support IMAGE_ICON correctly!\n"); IconMsgDisplayed = TRUE; } return CopyIcon(hnd); @@ -784,13 +785,13 @@ /* FIXME: support loading the image as shared from an instance */ if (!IconMsgDisplayed) { - DPRINT("FIXME: CopyImage doesn't support IMAGE_CURSOR correctly!\n"); + FIXME("FIXME: CopyImage doesn't support IMAGE_CURSOR correctly!\n"); IconMsgDisplayed = TRUE; } /* Should call CURSORICON_ExtCopy but more testing * needs to be done before we change this */ - if (flags) DPRINT1("FIXME: Flags are ignored\n"); + if (flags) FIXME("FIXME: Flags are ignored\n"); return CopyCursor(hnd); } } Modified: trunk/reactos/dll/win32/user32/windows/class.c URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/user32/windows/c…
============================================================================== --- trunk/reactos/dll/win32/user32/windows/class.c (original) +++ trunk/reactos/dll/win32/user32/windows/class.c Thu Jul 26 19:13:36 2007 @@ -12,6 +12,7 @@ #include <user32.h> #include <wine/debug.h> +WINE_DEFAULT_DEBUG_CHANNEL(user32); extern BOOL ControlsInitialized; @@ -442,12 +443,12 @@ SmallIconHeight = GetSystemMetrics(SM_CYSMICON); if (! GetIconInfo(StdIcon, &StdInfo)) { - DPRINT1("Failed to get icon info for icon 0x%x\n", StdIcon); + ERR("Failed to get icon info for icon 0x%x\n", StdIcon); goto cleanup; } if (! GetObjectW(StdInfo.hbmMask, sizeof(BITMAP), &StdBitmapInfo)) { - DPRINT1("Failed to get bitmap info for icon 0x%x bitmap 0x%x\n", + ERR("Failed to get bitmap info for icon 0x%x bitmap 0x%x\n", StdIcon, StdInfo.hbmColor); goto cleanup; } @@ -464,71 +465,71 @@ hInfoDc = CreateICW(NULL, NULL, NULL, NULL); if (NULL == hInfoDc) { - DPRINT1("Failed to create info DC\n"); + ERR("Failed to create info DC\n"); goto cleanup; } hSourceDc = CreateCompatibleDC(NULL); if (NULL == hSourceDc) { - DPRINT1("Failed to create source DC\n"); + ERR("Failed to create source DC\n"); goto cleanup; } hDestDc = CreateCompatibleDC(NULL); if (NULL == hDestDc) { - DPRINT1("Failed to create dest DC\n"); + ERR("Failed to create dest DC\n"); goto cleanup; } OldSourceBitmap = SelectObject(hSourceDc, StdInfo.hbmColor); if (NULL == OldSourceBitmap) { - DPRINT1("Failed to select source color bitmap\n"); + ERR("Failed to select source color bitmap\n"); goto cleanup; } SmallInfo.hbmColor = CreateCompatibleBitmap(hInfoDc, SmallIconWidth, SmallIconHeight); if (NULL == SmallInfo.hbmColor) { - DPRINT1("Failed to create color bitmap\n"); + ERR("Failed to create color bitmap\n"); goto cleanup; } OldDestBitmap = SelectObject(hDestDc, SmallInfo.hbmColor); if (NULL == OldDestBitmap) { - DPRINT1("Failed to select dest color bitmap\n"); + ERR("Failed to select dest color bitmap\n"); goto cleanup; } if (! StretchBlt(hDestDc, 0, 0, SmallIconWidth, SmallIconHeight, hSourceDc, 0, 0, StdBitmapInfo.bmWidth, StdBitmapInfo.bmHeight, SRCCOPY)) { - DPRINT1("Failed to stretch color bitmap\n"); + ERR("Failed to stretch color bitmap\n"); goto cleanup; } if (NULL == SelectObject(hSourceDc, StdInfo.hbmMask)) { - DPRINT1("Failed to select source mask bitmap\n"); + ERR("Failed to select source mask bitmap\n"); goto cleanup; } SmallInfo.hbmMask = CreateBitmap(SmallIconWidth, SmallIconHeight, 1, 1, NULL); if (NULL == SmallInfo.hbmMask) { - DPRINT1("Failed to create mask bitmap\n"); + ERR("Failed to create mask bitmap\n"); goto cleanup; } if (NULL == SelectObject(hDestDc, SmallInfo.hbmMask)) { - DPRINT1("Failed to select dest mask bitmap\n"); + ERR("Failed to select dest mask bitmap\n"); goto cleanup; } if (! StretchBlt(hDestDc, 0, 0, SmallIconWidth, SmallIconHeight, hSourceDc, 0, 0, StdBitmapInfo.bmWidth, StdBitmapInfo.bmHeight, SRCCOPY)) { - DPRINT1("Failed to stretch mask bitmap\n"); + ERR("Failed to stretch mask bitmap\n"); goto cleanup; } @@ -538,7 +539,7 @@ SmallIcon = CreateIconIndirect(&SmallInfo); if (NULL == SmallIcon) { - DPRINT1("Failed to create icon\n"); + ERR("Failed to create icon\n"); goto cleanup; } Modified: trunk/reactos/dll/win32/user32/windows/clipboard.c URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/user32/windows/c…
============================================================================== --- trunk/reactos/dll/win32/user32/windows/clipboard.c (original) +++ trunk/reactos/dll/win32/user32/windows/clipboard.c Thu Jul 26 19:13:36 2007 @@ -17,6 +17,7 @@ #define NDEBUG #include <wine/debug.h> +WINE_DEFAULT_DEBUG_CHANNEL(user32); #define QUERY_SIZE 0 @@ -343,7 +344,7 @@ } else { - DPRINT1("SetClipboardData failed\n"); + ERR("SetClipboardData failed\n"); } return ret; Modified: trunk/reactos/dll/win32/user32/windows/defwnd.c URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/user32/windows/d…
============================================================================== --- trunk/reactos/dll/win32/user32/windows/defwnd.c (original) +++ trunk/reactos/dll/win32/user32/windows/defwnd.c Thu Jul 26 19:13:36 2007 @@ -14,6 +14,7 @@ #include <user32.h> #include <wine/debug.h> +WINE_DEFAULT_DEBUG_CHANNEL(user32); #ifndef WM_SETVISIBLE #define WM_SETVISIBLE 9 @@ -964,7 +965,7 @@ (uFlags & PRF_OWNED) || (uFlags & PRF_NONCLIENT) ) { - DPRINT1("WM_PRINT message with unsupported flags\n"); + FIXME("WM_PRINT message with unsupported flags\n"); } /* @@ -1688,7 +1689,7 @@ case WM_IME_ENDCOMPOSITION: case WM_IME_SELECT: case WM_IME_SETCONTEXT: - DPRINT1("FIXME: WM_IME_* conversion isn't implemented yet!"); + FIXME("FIXME: WM_IME_* conversion isn't implemented yet!"); /* fall through */ default: Result = User32DefWindowProc(hWnd, Msg, wParam, lParam, FALSE); @@ -1764,7 +1765,7 @@ case WM_IME_SETCONTEXT: { /* FIXME */ - DPRINT1("FIXME: WM_IME_SETCONTEXT is not implemented!"); + FIXME("FIXME: WM_IME_SETCONTEXT is not implemented!"); Result = 0; break; } Modified: trunk/reactos/dll/win32/user32/windows/dialog.c URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/user32/windows/d…
============================================================================== --- trunk/reactos/dll/win32/user32/windows/dialog.c (original) +++ trunk/reactos/dll/win32/user32/windows/dialog.c Thu Jul 26 19:13:36 2007 @@ -34,6 +34,7 @@ #include <user32.h> #include <wine/debug.h> +WINE_DEFAULT_DEBUG_CHANNEL(user32); /* MACROS/DEFINITIONS ********************************************************/ @@ -1182,7 +1183,7 @@ ((attrib & DDL_POSTMSGS) ? PostMessageW( hwnd, msg, wparam, lparam ) \ : SendMessageW( hwnd, msg, wparam, lparam )) -// DPRINT("%p '%s' %d %d %04x\n", +// TRACE("%p '%s' %d %d %04x\n", // hDlg, spec ? spec : "NULL", idLBox, idStatic, attrib ); /* If the path exists and is a directory, chdir to it */ @@ -1206,7 +1207,7 @@ } } - DPRINT( "mask=%s\n", spec ); + TRACE( "mask=%s\n", spec ); if (idLBox && ((hwnd = GetDlgItem( hDlg, idLBox )) != 0)) { @@ -1287,7 +1288,7 @@ BOOL ret; HWND listbox = GetDlgItem( hwnd, id ); - DPRINT("%p '%s' %d\n", hwnd, str, id ); + TRACE("%p '%s' %d\n", hwnd, str, id ); if (!listbox) return FALSE; item = SendMessageW(listbox, combo ? CB_GETCURSEL : LB_GETCURSEL, 0, 0 ); @@ -1322,7 +1323,7 @@ } else lstrcpynW( str, ptr, len ); HeapFree( GetProcessHeap(), 0, buffer ); - DPRINT("Returning %d '%s'\n", ret, str ); + TRACE("Returning %d '%s'\n", ret, str ); return ret; } Modified: trunk/reactos/dll/win32/user32/windows/icon.c URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/user32/windows/i…
============================================================================== --- trunk/reactos/dll/win32/user32/windows/icon.c (original) +++ trunk/reactos/dll/win32/user32/windows/icon.c Thu Jul 26 19:13:36 2007 @@ -31,7 +31,7 @@ #include <user32.h> #include <wine/debug.h> - +WINE_DEFAULT_DEBUG_CHANNEL(user32); /* FUNCTIONS *****************************************************************/ @@ -242,7 +242,7 @@ } */ - DPRINT("dwVersion, cxDesired, cyDesired are all ignored in this implementation!\n"); + TRACE("dwVersion, cxDesired, cyDesired are all ignored in this implementation!\n"); if (! fIcon) { @@ -505,7 +505,7 @@ } } - DPRINT("Best Icon: ResId: %d, bits : %d\n", BestEntry, BestBits); + TRACE("Best Icon: ResId: %d, bits : %d\n", BestEntry, BestBits); return BestEntry; } @@ -561,7 +561,7 @@ } } - DPRINT("Best Cursor: ResId: %d, bits : %d\n", BestEntry, BestBits); + TRACE("Best Cursor: ResId: %d, bits : %d\n", BestEntry, BestBits); return BestEntry; } @@ -678,7 +678,7 @@ retVal = entry->nID; } else - DPRINT1("%s() : Invalid resource directory\n", __FUNCTION__); + WARN("%s() : Invalid resource directory\n", __FUNCTION__); return retVal; } Modified: trunk/reactos/dll/win32/user32/windows/input.c URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/user32/windows/i…
============================================================================== --- trunk/reactos/dll/win32/user32/windows/input.c (original) +++ trunk/reactos/dll/win32/user32/windows/input.c Thu Jul 26 19:13:36 2007 @@ -31,7 +31,7 @@ #include <user32.h> #include <wine/debug.h> - +WINE_DEFAULT_DEBUG_CHANNEL(user32); /* GLOBALS *******************************************************************/ Modified: trunk/reactos/dll/win32/user32/windows/menu.c URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/user32/windows/m…
============================================================================== --- trunk/reactos/dll/win32/user32/windows/menu.c (original) +++ trunk/reactos/dll/win32/user32/windows/menu.c Thu Jul 26 19:13:36 2007 @@ -14,6 +14,7 @@ #include <user32.h> #include <wine/debug.h> +WINE_DEFAULT_DEBUG_CHANNEL(user32); /* internal popup menu window messages */ #define MM_SETMENUHANDLE (WM_USER + 0) @@ -363,7 +364,7 @@ case (INT_PTR) HBMMENU_POPUP_MAXIMIZE: case (INT_PTR) HBMMENU_POPUP_MINIMIZE: default: - DPRINT("Magic menu bitmap not implemented\n"); + FIXME("Magic menu bitmap not implemented\n"); return; } } @@ -474,7 +475,7 @@ case (INT_PTR) HBMMENU_POPUP_MAXIMIZE: case (INT_PTR) HBMMENU_POPUP_MINIMIZE: default: - DPRINT("Magic menu bitmap not implemented\n"); + FIXME("Magic menu bitmap not implemented\n"); return; } InflateRect(&r, -1, -1); @@ -606,7 +607,7 @@ dis.hwndItem = (HWND) MenuInfo->Self; dis.hDC = Dc; dis.rcItem = Rect; - DPRINT("Ownerdraw: owner=%p itemID=%d, itemState=%d, itemAction=%d, " + TRACE("Ownerdraw: owner=%p itemID=%d, itemState=%d, itemAction=%d, " "hwndItem=%p, hdc=%p, rcItem={%ld,%ld,%ld,%ld}\n", Wnd, dis.itemID, dis.itemState, dis.itemAction, dis.hwndItem, dis.hDC, dis.rcItem.left, dis.rcItem.top, dis.rcItem.right, @@ -629,7 +630,7 @@ return; } - DPRINT("rect={%ld,%ld,%ld,%ld}\n", Item->Rect.left, Item->Rect.top, + TRACE("rect={%ld,%ld,%ld,%ld}\n", Item->Rect.left, Item->Rect.top, Item->Rect.right, Item->Rect.bottom); if (MenuBar && 0 != (Item->fType & MF_SEPARATOR)) @@ -887,7 +888,7 @@ ROSMENUITEMINFO ItemInfo; UINT u; - DPRINT("wnd=%x dc=%x menu=%x\n", Wnd, Dc, Menu); + TRACE("wnd=%x dc=%x menu=%x\n", Wnd, Dc, Menu); GetClientRect(Wnd, &Rect); @@ -935,7 +936,7 @@ static LRESULT WINAPI PopupMenuWndProcW(HWND Wnd, UINT Message, WPARAM wParam, LPARAM lParam) { - DPRINT("hwnd=%x msg=0x%04x wp=0x%04x lp=0x%08lx\n", Wnd, Message, wParam, lParam); + TRACE("hwnd=%x msg=0x%04x wp=0x%04x lp=0x%08lx\n", Wnd, Message, wParam, lParam); switch(Message) { @@ -1192,7 +1193,7 @@ INT itemheight = 0; UINT CheckBitmapWidth = GetSystemMetrics(SM_CXMENUCHECK); - DPRINT("dc=%x owner=%x (%d,%d)\n", Dc, WndOwner, OrgX, OrgY); + TRACE("dc=%x owner=%x (%d,%d)\n", Dc, WndOwner, OrgX, OrgY); MenuCharSize.cx = GdiGetCharDimensions( Dc, NULL, &MenuCharSize.cy ); @@ -1231,7 +1232,7 @@ ItemInfo->Rect.bottom += mis.itemHeight; } - DPRINT("id=%04x size=%dx%d\n", ItemInfo->wID, mis.itemWidth, mis.itemHeight); + TRACE("id=%04x size=%dx%d\n", ItemInfo->wID, mis.itemWidth, mis.itemHeight); return; } @@ -1350,7 +1351,7 @@ itemheight = max( itemheight, GetSystemMetrics(SM_CYMENU)-1); } ItemInfo->Rect.bottom += itemheight; - DPRINT("(%ld,%ld)-(%ld,%ld)\n", ItemInfo->Rect.left, ItemInfo->Rect.top, ItemInfo->Rect.right, ItemInfo->Rect.bottom); + TRACE("(%ld,%ld)-(%ld,%ld)\n", ItemInfo->Rect.left, ItemInfo->Rect.top, ItemInfo->Rect.right, ItemInfo->Rect.bottom); } /*********************************************************************** @@ -1478,7 +1479,7 @@ return; } - DPRINT("left=%ld top=%ld right=%ld bottom=%ld\n", + TRACE("left=%ld top=%ld right=%ld bottom=%ld\n", Rect->left, Rect->top, Rect->right, Rect->bottom); MenuInfo->Width = Rect->right - Rect->left; MenuInfo->Height = 0; @@ -1513,7 +1514,7 @@ break; } - DPRINT("calling MENU_CalcItemSize org=(%d, %d)\n", OrgX, OrgY); + TRACE("calling MENU_CalcItemSize org=(%d, %d)\n", OrgX, OrgY); MenuCalcItemSize(Dc, &ItemInfo, MenuInfo, WndOwner, OrgX, OrgY, TRUE); if (! MenuSetRosMenuItemInfo(MenuInfo->Self, i, &ItemInfo)) { @@ -1644,7 +1645,7 @@ return GetSystemMetrics(SM_CYMENU); } - DPRINT("(%x, %x, %p, %x, %x)\n", Wnd, DC, Rect, Menu, Font); + TRACE("(%x, %x, %p, %x, %x)\n", Wnd, DC, Rect, Menu, Font); FontOld = SelectObject(DC, Font); @@ -1727,7 +1728,7 @@ static BOOL FASTCALL MenuInitTracking(HWND Wnd, HMENU Menu, BOOL Popup, UINT Flags) { - DPRINT("Wnd=%p Menu=%p\n", Wnd, Menu); + TRACE("Wnd=%p Menu=%p\n", Wnd, Menu); HideCaret(0); @@ -1783,7 +1784,7 @@ ROSMENUITEMINFO ItemInfo; UINT Width, Height; - DPRINT("owner=%x hmenu=%x id=0x%04x x=0x%04x y=0x%04x xa=0x%04x ya=0x%04x\n", + TRACE("owner=%x hmenu=%x id=0x%04x x=0x%04x y=0x%04x xa=0x%04x ya=0x%04x\n", WndOwner, Menu, Id, X, Y, XAnchor, YAnchor); if (! MenuGetRosMenuInfo(&MenuInfo, Menu)) @@ -1934,7 +1935,7 @@ ROSMENUINFO TopMenuInfo; int Pos; - DPRINT("owner=%x menu=%p index=0x%04x select=0x%04x\n", WndOwner, MenuInfo, Index, SendMenuSelect); + TRACE("owner=%x menu=%p index=0x%04x select=0x%04x\n", WndOwner, MenuInfo, Index, SendMenuSelect); if (NULL == MenuInfo || 0 == MenuInfo->MenuItemCount || NULL == MenuInfo->Wnd) { @@ -2038,7 +2039,7 @@ ROSMENUITEMINFO ItemInfo; INT OrigPos; - DPRINT("hwnd=%x menu=%x off=0x%04x\n", WndOwner, MenuInfo, Offset); + TRACE("hwnd=%x menu=%x off=0x%04x\n", WndOwner, MenuInfo, Offset); /* Prevent looping */ if (0 == MenuInfo->MenuItemCount || 0 == Offset) @@ -2165,7 +2166,7 @@ HDC Dc; HMENU Ret; - DPRINT("owner=%x menu=%p 0x%04x\n", WndOwner, MenuInfo, SelectFirst); + TRACE("owner=%x menu=%p 0x%04x\n", WndOwner, MenuInfo, SelectFirst); if (NO_SELECTED_ITEM == MenuInfo->FocusedItem) { @@ -2286,7 +2287,7 @@ ROSMENUINFO SubMenuInfo; ROSMENUITEMINFO ItemInfo; - DPRINT("owner=%x menu=%x 0x%04x\n", WndOwner, MenuInfo, SendMenuSelect); + TRACE("owner=%x menu=%x 0x%04x\n", WndOwner, MenuInfo, SendMenuSelect); if (NULL != MenuInfo && NULL != TopPopup && NO_SELECTED_ITEM != MenuInfo->FocusedItem) { @@ -2323,7 +2324,7 @@ { ROSMENUINFO TopMenuInfo; - DPRINT("%x menu=%x 0x%04x\n", Mt, PtMenuInfo->Self, Index); + TRACE("%x menu=%x 0x%04x\n", Mt, PtMenuInfo->Self, Index); if (MenuGetRosMenuInfo(&TopMenuInfo, Mt->TopMenu) && Mt->TopMenu != PtMenuInfo->Self && @@ -2358,7 +2359,7 @@ ROSMENUITEMINFO ItemInfo; UINT wID; - DPRINT("%p menu=%p\n", Mt, MenuInfo); + TRACE("%p menu=%p\n", Mt, MenuInfo); if (0 == MenuInfo->MenuItemCount || NO_SELECTED_ITEM == MenuInfo->FocusedItem) { @@ -2372,7 +2373,7 @@ return -1; } - DPRINT("%p %08x %p\n", MenuInfo, ItemInfo.wID, ItemInfo.hSubMenu); + TRACE("%p %08x %p\n", MenuInfo, ItemInfo.wID, ItemInfo.hSubMenu); if (0 == (ItemInfo.fType & MF_POPUP)) { @@ -2424,7 +2425,7 @@ ROSMENUINFO MenuInfo; ROSMENUITEMINFO Item; - DPRINT("%x PtMenu=%p\n", Mt, PtMenu); + TRACE("%x PtMenu=%p\n", Mt, PtMenu); if (NULL != PtMenu) { @@ -2487,7 +2488,7 @@ ROSMENUINFO MenuInfo; ROSMENUITEMINFO ItemInfo; - DPRINT("%p hmenu=%x\n", Mt, PtMenu); + TRACE("%p hmenu=%x\n", Mt, PtMenu); if (NULL != PtMenu) { @@ -2720,7 +2721,7 @@ } MenuCleanupAllRosMenuItemInfo(MenuItems); - DPRINT("ret %d.\n", i ); + TRACE("ret %d.\n", i ); return i; } @@ -2787,7 +2788,7 @@ NextMenu.hwndNext = NULL; SendMessageW(Mt->OwnerWnd, WM_NEXTMENU, Vk, (LPARAM) &NextMenu); - DPRINT("%p [%p] -> %p [%p]\n", + TRACE("%p [%p] -> %p [%p]\n", Mt->CurrentMenu, Mt->OwnerWnd, NextMenu.hmenuNext, NextMenu.hwndNext ); if (NULL == NextMenu.hmenuNext || NULL == NextMenu.hwndNext) @@ -2843,7 +2844,7 @@ /* FIXME: Not sure what to do here; * perhaps try to track NewMenu as a popup? */ - DPRINT(" -- got confused.\n"); + WARN(" -- got confused.\n"); return FALSE; } } @@ -3046,7 +3047,7 @@ ROSMENUINFO CurrentMenuInfo; UINT NextCol; - DPRINT("MenuKeyRight called, cur %p, top %p.\n", + TRACE("MenuKeyRight called, cur %p, top %p.\n", Mt->CurrentMenu, Mt->TopMenu); if (! MenuGetRosMenuInfo(&MenuInfo, Mt->TopMenu)) @@ -3078,7 +3079,7 @@ /* Check to see if there's another column */ if (NO_SELECTED_ITEM != (NextCol = MenuGetStartOfNextColumn(&CurrentMenuInfo))) { - DPRINT("Going to %d.\n", NextCol); + TRACE("Going to %d.\n", NextCol); if (MenuGetRosMenuInfo(&MenuInfo, Mt->CurrentMenu)) { MenuSelectItem(Mt->OwnerWnd, &MenuInfo, NextCol, TRUE, 0); @@ -3131,7 +3132,7 @@ LRESULT MenuChar; UINT i; - DPRINT("\tlooking for '%c' (0x%02x) in [%p]\n", (char) Key, Key, MenuInfo); + TRACE("\tlooking for '%c' (0x%02x) in [%p]\n", (char) Key, Key, MenuInfo); if (NULL == MenuInfo || ! IsMenu(MenuInfo->Self)) { @@ -3212,7 +3213,7 @@ Mt.Pt.x = x; Mt.Pt.y = y; - DPRINT("Menu=%x Flags=0x%08x (%d,%d) Wnd=%x (%ld,%ld)-(%ld,%ld)\n", + TRACE("Menu=%x Flags=0x%08x (%d,%d) Wnd=%x (%ld,%ld)-(%ld,%ld)\n", Menu, Flags, x, y, Wnd, Rect ? Rect->left : 0, Rect ? Rect->top : 0, Rect ? Rect->right : 0, Rect ? Rect->bottom : 0); @@ -3560,7 +3561,7 @@ static BOOL FASTCALL MenuExitTracking(HWND Wnd) { - DPRINT("hwnd=%p\n", Wnd); + TRACE("hwnd=%p\n", Wnd); SendMessageW(Wnd, WM_EXITMENULOOP, 0, 0); ShowCaret(0); @@ -3574,7 +3575,7 @@ HMENU Menu = (HTSYSMENU == Ht) ? NtUserGetSystemMenu(Wnd, FALSE) : GetMenu(Wnd); UINT Flags = TPM_ENTERIDLEEX | TPM_BUTTONDOWN | TPM_LEFTALIGN | TPM_LEFTBUTTON; - DPRINT("wnd=%p ht=0x%04x (%ld,%ld)\n", Wnd, Ht, Pt.x, Pt.y); + TRACE("wnd=%p ht=0x%04x (%ld,%ld)\n", Wnd, Ht, Pt.x, Pt.y); if (IsMenu(Menu)) { @@ -3600,7 +3601,7 @@ ROSMENUINFO MenuInfo; UINT wFlags = TPM_ENTERIDLEEX | TPM_LEFTALIGN | TPM_LEFTBUTTON; - DPRINT("hwnd %p wParam 0x%04x wChar 0x%04x\n", hWnd, wParam, wChar); + TRACE("hwnd %p wParam 0x%04x wChar 0x%04x\n", hWnd, wParam, wChar); /* find window that has a menu */ @@ -3857,7 +3858,7 @@ mi.cbSize = sizeof(MENUINFO); - DPRINT("CheckMenuRadioItem\n"); + TRACE("CheckMenuRadioItem\n"); if(idFirst > idLast) return ret; Modified: trunk/reactos/dll/win32/user32/windows/message.c URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/user32/windows/m…
============================================================================== --- trunk/reactos/dll/win32/user32/windows/message.c (original) +++ trunk/reactos/dll/win32/user32/windows/message.c Thu Jul 26 19:13:36 2007 @@ -11,6 +11,7 @@ #include <user32.h> #include <wine/debug.h> +WINE_DEFAULT_DEBUG_CHANNEL(user32); /* DDE message exchange * @@ -1143,7 +1144,7 @@ if (WndProc == NULL) { - DPRINT("IntCallWindowsProcW() called with WndProc = NULL!\n"); + WARN("IntCallWindowsProcW() called with WndProc = NULL!\n"); return FALSE; } @@ -1185,7 +1186,7 @@ if (WndProc == NULL) { - DPRINT("IntCallWindowsProcA() called with WndProc = NULL!\n"); + WARN("IntCallWindowsProcA() called with WndProc = NULL!\n"); return FALSE; } Modified: trunk/reactos/dll/win32/user32/windows/window.c URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/user32/windows/w…
============================================================================== --- trunk/reactos/dll/win32/user32/windows/window.c (original) +++ trunk/reactos/dll/win32/user32/windows/window.c Thu Jul 26 19:13:36 2007 @@ -14,6 +14,7 @@ #include <user32.h> #include <wine/debug.h> +WINE_DEFAULT_DEBUG_CHANNEL(user32); BOOL ControlsInitialized = FALSE; @@ -30,7 +31,7 @@ { PSENDASYNCPROC_CALLBACK_ARGUMENTS CallbackArgs; - DPRINT("User32CallSendAsyncProcKernel()\n"); + TRACE("User32CallSendAsyncProcKernel()\n"); CallbackArgs = (PSENDASYNCPROC_CALLBACK_ARGUMENTS)Arguments; if (ArgumentLength != sizeof(WINDOWPROC_CALLBACK_ARGUMENTS)) { @@ -303,7 +304,7 @@ { if (dwStyle & WS_POPUP) { - DPRINT1("WS_POPUP with MDIS_ALLCHILDSTYLES is not allowed\n"); + WARN("WS_POPUP with MDIS_ALLCHILDSTYLES is not allowed\n"); return(0); } dwStyle |= (WS_CHILD | WS_CLIPSIBLINGS); @@ -322,7 +323,7 @@ /* Restore current maximized child */ if((dwStyle & WS_VISIBLE) && IsZoomed(top_child)) { - DPRINT("Restoring current maximized child %p\n", top_child); + TRACE("Restoring current maximized child %p\n", top_child); SendMessageW( top_child, WM_SETREDRAW, FALSE, 0 ); ShowWindow(top_child, SW_RESTORE); SendMessageW( top_child, WM_SETREDRAW, TRUE, 0 ); @@ -415,7 +416,7 @@ { if (dwStyle & WS_POPUP) { - DPRINT1("WS_POPUP with MDIS_ALLCHILDSTYLES is not allowed\n"); + WARN("WS_POPUP with MDIS_ALLCHILDSTYLES is not allowed\n"); return(0); } dwStyle |= (WS_CHILD | WS_CLIPSIBLINGS); @@ -434,7 +435,7 @@ /* Restore current maximized child */ if((dwStyle & WS_VISIBLE) && IsZoomed(top_child)) { - DPRINT("Restoring current maximized child %p\n", top_child); + TRACE("Restoring current maximized child %p\n", top_child); SendMessageW( top_child, WM_SETREDRAW, FALSE, 0 ); ShowWindow(top_child, SW_RESTORE); SendMessageW( top_child, WM_SETREDRAW, TRUE, 0 ); Modified: trunk/reactos/dll/win32/user32/windows/winpos.c URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/user32/windows/w…
============================================================================== --- trunk/reactos/dll/win32/user32/windows/winpos.c (original) +++ trunk/reactos/dll/win32/user32/windows/winpos.c Thu Jul 26 19:13:36 2007 @@ -14,6 +14,7 @@ #include <user32.h> #include <wine/debug.h> +WINE_DEFAULT_DEBUG_CHANNEL(user32); /* FUNCTIONS *****************************************************************/ Modified: trunk/reactos/dll/win32/winspool/winspool.rbuild URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/winspool/winspoo…
============================================================================== --- trunk/reactos/dll/win32/winspool/winspool.rbuild (original) +++ trunk/reactos/dll/win32/winspool/winspool.rbuild Thu Jul 26 19:13:36 2007 @@ -1,4 +1,4 @@ -<module name="winspool" type="win32dll" extension=".drv" baseaddress="${BASEADDRESS_WINSPOOL}" installbase="system32" installname="winspool.drv"> +<module name="winspool" type="win32dll" extension=".drv" baseaddress="${BASEADDRESS_WINSPOOL}" installbase="system32" installname="winspool.drv" allowwarnings="true"> <importlibrary definition="winspool.def" /> <include base="winspool">.</include> <define name="__USE_W32API" /> Modified: trunk/reactos/lib/sdk/crt/wine/heap.c URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/lib/sdk/crt/wine/heap.c?re…
============================================================================== --- trunk/reactos/lib/sdk/crt/wine/heap.c (original) +++ trunk/reactos/lib/sdk/crt/wine/heap.c Thu Jul 26 19:13:36 2007 @@ -27,9 +27,7 @@ #include <stdlib.h> #include <internal/mtdll.h> -#include "wine/debug.h" - -WINE_DEFAULT_DEBUG_CHANNEL(msvcrt); +#include <debug.h> /* MT */ #define LOCK_HEAP _mlock( _HEAP_LOCK ) @@ -48,7 +46,7 @@ void* MSVCRT_operator_new(unsigned long size) { void *retval = malloc(size); - TRACE("(%ld) returning %p\n", size, retval); + DPRINT("(%ld) returning %p\n", size, retval); LOCK_HEAP; if(!retval && MSVCRT_new_handler) (*MSVCRT_new_handler)(size); @@ -61,7 +59,7 @@ */ void MSVCRT_operator_delete(void *mem) { - TRACE("(%p)\n", mem); + DPRINT("(%p)\n", mem); free(mem); } @@ -101,7 +99,7 @@ */ MSVCRT_new_handler_func MSVCRT_set_new_handler(void *func) { - TRACE("(%p)\n",func); + DPRINT("(%p)\n",func); MSVCRT__set_new_handler(NULL); return NULL; } @@ -124,7 +122,7 @@ */ int _heapadd(void* mem, size_t size) { - TRACE("(%p,%d) unsupported in Win32\n", mem,size); + DPRINT("(%p,%d) unsupported in Win32\n", mem,size); *_errno() = ENOSYS; return -1; } Modified: trunk/reactos/lib/sdk/crt/wine/thread.c URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/lib/sdk/crt/wine/thread.c?…
============================================================================== --- trunk/reactos/lib/sdk/crt/wine/thread.c (original) +++ trunk/reactos/lib/sdk/crt/wine/thread.c Thu Jul 26 19:13:36 2007 @@ -24,9 +24,7 @@ #include <malloc.h> #include <process.h> -#include "wine/debug.h" - -WINE_DEFAULT_DEBUG_CHANNEL(msvcrt); +#include <debug.h> void _amsg_exit (int errnum); /* Index to TLS */ @@ -92,7 +90,7 @@ { _beginthread_trampoline_t* trampoline; - TRACE("(%p, %d, %p)\n", start_address, stack_size, arglist); + DPRINT("(%p, %d, %p)\n", start_address, stack_size, arglist); /* Allocate the trampoline here so that it is still valid when the thread * starts... typically after this function has returned. Modified: trunk/reactos/lib/sdk/crt/wine/undname.c URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/lib/sdk/crt/wine/undname.c…
============================================================================== --- trunk/reactos/lib/sdk/crt/wine/undname.c (original) +++ trunk/reactos/lib/sdk/crt/wine/undname.c Thu Jul 26 19:13:36 2007 @@ -22,6 +22,7 @@ #include "wine/config.h" #include "wine/port.h" +#include <assert.h> #include <stdarg.h> #include "windef.h" Modified: trunk/reactos/subsystems/win32/win32k/ntuser/class.c URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/subsystems/win32/win32k/nt…
============================================================================== --- trunk/reactos/subsystems/win32/win32k/ntuser/class.c (original) +++ trunk/reactos/subsystems/win32/win32k/ntuser/class.c Thu Jul 26 19:13:36 2007 @@ -30,8 +30,11 @@ #include <w32k.h> -//#define YDEBUG -#include <wine/debug.h> +#define NDEBUG +#include <debug.h> +#define TRACE DPRINT +#define WARN DPRINT1 +#define ERR DPRINT1 /* WINDOWCLASS ***************************************************************/ Modified: trunk/reactos/subsystems/win32/win32k/ntuser/desktop.c URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/subsystems/win32/win32k/nt…
============================================================================== --- trunk/reactos/subsystems/win32/win32k/ntuser/desktop.c (original) +++ trunk/reactos/subsystems/win32/win32k/ntuser/desktop.c Thu Jul 26 19:13:36 2007 @@ -31,8 +31,11 @@ #include <w32k.h> -//#define YDEBUG -#include <wine/debug.h> +#define NDEBUG +#include <debug.h> +#define TRACE DPRINT +#define WARN DPRINT1 +#define ERR DPRINT1 static VOID
17 years, 5 months
1
0
0
0
← Newer
1
...
18
19
20
21
22
23
24
...
71
Older →
Jump to page:
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
Results per page:
10
25
50
100
200