VBoxClipboard.h revision 68e0f2909a5fe490fd5c33346b911815ca5b02a5
7b57f6ec6175ce1ee53e1ea49c24ff06f3723379vboxsync * Shared Clipboard
c58f1213e628a545081c70e26c6b67a841cff880vboxsync * Copyright (C) 2006-2007 Sun Microsystems, Inc.
7b57f6ec6175ce1ee53e1ea49c24ff06f3723379vboxsync * This file is part of VirtualBox Open Source Edition (OSE), as
7b57f6ec6175ce1ee53e1ea49c24ff06f3723379vboxsync * available from http://www.virtualbox.org. This file is free software;
7b57f6ec6175ce1ee53e1ea49c24ff06f3723379vboxsync * you can redistribute it and/or modify it under the terms of the GNU
7b57f6ec6175ce1ee53e1ea49c24ff06f3723379vboxsync * General Public License (GPL) as published by the Free Software
7b57f6ec6175ce1ee53e1ea49c24ff06f3723379vboxsync * Foundation, in version 2 as it comes in the "COPYING" file of the
7b57f6ec6175ce1ee53e1ea49c24ff06f3723379vboxsync * VirtualBox OSE distribution. VirtualBox OSE is distributed in the
7b57f6ec6175ce1ee53e1ea49c24ff06f3723379vboxsync * hope that it will be useful, but WITHOUT ANY WARRANTY of any kind.
7b57f6ec6175ce1ee53e1ea49c24ff06f3723379vboxsync * Please contact Sun Microsystems, Inc., 4150 Network Circle, Santa
7b57f6ec6175ce1ee53e1ea49c24ff06f3723379vboxsync * Clara, CA 95054 USA or visit http://www.sun.com if you need
7b57f6ec6175ce1ee53e1ea49c24ff06f3723379vboxsync * additional information or have any questions.
7b57f6ec6175ce1ee53e1ea49c24ff06f3723379vboxsynctypedef struct _VBOXCLIPBOARDCONTEXT VBOXCLIPBOARDCONTEXT;
7b57f6ec6175ce1ee53e1ea49c24ff06f3723379vboxsync bool fAsync: 1; /* Guest is waiting for a message. */
db328d9a0c557c268222858740db4860d4f22a95vboxsync * The service functions. Locking is between the service thread and the platform dependent windows thread.
db328d9a0c557c268222858740db4860d4f22a95vboxsyncvoid vboxSvcClipboardReportMsg (VBOXCLIPBOARDCLIENTDATA *pClient, uint32_t u32Msg, uint32_t u32Formats);
db328d9a0c557c268222858740db4860d4f22a95vboxsync * Platform dependent functions.
db328d9a0c557c268222858740db4860d4f22a95vboxsyncint vboxClipboardConnect (VBOXCLIPBOARDCLIENTDATA *pClient);
db328d9a0c557c268222858740db4860d4f22a95vboxsyncvoid vboxClipboardDisconnect (VBOXCLIPBOARDCLIENTDATA *pClient);
7b57f6ec6175ce1ee53e1ea49c24ff06f3723379vboxsyncvoid vboxClipboardFormatAnnounce (VBOXCLIPBOARDCLIENTDATA *pClient, uint32_t u32Formats);
7b57f6ec6175ce1ee53e1ea49c24ff06f3723379vboxsyncint vboxClipboardReadData (VBOXCLIPBOARDCLIENTDATA *pClient, uint32_t u32Format, void *pv, uint32_t cb, uint32_t *pcbActual);
7b57f6ec6175ce1ee53e1ea49c24ff06f3723379vboxsyncvoid vboxClipboardWriteData (VBOXCLIPBOARDCLIENTDATA *pClient, void *pv, uint32_t cb, uint32_t u32Format);
7b57f6ec6175ce1ee53e1ea49c24ff06f3723379vboxsyncint vboxClipboardSync (VBOXCLIPBOARDCLIENTDATA *pClient);
7b57f6ec6175ce1ee53e1ea49c24ff06f3723379vboxsync#endif /* __VBOXCLIPBOARD__H */