public static voidGetNativeVariantForObject (object obj, IntPtr pDstNativeVariant)
Parameters
obj
The object for which to get a COM VARIANT.
pDstNativeVariant
A pointer to receive the VARIANT that corresponds to the obj parameter.
Remarks
The pDstNativeVariant parameter must point to sufficient memory to store the resulting VARIANT. Also, the implementation of this method calls VariantInit on the raw memory that the pDstNativeVariant parameter points to.