windows.cfg: Add macros STDMETHODIMP[_] and STDMETHODCALLTYPE (#1908)

This commit is contained in:
Sebastian 2019-06-20 00:44:43 +02:00 committed by GitHub
parent cf79830afd
commit 1a4854d93d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 0 deletions

View File

@ -5860,6 +5860,9 @@ HFONT CreateFont(
<define name="INVALID_HANDLE_VALUE" value="0"/>
<define name="INVALID_SOCKET" value="0"/>
<define name="WINAPI" value="__stdcall"/>
<define name="STDMETHODCALLTYPE" value="__stdcall"/>
<define name="STDMETHODIMP" value="HRESULT STDMETHODCALLTYPE"/>
<define name="STDMETHODIMP_(type)" value="type STDMETHODCALLTYPE"/>
<!-- Text conversion macros like 'TEXT()', '_TEXT()' and '_T()' are handled internally by Cppcheck. There is no need to added them here. -->
<define name="__pragma(x)" value=""/>
<define name="_countof(_Array)" value="(sizeof(_Array) / sizeof(_Array[0]))"/>