Esempio n. 1
0
 /// <summary>
 ///  Free the nested interfaces within a PinInfo struct.
 /// </summary>
 public static void FreePinInfo(PinInfo pinInfo)
 {
     if (pinInfo.filter != null)
     {
         Marshal.ReleaseComObject(pinInfo.filter);
         pinInfo.filter = null;
     }
 }
Esempio n. 2
0
 /// <summary>
 ///  Free the nested interfaces within a PinInfo struct.
 /// </summary>
 public static void FreePinInfo(PinInfo pinInfo)
 {
     if (pinInfo.filter != null)
     {
         Marshal.ReleaseComObject(pinInfo.filter);
         pinInfo.filter = null;
     }
 }