| OLD | NEW |
| (Empty) | |
| 1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. |
| 4 |
| 5 #ifndef CLOUD_PRINT_VIRTUAL_DRIVER_WIN_VIRTUAL_DRIVER_HELPERS_H_ |
| 6 #define CLOUD_PRINT_VIRTUAL_DRIVER_WIN_VIRTUAL_DRIVER_HELPERS_H_ |
| 7 |
| 8 #include <windows.h> |
| 9 |
| 10 #include "base/strings/string16.h" |
| 11 |
| 12 namespace base { |
| 13 class FilePath; |
| 14 } |
| 15 |
| 16 namespace cloud_print { |
| 17 |
| 18 // Convert an HRESULT to a localized string and display it in a message box. |
| 19 void DisplayWindowsMessage(HWND hwnd, |
| 20 HRESULT hr, |
| 21 const base::string16& caption); |
| 22 |
| 23 // Gets the standard install path for "version 3" print drivers. |
| 24 HRESULT GetPrinterDriverDir(base::FilePath* path); |
| 25 |
| 26 } // namespace cloud_print |
| 27 |
| 28 #endif // CLOUD_PRINT_VIRTUAL_DRIVER_WIN_VIRTUAL_DRIVER_HELPERS_H_ |
| OLD | NEW |