[SHELL32_APITEST] Add DoPropTest to SHChangeNotify testcase

CORE-13950
This commit is contained in:
Katayama Hirofumi MZ 2020-02-29 16:02:48 +09:00
parent 7f766e94d4
commit 302356bf57

View file

@ -222,6 +222,22 @@ DoEnd(HWND hwnd)
SendMessageW(s_hwnd, WM_COMMAND, IDOK, 0);
}
static BOOL CALLBACK
PropEnumProcEx(HWND hwnd, LPWSTR lpszString, HANDLE hData, ULONG_PTR dwData)
{
if (HIWORD(lpszString))
trace("Prop: '%S' --> %p\n", lpszString, hData);
else
trace("Prop: '%u' --> %p\n", LOWORD(lpszString), hData);
return TRUE;
}
static void
DoPropTest(HWND hwnd)
{
EnumPropsExW(hwnd, PropEnumProcEx, 0);
}
START_TEST(SHChangeNotify)
{
WCHAR szPath[MAX_PATH];
@ -271,6 +287,8 @@ START_TEST(SHChangeNotify)
return;
}
DoPropTest(s_hwnd);
for (size_t i = 0; i < _countof(s_TestEntries); ++i)
{
DoTestEntry(&s_TestEntries[i]);