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| Data | Encoding | Description |
|---|---|---|
| String length | 32-bit little-endian integer | Length of a string, in characters |
| String data | Array of 16-bit little-endian wchar_t | String characters |
Custom Parameter Value| Data | Encoding | Description |
|---|---|---|
| String length | 32-bit little-endian integer | Length of a string, in characters |
| String data | Array of 16-bit little-endian wchar_t | String characters |
Sending this IOCTL results in calling of the IScriptDevice.setParam method.