Explaination of type def

i decided to take a deeper look into typedef
First The thing i know about typedef is
typedef short SmallNumber; //now short can be substituted with SmallNumber
typedef unsigned int Positive; //Positive can be substituted with unsigned int

but what does msdn mean by the following:
typedef unsigned long DWORD, *PDWORD, *LPDWORD;
I understand that DWORD is a substitute for unsigned long

what does *PDWORD mean ?
is it similar to
unsigned long *PDWORD?

I would appreciate an explaination thank you...



Last edited on
typedef unsigned long DWORD, *PDWORD, *LPDWORD;

is the same as:

1
2
3
typedef unsigned long DWORD; //DWORD == unsigned long
typedef unsigned long *PDWORD; //PDWORD == unsigned long*
typedef unsigned long *LPDWORD; //LPDWORD == unsigned long* 
Topic archived. No new replies allowed.