Author: tfaber
Date: Sun Apr 10 09:22:08 2016
New Revision: 71134
URL:
http://svn.reactos.org/svn/reactos?rev=71134&view=rev
Log:
[PSDK]
- Add DSA_GetItemCount and DSA_AppendItem. Patch by Sylvain Deverre.
CORE-10838
Modified:
trunk/reactos/include/psdk/commctrl.h
Modified: trunk/reactos/include/psdk/commctrl.h
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/include/psdk/commctrl.h?re…
==============================================================================
--- trunk/reactos/include/psdk/commctrl.h [iso-8859-1] (original)
+++ trunk/reactos/include/psdk/commctrl.h [iso-8859-1] Sun Apr 10 09:22:08 2016
@@ -4771,6 +4771,9 @@
_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);