[SHELL32_APITEST] Add EnumPropW call CORE-11701

This commit is contained in:
Katayama Hirofumi MZ 2019-11-18 20:20:12 +09:00
parent 6cc8e7db4b
commit 803532b8c2

View file

@ -228,6 +228,16 @@ STDMETHODIMP CShellFolder::GetValidCharacters(
return S_OK;
}
static BOOL CALLBACK
PropEnumProc(
HWND hwnd,
LPCWSTR lpszString,
HANDLE hData)
{
trace("PropEnumProc: '%S' --> %p\n", lpszString, hData);
return TRUE;
}
static INT_PTR CALLBACK
DialogProc(HWND hwnd, UINT uMsg, WPARAM wParam, LPARAM lParam)
{
@ -266,6 +276,8 @@ DialogProc(HWND hwnd, UINT uMsg, WPARAM wParam, LPARAM lParam)
trace("GWLP_WNDPROC: %p\n", (void *)GetWindowLongPtr(hEdt1, GWLP_WNDPROC));
EnumPropsW(hEdt1, PropEnumProc);
n = (INT)SendMessageW(hEdt1, EM_GETLIMITTEXT, 0, 0);
ok_int(n, 234);
}