XMASWAP2BYTES Macro

Two byte swap macro.

Syntax

#define XMASWAP2BYTES(n)  ((WORD)(((n) >> 8) | (((n) & 0xff) << 8)))  

Parameters

n
Type:  

Input value.

Requirements

Header: Declared in xma2defs.h.

Library: Use xaudio2.lib and acphal.lib.