HIWORD function Null safety

int HIWORD(
  1. int l
)

Retrieves the high-order word from the specified 32-bit value.

Implementation

//
// #define HIWORD(l)           ((WORD)((((DWORD_PTR)(l)) >> 16) & 0xffff))
int HIWORD(int l) => (l >> 16) & 0xffff;