JustDoItTomorrow
3/6/2018 - 1:48 AM

位操作

DWORD modify_dword(DWORD style, DWORD add, DWORD del)
{
  style &= ~del; // 删除一位
  style |= add;
  return style;
}