Exemple #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;
     }
 }
Exemple #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;
     }
 }