Look through the sample projects on the oleexp page, there's tons of examples of using PROPVARIANTs with IPropertyStore values.

Basically, for a simple number, you can use an unmodified Variant type. .SetValue(5), or if it's in say a Long, .SetValue(CVar(lngVar))