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.

VARIANT_UserSize64 function

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

Syntax


unsigned long __stdcall VARIANT_UserSize64(
  _In_ unsigned long *pFlags,
  _In_ unsigned long Offset,
  _In_ VARIANT       *pVariant
);

Parameters

pFlags [in]

The data used by RPC.

Offset [in]

The current buffer offset where the object will be marshaled. The method has to account for any padding needed for the object to be properly aligned when it will be marshaled to the buffer.

pVariant [in]

The object.

Return value

The value obtained from the returned HRESULT value is S_OK.

Requirements

Minimum supported client

Windows XP [desktop apps | Windows Store apps]

Minimum supported server

Windows Server 2003 [desktop apps | Windows Store apps]

Library

OleAut32.lib

DLL

OleAut32.dll

 

 

Show:
© 2017 Microsoft