tsmf.h revision 2a7322928382e52db8e320d19df4f03dee16b3ed
/* $Id$ */
/** @file
* VBoxMMR - Multimedia Redirection
*/
/*
* Copyright (C) 2012 Oracle Corporation
*
* This file is part of VirtualBox Open Source Edition (OSE), as
* available from http://www.virtualbox.org. This file is free software;
* General Public License (GPL) as published by the Free Software
* Foundation, in version 2 as it comes in the "COPYING" file of the
* VirtualBox OSE distribution. VirtualBox OSE is distributed in the
* hope that it will be useful, but WITHOUT ANY WARRANTY of any kind.
*/
#ifndef ___TSMF_H
#define ___TSMF_H
/*
* BEGIN: TSMFRAW defines for both the guest and the server.
*/
/* TSMFRAW functions. */
/* The header of all tsmfraw transport messages. This is used by both the requests and the responses. */
#pragma pack(1)
typedef struct TSMFRAWMSGHDR
{
/* u32ChannelHandle is assigned by the guest. */
typedef struct TSMFRAWCREATEREQ
{
/* u32Result is 0, if the channel creation failed. */
typedef struct TSMFRAWCREATERSP
{
/* The server must close the channel. */
typedef struct TSMFRAWCLOSE
{
} TSMFRAWCLOSE;
/* Either the guest sends data to the client or the server forwards the received data to the guest. */
typedef struct TSMFRAWDATA
{
/* u32DataSize bytes follow. */
} TSMFRAWDATA;
#pragma pack()
typedef struct TSMFRAWDATA TSMFRAWDATA;
#endif /* ___TSMF_H */