Click here to Skip to main content
15,799,398 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
What is wrong with this code line ?

DWORD quantityXreserved;

// I think there is a proper format
// For the variable name
// "quantityXreserved" , but
// I donot know how exactly

I am getting this error :

Intellisence identifier "DWORD" is undefined

What I have tried:

DWORD quantityXreserved;

// I am not sure but , I think it is
// something like this :

DWORD _quantityXreserved;
Updated 30-Mar-23 3:34am

For Windows data types you should include windows.h.
Share this answer
Rick York 27-Mar-23 16:08pm    
It's defined in wtypes.h, among other places, so at a minimum that file can be included.
typedef unsigned long       DWORD;
Share this answer

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900