[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:
Oleg Dubinskiy 2020-10-24 18:02:18 +03:00 committed by GitHub
parent dcfb80c47a
commit d0a7df49fa
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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()