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
The latest CsWin32 version (and metadata that it brings in) uses BOOLEAN instead of byte here. It won't be bool because the ABI isn't equivalent in every case. But with #586, BOOLEAN becomes much easier to work with and can implicitly convert with bool too.
Actual behavior
CsWin32 translate the BOOLEAN values of the method SetSuspendState to byte instead to bool.
The definition of method SetSuspendState in powrprof.h is as follows:
Generated C# method signature:
Expected behavior
Repro steps
NativeMethods.txt
content:Context
The text was updated successfully, but these errors were encountered: