mirror of
https://github.com/reactos/reactos.git
synced 2024-12-28 01:55:19 +00:00
[SHELL32_APITEST] Add DoPropTest to SHChangeNotify testcase
CORE-13950
This commit is contained in:
parent
7f766e94d4
commit
302356bf57
1 changed files with 18 additions and 0 deletions
|
@ -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]);
|
||||
|
|
Loading…
Reference in a new issue