ole2disp: Implement SafeArrayGetDim().

Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
Nikolay Sivov 2016-01-13 12:25:47 +03:00 committed by Alexandre Julliard
parent a3b10f13b1
commit 332dd07fad
2 changed files with 10 additions and 1 deletions

View File

@ -89,6 +89,15 @@ static ULONG safearray_getcellcount(const SAFEARRAY16 *sa)
return cells; return cells;
} }
/******************************************************************************
* SafeArrayGetDim [OLE2DISP.17]
*/
USHORT WINAPI SafeArrayGetDim16(SAFEARRAY16 *sa)
{
TRACE("(%p)\n", sa);
return sa->cDims;
}
/****************************************************************************** /******************************************************************************
* SafeArrayAllocDescriptor [OLE2DISP.38] * SafeArrayAllocDescriptor [OLE2DISP.38]
*/ */

View File

@ -14,7 +14,7 @@
14 stub DOSDATETIMETOVARIANTTIME 14 stub DOSDATETIMETOVARIANTTIME
15 stub SAFEARRAYCREATE 15 stub SAFEARRAYCREATE
16 stub SAFEARRAYDESTROY 16 stub SAFEARRAYDESTROY
17 stub SAFEARRAYGETDIM 17 pascal -ret16 SafeArrayGetDim(ptr) SafeArrayGetDim16
18 stub SAFEARRAYGETELEMSIZE 18 stub SAFEARRAYGETELEMSIZE
19 stub SAFEARRAYGETUBOUND 19 stub SAFEARRAYGETUBOUND
20 stub SAFEARRAYGETLBOUND 20 stub SAFEARRAYGETLBOUND