To handle the exported particle data in C++ you will need to define a class deriving from UObject that implements the INiagaraParticleCallbackHandler interface.
The class can then be instantiated and piped to the Niagara System via User Parameter and subsequently linked to the Callback Handler parameter in the “Export Particle Data to Blueprint” module.