## class XGPostWinOSError

> Declared in <XError.h>
> Declared from XGPostError

> Post a Windows OS Error. This gets the error string from the Windows API function ::FormatMessage(), and assumes the error message is derived from ::GetLastError().

Public Methods

> XGPostWinOSError::GetErrorString
> XGPostWinOSError::GetLongError

Constructor/Destructor

> XGPostWinOSError::XGPostWinOSError

Public Methods

XGPostWinOSError::GetErrorString

> Usage: void XGPostWinOSError::GetErrorString(DWORD err,char*str)

> Get the error string. Looks up the error message associated with this Microsoft Windows specific OS error.

XGPostWinOSError::GetLongError

> Usage: void XGPostWinOSError::GetLongError(char*dest)

> Get the message string. This actually looks up the error message that was passed in the constructor and appends it to the error description.

Constructor/Destructor

XGPostWinOSError::XGPostWinOSError

> Usage: void XGPostUnixOSError::GetErrorString(int err,char*str)

> Create this error, appending the OS Error string to the message passed to me