We prove a Maschke type theorem for Doi-Hopf modules. A sufficient con
dition in order to have a Maschke type property is that there exists a
normalized integral map for the Doi-Hopf datum in question. The resul
ts are applied to graded modules and to Yetter-Drinfel'd modules. As a
nother application, a characterization of cosemisimple coalgebras over
a field is given. (C) 1997 Academic Press.