Prev Next
MAKELONG info
The MAKELONG macro creates an unsigned 32-bit value by concatenating
two given 16-bit values.
DWORD MAKELONG(
WORD wLow,
|
// low-order word of long value
|
WORD wHigh
|
// high-order word of long value
|
);
|
|
Parameters
-
wLow
-
Specifies the low-order word of the new long value.
-
wHigh
-
Specifies the high-order word of the new long value.
Return Values
The return value is an unsigned 32-bit value.
Remarks
The MAKELONG macro is defined as follows:
#define MAKELONG(a, b) \
((LONG) (((WORD) (a)) | ((DWORD) ((WORD) (b))) << 16))
file: /Techref/os/win/api/win32/mac/src/mac02_25.htm, 1KB, , updated: 2000/4/7 11:06, local time: 2024/11/28 15: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/mac02_25.htm"> MAKELONG</A> |
Did you find what you needed?
|
.
|