Hello all,
I am a bit puzzled by this macro definition:
Couldn't the same effect be achieved with the following?Code:#define HIWORD(l) ((WORD) (((DWORD) (l) >> 16) & 0xFFFF))
If so, what is the advantage of the longer version (from WINDEF.H)?Code:#define HIWORD(l) ((WORD) (((l) >> 16)))
Thanks for any help.