public DriverState driver_state_disable(DriverState state) { lock (procSyncObject) { PinProc.PRDriverStateDisable(ref state); } return(state); }
public void driver_disable(ushort number) { DriverState state = this.driver_get_state(number); lock (procSyncObject) { PinProc.PRDriverStateDisable(ref state); PinProc.PRDriverUpdateState(ProcHandle, ref state); PinProc.PRFlushWriteData(ProcHandle); } }