![]() |
| ||
|
|
Новости |
Поиск |
FAQ |
Статьи |
Книги |
Новости VCL
| | Форумы ЧАТ |
Орешник |
|
| |||
| |||
« предыдущая ветвь | форум | следующая ветвь »
символ CTRL+BREAK в сом порт
SGU © (2003-10-29 13:42:00)
КАК отправить символ CTRL+BREAK в сом порт
Вася Пупкин (2003-10-30 20:40:00) [1]
Удалено модератором
Примечание: Offtopic
Anatoly Podgoretsky (2003-10-30 17:16:00) [2]
SETBREAK это явно не тот CTRL+BREAK, хотя кто его знает, вопрос задан безграмотно
Вася Пупкин (2003-10-30 16:46:00) [3]
EscapeCommFunction
BOOL EscapeCommFunction(
HANDLE hFile, // handle to communications device
DWORD dwFunc // extended function to perform
);
Parameters
hFile
[in] Handle to the communications device. The CreateFile function returns this handle.
dwFunc
[in] Specifies the code of the extended function to perform. This parameter can be one of the following values
.........
SETBREAKSuspends character transmission and places the transmission line in a break state until the ClearCommBreak function is called (or EscapeCommFunction is called with the CLRBREAKextended function code). The SETBREAK extended function code is identical to the SetCommBreak function. Note that this extended function does not flush data that has not been transmitted.
SetCommBreak
The SetCommBreak function suspends character transmission for a specified communications device and places the transmission line in a break state until the ClearCommBreak function is called.
BOOL SetCommBreak(
HANDLE hFile // handle to communications device
);
SPeller (2003-10-30 14:44:00) [4]
Попробуй отправить символ Alt-Ctrl-Del. Как отправишь - смело шли и Ctrl-Break.
SGU (2003-10-30 14:02:00) [5]
Удалено модератором
Примечание: Личная переписка
VMcL (2003-10-29 13:46:00) [6]
СимволаCtrl+Break в природе не существует.