VARIANT_UserSize function (oaidl.h)
Calculates the wire size of the VARIANT object, and gets its handle and data.
Syntax
unsigned long VARIANT_UserSize(
[in] unsigned long *unnamedParam1,
[in] unsigned long unnamedParam2,
[in] VARIANT *unnamedParam3
);
Parameters
[in] unnamedParam1
The data used by RPC.
[in] unnamedParam2
The current buffer offset where the object will be marshaled. The method has to account for any padding needed for the object to be properly aligned when it will be marshaled to the buffer.
[in] unnamedParam3
The object.
Return value
The value obtained from the returned HRESULT value is S_OK.
Requirements
Requirement | Value |
---|---|
Target Platform | Windows |
Header | oaidl.h |
Library | OleAut32.lib |
DLL | OleAut32.dll |