Useful macros for working with VARIANT!

VARIANT is a COM data type desgined to hold different kinds types of values. VARIANT structure contains a member vt of type VARTYPE. This vt determines the type of data that a VARIANT object will hold! For eg: [sourcecode language=’cpp’]VARIANT vtVarUINT; vtVarUINT.vt = VT_UI4; vtVarUINT.ulVal = 123;[/sourcecode] So every vt type has a corresponding value […]
Continue reading…