Extra defines added to Windows and ATL (#4191)
This commit is contained in:
parent
90392faa2b
commit
676507fd72
|
@ -3,6 +3,11 @@
|
||||||
<!-- Microsoft Windows ATL (Active Template Library) https://docs.microsoft.com/en-us/cpp/atl/atl-com-desktop-components -->
|
<!-- Microsoft Windows ATL (Active Template Library) https://docs.microsoft.com/en-us/cpp/atl/atl-com-desktop-components -->
|
||||||
<define name="BEGIN_COM_MAP(x)" value=""/>
|
<define name="BEGIN_COM_MAP(x)" value=""/>
|
||||||
<define name="END_COM_MAP()" value=""/>
|
<define name="END_COM_MAP()" value=""/>
|
||||||
|
<define name="BEGIN_MSG_MAP(x)" value=""/>
|
||||||
|
<define name="MESSAGE_HANDLER(msg, func)" value=""/>
|
||||||
|
<define name="COMMAND_HANDLER(id, code, func)" value=""/>
|
||||||
|
<define name="CHAIN_MSG_MAP(theChainClass)" value=""/>
|
||||||
|
<define name="END_MSG_MAP()" value=""/>
|
||||||
<define name="COM_INTERFACE_ENTRY(x)" value=""/>
|
<define name="COM_INTERFACE_ENTRY(x)" value=""/>
|
||||||
<define name="COM_INTERFACE_ENTRY2(x, x2)" value=""/>
|
<define name="COM_INTERFACE_ENTRY2(x, x2)" value=""/>
|
||||||
<define name="COM_INTERFACE_ENTRY_IID(iid, x)" value=""/>
|
<define name="COM_INTERFACE_ENTRY_IID(iid, x)" value=""/>
|
||||||
|
@ -20,8 +25,16 @@
|
||||||
<define name="COM_INTERFACE_ENTRY_NOINTERFACE(x)" value=""/>
|
<define name="COM_INTERFACE_ENTRY_NOINTERFACE(x)" value=""/>
|
||||||
<define name="DECLARE_LIBID(libid)" value=""/>
|
<define name="DECLARE_LIBID(libid)" value=""/>
|
||||||
<define name="DECLARE_NO_REGISTRY()" value=""/>
|
<define name="DECLARE_NO_REGISTRY()" value=""/>
|
||||||
|
<define name="DECLARE_NOT_AGGREGATABLE(x)" value=""/>
|
||||||
|
<define name="DECLARE_OBJECT_DESCRIPTION(x)" value=""/>
|
||||||
|
<define name="DECLARE_PROTECT_FINAL_CONSTRUCT()" value=""/>
|
||||||
<define name="DECLARE_REGISTRY(class,pid,vpid,nid,flags)" value=""/>
|
<define name="DECLARE_REGISTRY(class,pid,vpid,nid,flags)" value=""/>
|
||||||
<define name="DECLARE_REGISTRY_APPID_RESOURCEID(resid,appid)" value=""/>
|
<define name="DECLARE_REGISTRY_APPID_RESOURCEID(resid,appid)" value=""/>
|
||||||
<define name="DECLARE_REGISTRY_RESOURCE(x)" value=""/>
|
<define name="DECLARE_REGISTRY_RESOURCE(x)" value=""/>
|
||||||
<define name="DECLARE_REGISTRY_RESOURCEID(x)" value=""/>
|
<define name="DECLARE_REGISTRY_RESOURCEID(x)" value=""/>
|
||||||
|
<define name="STDMETHOD(method)" value="HRESULT STDMETHODCALLTYPE method"/>
|
||||||
|
<define name="STDMETHOD_(type,method)" value="type STDMETHODCALLTYPE method"/>
|
||||||
|
<define name="IFACEMETHOD(method)" value="STDMETHOD(method)"/>
|
||||||
|
<define name="IFACEMETHOD_(type,method)" value="STDMETHOD_(type,method)"/>
|
||||||
|
<define name="OBJECT_ENTRY_AUTO(clsid, class)" value=""/>
|
||||||
</def>
|
</def>
|
||||||
|
|
|
@ -7006,6 +7006,8 @@ HFONT CreateFont(
|
||||||
<define name="STDMETHODCALLTYPE" value="__stdcall"/>
|
<define name="STDMETHODCALLTYPE" value="__stdcall"/>
|
||||||
<define name="STDMETHODIMP" value="HRESULT STDMETHODCALLTYPE"/>
|
<define name="STDMETHODIMP" value="HRESULT STDMETHODCALLTYPE"/>
|
||||||
<define name="STDMETHODIMP_(type)" value="type STDMETHODCALLTYPE"/>
|
<define name="STDMETHODIMP_(type)" value="type STDMETHODCALLTYPE"/>
|
||||||
|
<define name="IFACEMETHODIMP" value="STDMETHODIMP"/>
|
||||||
|
<define name="IFACEMETHODIMP_(type)" value="STDMETHODIMP_(type)"/>
|
||||||
<!-- Text conversion macros like 'TEXT()', '_TEXT()' and '_T()' are handled internally by Cppcheck. There is no need to added them here. -->
|
<!-- 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="__pragma(x)" value=""/>
|
||||||
<define name="_countof(_Array)" value="(sizeof(_Array) / sizeof(_Array[0]))"/>
|
<define name="_countof(_Array)" value="(sizeof(_Array) / sizeof(_Array[0]))"/>
|
||||||
|
|
Loading…
Reference in New Issue