https://git.reactos.org/?p=reactos.git;a=commitdiff;h=d0a7df49fa8faf997d393832a500903a165e2bff

commit d0a7df49fa8faf997d393832a500903a165e2bff
Author:     Oleg Dubinskiy <oleg.dubinskij2...@yandex.ua>
AuthorDate: Sat Oct 24 18:02:18 2020 +0300
Commit:     GitHub <nore...@github.com>
CommitDate: Sat Oct 24 18:02:18 2020 +0300

    [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
---
 dll/win32/browseui/commonbrowser.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dll/win32/browseui/commonbrowser.h 
b/dll/win32/browseui/commonbrowser.h
index c482bb154e3..c6060b7a093 100644
--- a/dll/win32/browseui/commonbrowser.h
+++ b/dll/win32/browseui/commonbrowser.h
@@ -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()
 

Reply via email to