Suppose you have a DWORD type value that could be API_CONST1 or API_CONST2, or both.

Through VB, how do you handle the situation where its both, so "If value = API_CONST1 Then" would fail even though the value is API_CONST1 masked with the other constant?

Thanks.