*outName = '\0';
Str255 uncleanName; GetWTitle(wind, uncleanName); CopyPascalToCString(uncleanName, outName, maxLen);
void GetCleanedWindowName(WindowPtr wind, char* outName, long maxLen){	//  write me	*outName = '\0';}