Peter
2007-11-15 21:06:51 UTC
Some Windows API functions take a DWORD (e.g. dwFlags) as input and you can
for instance build that variable by adding parts during a process that
determines the best combination:
E.g. dwFlags |= DO_OR_DONT_DO_STUFF ;
Now, what if I want to remove a part again ?
What does the exact opposite of |= (regardless if that part was already set
or not) and leaves all the rest intact ?
for instance build that variable by adding parts during a process that
determines the best combination:
E.g. dwFlags |= DO_OR_DONT_DO_STUFF ;
Now, what if I want to remove a part again ?
What does the exact opposite of |= (regardless if that part was already set
or not) and leaves all the rest intact ?