Virtual Serial Port Tools - Advanced serial port configurations for your custom ports usage scenario
Download Virtual Serial Port Tools Hide this button

IOCTL_SCRIPTPORT_SET_PARAM Device I/O Request

An application that opens a virtual script port may communicate with a device script by sending a custom device control request. The numeric value of this IOCTL is 0x82FFA0C0.

It must pass two strings with the following encoding:

Custom Parameter Name
DataEncodingDescription
String length32-bit little-endian integerLength of a string, in characters
String dataArray of 16-bit little-endian wchar_tString characters
Custom Parameter Value
DataEncodingDescription
String length32-bit little-endian integerLength of a string, in characters
String dataArray of 16-bit little-endian wchar_tString characters

Sending this IOCTL results in calling of the IScriptDevice.setParam method.