/* Shouldn't happen unless the service failed to start. */
if (! pid) return;
char pid_string[16], code[16];
_snprintf_s(pid_string, sizeof(pid_string), _TRUNCATE, "%lu", pid);
_snprintf_s(code, sizeof(code), _TRUNCATE, "%lu", exitcode);
/* Shouldn't happen unless the service failed to start. */
if (! pid) return;
char pid_string[16], code[16];
_snprintf_s(pid_string, sizeof(pid_string), _TRUNCATE, "%lu", pid);
_snprintf_s(code, sizeof(code), _TRUNCATE, "%lu", exitcode);