Prev Next
MAKEWORD info
The MAKEWORD macro creates an unsigned 16-bit integer by concatenating
two given unsigned character values.
WORD MAKEWORD(
BYTE bLow,
|
// low-order byte of short value
|
BYTE bHigh
|
// high-order byte of short value
|
);
|
|
Parameters
-
bLow
-
Specifies the low-order byte of the new short value.
-
bHigh
-
Specifies the high-order byte of the new short value.
Return Values
The return value is an unsigned 16-bit integer value.
Remarks
The MAKEWORD macro is defined as follows:
#define MAKEWORD(a, b) \
((WORD) (((BYTE) (a)) | ((WORD) ((BYTE) (b))) << 8))
file: /Techref/os/win/api/win32/mac/src/mac03.htm, 1KB, , updated: 2000/4/7 11:06, local time: 2024/11/30 12:27,
|
| ©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/mac03.htm"> MAKEWORD</A> |
Did you find what you needed?
|
.
|