Back in the days of Windows 3.11, Microsoft provided a special layer that made it possible for 16-bit and 32-bit code to interact with each other.The technique used for such interface is called thunking, which allowed both sides to be blissfully unaware that they are not quite compatible.