mirror of
https://github.com/netchx/netch.git
synced 2026-03-14 17:43:18 +08:00
15 lines
488 B
C#
15 lines
488 B
C#
using System.Runtime.InteropServices;
|
|
|
|
namespace Netch.Interops
|
|
{
|
|
public static class NFAPI
|
|
{
|
|
private const string nfapinet_bin = "nfapinet.dll";
|
|
|
|
[DllImport(nfapinet_bin, CallingConvention = CallingConvention.Cdecl)]
|
|
public static extern NF_STATUS nf_registerDriver(string driverName);
|
|
|
|
[DllImport(nfapinet_bin, CallingConvention = CallingConvention.Cdecl)]
|
|
public static extern NF_STATUS nf_unRegisterDriver(string driverName);
|
|
}
|
|
} |