VirtualBox

Ignore:
Timestamp:
Sep 17, 2019 9:05:21 AM (6 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
133415
Message:

Shared Clipboard/URI: More code for transfer channel handling.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/include/VBox/GuestHost/SharedClipboard-win.h

    r80664 r80845  
    3030#endif
    3131
     32#include <iprt/critsect.h>
    3233#include <iprt/types.h>
    3334#include <iprt/win/windows.h>
     
    6263
    6364/** Reports clipboard formats. */
    64 #define SHCL_WIN_WM_REPORT_FORMATS    WM_USER
     65#define SHCL_WIN_WM_REPORT_FORMATS          WM_USER
    6566/** Reads data from the clipboard and sends it to the destination. */
    66 #define SHCL_WIN_WM_READ_DATA         WM_USER + 1
     67#define SHCL_WIN_WM_READ_DATA               WM_USER + 1
    6768#ifdef VBOX_WITH_SHARED_CLIPBOARD_URI_LIST
    68 /** Starts a reading transfer from the guest. */
    69 # define SHCL_WIN_WM_URI_START_READ   WM_USER + 2
    70 /** Starts a writing transfer to the guest. */
    71 # define SHCL_WIN_WM_URI_START_WRITE  WM_USER + 3
     69/** Reports a transfer status to the guest. */
     70# define SHCL_WIN_WM_URI_TRANSFER_STATUS    WM_USER + 2
    7271#endif
    7372
     
    105104typedef struct _SHCLWINCTX
    106105{
     106    /** Critical section to serialize access. */
     107    RTCRITSECT         CritSect;
    107108    /** Window handle of our (invisible) clipbaord window. */
    108109    HWND               hWnd;
     
    120121int SharedClipboardWinClose(void);
    121122int SharedClipboardWinClear(void);
     123
     124int SharedClipboardWinCtxInit(PSHCLWINCTX pWinCtx);
     125void SharedClipboardWinCtxDestroy(PSHCLWINCTX pWinCtx);
    122126
    123127int SharedClipboardWinCheckAndInitNewAPI(PSHCLWINAPINEW pAPI);
Note: See TracChangeset for help on using the changeset viewer.

© 2025 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette