in communication.c [184:191]
void comm_send_packet(HANDLE pipe, const packet_t* packet)
{
assert(INVALID_HANDLE_VALUE != pipe);
assert(packet);
if (!WriteFile(pipe, packet, sizeof(packet_t), NULL, NULL))
h_error("Failed to write packet to pipe\n");
}