Zebediah Figura (@zfigura) commented about include/xamlom.idl:
+import "oaidl.idl"; +import "ocidl.idl"; +import "inspectable.idl"; +import "dxgi1_2.idl"; + +cpp_quote("#define E_NOTFOUND HRESULT_FROM_WIN32(ERROR_NOT_FOUND)") +cpp_quote("#define E_UNKNOWNTYPE MAKE_HRESULT(SEVERITY_ERROR, FACILITY_XAML, 40L)") +cpp_quote("HRESULT InitializeXamlDiagnostic(LPCWSTR endPointName, DWORD pid, LPCWSTR wszDllXamlDiagnostics, LPCWSTR wszTAPDllName, CLSID tapClsid);") +cpp_quote("HRESULT InitializeXamlDiagnosticsEx(LPCWSTR endPointName, DWORD pid, LPCWSTR wszDllXamlDiagnostics, LPCWSTR wszTAPDllName, CLSID tapClsid, LPCWSTR wszInitializationData);") + +typedef unsigned hyper InstanceHandle; + +typedef enum VisualMutationType { + Add = 0, + Remove +} VisualMutationType; I think usual Wine style in new code is to put opening braces on their own line, to match the close braces.
-- https://gitlab.winehq.org/wine/wine/-/merge_requests/2773#note_32297