static void execute_async(DWORD WINAPI (*func)(LPVOID), LPVOID opaque,

                          Error **errp)

{

    Error *local_err = NULL;



    if (error_is_set(errp)) {

        return;

    }

    HANDLE thread = CreateThread(NULL, 0, func, opaque, 0, NULL);

    if (!thread) {

        error_set(&local_err, QERR_QGA_COMMAND_FAILED,

                  "failed to dispatch asynchronous command");

        error_propagate(errp, local_err);

    }

}

static void execute_async(DWORD WINAPI (*func)(LPVOID), LPVOID opaque,

                          Error **errp)

{

    Error *local_err = NULL;



    if (error_is_set(errp)) {

        return;

    }

    HANDLE thread = CreateThread(NULL, 0, func, opaque, 0, NULL);

    if (!thread) {

        error_set(&local_err, QERR_QGA_COMMAND_FAILED,

                  "failed to dispatch asynchronous command");

        error_propagate(errp, local_err);

    }

}

    if (error_is_set(errp)) {     if (error_is_set(errp)) {     if (error_is_set(errp)) {
static void FUNC_0(DWORD VAR_0 (*func)(LPVOID), LPVOID VAR_1,

                          Error **VAR_2)

{

    Error *local_err = NULL;



    if (error_is_set(VAR_2)) {

        return;

    }

    HANDLE thread = CreateThread(NULL, 0, func, VAR_1, 0, NULL);

    if (!thread) {

        error_set(&local_err, QERR_QGA_COMMAND_FAILED,

                  "failed to dispatch asynchronous command");

        error_propagate(VAR_2, local_err);

    }

}

static void FUNC_0(DWORD VAR_0 (*func)(LPVOID), LPVOID VAR_1,
Error **VAR_2)
{ Error *local_err = NULL; if (error_is_set(VAR_2)) { return; } HANDLE thread = CreateThread(NULL, 0, func, VAR_1, 0, NULL); if (!thread) { error_set(&local_err, QERR_QGA_COMMAND_FAILED,
"failed to dispatch asynchronous command"); error_propagate(VAR_2, local_err); } }