Chromium Code Reviews| 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..2ecd86535d8f66331d33171369bbb0621fedaa47 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(); |
| +// Sets path to the correct port monitor DLL file name for the current machine. |
| +void GetPortMonitorDllName(FilePath* path); |
|
sanjeevr
2011/05/10 16:18:47
Since this is just a name, I think you should retu
Albert Bodenhamer
2011/05/11 21:46:12
Done.
|
| + |
| // 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. |
| +void LoadLocalString(DWORD string_id, string16* target); |
|
sanjeevr
2011/05/10 16:18:47
Again, you could probably return the target instea
Albert Bodenhamer
2011/05/11 21:46:12
Done.
|
| } |
| #endif // CLOUD_PRINT_VIRTUAL_DRIVER_WIN_HELPERS_H_ |