Windows apps
Collapse the table of content
Expand the table of content
Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

LPSAFEARRAY_UserSize function

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

Syntax


unsigned long __stdcall LPSAFEARRAY_UserSize(
  _In_ unsigned long *pFlags,
  _In_ unsigned long Offset,
  _In_ LPSAFEARRAY   *ppSafeArray
);

Parameters

pFlags [in]

The 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]

The safe array that contains the data to marshal.

Return value

The value obtained from the returned HRESULT value is S_OK.

Requirements

Library

OleAut32.lib

DLL

OleAut32.dll

 

 

Show:
© 2017 Microsoft