VirtualBox

Changeset 233 in vbox for trunk/include/VBox


Ignore:
Timestamp:
Jan 23, 2007 12:44:53 PM (18 years ago)
Author:
vboxsync
Message:

Stubs for VRDP clipboard.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/include/VBox/vrdpapi.h

    r1 r233  
    578578typedef FNVRDPUSBCALLBACK *PFNVRDPUSBCALLBACK;
    579579
    580 #define VRDP_CLIENT_INTERCEPT_AUDIO (0x1)
    581 #define VRDP_CLIENT_INTERCEPT_USB   (0x2)
     580#define VRDP_CLIPBOARD_FORMAT_UNICODE_TEXT 0
     581#define VRDP_CLIPBOARD_FORMAT_BITMAP       1
     582
     583/**
     584 * Called by the server when a clipboard data is received from a client.
     585 *
     586 * @param pvCallback  Callback specific value returned by VRDPSERVERCALLBACK::pfnInterceptClipboard.
     587 * @param u32ClientId Identifies the client that sent the reply.
     588 * @param u32Format   The format of data.
     589 * @param pvData      Points to data received from the client.
     590 * @param cbData      Size of the data in bytes.
     591 *
     592 * @return VBox error code.
     593 */
     594typedef DECLCALLBACK(int) FNVRDPCLIPBOARDCALLBACK (void *pvCallback,
     595                                                   uint32_t u32ClientId,
     596                                                   uint32_t u32Format,
     597                                                   const void *pvRet,
     598                                                   uint32_t cbRet);
     599                                             
     600typedef FNVRDPCLIPBOARDCALLBACK *PFNVRDPCLIPBOARDCALLBACK;
     601
     602#define VRDP_CLIENT_INTERCEPT_AUDIO     (0x1)
     603#define VRDP_CLIENT_INTERCEPT_USB       (0x2)
     604#define VRDP_CLIENT_INTERCEPT_CLIPBOARD (0x4)
    582605
    583606typedef struct _VRDPSERVERCALLBACK
     
    624647                                               PFNVRDPUSBCALLBACK *ppfn,
    625648                                               void **ppv);
     649    /* The client supports clipboard channel.
     650     */
     651    DECLCALLBACKMEMBER(void, pfnInterceptClipboard) (void *pvUser,
     652                                                     uint32_t u32ClientId,
     653                                                     PFNVRDPCLIPBOARDCALLBACK *ppfn,
     654                                                     void **ppv);
    626655} VRDPSERVERCALLBACK;
    627656#else
     
    642671typedef FNVRDPUSBCALLBACK *PFNVRDPUSBCALLBACK;
    643672
     673typedef DECLCALLBACK(int) FNVRDPCLIPBOARDCALLBACK (void *pv, uint32_t u32Format, void *pvData, uint32_t cbData);
     674typedef FNVRDPCLIPBOARDCALLBACK *PFNVRDPCLIPBOARDCALLBACK;
    644675
    645676typedef struct _VRDPSERVERCALLBACK
     
    650681    DECLCALLBACKMEMBER(void, pfnInterceptAudio) (void *pvUser, bool fKeepHostAudio);
    651682    DECLCALLBACKMEMBER(void, pfnInterceptUSB) (void *pvUser, PFNVRDPUSBCALLBACK *ppfn, void **ppv);
     683    DECLCALLBACKMEMBER(void, pfnInterceptClipboard) (void *pvUser, PFNVRDPCLIPBOARDCALLBACK *ppfn, void **ppv);
    652684} VRDPSERVERCALLBACK;
    653685#endif /* VRDP_MC */
Note: See TracChangeset for help on using the changeset viewer.

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