LPSAFEARRAY_UserSize function (wia_xp.h)

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

Syntax

unsigned long LPSAFEARRAY_UserSize(
  [in] unsigned long *unnamedParam1,
  [in] unsigned long unnamedParam2,
  [in] LPSAFEARRAY   *unnamedParam3
);

Parameters

[in] unnamedParam1

The data used by RPC.

[in] unnamedParam2

Sets the buffer offset so that the SAFEARRAY object is properly aligned when it is marshaled to the buffer.

[in] unnamedParam3

The safe array that contains the data to marshal.

Return value

The value obtained from the returned HRESULT value is S_OK.

Requirements

Requirement Value
Target Platform Windows
Header wia_xp.h (include Propidlbase.h)
Library OleAut32.lib
DLL OleAut32.dll