Influenza vaccine was immunogenic in HIV-uninfected and HIV-infected pregnant women and provided partial protection against confirmed influenza in both groups of women and in infants who were not exposed to HIV .