[pso] [tema2]win - deinregistrare intrerupere - IoDisconnectInterrupt

Mihai Florian my_mihai_florian at yahoo.com
Fri Apr 20 02:12:24 EEST 2007


Buna,

Ce vrei tu se poate face asa:

BOOLEAN SynchronizeRoutine(PVOID  SynchronizeContext)
{
// aici IRQL-ul este DIRQL
// opresti device-ul
}

...
// aici IRQL-ul este PASSIVE_LEVEL
KeSynchronizeExecution(Interrupt, SynchronizeRoutine,
SynchronizeContext);
// aici IRQL-ul a revenit la PASSIVE_LEVEL
IoDisconnectInterrupt(Interrupt);
...

Dupa cum observi se respecta pasii si nu apare nici o contrazicere.

Mihai

__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 


More information about the pso mailing list