User`s manual

Software Manual • EKF Intelligent I/O Controller Family On
CompactPCI
- 31 -
EKF Elektronik GmbH * Philipp-Reis-Str. 4 * D-59065 HAMM (Germany)
Tel. +49 (0)2381/6890-0 * Fax. +49 (0)2381/6890-90 * E-Mail info@ekf.de * Internet http://www.ekf.de
Clear Modem Line DTR: IOCTL_SERIAL_CLEAR_DTR
This I/O control request clears the modem line
Data Terminal Ready
(DTR) on a serial port.
Call: DeviceIoControl(
handle, // handle returned by
CreateFile
IOCTL_SERIAL_CLEAR_DTR,
NULL,
0,
NULL,
0,
&unused, // pointer to a DWORD variable
pOverlapped // optional pointer to overlapped buffer (may be NULL)
);
Clear Modem Line RTS: IOCTL_SERIAL_CLEAR_RTS
This I/O control request clears the modem line
Clear To Send
(RTS) on a serial port.
Call: DeviceIoControl(
handle, // handle returned by
CreateFile
IOCTL_SERIAL_CLEAR_RTS,
NULL,
0,
NULL,
0,
&unused, // pointer to a DWORD variable
pOverlapped // optional pointer to overlapped buffer (may be NULL)
);
Get Configuration Size: IOCTL_SERIAL_CONFIG_SIZE
This I/O control request returns informations about the configuration size. The driver always
returns 0 in the variable returnValue to this obsolete request.
Call: DeviceIoControl(
handle, // handle returned by
CreateFile
IOCTL_SERIAL_CONFIG_SIZE,
NULL,
0,
&returnValue, // pointer to a DWORD variable
sizeof(returnValue),
&unused, // pointer to a DWORD variable
pOverlapped // optional pointer to overlapped buffer (may be NULL)
);