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

Side by Side Diff: third_party/lzma/v4_65/files/CPP/Windows/Error.h

Issue 624713003: Keep only base/extractor.[cc|h]. (Closed) Base URL: https://chromium.googlesource.com/external/omaha.git@master
Patch Set: Created 6 years, 2 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 unified diff | Download patch
OLDNEW
(Empty)
1 // Windows/Error.h
2
3 #ifndef __WINDOWS_ERROR_H
4 #define __WINDOWS_ERROR_H
5
6 #include "Common/MyString.h"
7
8 namespace NWindows {
9 namespace NError {
10
11 bool MyFormatMessage(DWORD messageID, CSysString &message);
12 inline CSysString MyFormatMessage(DWORD messageID)
13 {
14 CSysString message;
15 MyFormatMessage(messageID, message);
16 return message;
17 }
18 #ifdef _UNICODE
19 inline UString MyFormatMessageW(DWORD messageID)
20 { return MyFormatMessage(messageID); }
21 #else
22 bool MyFormatMessage(DWORD messageID, UString &message);
23 inline UString MyFormatMessageW(DWORD messageID)
24 {
25 UString message;
26 MyFormatMessage(messageID, message);
27 return message;
28 }
29 #endif
30
31 }}
32
33 #endif
OLDNEW
« no previous file with comments | « third_party/lzma/v4_65/files/CPP/Windows/Defs.h ('k') | third_party/lzma/v4_65/files/CPP/Windows/Error.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698