Changeset 85121 in vbox for trunk/include/VBox/GuestHost/SharedClipboard-transfers.h
- Timestamp:
- Jul 8, 2020 7:33:26 PM (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/include/VBox/GuestHost/SharedClipboard-transfers.h
r82968 r85121 736 736 typedef struct SHCLPROVIDERINTERFACE 737 737 { 738 DECLCALLBACKMEMBER(int, pfnTransferOpen )(PSHCLPROVIDERCTX pCtx);739 DECLCALLBACKMEMBER(int, pfnTransferClose )(PSHCLPROVIDERCTX pCtx);740 DECLCALLBACKMEMBER(int, pfnRootsGet )(PSHCLPROVIDERCTX pCtx, PSHCLROOTLIST *ppRootList);741 DECLCALLBACKMEMBER(int, pfnListOpen )(PSHCLPROVIDERCTX pCtx, PSHCLLISTOPENPARMS pOpenParms, PSHCLLISTHANDLE phList);742 DECLCALLBACKMEMBER(int, pfnListClose )(PSHCLPROVIDERCTX pCtx, SHCLLISTHANDLE hList);743 DECLCALLBACKMEMBER(int, pfnListHdrRead )(PSHCLPROVIDERCTX pCtx, SHCLLISTHANDLE hList, PSHCLLISTHDR pListHdr);744 DECLCALLBACKMEMBER(int, pfnListHdrWrite )(PSHCLPROVIDERCTX pCtx, SHCLLISTHANDLE hList, PSHCLLISTHDR pListHdr);745 DECLCALLBACKMEMBER(int, pfnListEntryRead )(PSHCLPROVIDERCTX pCtx, SHCLLISTHANDLE hList, PSHCLLISTENTRY pEntry);746 DECLCALLBACKMEMBER(int, pfnListEntryWrite )(PSHCLPROVIDERCTX pCtx, SHCLLISTHANDLE hList, PSHCLLISTENTRY pEntry);747 DECLCALLBACKMEMBER(int, pfnObjOpen )(PSHCLPROVIDERCTX pCtx, PSHCLOBJOPENCREATEPARMS pCreateParms, PSHCLOBJHANDLE phObj);748 DECLCALLBACKMEMBER(int, pfnObjClose )(PSHCLPROVIDERCTX pCtx, SHCLOBJHANDLE hObj);749 DECLCALLBACKMEMBER(int, pfnObjRead )(PSHCLPROVIDERCTX pCtx, SHCLOBJHANDLE hObj, void *pvData, uint32_t cbData,750 uint32_t fFlags, uint32_t *pcbRead) ;751 DECLCALLBACKMEMBER(int, pfnObjWrite )(PSHCLPROVIDERCTX pCtx, SHCLOBJHANDLE hObj, void *pvData, uint32_t cbData,752 uint32_t fFlags, uint32_t *pcbWritten) ;738 DECLCALLBACKMEMBER(int, pfnTransferOpen,(PSHCLPROVIDERCTX pCtx)); 739 DECLCALLBACKMEMBER(int, pfnTransferClose,(PSHCLPROVIDERCTX pCtx)); 740 DECLCALLBACKMEMBER(int, pfnRootsGet,(PSHCLPROVIDERCTX pCtx, PSHCLROOTLIST *ppRootList)); 741 DECLCALLBACKMEMBER(int, pfnListOpen,(PSHCLPROVIDERCTX pCtx, PSHCLLISTOPENPARMS pOpenParms, PSHCLLISTHANDLE phList)); 742 DECLCALLBACKMEMBER(int, pfnListClose,(PSHCLPROVIDERCTX pCtx, SHCLLISTHANDLE hList)); 743 DECLCALLBACKMEMBER(int, pfnListHdrRead,(PSHCLPROVIDERCTX pCtx, SHCLLISTHANDLE hList, PSHCLLISTHDR pListHdr)); 744 DECLCALLBACKMEMBER(int, pfnListHdrWrite,(PSHCLPROVIDERCTX pCtx, SHCLLISTHANDLE hList, PSHCLLISTHDR pListHdr)); 745 DECLCALLBACKMEMBER(int, pfnListEntryRead,(PSHCLPROVIDERCTX pCtx, SHCLLISTHANDLE hList, PSHCLLISTENTRY pEntry)); 746 DECLCALLBACKMEMBER(int, pfnListEntryWrite,(PSHCLPROVIDERCTX pCtx, SHCLLISTHANDLE hList, PSHCLLISTENTRY pEntry)); 747 DECLCALLBACKMEMBER(int, pfnObjOpen,(PSHCLPROVIDERCTX pCtx, PSHCLOBJOPENCREATEPARMS pCreateParms, PSHCLOBJHANDLE phObj)); 748 DECLCALLBACKMEMBER(int, pfnObjClose,(PSHCLPROVIDERCTX pCtx, SHCLOBJHANDLE hObj)); 749 DECLCALLBACKMEMBER(int, pfnObjRead,(PSHCLPROVIDERCTX pCtx, SHCLOBJHANDLE hObj, void *pvData, uint32_t cbData, 750 uint32_t fFlags, uint32_t *pcbRead)); 751 DECLCALLBACKMEMBER(int, pfnObjWrite,(PSHCLPROVIDERCTX pCtx, SHCLOBJHANDLE hObj, void *pvData, uint32_t cbData, 752 uint32_t fFlags, uint32_t *pcbWritten)); 753 753 } SHCLPROVIDERINTERFACE, *PSHCLPROVIDERINTERFACE; 754 754 … … 792 792 size_t cbUser; 793 793 /** Called after the transfer has been initialized. */ 794 DECLCALLBACKMEMBER(int, pfnTransferInitialize)(PSHCLTRANSFERCALLBACKDATA pData);794 DECLCALLBACKMEMBER(int, pfnTransferInitialize,(PSHCLTRANSFERCALLBACKDATA pData)); 795 795 /** Called before the transfer will be started. */ 796 DECLCALLBACKMEMBER(int, pfnTransferStart)(PSHCLTRANSFERCALLBACKDATA pData);796 DECLCALLBACKMEMBER(int, pfnTransferStart,(PSHCLTRANSFERCALLBACKDATA pData)); 797 797 /** Called when reading / writing the list header is complete. */ 798 DECLCALLBACKMEMBER(void, pfnListHeaderComplete )(PSHCLTRANSFERCALLBACKDATA pData);798 DECLCALLBACKMEMBER(void, pfnListHeaderComplete,(PSHCLTRANSFERCALLBACKDATA pData)); 799 799 /** Called when reading / writing a list entry is complete. */ 800 DECLCALLBACKMEMBER(void, pfnListEntryComplete )(PSHCLTRANSFERCALLBACKDATA pData);800 DECLCALLBACKMEMBER(void, pfnListEntryComplete,(PSHCLTRANSFERCALLBACKDATA pData)); 801 801 /** Called when the transfer is complete. */ 802 DECLCALLBACKMEMBER(void, pfnTransferComplete )(PSHCLTRANSFERCALLBACKDATA pData, int rc);802 DECLCALLBACKMEMBER(void, pfnTransferComplete,(PSHCLTRANSFERCALLBACKDATA pData, int rc)); 803 803 /** Called when the transfer has been canceled. */ 804 DECLCALLBACKMEMBER(void, pfnTransferCanceled )(PSHCLTRANSFERCALLBACKDATA pData);804 DECLCALLBACKMEMBER(void, pfnTransferCanceled,(PSHCLTRANSFERCALLBACKDATA pData)); 805 805 /** Called when transfer resulted in an unrecoverable error. */ 806 DECLCALLBACKMEMBER(void, pfnTransferError )(PSHCLTRANSFERCALLBACKDATA pData, int rc);806 DECLCALLBACKMEMBER(void, pfnTransferError,(PSHCLTRANSFERCALLBACKDATA pData, int rc)); 807 807 } SHCLTRANSFERCALLBACKS, *PSHCLTRANSFERCALLBACKS; 808 808
Note:
See TracChangeset
for help on using the changeset viewer.