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_UserMarshal64 function

Marshals a VARIANT object into the RPC buffer.

Syntax


unsigned char* __stdcall VARIANT_UserMarshal64(
  _In_    unsigned long *pFlags,
  _Inout_ unsigned char *pBuffer,
  _In_    VARIANT       *pVariant
);

Parameters

pFlags [in]

The data used by RPC.

pBuffer [in, out]

The current buffer. This pointer may or may not be aligned on entry.

pVariant [in]

The object.

Return value

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

Return codeDescription
S_OK

Success.

E_INVALIDARG

The pVariant parameter is not valid.

RPC_X_NULL_REF_POINTER

The pVariant parameter is null.

DISP_E_BADVARTYPE

The input parameter is not a valid type of variant.

 

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:
© 2016 Microsoft