You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
binary assignment operation `|=` cannot be applied to type `NOTIFY_ICON_STATE`
It's necessary for the dwState member of NOTIFYICONDATAW, though, and many other 1-tuple structs already allow bitwise OR. Bitwise AND and NOT are also needed for removal of bits.
Also, dwStateMask in NOTIFY_ICON_STATE should be of the same type as dwState. Officially, they're both DWORDs. In the windows crate, dwState is NOTIFY_ICON_STATE and dwStateMask is u32.
The text was updated successfully, but these errors were encountered:
I'm getting the error:
It's necessary for the
dwState
member ofNOTIFYICONDATAW
, though, and many other 1-tuple structs already allow bitwise OR. Bitwise AND and NOT are also needed for removal of bits.Also,
dwStateMask
inNOTIFY_ICON_STATE
should be of the same type asdwState
. Officially, they're bothDWORD
s. In thewindows
crate,dwState
isNOTIFY_ICON_STATE
anddwStateMask
isu32
.The text was updated successfully, but these errors were encountered: