The easiest question ever!
Hey, could someone tell me what a DWORD is? Why do functions like timeGetTime and GetTickCount return a DWORD as opposed to a long?
Thanks!
-E
DWORD is (a short way of saying) unsigned long.
---visit #directxdev on afternet <- not just for directx, despite the name
A DWORD is a double word. word = byte so dword evaluates to 2 bytes.
I''m just full of useless information
-------- E y e .Scream Software --------
----------------------------------------
/-\
http://www.eyescream.cjb.net | * |
\-/
----------------------------------------
I''m just full of useless information

-------- E y e .Scream Software --------
----------------------------------------
/-\
http://www.eyescream.cjb.net | * |
\-/
----------------------------------------
quote:
Original post by TheGilb
A DWORD is a double word. word = byte so dword evaluates to 2 bytes.
I'm just full of useless information![]()
Actually, in the IA-32 world a WORD is the same as 2 BYTEs, hence a DWORD is the same as 4 BYTEs.
[edited by - Dactylos on March 29, 2002 6:37:22 PM]
Finally!
Thanks alot! I''ve been pondering aout this for a while and it has finally coem to an end! Thanks for your help =)
Js
Thanks alot! I''ve been pondering aout this for a while and it has finally coem to an end! Thanks for your help =)
Js
Js
You could''ve easily found this out by searching for DWORD in MSDN.
---visit #directxdev on afternet <- not just for directx, despite the name
rightclick on DWORD, choose gotodefinition and you see what it is..
probably
typedef unsigned long DWORD;
dunno..
probably
typedef unsigned long DWORD;
dunno..
If that's not the help you're after then you're going to have to explain the problem better than what you have. - joanusdmentia
My Page davepermen.net | My Music on Bandcamp and on Soundcloud
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement
Recommended Tutorials
Advertisement