From 70bbdca202b1c2eac59f4660128ed4036c99f50c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Herm=C3=A8s=20B=C3=A9lusca-Ma=C3=AFto?= Date: Wed, 7 Feb 2018 02:14:07 +0100 Subject: [PATCH] [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 1627084a3d2..f9aac66049f 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 0b6e63c1a39..c7bae24ba2c 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);