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 code | Description |
|---|---|
|
Success. |
|
The pVariant parameter is not valid. |
|
The pVariant parameter is null. |
|
The input parameter is not a valid type of variant. |
Requirements
|
Library |
|
|---|---|
|
DLL |
|
Show: