SafeArrayGetElemsize

This function retrieves the size (in bytes) of the elements of a safe array.

At a Glance

Header file: Oleauto.h
Windows CE versions: 2.0 and later

Syntax

HRESULT SafeArrayGetElemsize(SAFEARRAY FAR* psa);

Parameters

psa

Pointer to an array descriptor created by SafeArrayCreate.

Return Values

Returns the size (in bytes) of the elements of a safe array.

Remarks

Passing into this function any invalid and, under some circumstances, NULL pointers will result in unexpected termination of the application.