LPSAFEARRAY_Size Function
Calculates the wire size of the SAFEARRAY object, and gets the SAFEARRAY handle and data needed by the LPSAFEARRAY_UserSize Function function.
ULONG __RPC_USER LPSAFEARRAY_Size(
ULONG * pFlags,
ULONG Offset,
LPSAFEARRAY * ppSafeArray,
const IID * piid
);
Parameter | Description |
|---|---|
pFlags | [in] Points to data used by RPC. |
Offset | [in] Sets the buffer offset so that the SAFEARRAY object is properly aligned when it is marshaled to the buffer. |
ppSafeArray | [in] Points to the safe array that contains the data to marshal. |
piid | [in] Points to an IID for an IDispatch or IUnknown interface. Used when the members of the safe array are IDispatch or IUnknown. |