Prev Next
The HIBYTE macro retrieves the high-order byte from the given 16-bit
value.
BYTE HIBYTE(
WORD wValue
|
// value from which high-order byte is retrieved
|
);
|
|
Parameters
-
wValue
-
Specifies the value to be converted.
Return Values
The return value is the high-order byte of the specified value.
Remarks
The HIBYTE macro is defined as follows:
#define HIBYTE(w) ((BYTE) (((WORD) (w) >> 8) & 0xFF))
See Also
HIWORD, LOBYTE
file: /Techref/os/win/api/win32/mac/src/mac00_23.htm, 1KB, , updated: 2000/4/7 11:06, local time: 2024/12/1 02:14,
|
| ©2024 These pages are served without commercial sponsorship. (No popup ads, etc...).Bandwidth abuse increases hosting cost forcing sponsorship or shutdown. This server aggressively defends against automated copying for any reason including offline viewing, duplication, etc... Please respect this requirement and DO NOT RIP THIS SITE. Questions? <A HREF="http://sxlist.com/TECHREF/os/win/api/win32/mac/src/mac00_23.htm"> HIBYTE</A> |
Did you find what you needed?
|
.
|