VARIANT_UserMarshal Function

Marshals a VARIANT object into the RPC buffer.

unsigned char  *__RPC_USER VARIANT_UserMarshal(
  ULONG  *pFlags,
  BYTE  *pBuffer,
  VARIANT  *pVariant
);

Parameter

Description

pFlags

[in] Points to data used by RPC.

pBuffer

[in] Points to the current buffer. This pointer may or may not be aligned on entry.

pVariant

[in] Points to the VARIANT object.

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

Return value

Meaning

S_OK

Success.

E_INVALIDARG

pVariant is invalid.

RPC_X_NULL_REF_POINTER

pVariant is NULL.

DISP_E_BADVARTYPE

The input parameter is not a valid type of variant.

Show:
© 2014 Microsoft. All rights reserved.