Two byte swap macro.
#define XMASWAP2BYTES(n) ((WORD)(((n) >> 8) | (((n) & 0xff) << 8)))
n Type:
Input value.
Header: Declared in xma2defs.h.
Library: Use xaudio2.lib and acphal.lib.