Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(455)

Unified Diff: cloud_print/virtual_driver/win/virtual_driver_helpers.h

Issue 6930019: Added resources. (Closed)
Patch Set: Dealing with git stupidity Created 9 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: cloud_print/virtual_driver/win/virtual_driver_helpers.h
diff --git a/cloud_print/virtual_driver/win/virtual_driver_helpers.h b/cloud_print/virtual_driver/win/virtual_driver_helpers.h
index 6d2a75331b364e7c8da2b44e9ed87c43e2f5deb7..bc777aa67c0a59b1a53fbc56722cc588ca2591d7 100644
--- a/cloud_print/virtual_driver/win/virtual_driver_helpers.h
+++ b/cloud_print/virtual_driver/win/virtual_driver_helpers.h
@@ -7,19 +7,32 @@
#pragma once
#include <windows.h>
+#include "base/string16.h"
class FilePath;
namespace cloud_print {
+// Returns TRUE if the current OS is 64 bit.
+bool IsSystem64Bit();
+
// Convert an HRESULT to a localized string and display it in a message box.
-void DisplayWindowsMessage(HWND hwnd, HRESULT message_id);
+void DisplayWindowsMessage(HWND hwnd,
+ HRESULT message_id,
+ const string16 &caption);
// Similar to the Windows API call GetLastError but returns an HRESULT.
HRESULT GetLastHResult();
+// Returns the correct port monitor DLL file name for the current machine.
+string16 GetPortMonitorDllName();
+
// Gets the standard install path for "version 3" print drivers.
HRESULT GetPrinterDriverDir(FilePath* path);
+
+// Retrieves a string from the string table of the module that contains the
+// calling code.
+string16 LoadLocalString(DWORD string_id);
}
#endif // CLOUD_PRINT_VIRTUAL_DRIVER_WIN_HELPERS_H_
« no previous file with comments | « cloud_print/virtual_driver/win/virtual_driver_consts.cc ('k') | cloud_print/virtual_driver/win/virtual_driver_helpers.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698