locked
RtlEqualSid at FWPM_LAYER_STREAM_V4 RRS feed

  • Question

  •  

    As part of my call out driver,  I need to call the method 'RtlEqualSid ' at FWPM_LAYER_STREAM_V4. I have used this and it is working fine for me. But the documentation says that RtlEqualSid can be called at only when IRQL < DISPATCH_LEVEL . As the classify callouts may be called at IRQL <= DISPATCH_LEVEL, this may cause issues in future. Is there any alternative way which I can handle this situation ? I don't think we can pend(I already have it one in ALE_AUTH_CONNECT layer)  or queue the work item at this level .

    Could you please tell me how I can I solve this issue ?

     

    Thanks in advance.

     

    Regards,

    Krishnanand

    Monday, September 26, 2011 9:02 AM

Answers

  • If you wish to use this function, then you need to create a work item when running at DISPATCH_LEVEL.

    Hope this helps,

     


    Dusty Harper [MSFT]
    Microsoft Corporation
    ------------------------------------------------------------
    This posting is provided "AS IS", with NO warranties and confers NO rights
    ------------------------------------------------------------
    Monday, October 3, 2011 7:33 PM
    Moderator

All replies

  • If you wish to use this function, then you need to create a work item when running at DISPATCH_LEVEL.

    Hope this helps,

     


    Dusty Harper [MSFT]
    Microsoft Corporation
    ------------------------------------------------------------
    This posting is provided "AS IS", with NO warranties and confers NO rights
    ------------------------------------------------------------
    Monday, October 3, 2011 7:33 PM
    Moderator
  • Hi Dusty,

    Apologies for the late response.

    Thank you so much for the answer. Could you please point towards a sample code for queuing the work item?

    Thanks,

    Krishnanand

    Tuesday, November 29, 2011 6:53 AM
  • I don't have any samples readily available for public consumption.  the following links should help get you started:

    HTTP://MSDN.Microsoft.com/En-US/Library/FF550679.aspx

    HTTP://MSDN.Microsoft.com/En-US/Library/FF566380.aspx

     

    Hope this helps,


    Dusty Harper [MSFT]
    Microsoft Corporation
    ------------------------------------------------------------
    This posting is provided "AS IS", with NO warranties and confers NO rights
    ------------------------------------------------------------
    Tuesday, November 29, 2011 3:46 PM
    Moderator
  • Hi Dusty,

    Thanks, Sorry for the hassle.  I will go through these samples.

    Regards,

    Krishnanand

    Wednesday, November 30, 2011 3:44 AM