CompletionRoutine thread context RRS feed

  • Question

  • Hi,

    If a lower driver on stack calls WdfRequestComplete and upper driver has registered a CompletionRoutine to the request. will the CompletionRoutine always be called in the same thread context as the thread of the lower driver the called WdfRequestComplete? 

    I see this is usually the behavior - but wanted to know if I can always guaranty it?



    Tuesday, May 17, 2016 8:40 AM


  • While it is likely the case, it is not documented to always be that way so no you cannot guarantee it.

    Don Burn Windows Driver Consulting Website:

    Tuesday, May 17, 2016 11:00 AM