Allocate DPA heap memory in PCC framework

Hi,
I am tring to allocate DPA heap memory in PCC framework. However, the PCC framework shields flexio_process and doca_dpa contexts.
So I cannot allocate DPA buffer or FlexIO window with related APIs provided in doca_dpa.h and flexio.h.
How can I allocate DPA heap memory in PCC framework. Both PCC events and Heap Memory is necessary for me.

Thanks!