mirror of
https://github.com/reactos/reactos.git
synced 2024-11-24 12:03:31 +08:00
[BROWSEUI] CCommonBrowser class should support aggregation (#3308)
It will remove the following error from the log when use MS shell32.dll in ReactOS: `fixme:(dll/win32/ole32/compobj.c:3454) Class {af604efe-8897-11d1-b944-00a0c90312e1} does not support aggregation`. References: https://www.geoffchappell.com/studies/windows/ie/browseui/classes/ccommonbrowser.htm https://docs.microsoft.com/en-us/cpp/atl/reference/aggregation-and-class-factory-macros?view=vs-2019 CORE-17345
This commit is contained in:
parent
dcfb80c47a
commit
d0a7df49fa
@ -187,7 +187,7 @@ public:
|
||||
virtual HRESULT STDMETHODCALLTYPE Drop(IDataObject *pDataObj, DWORD grfKeyState, POINTL pt, DWORD *pdwEffect);
|
||||
|
||||
DECLARE_REGISTRY_RESOURCEID(IDR_COMMONBROWSER)
|
||||
DECLARE_NOT_AGGREGATABLE(CCommonBrowser)
|
||||
DECLARE_AGGREGATABLE(CCommonBrowser)
|
||||
|
||||
DECLARE_PROTECT_FINAL_CONSTRUCT()
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user