HIBYTE function Null safety
- int w
Retrieves the high-order byte from the specified 16-bit value.
Implementation
//
// #define HIBYTE(w) ((BYTE)((((DWORD_PTR)(w)) >> 8) & 0xff))
int HIBYTE(int w) => (w >> 8) & 0xff;
Retrieves the high-order byte from the specified 16-bit value.
//
// #define HIBYTE(w) ((BYTE)((((DWORD_PTR)(w)) >> 8) & 0xff))
int HIBYTE(int w) => (w >> 8) & 0xff;