VARIANT_UserMarshal function
Applies to: desktop apps | Metro style apps
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 |
|
Send comments about this topic to Microsoft
Build date: 3/6/2012