On Mon Jun 19 07:51:30 2023 +0000, Rémi Bernon wrote:
I think it's best to use fixed size types, this is just an internal interface and better types are exposed by the helper wrappers. I don't think we want to risk any mis-aligned / mis-sized types here.
Getting back to this, compilers seem not to complain about interchange of enum/bool/uint types. I've made all of the struct fields use the sized uint types and not added any helpers for now to minimize the changes. If you think we really should have conversion helpers I can add them in.
It seems there are also a few places elsewhere wine uses enums in the wow64 thunks if you want to fix them up later
``` mmdevapi/unixlib.h - test_connect_params.priority msv1_0/unixlib.h - chat_params.ntlm_ctx.mode secur32/secur32_priv.h - handshake_params.control_token ```