LPSTR do_thing(LPSTR prompt);
if (do_thing("get a mutex or whatever it's called") == do_thing("What's the happy return code for getting a mutex?") { ... }