Calculates the wire size of the VARIANT object, and gets the VARIANT handle and data.
[in] Points to data used by RPC.
[in] Represents the current buffer offset where the object will be marshaled. The method has to account for any padding needed for the VARIANT object to be properly aligned when it will be marshaled to the buffer.
[in] Points to the VARIANT object.