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
Originally posted by Slion June 15, 2022 HidD_GetProductString return value is generated as that Foundation.BOOLEAN class. Is there an elegant way to check its value? I tried getting TRUE and FALSE to generate but I don't think that works.
I ended up declaring something like that, still somewhat ugly though:
We have both BOOL and BOOLEAN types (of different lengths) in the metadata. We already take steps in CsWin32 to make BOOL feel as much like bool as possible. We can do the same for BOOLEAN.
The text was updated successfully, but these errors were encountered:
Discussed in #584
Originally posted by Slion June 15, 2022
HidD_GetProductString
return value is generated as thatFoundation.BOOLEAN
class. Is there an elegant way to check its value? I tried getting TRUE and FALSE to generate but I don't think that works.I ended up declaring something like that, still somewhat ugly though:
We have both
BOOL
andBOOLEAN
types (of different lengths) in the metadata. We already take steps in CsWin32 to makeBOOL
feel as much likebool
as possible. We can do the same forBOOLEAN
.The text was updated successfully, but these errors were encountered: