Esempio n. 1
0
 static extern public int PropVariantClear(ref PropVariant val);
Esempio n. 2
0
 internal static bool TryGetValue(this IPortableDeviceValues values, PropertyKey key, out PropVariant value)
 {
     if (values.HasKeyValue(key))
     {
         PROPVARIANT val;
         values.GetValue(key, out val);
         value = (PropVariant)val;
         return(true);
     }
     value = new PropVariant();
     return(false);
 }
Esempio n. 3
0
 public PropVariantFacade()
 {
     this.Value = new PropVariant();
 }