Miscellaneous win32 utilities in C