Expand Minimize

VARIANT_UserMarshal function

Marshals a VARIANT object into the RPC buffer.

Syntax


unsigned char* __stdcall VARIANT_UserMarshal(
  _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

Library

OleAut32.lib

DLL

OleAut32.dll

 

 

Community Additions

ADD
Show:
© 2014 Microsoft