Windows Dev Center

LPSAFEARRAY_UserSize Function

Calculates the wire size of the SAFEARRAY object, and gets the SAFEARRAY handle and data.

ULONG __RPC_USER LPSAFEARRAY_UserSize(
  ULONG  *pFlags, 
  ULONG Offset,
  LPSAFEARRAY  *ppSafeArray
);

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.

The return value obtained from the returned HRESULT is one of the following.

Return value

Meaning

S_OK

Success.

Show:
© 2015 Microsoft