Commit f3ad9396 authored by Nikolay Sivov's avatar Nikolay Sivov Committed by Michael Stefaniuc

ole2disp: Implement SafeArrayGetElemsize().

Signed-off-by: 's avatarNikolay Sivov <nsivov@codeweavers.com> Signed-off-by: 's avatarAlexandre Julliard <julliard@winehq.org> (cherry picked from commit 5f8f1929) Signed-off-by: 's avatarMichael Stefaniuc <mstefani@winehq.org>
parent c33584a7
......@@ -99,6 +99,15 @@ USHORT WINAPI SafeArrayGetDim16(SAFEARRAY16 *sa)
}
/******************************************************************************
* SafeArrayGetElemsize [OLE2DISP.18]
*/
USHORT WINAPI SafeArrayGetElemsize16(SAFEARRAY16 *sa)
{
TRACE("(%p)\n", sa);
return sa->cbElements;
}
/******************************************************************************
* SafeArrayAllocDescriptor [OLE2DISP.38]
*/
HRESULT WINAPI SafeArrayAllocDescriptor16(UINT16 dims, SEGPTR *ret)
......
......@@ -15,7 +15,7 @@
15 stub SAFEARRAYCREATE
16 stub SAFEARRAYDESTROY
17 pascal -ret16 SafeArrayGetDim(ptr) SafeArrayGetDim16
18 stub SAFEARRAYGETELEMSIZE
18 pascal -ret16 SafeArrayGetElemsize(ptr) SafeArrayGetElemsize16
19 stub SAFEARRAYGETUBOUND
20 stub SAFEARRAYGETLBOUND
21 stub SAFEARRAYLOCK
......
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