  Large pT processes at HERA, initiated by almost real and by virtual photons,
provide information on the structure of the photon. We report on the latest
measurements of dijets and large pT particle production with the H1 detector.
This includes a leading order determination of an effective virtual photon
parton density, of the gluon density of the photon, and comparisons with
models.
