<!doctype HTML public "-//W3C//DTD HTML 3.2//EN">
<html>

<!-- Copyright (c) Thundernet Developmnet Group, Inc., 2003.  All rights reserved. -->

<head>
<title>Sample C++ code -- Modem Finder</title>
</head>

<body>
<pre><xmp>
/* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */
/*  STDDEFS.H                          Alan Partis                           */
/*                                     Copyright (C) AP MicroSystems, Inc    */
/*                                     1993 All rights reserved.             */
/*                                                                           */
/*  Description:   Header file containing common types and definitions.      */
/*                                                                           */
/*  Contents:                                                                */
/*                                                                           */
/*  Date      Initials  Comments                                             */
/*  -----------------------------------------------------------------------  */
/*  04 Sep 93 acp       Initial Creation                                     */
/*                                                                           */
/* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */
#ifndef  _STDDEFS_H
#define  _STDDEFS_H


//
// standard types
//
typedef  unsigned char  byte;
typedef  unsigned int   word;
typedef  unsigned long  dword;


//
// standard macro constants
//
#define  BEEP()         putch(0x07)
#define  HIBYTE(x)      ((byte)(x >> 8))
#define  LOBYTE(x)      ((byte)(x & 0x00FF))

#define  EOL            '\n'
#define  NULL_STR       ""
#define  SPACE          ' '

#define  SUCCESS        1
#define  PASS           1
#define  FAIL           0

#define  TRUE           1
#define  FALSE          0

#define  YES            1
#define  NO             0

#ifndef  NULL
#define  NULL           0L
#endif

#endif

</xmp></pre>
<hr>
<table border="0" width="100%">
<tr>
    <td align="left" > &nbsp; </td>
    <td align="right"> <font size="-1"> Copyright &copy; Thundernet Development Group Inc., 2003.  <br> All rights reserved.</font> </td>
</table>


</body>
</html>

