[PATCH] regedit: err() on printing

Marcus Meissner meissner at suse.de
Thu Oct 11 12:14:58 CDT 2012


Hi,

One of my colleagues tried to print using regedit... and
wondered why it does not work. Well, because it does not
do printing yet.

Ciao, Marcus
---
 programs/regedit/framewnd.c |    3 +++
 1 Datei geändert, 3 Zeilen hinzugefügt(+)

diff --git a/programs/regedit/framewnd.c b/programs/regedit/framewnd.c
index b3ca594..4413322 100644
--- a/programs/regedit/framewnd.c
+++ b/programs/regedit/framewnd.c
@@ -408,6 +408,7 @@ static BOOL PrintRegistryHive(HWND hWnd, LPCWSTR path)
     pd.nMinPage    = 1;
     pd.nMaxPage    = 0xFFFF;
     if (PrintDlgW(&pd)) {
+        ERR("printing is not yet implemented.\n");
         /* GDI calls to render output. */
         DeleteDC(pd.hDC); /* Delete DC when done.*/
     }
@@ -420,11 +421,13 @@ static BOOL PrintRegistryHive(HWND hWnd, LPCWSTR path)
         switch (pd.dwResultAction) {
         case PD_RESULT_APPLY:
             /*The user clicked the Apply button and later clicked the Cancel button. This indicates that the user wants to apply the changes made in the property sheet, but does not yet want to print. The PRINTDLGEX structure contains the information specified by the user at the time the Apply button was clicked. */
+            ERR("printing is not yet implemented.\n");
             break;
         case PD_RESULT_CANCEL:
             /*The user clicked the Cancel button. The information in the PRINTDLGEX structure is unchanged. */
             break;
         case PD_RESULT_PRINT:
+            ERR("printing is not yet implemented.\n");
             /*The user clicked the Print button. The PRINTDLGEX structure contains the information specified by the user. */
             break;
         default:
-- 
1.7.10.4




More information about the wine-patches mailing list