home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Tricks of the Windows Gam…ming Gurus (2nd Edition)
/
Disc2.iso
/
msdn_vcb
/
samples
/
vc98
/
sdk
/
netds
/
winsock
/
dt_dll
/
huerror.h
< prev
next >
Wrap
Text File
|
1997-09-21
|
662b
|
37 lines
/*++
Copyright (c) 1995 Intel Corp
File Name:
huerror.cpp
Abstract:
Header file for error functions.
--*/
#ifndef _ERRORH_
#define _ERRORH_
#include <stdarg.h>
const int ERRORSTART = 0x100;
typedef enum { ENONE = ERRORSTART,
OTHERERROR,
ALLOCERROR,
INVALIDARG,
OBJNOTINIT,
OBJEFFERROR, // Object effeciency error.
ALREADYCONN,
ALREADYLIST
} ErrorCode_e;
void HUSetLastError(ErrorCode_e ErrorCode);
ErrorCode_e HUGetLastError();
void HUPrintError(char *func,ErrorCode_e ErrorCode = ENONE);
#endif