(v13) Devices
This page applies to Harlequin v13.1r0 and later; and to Harlequin Core but not Harlequin MultiRIP
The interpreter maintains a linked list of devices, stored in the DEVICELIST structure defined in the SDK header swdevice.h.
These structures are maintained by the Harlequin Core, and should not be altered. The name
field points to the NUL-terminated device name, excluding any leading and trailing %
characters. For example, when opening the file (%os%Sys/Start)
, the name
field of the dev
parameter passed to the open call of the %os%
device points to the C string ”os
” . devicetype
points to the DEVICETYPE
structure for this device. (v13) Device type interface
describes these structures.) private
points to the private area of memory allocated by the Harlequin Core when this device was created. See the description of the sizeof_private
field in the description of the DEVICETYPE
structure.