none
AssociateContext can used in win 7 ,but fail in vista RRS feed

  • 问题

  • I want to associate data from FWPM_LAYER_ALE_FLOW_ESTABLISHED_V4 to FWPM_LAYER_INBOUND_TRANSPORT_V4.

    In win 7 is useful.

    But in the vista if I set the flag  FWP_CALLOUT_FLAG_CONDITIONAL_ON_FLOW to the FWPM_LAYER_INBOUND_TRANSPORT_V4 layer callout.The callout will not be invoke.

    But in the FWPM_LAYER_ALE_FLOW_ESTABLISHED_V4 callout's ClassifyFn the FwpsFlowAssociateContext0 is return sucessful,and in Win 7 the same code can use ok,the callout could be invoke.

    In the windbg everting is ok,so  I don't know why was that happen.

    2011年9月21日 2:45

答案