API used to access process heap structure