is there a C function or object I can use to retrieve the time of the last system boot on a win 2k server?

I've tried digging around the msdn library, but I can't find anything there, or in the search for this forum. I'm also checking out the windows registry to see if there's any keys for it there, but it'd be nice if someone knew where I should be looking.

thanks in advance
-mark