[DllImport("kernel.dll")]
public external staic void QueryPerformanceCounter(out long value);只是个演示,P/Invoke的东西还很多,具体实现要看你的dll.
public external staic void QueryPerformanceCounter(out long value);只是个演示,P/Invoke的东西还很多,具体实现要看你的dll.
public static extern bool IFInitInterface(int dwCodeProtocol, int dwDriverProtocol, string pDriverParam);
先声明再引用!