| 
 Q:
      What is the difference between SendSoftwareInterruptandFWSendSoftwareInterrupt? A:
      A: SendSoftwareInterruptinDriverServicesLibdoesn't actually
      do anything except immediately call the associated interrupt
      handler. FWSendSoftwareInterruptdepends on a patch toWaitNextEventfor it's behavior. In general when you callFWSendSoftwareInterrupt,
      the handler installed usingFWCreateSoftwareInterruptgets
      run the next timeWaitNextEventis called. When you callFWCreateSoftwareInterruptone of the parameters is aTaskID.FWSendSoftwareInterrupttries to make sure that theTaskIDof the software interrupt matches the TaskID of the current
      process according to the Process Manager. If you don't care
      what the current process is when you get called (as would
      likely be the case for a driver) pass inkInvalidIDinstead
      ofFWCurrentTaskIDwhen you callFWCreateSoftwareInterrupt.
      This way the software interrupt will get called the next
      timeWaitNextEventgets called after you callFWSendSoftwareInterrupt.
 
 [Feb 13 2002] |