From 0f968e68a7164bb29db150914d2b15c6322e8ebe Mon Sep 17 00:00:00 2001 From: Thomas Faber Date: Sun, 10 Apr 2016 09:22:08 +0000 Subject: [PATCH] [PSDK] - Add DSA_GetItemCount and DSA_AppendItem. Patch by Sylvain Deverre. CORE-10838 svn path=/trunk/; revision=71134 --- reactos/include/psdk/commctrl.h | 3 +++ 1 file changed, 3 insertions(+) diff --git a/reactos/include/psdk/commctrl.h b/reactos/include/psdk/commctrl.h index 13e3c39233c..150b745afbb 100644 --- a/reactos/include/psdk/commctrl.h +++ b/reactos/include/psdk/commctrl.h @@ -4771,6 +4771,9 @@ typedef struct { _In_ int i, _In_ void *pitem); + #define DSA_GetItemCount(hdsa) (*(int *) (hdsa)) + #define DSA_AppendItem(hdsa, pitem) DSA_InsertItem (hdsa, DA_LAST, pitem) + typedef struct _DPA *HDPA; WINCOMMCTRLAPI HDPA WINAPI DPA_Create(int cItemGrow);