VBoxClipboardExt.h revision c7210c2150d85e23412b7c1d887e7f38c6ab2d25
4ad0e04fb2a93fb4980de2644f7ccca9e8869083vboxsync/** @file
4ad0e04fb2a93fb4980de2644f7ccca9e8869083vboxsync * Shared Clipboard:
4ad0e04fb2a93fb4980de2644f7ccca9e8869083vboxsync * Common header for the service extension.
ae20b83f0c94402a3e3ac021c3d4e5f827e4905cvboxsync */
ae20b83f0c94402a3e3ac021c3d4e5f827e4905cvboxsync
4ad0e04fb2a93fb4980de2644f7ccca9e8869083vboxsync/*
4ad0e04fb2a93fb4980de2644f7ccca9e8869083vboxsync * Copyright (C) 2006-2007 Sun Microsystems, Inc.
4ad0e04fb2a93fb4980de2644f7ccca9e8869083vboxsync *
4ad0e04fb2a93fb4980de2644f7ccca9e8869083vboxsync * This file is part of VirtualBox Open Source Edition (OSE), as
4ad0e04fb2a93fb4980de2644f7ccca9e8869083vboxsync * available from http://www.virtualbox.org. This file is free software;
6ba6cd69eba9efb4a3838ccf50235e68e8458f1avboxsync * you can redistribute it and/or modify it under the terms of the GNU
80df0ee26f97f8e12c6bb0506d4d901ce7a76357vboxsync * General Public License (GPL) as published by the Free Software
80df0ee26f97f8e12c6bb0506d4d901ce7a76357vboxsync * Foundation, in version 2 as it comes in the "COPYING" file of the
80df0ee26f97f8e12c6bb0506d4d901ce7a76357vboxsync * VirtualBox OSE distribution. VirtualBox OSE is distributed in the
80df0ee26f97f8e12c6bb0506d4d901ce7a76357vboxsync * hope that it will be useful, but WITHOUT ANY WARRANTY of any kind.
ae20b83f0c94402a3e3ac021c3d4e5f827e4905cvboxsync *
ae20b83f0c94402a3e3ac021c3d4e5f827e4905cvboxsync * The contents of this file may alternatively be used under the terms
ae20b83f0c94402a3e3ac021c3d4e5f827e4905cvboxsync * of the Common Development and Distribution License Version 1.0
ae20b83f0c94402a3e3ac021c3d4e5f827e4905cvboxsync * (CDDL) only, as it comes in the "COPYING.CDDL" file of the
ae20b83f0c94402a3e3ac021c3d4e5f827e4905cvboxsync * VirtualBox OSE distribution, in which case the provisions of the
ae20b83f0c94402a3e3ac021c3d4e5f827e4905cvboxsync * CDDL are applicable instead of those of the GPL.
ae20b83f0c94402a3e3ac021c3d4e5f827e4905cvboxsync *
ae20b83f0c94402a3e3ac021c3d4e5f827e4905cvboxsync * You may elect to license modified versions of this file under the
2a2095adf36a009010d72cf36ffabb3c1261ad08vboxsync * terms and conditions of either the GPL or the CDDL or both.
2a2095adf36a009010d72cf36ffabb3c1261ad08vboxsync *
4ad0e04fb2a93fb4980de2644f7ccca9e8869083vboxsync * Please contact Sun Microsystems, Inc., 4150 Network Circle, Santa
* Clara, CA 95054 USA or visit http://www.sun.com if you need
* additional information or have any questions.
*/
#ifndef ___VBox_HostService_VBoxClipboardExt_h
#define ___VBox_HostService_VBoxClipboardExt_h
#include <VBox/types.h>
#define VBOX_CLIPBOARD_EXT_FN_SET_CALLBACK (0)
#define VBOX_CLIPBOARD_EXT_FN_FORMAT_ANNOUNCE (1)
#define VBOX_CLIPBOARD_EXT_FN_DATA_READ (2)
#define VBOX_CLIPBOARD_EXT_FN_DATA_WRITE (3)
typedef DECLCALLBACK(int) VRDPCLIPBOARDEXTCALLBACK (uint32_t u32Function, uint32_t u32Format, void *pvData, uint32_t cbData);
typedef VRDPCLIPBOARDEXTCALLBACK *PFNVRDPCLIPBOARDEXTCALLBACK;
typedef struct _VBOXCLIPBOARDEXTPARMS
{
uint32_t u32Format;
union
{
void *pvData;
void (*pfnCallback)();
} u;
uint32_t cbData;
} VBOXCLIPBOARDEXTPARMS;
#endif