00001 00002 00003 00004 00005 00006 00007 00008 00009 00010 00011 00012 00013 00014 00015 00016 00017 00018 00019 00020 00025 #ifndef _WIN32_LAST_ERROR_H_ 00026 #define _WIN32_LAST_ERROR_H_ 00027 00028 #include <string> 00029 00030 namespace GpuQuadraticCurveRender 00031 { 00032 00035 class Win32LastError 00036 { 00037 public: 00039 Win32LastError(void); 00040 00042 ~Win32LastError(void); 00043 00046 const std::wstring& ToString(void) const; 00047 00048 private: 00050 std::wstring m_stringError; 00051 00053 Win32LastError(const Win32LastError&); 00054 00056 Win32LastError& operator=(const Win32LastError&); 00057 00058 }; 00059 00060 } 00061 00062 #endif