示例#1
0
 /// <summary>
 /// Disposes the specified object.
 /// </summary>
 /// <param name="obj">The object.</param>
 public unsafe void DisposeObject(Native.NdisApi.STATIC_FILTER_TABLE_U *obj)
 {
     _pinnedManagedArrayAllocator.FreeArray((IntPtr)obj);
 }
示例#2
0
 /// <summary>
 /// Sets the packet filter table.
 /// </summary>
 /// <param name="filterTable">The filter table.</param>
 /// <returns><c>true</c> if successful, <c>false</c> otherwise.</returns>
 public unsafe bool SetPacketFilterTable(Native.NdisApi.STATIC_FILTER_TABLE_U *filterTable)
 {
     return(Native.NdisApi.SetPacketFilterTable(Handle, filterTable));
 }