Subversion Repositories Projects

Rev

Details | Last modification | View Log | RSS feed

Rev Author Line No. Line
212 dhylands 1
/****************************************************************************
2
*
3
*     Copyright (c) 2003 Dave Hylands
4
*           All Rights Reserved
5
*
6
*   Permission is granted to any individual or institution to use, copy, or
7
*   redistribute this software so long as it is not sold for profit, and that
8
*   this copyright notice is retained.
9
*
10
****************************************************************************/
11
/**
12
*
13
*   @file   Error.h
14
*
15
*   @brief  Functions to aid in the process of error handling.
16
*
17
****************************************************************************/
18
/**
19
*   @defgroup   Error   Error Handling function.
20
*
21
*   @brief      Contains function to aid in the error handling process.
22
*
23
****************************************************************************/
24
 
25
#if !defined( ERROR_H )
26
#define ERROR_H                   ///< Include Guard
27
 
28
// ---- Include Files -------------------------------------------------------
29
 
30
#if !defined( _WINDOWS_ )
31
#       include <windows.h>
32
#endif
33
 
34
/**
35
 * @addtogroup Error
36
 * @{
37
 */
38
 
39
//---------------------------------------------------------------------------
40
 
41
char *GetErrorStr( DWORD errNum, char *errStr, size_t maxLen );
42
char *GetLastErrorStr( char *errStr, size_t maxLen );
43
 
44
/** @} */
45
 
46
#endif // ERROR_H
47