Calling ProcessEvent with PassByRef parameters does nothing

Hi! Where does memory of Buffer goes free? Is it not necessary?