none
about DPC in WDF RRS feed

  • Question

  • Hello , I am not sure that when I create DPC  in WDF drv ,
    snippet code just like:

    WDF_DPC_CONFIG dpcConfig;
    WDF_OBJECT_ATTRIBUTES dpcAttributes;
    NTSTATUS status;

    WDF_DPC_CONFIG_INIT(
    &dpcConfig,
    InjectPacket);

    dpcConfig.AutomaticSerialization = TRUE;
    WDF_OBJECT_ATTRIBUTES_INIT(&dpcAttributes);
    dpcAttributes.ParentObject = gDevice;
    status = WdfDpcCreate(
    &dpcConfig,
    &dpcAttributes,
    &gInjectDpc
    );

    if (!NT_SUCCESS(status)) {
    return status;
    }


    just this code:
    dpcConfig.AutomaticSerialization = TRUE;
    is it means that in multi-processors platform,  the DPC is non-reentrant?
    thanx

    Thursday, July 29, 2010 9:18 AM