# GpuQuadraticCurveRender::Win32LastError Class Reference

Retrive the last error code of windows and format it to a string. More...

`#include <Win32LastError.h>`

List of all members.

## Public Member Functions
| Win32LastError (void)
| Constructor. Retrieve last error code.
| ~Win32LastError (void)
| Destructor.
const std::wstring & | ToString (void) const
| Formatted error string.

## Detailed Description

Retrive the last error code of windows and format it to a string.

## Constructor & Destructor Documentation

Win32LastError::Win32LastError | ( | void |  | ) |

Constructor. Retrieve last error code.

Note:
  Code from http://msdn.microsoft.com/en-us/library/ms680582(VS.85).aspx

## Member Function Documentation

const std::wstring & Win32LastError::ToString | ( | void |  | ) | const

Formatted error string.

Returns:
  error string.

The documentation for this class was generated from the following files:

- src/GpuQuadraticCurveRender/Win32LastError.h
- src/GpuQuadraticCurveRender/Win32LastError.cpp