# TestFrameWork::Win32LastError Class Reference

Get formatted last error code of windows. More...

`#include <Win32LastError.h>`

List of all members.

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

## Detailed Description

Get formatted last error code of windows.

## 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/TaskBasedFlockSim/Win32LastError.h
- src/TaskBasedFlockSim/Win32LastError.cpp