VST3 example to send Program Change

Hello everybody
I know the limitations of VST3-sdk in sending CC and Program Change to MIDI Out (Midibuffer).

Can you help me understand (preferably with a little code) how to send Program Changes through the HOST (parameters)?

Thanks
R