Home > Back-end >  C how to determine the variable type exist VT_PLAY enumerated types?
C how to determine the variable type exist VT_PLAY enumerated types?

Time:01-19

 
Enum VideoType {
X0001 VT_SHOW=0,
X0002 VT_HIDE=0,
VT_PLAY=0 x0004
}

Long type=VT_SHOW | VT_PLAY;


CodePudding user response:

If (type & amp; VT_PLAY)...
  • Related