00001 // format_system_message.h 00002 00003 #ifndef FORMAT_SYSTEM_MESSAGE_H 00004 #define FORMAT_SYSTEM_MESSAGE_H 00005 00006 #include <windows.h> 00007 #include <iosfwd> 00008 00013 class format_system_message 00014 { 00015 public: 00016 format_system_message(DWORD dwMessageId) : m_dwMessageId(dwMessageId) {}; 00017 DWORD m_dwMessageId; 00018 00019 friend std::ostream& operator<< (std::ostream&, const format_system_message &); 00020 }; 00021 00022 #endif // FORMAT_SYSTEM_MESSAGE_H
1.4.3