https://git.reactos.org/?p=reactos.git;a=commitdiff;h=70bbdca202b1c2eac59f4…
commit 70bbdca202b1c2eac59f4660128ed4036c99f50c
Author: Hermès Bélusca-Maïto <hermes.belusca-maito(a)reactos.org>
AuthorDate: Wed Feb 7 02:14:07 2018 +0100
Commit: Hermès Bélusca-Maïto <hermes.belusca-maito(a)reactos.org>
CommitDate: Thu Feb 15 22:37:32 2018 +0100
[COM_APITEST] Add tests for IUserNotification. CORE-13177
---
modules/rostests/apitests/com/com_apitest.c | 5 +++++
modules/rostests/apitests/com/shell32.c | 8 ++++++++
2 files changed, 13 insertions(+)
diff --git a/modules/rostests/apitests/com/com_apitest.c
b/modules/rostests/apitests/com/com_apitest.c
index 1627084a3d..f9aac66049 100644
--- a/modules/rostests/apitests/com/com_apitest.c
+++ b/modules/rostests/apitests/com/com_apitest.c
@@ -411,6 +411,11 @@ static KNOWN_INTERFACE KnownInterfaces[] =
{ ID_NAME(CLSID_ShellDesktop), TRUE },
+ { ID_NAME(IID_IQueryContinue) },
+ { ID_NAME(IID_IUserNotification) },
+// { ID_NAME(IID_IUserNotificationCallback) }, // On Vista+
+// { ID_NAME(IID_IUserNotification2) }, // On Vista+
+
{ ID_NAME(IID_IAggregateFilterCondition), TRUE },
{ ID_NAME(IID_IAliasRegistrationCallback), TRUE },
{ ID_NAME(IID_IAssociationArrayInitialize), TRUE },
diff --git a/modules/rostests/apitests/com/shell32.c
b/modules/rostests/apitests/com/shell32.c
index 0b6e63c1a3..c7bae24ba2 100644
--- a/modules/rostests/apitests/com/shell32.c
+++ b/modules/rostests/apitests/com/shell32.c
@@ -613,6 +613,14 @@ static const CLASS_AND_INTERFACES ExpectedInterfaces[] =
{ 0xc, &IID_IServiceProvider },
}
},
+ {
+ ID_NAME(CLSID_UserNotification),
+ {
+ { 0x0, &IID_IUserNotification },
+ { 0x0, &IID_IUnknown },
+// { 0x4, &IID_IUserNotification2 }, // On Vista+
+ }
+ },
};
static const INT ExpectedInterfaceCount = RTL_NUMBER_OF(ExpectedInterfaces);