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

ole2disp: Implement SafeArrayGetDim().

Signed-off-by: 's avatarNikolay Sivov <nsivov@codeweavers.com> Signed-off-by: 's avatarAlexandre Julliard <julliard@winehq.org> (cherry picked from commit 332dd07f) Signed-off-by: 's avatarMichael Stefaniuc <mstefani@winehq.org>
parent 84cae8c3
......@@ -90,6 +90,15 @@ static ULONG safearray_getcellcount(const SAFEARRAY16 *sa)
}
/******************************************************************************
* SafeArrayGetDim [OLE2DISP.17]
*/
USHORT WINAPI SafeArrayGetDim16(SAFEARRAY16 *sa)
{
TRACE("(%p)\n", sa);
return sa->cDims;
}
/******************************************************************************
* SafeArrayAllocDescriptor [OLE2DISP.38]
*/
HRESULT WINAPI SafeArrayAllocDescriptor16(UINT16 dims, SEGPTR *ret)
......
......@@ -14,7 +14,7 @@
14 stub DOSDATETIMETOVARIANTTIME
15 stub SAFEARRAYCREATE
16 stub SAFEARRAYDESTROY
17 stub SAFEARRAYGETDIM
17 pascal -ret16 SafeArrayGetDim(ptr) SafeArrayGetDim16
18 stub SAFEARRAYGETELEMSIZE
19 stub SAFEARRAYGETUBOUND
20 stub SAFEARRAYGETLBOUND
......
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