// Set up a hook for the CreateProcess API xhook_hook("kernel32", "CreateProcessW", my_create_process_hook, NULL);