阅读:1936回复:2
EPP并口驱动NTSTATUS status ;//= STATUS_SUCCESS; I.Information() = 0; // PCM_RESOURCE_LIST pResListRaw = I.AllocatedResources(); PCM_RESOURCE_LIST pResListTranslated = I.TranslatedResources(); status =m_IOinterrupt.InitializeAndConnect( pResListTranslated, LinkTo(TheIsr), this ); //连接中断服务例程 if (!NT_SUCCESS(status)) { m_IOinterrupt.Invalidate(); return status; } m_DpcFor_Irq.Setup(LinkTo(DpcFor_Irq), this); status=m_ParPortIos.Initialize(0x378,TRUE,8,TRUE); m_ParPortIos.outb(2,0x90);//EPP 中断允许 return status; 我是想用并口中断,可外部给出中断时TheIsr中断服务例程不起做用,请高人指点.我的QQ是555800047,谢谢拉 |
|
沙发#
发布于:2008-06-26 20:44
QQ:55580047
|
|
板凳#
发布于:2008-07-01 13:20
没人理我,我自己顶.
|
|