Changeset 79267 in vbox for trunk/include/VBox/GuestHost/SharedClipboard-uri.h
- Timestamp:
- Jun 21, 2019 10:11:59 AM (6 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/include/VBox/GuestHost/SharedClipboard-uri.h
r79174 r79267 31 31 #endif 32 32 33 #include <map> 34 33 35 #include <iprt/assert.h> 34 36 #include <iprt/critsect.h> … … 40 42 41 43 #include <VBox/HostServices/VBoxClipboardSvc.h> 42 43 #ifdef VBOX_WITH_SHARED_CLIPBOARD_HOST44 #include <map> /* Needed for host provider. */45 #endif46 44 47 45 /** Clipboard area ID. A valid area is >= 1. … … 384 382 }; 385 383 384 int SharedClipboardURIDataHdrAlloc(PVBOXCLIPBOARDDATAHDR *ppDataHdr); 385 void SharedClipboardURIDataHdrFree(PVBOXCLIPBOARDDATAHDR pDataHdr); 386 PVBOXCLIPBOARDDATAHDR SharedClipboardURIDataHdrDup(PVBOXCLIPBOARDDATAHDR pDataHdr); 386 387 uint32_t SharedClipboardURIDataHdrGetMetaDataSize(PVBOXCLIPBOARDDATAHDR pDataHdr); 387 388 int SharedClipboardURIDataHdrInit(PVBOXCLIPBOARDDATAHDR pDataHdr); 388 389 void SharedClipboardURIDataHdrDestroy(PVBOXCLIPBOARDDATAHDR pDataHdr); 390 void SharedClipboardURIDataHdrFree(PVBOXCLIPBOARDDATAHDR pDataHdr); 389 391 void SharedClipboardURIDataHdrReset(PVBOXCLIPBOARDDATAHDR pDataHdr); 390 392 bool SharedClipboardURIDataHdrIsValid(PVBOXCLIPBOARDDATAHDR pDataHdr); 391 393 394 int SharedClipboardURIDataChunkAlloc(PVBOXCLIPBOARDDATACHUNK *ppDataChunk); 395 void SharedClipboardURIDataChunkFree(PVBOXCLIPBOARDDATACHUNK pDataChunk); 396 PVBOXCLIPBOARDDATACHUNK SharedClipboardURIDataChunkDup(PVBOXCLIPBOARDDATACHUNK pDataChunk); 397 int SharedClipboardURIDataChunkInit(PVBOXCLIPBOARDDATACHUNK pDataChunk); 398 void SharedClipboardURIDataChunkDestroy(PVBOXCLIPBOARDDATACHUNK pDataChunk); 392 399 bool SharedClipboardURIDataChunkIsValid(PVBOXCLIPBOARDDATACHUNK pDataChunk); 393 400 401 int SharedClipboardURIDirDataAlloc(PVBOXCLIPBOARDDIRDATA *ppDirData); 402 void SharedClipboardURIDirDataFree(PVBOXCLIPBOARDDIRDATA pDirData); 403 int SharedClipboardURIDirDataInit(PVBOXCLIPBOARDDIRDATA pDirData); 394 404 void SharedClipboardURIDirDataDestroy(PVBOXCLIPBOARDDIRDATA pDirData); 405 PVBOXCLIPBOARDDIRDATA SharedClipboardURIDirDataDup(PVBOXCLIPBOARDDIRDATA pDirData); 395 406 bool SharedClipboardURIDirDataIsValid(PVBOXCLIPBOARDDIRDATA pDirData); 396 407 408 int SharedClipboardURIFileHdrInit(PVBOXCLIPBOARDFILEHDR pFileHdr); 397 409 void SharedClipboardURIFileHdrDestroy(PVBOXCLIPBOARDFILEHDR pFileHdr); 410 PVBOXCLIPBOARDFILEHDR SharedClipboardURIFileHdrDup(PVBOXCLIPBOARDFILEHDR pFileHdr); 398 411 bool SharedClipboardURIFileHdrIsValid(PVBOXCLIPBOARDFILEHDR pFileHdr, PVBOXCLIPBOARDDATAHDR pDataHdr); 399 412 400 413 void SharedClipboardURIFileDataDestroy(PVBOXCLIPBOARDFILEDATA pFileData); 414 PVBOXCLIPBOARDFILEDATA SharedClipboardURIFileDataDup(PVBOXCLIPBOARDFILEDATA pFileData); 401 415 bool SharedClipboardURIFileDataIsValid(PVBOXCLIPBOARDFILEDATA pFileData, PVBOXCLIPBOARDDATAHDR pDataHdr); 402 416 403 /** 404 * Structure for maintaining a meta data format. 405 */ 406 typedef struct _SHAREDCLIPBOARDMETADATAFMT 417 /** Specifies a meta data format. */ 418 typedef uint32_t SHAREDCLIPBOARDMETADATAFMT; 419 420 /** 421 * Enumeration of meta data formats. 422 */ 423 typedef enum _SHAREDCLIPBOARDMETADATAFMTENUM 424 { 425 /** Unknown meta data format; do not use. */ 426 SHAREDCLIPBOARDMETADATAFMT_UNKNOWN = 0, 427 /** Meta data is an URI list. 428 * UTF-8 format with Unix path separators. Each URI entry is separated by "\r\n". */ 429 SHAREDCLIPBOARDMETADATAFMT_URI_LIST = 1 430 } SHAREDCLIPBOARDMETADATAFMTENUM; 431 432 /** 433 * Structure for maintaining meta data format data. 434 */ 435 typedef struct _SHAREDCLIPBOARDMETADATAFMTDATA 407 436 { 408 437 /** Meta data format version. */ … … 412 441 /** Size of meta data format data (in bytes). */ 413 442 uint32_t cbFmt; 414 } SHAREDCLIPBOARDMETADATAFMT , *PSHAREDCLIPBOARDMETADATAFMT;443 } SHAREDCLIPBOARDMETADATAFMTDATA, *PSHAREDCLIPBOARDMETADATAFMTDATA; 415 444 416 445 /** 417 446 * Structure for keeping Shared Clipboard meta data. 418 * 419 * For URI transfers this represents a string list with the file object root entries in it. 447 * The actual format of the meta data depends on the format set in enmFmt. 420 448 */ 421 449 typedef struct _SHAREDCLIPBOARDMETADATA 422 450 { 451 /** Format of the data. */ 452 SHAREDCLIPBOARDMETADATAFMT enmFmt; 423 453 /** Actual meta data block. */ 424 void *pvMeta;454 void *pvMeta; 425 455 /** Total size (in bytes) of the allocated meta data block .*/ 426 uint32_t cbMeta;456 uint32_t cbMeta; 427 457 /** How many bytes are being used in the meta data block. */ 428 uint32_t cbUsed;458 uint32_t cbUsed; 429 459 } SHAREDCLIPBOARDMETADATA, *PSHAREDCLIPBOARDMETADATA; 430 460 431 int SharedClipboardMetaDataInit(PSHAREDCLIPBOARDMETADATA pMeta );461 int SharedClipboardMetaDataInit(PSHAREDCLIPBOARDMETADATA pMeta, SHAREDCLIPBOARDMETADATAFMT enmFmt); 432 462 void SharedClipboardMetaDataDestroy(PSHAREDCLIPBOARDMETADATA pMeta); 433 463 int SharedClipboardMetaDataAdd(PSHAREDCLIPBOARDMETADATA pMeta, const void *pvDataAdd, uint32_t cbDataAdd); 464 int SharedClipboardMetaDataConvertToFormat(const void *pvData, size_t cbData, SHAREDCLIPBOARDMETADATAFMT enmFmt, 465 void **ppvData, uint32_t *pcbData); 434 466 int SharedClipboardMetaDataResize(PSHAREDCLIPBOARDMETADATA pMeta, uint32_t cbNewSize); 435 467 size_t SharedClipboardMetaDataGetFree(PSHAREDCLIPBOARDMETADATA pMeta); … … 462 494 /** The transfer's direction. */ 463 495 SHAREDCLIPBOARDURITRANSFERDIR enmDir; 464 /** The transfer's cached data header. */ 465 VBOXCLIPBOARDDATAHDR Header; 466 /** The transfer's cached meta data. */ 467 SHAREDCLIPBOARDMETADATA Meta; 496 /** The transfer's cached data header. 497 * Can be NULL if no header has been received yet. */ 498 PVBOXCLIPBOARDDATAHDR pHeader; 499 /** The transfer's cached meta data. 500 * Can be NULL if no meta data has been received yet. */ 501 PSHAREDCLIPBOARDMETADATA pMeta; 468 502 } SHAREDCLIPBOARDURITRANSFERSTATE, *PSHAREDCLIPBOARDURITRANSFERSTATE; 469 503 … … 494 528 } SHAREDCLIPBOARDPROVIDERCALLBACKDATA, *PSHAREDCLIPBOARDPROVIDERCALLBACKDATA; 495 529 496 typedef DECLCALLBACK(int) FNSSHAREDCLIPBOARDPROVIDERREADDATAHDR(PSHAREDCLIPBOARDPROVIDERCALLBACKDATA pData); 497 /** Pointer to a FNSSHAREDCLIPBOARDPROVIDERREADDATAHDR function. */ 498 typedef FNSSHAREDCLIPBOARDPROVIDERREADDATAHDR *PFNSSHAREDCLIPBOARDPROVIDERREADDATAHDR; 530 /** Callback functopn for the Shared Clipboard provider. */ 531 typedef DECLCALLBACK(int) FNSSHAREDCLIPBOARDPROVIDERCALLBACK(PSHAREDCLIPBOARDPROVIDERCALLBACKDATA pData); 532 /** Pointer to a FNSSHAREDCLIPBOARDPROVIDERCALLBACK function. */ 533 typedef FNSSHAREDCLIPBOARDPROVIDERCALLBACK *PFNSSHAREDCLIPBOARDPROVIDERCALLBACK; 499 534 500 535 /** … … 505 540 { 506 541 /** Saved user pointer. Will be passed to the callback (if needed). */ 507 void *pvUser; 508 /** Function pointer, called when the transfer has been started. */ 509 PFNSSHAREDCLIPBOARDPROVIDERREADDATAHDR pfnReadDataHdr; 542 void *pvUser; 543 /** Function pointer, called when reading the (meta) data header. */ 544 PFNSSHAREDCLIPBOARDPROVIDERCALLBACK pfnReadDataHdr; 545 /** Function pointer, called when reading a (meta) data chunk. */ 546 PFNSSHAREDCLIPBOARDPROVIDERCALLBACK pfnReadDataChunk; 510 547 } SHAREDCLIPBOARDPROVIDERCALLBACKS, *PSHAREDCLIPBOARDPROVIDERCALLBACKS; 511 548 … … 528 565 struct 529 566 { 567 SharedClipboardArea *pArea; 530 568 } HostService; 531 569 } u; … … 587 625 public: /* Interface to be implemented. */ 588 626 589 virtual int ReadDataHdr(PVBOXCLIPBOARDDATAHDR pDataHdr);627 virtual int ReadDataHdr(PVBOXCLIPBOARDDATAHDR *ppDataHdr); 590 628 virtual int WriteDataHdr(const PVBOXCLIPBOARDDATAHDR pDataHdr); 591 629 592 virtual int ReadDataChunk(const PVBOXCLIPBOARDDATAHDR pDataHdr, void *pvChunk, uint32_t cbChunk, uint32_t *pcbRead,593 uint32_t fFlags = 0);594 virtual int WriteDataChunk(const PVBOXCLIPBOARDDATAHDR pDataHdr, const void *pvChunk, uint32_t cbChunk, uint32_t *pcbWritten,595 uint32_t fFlags = 0);596 597 virtual int ReadDirectory(PVBOXCLIPBOARDDIRDATA pDirData);630 virtual int ReadDataChunk(const PVBOXCLIPBOARDDATAHDR pDataHdr, void *pvChunk, uint32_t cbChunk, uint32_t fFlags = 0, 631 uint32_t *pcbRead = NULL); 632 virtual int WriteDataChunk(const PVBOXCLIPBOARDDATAHDR pDataHdr, const void *pvChunk, uint32_t cbChunk, uint32_t fFlags = 0, 633 uint32_t *pcbWritten = NULL); 634 635 virtual int ReadDirectory(PVBOXCLIPBOARDDIRDATA *ppDirData); 598 636 virtual int WriteDirectory(const PVBOXCLIPBOARDDIRDATA pDirData); 599 637 600 virtual int ReadFileHdr(PVBOXCLIPBOARDFILEHDR pFileHdr);638 virtual int ReadFileHdr(PVBOXCLIPBOARDFILEHDR *ppFileHdr); 601 639 virtual int WriteFileHdr(const PVBOXCLIPBOARDFILEHDR pFileHdr); 602 640 603 virtual int ReadFileData( PVBOXCLIPBOARDFILEDATA pFileData, uint32_t *pcbRead);604 virtual int WriteFileData( const PVBOXCLIPBOARDFILEDATA pFileData, uint32_t *pcbWritten);641 virtual int ReadFileData(void *pvData, uint32_t cbData, uint32_t fFlags = 0, uint32_t *pcbRead = NULL); 642 virtual int WriteFileData(void *pvData, uint32_t cbData, uint32_t fFlags = 0, uint32_t *pcbWritten = NULL); 605 643 606 644 virtual void Reset(void); … … 618 656 619 657 protected: 620 621 /** Number of references to this instance. */622 volatile uint32_t m_cRefs;623 /** The provider's callback table. */624 SHAREDCLIPBOARDPROVIDERCALLBACKS m_Callbacks;625 };626 627 /**628 * Shared Clipboard provider implementation for VbglR3 (guest side).629 */630 class SharedClipboardProviderVbglR3 : protected SharedClipboardProvider631 {632 friend class SharedClipboardProvider;633 634 public:635 636 virtual ~SharedClipboardProviderVbglR3(void);637 638 public:639 640 int ReadDataHdr(PVBOXCLIPBOARDDATAHDR pDataHdr);641 int WriteDataHdr(const PVBOXCLIPBOARDDATAHDR pDataHdr);642 643 int ReadDataChunkk(const PVBOXCLIPBOARDDATAHDR pDataHdr, void *pvChunk, uint32_t cbChunk, uint32_t *pcbRead,644 uint32_t fFlags = 0);645 int WriteDataChunk(const PVBOXCLIPBOARDDATAHDR pDataHdr, const void *pvChunk, uint32_t cbChunk, uint32_t *pcbWritten,646 uint32_t fFlags = 0);647 648 int ReadDirectory(PVBOXCLIPBOARDDIRDATA pDirData);649 int WriteDirectory(const PVBOXCLIPBOARDDIRDATA pDirData);650 651 int ReadFileHdr(PVBOXCLIPBOARDFILEHDR pFileHdr);652 int WriteFileHdr(const PVBOXCLIPBOARDFILEHDR pFileHdr);653 654 int ReadFileData(PVBOXCLIPBOARDFILEDATA pFileData, uint32_t *pcbRead);655 int WriteFileData(const PVBOXCLIPBOARDFILEDATA pFileData, uint32_t *pcbWritten);656 657 void Reset(void);658 659 protected:660 661 SharedClipboardProviderVbglR3(uint32_t uClientID);662 663 /** HGCM client ID to use. */664 uint32_t m_uClientID;665 };666 667 #ifdef VBOX_WITH_SHARED_CLIPBOARD_HOST668 /**669 * Shared Clipboard provider implementation for host service (host side).670 */671 class SharedClipboardProviderHostService : protected SharedClipboardProvider672 {673 friend class SharedClipboardProvider;674 675 public:676 677 virtual ~SharedClipboardProviderHostService(void);678 679 public:680 681 int ReadDataHdr(PVBOXCLIPBOARDDATAHDR pDataHdr);682 int WriteDataHdr(const PVBOXCLIPBOARDDATAHDR pDataHdr);683 684 int ReaaDataChunk(const PVBOXCLIPBOARDDATAHDR pDataHdr, void *pvMeta, uint32_t cbMeta, uint32_t *pcbRead, uint32_t fFlags = 0);685 int WriteDataChunk(const PVBOXCLIPBOARDDATAHDR pDataHdr, const void *pvMeta, uint32_t cbMeta, uint32_t *pcbWritten,686 uint32_t fFlags = 0);687 688 int ReadDirectory(PVBOXCLIPBOARDDIRDATA pDirData);689 int WriteDirectory(const PVBOXCLIPBOARDDIRDATA pDirData);690 691 int ReadFileHdr(PVBOXCLIPBOARDFILEHDR pFileHdr);692 int WriteFileHdr(const PVBOXCLIPBOARDFILEHDR pFileHdr);693 694 int ReadFileData(PVBOXCLIPBOARDFILEDATA pFileData, uint32_t *pcbRead);695 int WriteFileData(const PVBOXCLIPBOARDFILEDATA pFileData, uint32_t *pcbWritten);696 697 void Reset(void);698 699 public:700 701 int OnRead(PSHAREDCLIPBOARDPROVIDERREADPARMS pParms);702 int OnWrite(PSHAREDCLIPBOARDPROVIDERWRITEPARMS pParms);703 704 protected:705 706 SharedClipboardProviderHostService(void);707 658 708 659 /** … … 714 665 virtual ~Event(); 715 666 667 void *DataAdopt(void); 716 668 uint32_t DataSize(void); 717 669 void *DataRaw(void); 670 void Reset(void); 718 671 int SetData(const void *pvData, uint32_t cbData); 719 672 int Wait(RTMSINTERVAL uTimeoutMs); … … 734 687 int eventRegister(uint32_t uMsg); 735 688 int eventUnregister(uint32_t uMsg); 689 int eventUnregisterAll(void); 736 690 int eventSignal(uint32_t uMsg); 737 SharedClipboardProviderHostService::Event *eventGet(uint32_t uMsg); 738 739 protected: 740 691 int eventWait(uint32_t uMsg, PFNSSHAREDCLIPBOARDPROVIDERCALLBACK pfnCallback, RTMSINTERVAL uTimeoutMs, 692 void **ppvData, uint32_t *pcbData = NULL); 693 SharedClipboardProvider::Event *eventGet(uint32_t uMsg); 694 695 protected: 696 697 /** Number of references to this instance. */ 698 volatile uint32_t m_cRefs; 699 /** The provider's callback table. */ 700 SHAREDCLIPBOARDPROVIDERCALLBACKS m_Callbacks; 741 701 /** Default timeout (in ms) for waiting for events. */ 742 RTMSINTERVAL m_uTimeoutMs;702 RTMSINTERVAL m_uTimeoutMs; 743 703 /** Map of (internal) events to provide asynchronous reads / writes. */ 744 EventMap m_mapEvents; 704 EventMap m_mapEvents; 705 }; 706 707 /** 708 * Shared Clipboard provider implementation for VbglR3 (guest side). 709 */ 710 class SharedClipboardProviderVbglR3 : protected SharedClipboardProvider 711 { 712 friend class SharedClipboardProvider; 713 714 public: 715 716 virtual ~SharedClipboardProviderVbglR3(void); 717 718 public: 719 720 int ReadDataHdr(PVBOXCLIPBOARDDATAHDR *ppDataHdr); 721 int WriteDataHdr(const PVBOXCLIPBOARDDATAHDR pDataHdr); 722 723 int ReadDataChunk(const PVBOXCLIPBOARDDATAHDR pDataHdr, void *pvChunk, uint32_t cbChunk, uint32_t fFlags = 0, 724 uint32_t *pcbRead = NULL); 725 int WriteDataChunk(const PVBOXCLIPBOARDDATAHDR pDataHdr, const void *pvChunk, uint32_t cbChunk, uint32_t fFlags = 0, 726 uint32_t *pcbWritten = NULL); 727 728 int ReadDirectory(PVBOXCLIPBOARDDIRDATA *ppDirData); 729 int WriteDirectory(const PVBOXCLIPBOARDDIRDATA pDirData); 730 731 int ReadFileHdr(PVBOXCLIPBOARDFILEHDR *ppFileHdr); 732 int WriteFileHdr(const PVBOXCLIPBOARDFILEHDR pFileHdr); 733 734 int ReadFileData(void *pvData, uint32_t cbData, uint32_t fFlags = 0, uint32_t *pcbRead = NULL); 735 int WriteFileData(void *pvData, uint32_t cbData, uint32_t fFlags = 0, uint32_t *pcbWritten = NULL); 736 737 void Reset(void); 738 739 protected: 740 741 SharedClipboardProviderVbglR3(uint32_t uClientID); 742 743 /** HGCM client ID to use. */ 744 uint32_t m_uClientID; 745 }; 746 747 #ifdef VBOX_WITH_SHARED_CLIPBOARD_HOST 748 /** 749 * Shared Clipboard provider implementation for host service (host side). 750 */ 751 class SharedClipboardProviderHostService : protected SharedClipboardProvider 752 { 753 friend class SharedClipboardProvider; 754 755 public: 756 757 virtual ~SharedClipboardProviderHostService(); 758 759 public: 760 761 int ReadDataHdr(PVBOXCLIPBOARDDATAHDR *ppDataHdr); 762 int WriteDataHdr(const PVBOXCLIPBOARDDATAHDR pDataHdr); 763 764 int ReadDataChunk(const PVBOXCLIPBOARDDATAHDR pDataHdr, void *pvChunk, uint32_t cbChunk, uint32_t fFlags = 0, 765 uint32_t *pcbRead = NULL); 766 int WriteDataChunk(const PVBOXCLIPBOARDDATAHDR pDataHdr, const void *pvChunk, uint32_t cbChunk, uint32_t fFlags = 0, 767 uint32_t *pcbWritten = NULL); 768 769 int ReadDirectory(PVBOXCLIPBOARDDIRDATA *ppDirData); 770 int WriteDirectory(const PVBOXCLIPBOARDDIRDATA pDirData); 771 772 int ReadFileHdr(PVBOXCLIPBOARDFILEHDR *ppFileHdr); 773 int WriteFileHdr(const PVBOXCLIPBOARDFILEHDR pFileHdr); 774 775 int ReadFileData(void *pvData, uint32_t cbData, uint32_t fFlags = 0, uint32_t *pcbRead = NULL); 776 int WriteFileData(void *pvData, uint32_t cbData, uint32_t fFlags = 0, uint32_t *pcbWritten = NULL); 777 778 void Reset(void); 779 780 public: 781 782 int OnWrite(PSHAREDCLIPBOARDPROVIDERWRITEPARMS pParms); 783 784 protected: 785 786 SharedClipboardProviderHostService(SharedClipboardArea *pArea); 787 788 protected: 789 790 /** Pointer to associated clipboard area. */ 791 SharedClipboardArea *m_pArea; 745 792 }; 746 793 #endif /* VBOX_WITH_SHARED_CLIPBOARD_HOST */ … … 835 882 SharedClipboardArea *pArea; 836 883 /** The URI list for this transfer. */ 837 SharedClipboardURIList 884 SharedClipboardURIList *pURIList; 838 885 /** Context of current object being handled. */ 839 886 SHAREDCLIPBOARDCLIENTURIOBJCTX ObjCtx; … … 869 916 870 917 int SharedClipboardURIObjCtxInit(PSHAREDCLIPBOARDCLIENTURIOBJCTX pObjCtx); 871 void SharedClipboardURIObjCtx Uninit(PSHAREDCLIPBOARDCLIENTURIOBJCTX pObjCtx);918 void SharedClipboardURIObjCtxDestroy(PSHAREDCLIPBOARDCLIENTURIOBJCTX pObjCtx); 872 919 SharedClipboardURIObject *SharedClipboardURIObjCtxGetObj(PSHAREDCLIPBOARDCLIENTURIOBJCTX pObjCtx); 873 920 bool SharedClipboardURIObjCtxIsValid(PSHAREDCLIPBOARDCLIENTURIOBJCTX pObjCtx); 874 921 875 int SharedClipboardURITransferCreate(SHAREDCLIPBOARDURITRANSFERDIR enmDir, PSHAREDCLIPBOARDPROVIDERCREATIONCTX pCtx, 876 PSHAREDCLIPBOARDURITRANSFER *ppTransfer); 922 int SharedClipboardURITransferCreate(SHAREDCLIPBOARDURITRANSFERDIR enmDir, PSHAREDCLIPBOARDURITRANSFER *ppTransfer); 877 923 int SharedClipboardURITransferDestroy(PSHAREDCLIPBOARDURITRANSFER pTransfer); 924 int SharedClipboardURITransferPrepare(PSHAREDCLIPBOARDURITRANSFER pTransfer); 925 int SharedClipboardURITransferProviderCreate(PSHAREDCLIPBOARDURITRANSFER pTransfer, 926 PSHAREDCLIPBOARDPROVIDERCREATIONCTX pProviderCtx); 878 927 void SharedClipboardURITransferReset(PSHAREDCLIPBOARDURITRANSFER pTransfer); 879 928 SharedClipboardArea *SharedClipboardURITransferGetArea(PSHAREDCLIPBOARDURITRANSFER pTransfer); 929 PSHAREDCLIPBOARDCLIENTURIOBJCTX SharedClipboardURITransferGetCurrentObjCtx(PSHAREDCLIPBOARDURITRANSFER pTransfer); 880 930 const SharedClipboardURIObject *SharedClipboardURITransferGetCurrentObject(PSHAREDCLIPBOARDURITRANSFER pTransfer); 881 931 SharedClipboardProvider *SharedClipboardURITransferGetProvider(PSHAREDCLIPBOARDURITRANSFER pTransfer); … … 886 936 887 937 int SharedClipboardURITransferMetaDataAdd(PSHAREDCLIPBOARDURITRANSFER pTransfer, const void *pvMeta, uint32_t cbMeta); 888 int SharedClipboardURITransferMetaDataComplete(PSHAREDCLIPBOARDURITRANSFER pTransfer);938 bool SharedClipboardURITransferMetaDataIsComplete(PSHAREDCLIPBOARDURITRANSFER pTransfer); 889 939 int SharedClipboardURITransferMetaGet(PSHAREDCLIPBOARDURITRANSFER pTransfer, const void *pvMeta, uint32_t cbMeta); 890 940 int SharedClipboardURITransferMetaDataRead(PSHAREDCLIPBOARDURITRANSFER pTransfer, uint32_t *pcbRead); … … 892 942 893 943 int SharedClipboardURITransferRead(PSHAREDCLIPBOARDURITRANSFER pTransfer); 944 int SharedClipboardURITransferReadObjects(PSHAREDCLIPBOARDURITRANSFER pTransfer); 894 945 895 946 int SharedClipboardURITransferWrite(PSHAREDCLIPBOARDURITRANSFER pTransfer);
Note:
See TracChangeset
for help on using the changeset viewer.