HiWord/LoWord/etc in C#
C#
3
Posts
2
Posters
0
Views
1
Watching
-
What are the C# equivalents of the C/C++ HIWORD/LOWORD/HIBYTE/LOBYTE macros? In VB6 I had to write my own, but surely C# must have them.
"Do unto others as you would have them do unto you." - Jesus
"An eye for an eye only makes the whole world blind." - Mahatma Gandhi -
What are the C# equivalents of the C/C++ HIWORD/LOWORD/HIBYTE/LOBYTE macros? In VB6 I had to write my own, but surely C# must have them.
"Do unto others as you would have them do unto you." - Jesus
"An eye for an eye only makes the whole world blind." - Mahatma Gandhi -
static int HiWord(int Number) { return (Number >> 16) & 0xffff; } static int LoWord(int Number) { return Number & 0xffff; } All I need is a roadmap and then I might be able to find a clue.