https://git.reactos.org/?p=reactos.git;a=commitdiff;h=803532b8c2f87870fdf6a…
commit 803532b8c2f87870fdf6a73bf63089b75a54558d
Author: Katayama Hirofumi MZ <katayama.hirofumi.mz(a)gmail.com>
AuthorDate: Mon Nov 18 20:20:12 2019 +0900
Commit: Katayama Hirofumi MZ <katayama.hirofumi.mz(a)gmail.com>
CommitDate: Mon Nov 18 20:20:12 2019 +0900
[SHELL32_APITEST] Add EnumPropW call CORE-11701
---
modules/rostests/apitests/shell32/SHLimitInputEdit.cpp | 12 ++++++++++++
1 file changed, 12 insertions(+)
diff --git a/modules/rostests/apitests/shell32/SHLimitInputEdit.cpp
b/modules/rostests/apitests/shell32/SHLimitInputEdit.cpp
index 2b08bd55226..9112b8f7f21 100644
--- a/modules/rostests/apitests/shell32/SHLimitInputEdit.cpp
+++ b/modules/rostests/apitests/shell32/SHLimitInputEdit.cpp
@@ -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);
}