Commit 82bab328 authored by Nikolay Sivov's avatar Nikolay Sivov Committed by Alexandre Julliard

comctl32/dsa: Implement DSA_GetSize().

parent ff0634df
......@@ -127,11 +127,12 @@
@ stdcall DestroyPropertySheetPage(long)
@ stdcall -private DllGetVersion(ptr)
@ stdcall -private DllInstall(long wstr)
@ stdcall DPA_GetSize(ptr)
@ stdcall -ret64 DPA_GetSize(ptr)
@ stdcall DrawShadowText(long wstr long ptr long long long long long)
@ stdcall DrawStatusText(long ptr ptr long) DrawStatusTextA
@ stdcall DrawStatusTextW(long ptr wstr long)
@ stdcall DSA_Clone(ptr)
@ stdcall -ret64 DSA_GetSize(ptr)
@ stdcall FlatSB_EnableScrollBar (long long long)
@ stdcall FlatSB_GetScrollInfo (long long ptr)
@ stdcall FlatSB_GetScrollPos (long long)
......
......@@ -470,3 +470,23 @@ HDSA WINAPI DSA_Clone(HDSA hdsa)
return dest;
}
/**************************************************************************
* DSA_GetSize [COMCTL32.@]
*
* Returns allocated memory size for this array
*
* PARAMS
* hdsa [I] handle to the dynamic storage array
*
* RETURNS
* Size
*/
ULONGLONG WINAPI DSA_GetSize(HDSA hdsa)
{
TRACE("(%p)\n", hdsa);
if (!hdsa) return 0;
return sizeof(*hdsa) + hdsa->nMaxCount*hdsa->nItemSize;
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment