Esempio n. 1
0
        public void Close(IOHIDOptionsType options = IOHIDOptionsType.None)
        {
            ThrowIfDisposed();
            var result = IOHIDManagerClose(Handle, (uint)options);

            IOObject.ThrowIfError(result);
        }
Esempio n. 2
0
        public void Open(IOHIDOptionsType options = IOHIDOptionsType.None)
        {
            ThrowIfDisposed();
            var result = IOHIDDeviceOpen(Handle, (uint)options);

            IOObject.ThrowIfError(result);
        }
Esempio n. 3
0
		public void Close (IOHIDOptionsType options = IOHIDOptionsType.None)
		{
			ThrowIfDisposed ();
			var result = IOHIDManagerClose (Handle, (uint)options);
			IOObject.ThrowIfError (result);
		}
Esempio n. 4
0
		public void Open (IOHIDOptionsType options = IOHIDOptionsType.None) {
			ThrowIfDisposed ();
			var result = IOHIDDeviceOpen (Handle, (uint)options);
			IOObject.ThrowIfError (result);
		}