Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

CustomDevice.SendIOControlAsync | sendIOControlAsync method

Sends an IO control code.

Syntax


customDevice.sendIOControlAsync(ioControlCode, inputBuffer, outputBuffer).done( /* Your success and error handlers */ );

Parameters

ioControlCode

Type: IIOControlCode

The IO control code.

inputBuffer

Type: IBuffer

The input buffer.

outputBuffer

Type: IBuffer

The output buffer.

Return value

Type: IAsyncOperation<UInt32>

The result of the async operation.

Remarks

SendIOControlAsync is like TrySendIOControlAsync, except this method throws an exception if the operation fails. If you want to handle any exceptions that occur during the operation, use the SendIOControlAsync method. If you just want to be notified whether the operation is successful, but not handle any specific exceptions, use TrySendIOControlAsync.

Requirements (device family)

Device family

Desktop

API contract

Windows.Devices.Custom.CustomDeviceContract, introduced version 1.0

Namespace

Windows.Devices.Custom
Windows::Devices::Custom [C++]

Metadata

Windows.Devices.Custom.CustomDeviceContract.winmd

Requirements (operating system)

Minimum supported client

Windows 8.1

Minimum supported server

Windows Server 2012 R2

Minimum supported phone

None supported

Namespace

Windows.Devices.Custom
Windows::Devices::Custom [C++]

Metadata

Windows.winmd

See also

CustomDevice

 

 

Show:
© 2015 Microsoft