有这样一段串口监视过滤驱动程序的代码如下:RtlInitUnicodeString(&usDeviceToFilter,L"\\\\COM1"); NtStatus=IoGetDeviceObjectPointer( IN &usDeviceToFilter, IN FILE_ALL_ACCESS, OUT &pTargetFileObject, OUT &pTargetDeviceObject ); if(!N ...
有这样一段串口监视过滤驱动程序的代码如下:RtlInitUnicodeString(&usDeviceToFilter,L"\\\\COM1"); NtStatus=IoGetDeviceObjectPointer( IN &usDeviceToFilter, IN FILE_ALL_ACCESS, OUT &pTargetFileObject, OUT &pTargetDeviceObject ); if(!N ...