delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1999/11/14/21:02:17

From: Weiqi Gao <weiqigao AT a DOT crl DOT com>
Newsgroups: comp.os.msdos.djgpp
Subject: Re: Are they there?
Date: Sun, 14 Nov 1999 19:05:42 -0600
Organization: CRL Network Services
Lines: 20
Message-ID: <382F5C66.8DA3DEE3@a.crl.com>
References: <qlTNIDAWOwL4Iwfj AT quayles1 DOT demon DOT co DOT uk>
NNTP-Posting-Host: a116008.stl1.as.crl.com
Mime-Version: 1.0
X-Mailer: Mozilla 4.51 [en] (X11; I; Linux 2.2.5-15 i586)
X-Accept-Language: en
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp
Reply-To: djgpp AT delorie DOT com

David Parrott wrote:
> 
> Heya all,
>     Sorry for the cryptic title but I would like to know if BYTE, WORD
> and DWORD are defined anywhere? If not what are there equivalent sizes
> so I can define them myself?
> The only one I know is #define BYTE unsigned char

These types are used in the Windows SDK.

typedef unsigned char BYTE;
typedef unsigned short WORD;
typedef unsigned int DWORD;

These are for 32-bit compilers.  You can find the above defines in
(e.g.,) Cygwin.

-- 
Weiqi Gao
weiqigao AT a DOT crl DOT com

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019