On Mon Sep 19 14:10:00 2022 +0000, Bernhard Kölbl wrote:
We usually apply WINAPI instead of STDMETHODCALLTYPE to WinRT functions to reduce line length. Also in most cases you could put the arguments on the same line as the function name. (Additionally, we kinda agreed on using ntdll style (spaces after function braces), but that isn't so necessary.)
STDMETHODCALLTYPE is used in wintypes, windows.media.devices, windows.globalization, and windows.gaming.input tests. So it's not really consistent. Regarding spaces, I don't see why style of one winrt module would extend to another. If it's a generally preferable style now, I don't remember it was mentioned anywhere.