Changeset 233 in vbox for trunk/include/VBox
- Timestamp:
- Jan 23, 2007 12:44:53 PM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/include/VBox/vrdpapi.h
r1 r233 578 578 typedef FNVRDPUSBCALLBACK *PFNVRDPUSBCALLBACK; 579 579 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 */ 594 typedef DECLCALLBACK(int) FNVRDPCLIPBOARDCALLBACK (void *pvCallback, 595 uint32_t u32ClientId, 596 uint32_t u32Format, 597 const void *pvRet, 598 uint32_t cbRet); 599 600 typedef FNVRDPCLIPBOARDCALLBACK *PFNVRDPCLIPBOARDCALLBACK; 601 602 #define VRDP_CLIENT_INTERCEPT_AUDIO (0x1) 603 #define VRDP_CLIENT_INTERCEPT_USB (0x2) 604 #define VRDP_CLIENT_INTERCEPT_CLIPBOARD (0x4) 582 605 583 606 typedef struct _VRDPSERVERCALLBACK … … 624 647 PFNVRDPUSBCALLBACK *ppfn, 625 648 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); 626 655 } VRDPSERVERCALLBACK; 627 656 #else … … 642 671 typedef FNVRDPUSBCALLBACK *PFNVRDPUSBCALLBACK; 643 672 673 typedef DECLCALLBACK(int) FNVRDPCLIPBOARDCALLBACK (void *pv, uint32_t u32Format, void *pvData, uint32_t cbData); 674 typedef FNVRDPCLIPBOARDCALLBACK *PFNVRDPCLIPBOARDCALLBACK; 644 675 645 676 typedef struct _VRDPSERVERCALLBACK … … 650 681 DECLCALLBACKMEMBER(void, pfnInterceptAudio) (void *pvUser, bool fKeepHostAudio); 651 682 DECLCALLBACKMEMBER(void, pfnInterceptUSB) (void *pvUser, PFNVRDPUSBCALLBACK *ppfn, void **ppv); 683 DECLCALLBACKMEMBER(void, pfnInterceptClipboard) (void *pvUser, PFNVRDPCLIPBOARDCALLBACK *ppfn, void **ppv); 652 684 } VRDPSERVERCALLBACK; 653 685 #endif /* VRDP_MC */
Note:
See TracChangeset
for help on using the changeset viewer.