void comm_send_command()

in communication.c [130:142]


void comm_send_command(HANDLE pipe, uint32_t command_id, const uint8_t* buffer,
    uint32_t buffer_size, const uint8_t* key,
    size_t key_size)
{
    assert(INVALID_HANDLE_VALUE != pipe);
    assert(key);
    assert(key_size);

    comm_send_request(pipe, command_id, buffer_size);

    if (buffer && buffer_size)
        comm_encrypt_send_data(pipe, buffer, buffer_size, key, key_size);
}