0x0000000C isnot flag. Flags are 0x01, 0x02, 0x04, 0x08, 0x10, 0x20, 0x40, 0x80 and so on. All this values are flags as they contains only one bit set to 1, while all others are set to 0. So you can easily specify severel flags as sum of each of them. For example 0x0C = 0x08 + 0x04, so its...