https://git.reactos.org/?p=reactos.git;a=commitdiff;h=c3b3fcd11129a4ef36edf…
commit c3b3fcd11129a4ef36edfacb97b0c92fe745577d
Author: Mark Jansen <mark.jansen(a)reactos.org>
AuthorDate: Sun Oct 25 20:30:03 2020 +0100
Commit: Mark Jansen <mark.jansen(a)reactos.org>
CommitDate: Sun Oct 25 20:30:03 2020 +0100
[RAPPS] Abort screenshot iteration on the first not found
This should decrease startup time / db parse time
---
base/applications/rapps/available.cpp | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/base/applications/rapps/available.cpp b/base/applications/rapps/available.cpp
index fa266d7f5e1..075afd7063a 100644
--- a/base/applications/rapps/available.cpp
+++ b/base/applications/rapps/available.cpp
@@ -67,7 +67,9 @@ VOID CAvailableApplicationInfo::RetrieveGeneralInfo(AvailableStrings& AvlbString
CStringW ScrnshotLocation;
if (!GetString(ScrnshotField, ScrnshotLocation))
{
- continue;
+ // We stop at the first screenshot not found,
+ // so screenshots _have_ to be consecutive
+ break;
}
https://git.reactos.org/?p=reactos.git;a=commitdiff;h=d0a7df49fa8faf997d393…
commit d0a7df49fa8faf997d393832a500903a165e2bff
Author: Oleg Dubinskiy <oleg.dubinskij2013(a)yandex.ua>
AuthorDate: Sat Oct 24 18:02:18 2020 +0300
Commit: GitHub <noreply(a)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/ccommonbr…https://docs.microsoft.com/en-us/cpp/atl/reference/aggregation-and-class-fa…
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()