error.cpp
来自「这个是串口驱动程序开发包」· C++ 代码 · 共 26 行
CPP
26 行
/*++
Abstract:
This module contains the code that is very specific to error
operations in the serial driver
--*/
#include "precomp.h"
VOID KdSerialDevice::CommError(
IN PKdDpc Dpc,
IN PVOID SystemContext1,
IN PVOID SystemContext2
)
/*++
Routine Description:
This routine is invoked at dpc level to in response to
a comm error. All comm errors kill all read and writes
--*/
{
KillAllReadsOrWrites(&m_WriteQueue, &m_CurrentWriteIrp);
KillAllReadsOrWrites(&m_ReadQueue, &m_CurrentReadIrp);
}
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?