public bool SetNumberInputBuffers(int buffers) { lock (lockObject) { if (reference == null) { throw new InvalidOperationException("The HID reference is null."); } else if (reference.IsInvalid) { throw new InvalidOperationException("The HID reference is invalid"); } return(Hid.HidD_SetNumInputBuffers(reference, buffers)); } }
public void SetNumInputBuffers(uint numberBuffers) { Hid.HidD_SetNumInputBuffers(Handle, (int)numberBuffers); }