Hello,
can anyone show me AURORA equivalents for makelong, MakeLparam, makeword, etc.??
Any help would be appreciated.
Haim
The MAKELONG macro creates a LONG value by concatenating the specified values. MAKELPARAM works in same way, but returns another 32-bit type - LPARAM.
DWORD MAKELONG(
WORD wLow,
WORD wHigh
);
sub MAKELONG(unsigned word wLow, unsigned word wHigh),unsigned int
{
return wLow | (wHigh << 16);
}
Makeword takes two bytes and returns unsigned word. The 'shift' is 8 instead 16.
Sapero,
Thank you very much for your explanation1
Haim