Gay-dad-to-be Neil Patrick Harris has won an early Emmy at Saturday's Creative Arts Emmys.

The Creative Arts Emmys honor many of the behind-the-scenes categories such as costumes, lighting and make-up, but it also includes the guest performance category. The ceremony took place at the Nokia Theater in Los Angeles.

Harris walked away with an Emmy for Outstanding Guest Actor in a Comedy Series for an appearance on Fox's musical comedy hit Glee.

Also nominated in the category were Fred Willard (for a guest spot on ABC's Modern Family), Mike O'Malley (Glee), John Hamm (30 Rock), Eli Wallach (Nurse Jackie) and Will Arnett (30 Rock).

Harris is also nominated in the Outstanding Actor in a Comedy Series for his role as heterosexual sex hound Barney Stinson on CBS' How I Met Your Mother.

Openly gay nominees Jane Lynch (for a guest spot on CBS' Two And A Half Men), Lily Tomlin (Damages) and Alan Cumming (The Good Wife) lost out to Betty White (Saturday Night Live), Ann-Margret (Law & Order: SVU) and John Lithgow (Dexter), respectively.

You can watch an edited version of the three-hour ceremony on cabler E! on Friday.