Changeset 85121 in vbox for trunk/include
- Timestamp:
- Jul 8, 2020 7:33:26 PM (5 years ago)
- Location:
- trunk/include
- Files:
-
- 110 edited
- 2 copied
Legend:
- Unmodified
- Added
- Removed
-
trunk/include/VBox/ExtPack/ExtPack.h
r82968 r85121 357 357 * @param pErrInfo Where to return extended error information. 358 358 */ 359 DECLCALLBACKMEMBER(int, pfnInstalled )(PCVBOXEXTPACKREG pThis, VBOXEXTPACK_IF_CS(IVirtualBox) *pVirtualBox,360 PRTERRINFO pErrInfo) ;359 DECLCALLBACKMEMBER(int, pfnInstalled,(PCVBOXEXTPACKREG pThis, VBOXEXTPACK_IF_CS(IVirtualBox) *pVirtualBox, 360 PRTERRINFO pErrInfo)); 361 361 362 362 /** … … 370 370 * relatively unusable. 371 371 */ 372 DECLCALLBACKMEMBER(int, pfnUninstall )(PCVBOXEXTPACKREG pThis, VBOXEXTPACK_IF_CS(IVirtualBox) *pVirtualBox);372 DECLCALLBACKMEMBER(int, pfnUninstall,(PCVBOXEXTPACKREG pThis, VBOXEXTPACK_IF_CS(IVirtualBox) *pVirtualBox)); 373 373 374 374 /** … … 378 378 * @param pVirtualBox The VirtualBox interface. 379 379 */ 380 DECLCALLBACKMEMBER(void, pfnVirtualBoxReady )(PCVBOXEXTPACKREG pThis, VBOXEXTPACK_IF_CS(IVirtualBox) *pVirtualBox);380 DECLCALLBACKMEMBER(void, pfnVirtualBoxReady,(PCVBOXEXTPACKREG pThis, VBOXEXTPACK_IF_CS(IVirtualBox) *pVirtualBox)); 381 381 382 382 /** … … 389 389 * last callback. 390 390 */ 391 DECLCALLBACKMEMBER(void, pfnUnload )(PCVBOXEXTPACKREG pThis);391 DECLCALLBACKMEMBER(void, pfnUnload,(PCVBOXEXTPACKREG pThis)); 392 392 393 393 /** … … 399 399 * @param pMachine The machine interface. 400 400 */ 401 DECLCALLBACKMEMBER(int, pfnVMCreated )(PCVBOXEXTPACKREG pThis, VBOXEXTPACK_IF_CS(IVirtualBox) *pVirtualBox,402 VBOXEXTPACK_IF_CS(IMachine) *pMachine) ;401 DECLCALLBACKMEMBER(int, pfnVMCreated,(PCVBOXEXTPACKREG pThis, VBOXEXTPACK_IF_CS(IVirtualBox) *pVirtualBox, 402 VBOXEXTPACK_IF_CS(IMachine) *pMachine)); 403 403 404 404 /** … … 409 409 * @param pObjectId Pointer to the object ID (UUID). 410 410 */ 411 DECLCALLBACKMEMBER(void *, pfnQueryObject )(PCVBOXEXTPACKREG pThis, PCRTUUID pObjectId);411 DECLCALLBACKMEMBER(void *, pfnQueryObject,(PCVBOXEXTPACKREG pThis, PCRTUUID pObjectId)); 412 412 413 413 DECLR3CALLBACKMEMBER(int, pfnReserved1,(PCVBOXEXTPACKREG pThis)); /**< Reserved for minor structure revisions. */ … … 444 444 * @param pErrInfo Where to return extended error information. 445 445 */ 446 typedef DECLCALLBACK (int) FNVBOXEXTPACKREGISTER(PCVBOXEXTPACKHLP pHlp, PCVBOXEXTPACKREG *ppReg, PRTERRINFO pErrInfo);446 typedef DECLCALLBACKTYPE(int, FNVBOXEXTPACKREGISTER,(PCVBOXEXTPACKHLP pHlp, PCVBOXEXTPACKREG *ppReg, PRTERRINFO pErrInfo)); 447 447 /** Pointer to a FNVBOXEXTPACKREGISTER. */ 448 448 typedef FNVBOXEXTPACKREGISTER *PFNVBOXEXTPACKREGISTER; … … 475 475 * @param pConsole The Console interface. 476 476 */ 477 DECLCALLBACKMEMBER(void, pfnConsoleReady )(PCVBOXEXTPACKVMREG pThis, VBOXEXTPACK_IF_CS(IConsole) *pConsole);477 DECLCALLBACKMEMBER(void, pfnConsoleReady,(PCVBOXEXTPACKVMREG pThis, VBOXEXTPACK_IF_CS(IConsole) *pConsole)); 478 478 479 479 /** … … 484 484 * @remarks The helpers are not available at this point in time. 485 485 */ 486 DECLCALLBACKMEMBER(void, pfnUnload )(PCVBOXEXTPACKVMREG pThis);486 DECLCALLBACKMEMBER(void, pfnUnload,(PCVBOXEXTPACKVMREG pThis)); 487 487 488 488 /** … … 494 494 * @param pVM The cross context VM structure. 495 495 */ 496 DECLCALLBACKMEMBER(int, pfnVMConfigureVMM )(PCVBOXEXTPACKVMREG pThis, VBOXEXTPACK_IF_CS(IConsole) *pConsole, PVM pVM);496 DECLCALLBACKMEMBER(int, pfnVMConfigureVMM,(PCVBOXEXTPACKVMREG pThis, VBOXEXTPACK_IF_CS(IConsole) *pConsole, PVM pVM)); 497 497 498 498 /** … … 504 504 * @param pVM The cross context VM structure. 505 505 */ 506 DECLCALLBACKMEMBER(int, pfnVMPowerOn )(PCVBOXEXTPACKVMREG pThis, VBOXEXTPACK_IF_CS(IConsole) *pConsole, PVM pVM);506 DECLCALLBACKMEMBER(int, pfnVMPowerOn,(PCVBOXEXTPACKVMREG pThis, VBOXEXTPACK_IF_CS(IConsole) *pConsole, PVM pVM)); 507 507 508 508 /** … … 513 513 * @param pVM The cross context VM structure. Can be NULL. 514 514 */ 515 DECLCALLBACKMEMBER(void, pfnVMPowerOff )(PCVBOXEXTPACKVMREG pThis, VBOXEXTPACK_IF_CS(IConsole) *pConsole, PVM pVM);515 DECLCALLBACKMEMBER(void, pfnVMPowerOff,(PCVBOXEXTPACKVMREG pThis, VBOXEXTPACK_IF_CS(IConsole) *pConsole, PVM pVM)); 516 516 517 517 /** … … 522 522 * @param pObjectId Pointer to the object ID (UUID). 523 523 */ 524 DECLCALLBACKMEMBER(void *, pfnQueryObject )(PCVBOXEXTPACKVMREG pThis, PCRTUUID pObjectId);524 DECLCALLBACKMEMBER(void *, pfnQueryObject,(PCVBOXEXTPACKVMREG pThis, PCRTUUID pObjectId)); 525 525 526 526 DECLR3CALLBACKMEMBER(int, pfnReserved1,(PCVBOXEXTPACKVMREG pThis)); /**< Reserved for minor structure revisions. */ … … 557 557 * @param pErrInfo Where to return extended error information. 558 558 */ 559 typedef DECLCALLBACK (int) FNVBOXEXTPACKVMREGISTER(PCVBOXEXTPACKHLP pHlp, PCVBOXEXTPACKVMREG *ppReg, PRTERRINFO pErrInfo);559 typedef DECLCALLBACKTYPE(int, FNVBOXEXTPACKVMREGISTER,(PCVBOXEXTPACKHLP pHlp, PCVBOXEXTPACKVMREG *ppReg, PRTERRINFO pErrInfo)); 560 560 /** Pointer to a FNVBOXEXTPACKVMREGISTER. */ 561 561 typedef FNVBOXEXTPACKVMREGISTER *PFNVBOXEXTPACKVMREGISTER; -
trunk/include/VBox/Graphics/HGSMI.h
r82968 r85121 96 96 * @thread EMT on the host side. 97 97 */ 98 typedef DECLCALLBACK (int) FNHGSMICHANNELHANDLER(void *pvHandler, uint16_t u16ChannelInfo,99 RT_UNTRUSTED_VOLATILE_HSTGST void *pvBuffer, HGSMISIZE cbBuffer);98 typedef DECLCALLBACKTYPE(int, FNHGSMICHANNELHANDLER,(void *pvHandler, uint16_t u16ChannelInfo, 99 RT_UNTRUSTED_VOLATILE_HSTGST void *pvBuffer, HGSMISIZE cbBuffer)); 100 100 /** Pointer to a channel handler callback. */ 101 101 typedef FNHGSMICHANNELHANDLER *PFNHGSMICHANNELHANDLER; -
trunk/include/VBox/Graphics/HGSMIDefs.h
r82968 r85121 119 119 120 120 /* Allocate system memory. */ 121 DECLCALLBACKMEMBER(void *, pfnAlloc )(void *pvEnv, HGSMISIZE cb);121 DECLCALLBACKMEMBER(void *, pfnAlloc,(void *pvEnv, HGSMISIZE cb)); 122 122 123 123 /* Free system memory. */ 124 DECLCALLBACKMEMBER(void, pfnFree )(void *pvEnv, void *pv);124 DECLCALLBACKMEMBER(void, pfnFree,(void *pvEnv, void *pv)); 125 125 } HGSMIENV; 126 126 -
trunk/include/VBox/Graphics/VBoxUhgsmi.h
r82968 r85121 77 77 /* the caller can specify NULL as a hSynch and specify a valid enmSynchType to make UHGSMI create a proper object itself, 78 78 * */ 79 typedef DECLCALLBACK(int) FNVBOXUHGSMI_BUFFER_CREATE(PVBOXUHGSMI pHgsmi, uint32_t cbBuf, VBOXUHGSMI_BUFFER_TYPE_FLAGS fType, PVBOXUHGSMI_BUFFER* ppBuf); 79 typedef DECLCALLBACKTYPE(int, FNVBOXUHGSMI_BUFFER_CREATE,(PVBOXUHGSMI pHgsmi, uint32_t cbBuf, VBOXUHGSMI_BUFFER_TYPE_FLAGS fType, 80 PVBOXUHGSMI_BUFFER* ppBuf)); 80 81 typedef FNVBOXUHGSMI_BUFFER_CREATE *PFNVBOXUHGSMI_BUFFER_CREATE; 81 82 … … 88 89 } VBOXUHGSMI_BUFFER_SUBMIT, *PVBOXUHGSMI_BUFFER_SUBMIT; 89 90 90 typedef DECLCALLBACK(int) FNVBOXUHGSMI_BUFFER_SUBMIT(PVBOXUHGSMI pHgsmi, PVBOXUHGSMI_BUFFER_SUBMIT aBuffers, uint32_t cBuffers); 91 typedef DECLCALLBACKTYPE(int, FNVBOXUHGSMI_BUFFER_SUBMIT,(PVBOXUHGSMI pHgsmi, PVBOXUHGSMI_BUFFER_SUBMIT aBuffers, 92 uint32_t cBuffers)); 91 93 typedef FNVBOXUHGSMI_BUFFER_SUBMIT *PFNVBOXUHGSMI_BUFFER_SUBMIT; 92 94 93 typedef DECLCALLBACK (int) FNVBOXUHGSMI_BUFFER_DESTROY(PVBOXUHGSMI_BUFFER pBuf);95 typedef DECLCALLBACKTYPE(int, FNVBOXUHGSMI_BUFFER_DESTROY,(PVBOXUHGSMI_BUFFER pBuf)); 94 96 typedef FNVBOXUHGSMI_BUFFER_DESTROY *PFNVBOXUHGSMI_BUFFER_DESTROY; 95 97 96 typedef DECLCALLBACK(int) FNVBOXUHGSMI_BUFFER_LOCK(PVBOXUHGSMI_BUFFER pBuf, uint32_t offLock, uint32_t cbLock, VBOXUHGSMI_BUFFER_LOCK_FLAGS fFlags, void**pvLock); 98 typedef DECLCALLBACKTYPE(int, FNVBOXUHGSMI_BUFFER_LOCK,(PVBOXUHGSMI_BUFFER pBuf, uint32_t offLock, uint32_t cbLock, 99 VBOXUHGSMI_BUFFER_LOCK_FLAGS fFlags, void**pvLock)); 97 100 typedef FNVBOXUHGSMI_BUFFER_LOCK *PFNVBOXUHGSMI_BUFFER_LOCK; 98 101 99 typedef DECLCALLBACK (int) FNVBOXUHGSMI_BUFFER_UNLOCK(PVBOXUHGSMI_BUFFER pBuf);102 typedef DECLCALLBACKTYPE(int, FNVBOXUHGSMI_BUFFER_UNLOCK,(PVBOXUHGSMI_BUFFER pBuf)); 100 103 typedef FNVBOXUHGSMI_BUFFER_UNLOCK *PFNVBOXUHGSMI_BUFFER_UNLOCK; 101 104 -
trunk/include/VBox/Graphics/VBoxVideo.h
r82968 r85121 859 859 } VBOXVHWACMD_HH_SAVESTATE_LOADPERFORM; 860 860 861 typedef DECLCALLBACK (void) FNVBOXVHWA_HH_CALLBACK(void*);861 typedef DECLCALLBACKTYPE(void, FNVBOXVHWA_HH_CALLBACK,(void *)); 862 862 typedef FNVBOXVHWA_HH_CALLBACK *PFNVBOXVHWA_HH_CALLBACK; 863 863 -
trunk/include/VBox/Graphics/VBoxVideo3D.h
r84740 r85121 50 50 #endif 51 51 52 typedef DECLCALLBACK (void) FNVBOXTLSREFDTOR(void*);52 typedef DECLCALLBACKTYPE(void, FNVBOXTLSREFDTOR,(void *)); 53 53 typedef FNVBOXTLSREFDTOR *PFNVBOXTLSREFDTOR; 54 54 -
trunk/include/VBox/Graphics/VBoxVideoGuest.h
r82968 r85121 145 145 * @todo explicitly pass the array size 146 146 */ 147 typedef DECLCALLBACK(int) FNHGSMIFILLVIEWINFO(void *pvData, 148 struct VBVAINFOVIEW *pInfo, 149 uint32_t cViews); 147 typedef DECLCALLBACKTYPE(int, FNHGSMIFILLVIEWINFO,(void *pvData, struct VBVAINFOVIEW *pInfo, uint32_t cViews)); 150 148 /** Pointer to a FNHGSMIFILLVIEWINFO callback */ 151 149 typedef FNHGSMIFILLVIEWINFO *PFNHGSMIFILLVIEWINFO; -
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 -
trunk/include/VBox/GuestHost/SharedClipboard-win.h
r83624 r85121 131 131 int SharedClipboardWinChainAdd(PSHCLWINCTX pCtx); 132 132 int SharedClipboardWinChainRemove(PSHCLWINCTX pCtx); 133 VOID CALLBACK SharedClipboardWinChainPingProc(HWND hWnd, UINT uMsg, ULONG_PTR dwData, LRESULT lResult) ;133 VOID CALLBACK SharedClipboardWinChainPingProc(HWND hWnd, UINT uMsg, ULONG_PTR dwData, LRESULT lResult) RT_NOTHROW_DEF; 134 134 LRESULT SharedClipboardWinChainPassToNext(PSHCLWINCTX pWinCtx, UINT msg, WPARAM wParam, LPARAM lParam); 135 135 -
trunk/include/VBox/HostServices/Service.h
r82968 r85121 182 182 183 183 template <class T> 184 class AbstractService : public RTCNonCopyable185 { 186 public: 187 /** 188 * @copydoc VBOXHGCMSVCLOAD184 class AbstractService : public RTCNonCopyable 185 { 186 public: 187 /** 188 * @copydoc FNVBOXHGCMSVCLOAD 189 189 */ 190 190 static DECLCALLBACK(int) svcLoad(VBOXHGCMSVCFNTABLE *pTable) -
trunk/include/VBox/HostServices/VBoxClipboardExt.h
r82968 r85121 52 52 #define VBOX_CLIPBOARD_EXT_FN_AREA_DETACH (7) 53 53 54 typedef DECLCALLBACK (int) VRDPCLIPBOARDEXTCALLBACK (uint32_t u32Function, uint32_t u32Format, void *pvData, uint32_t cbData);55 typedef VRDPCLIPBOARDEXTCALLBACK *PFNVRDPCLIPBOARDEXTCALLBACK;54 typedef DECLCALLBACKTYPE(int, FNVRDPCLIPBOARDEXTCALLBACK,(uint32_t u32Function, uint32_t u32Format, void *pvData, uint32_t cbData)); 55 typedef FNVRDPCLIPBOARDEXTCALLBACK *PFNVRDPCLIPBOARDEXTCALLBACK; 56 56 57 57 typedef struct _SHCLEXTPARMS -
trunk/include/VBox/RemoteDesktop/VRDE.h
r82968 r85121 1570 1570 */ 1571 1571 DECLEXPORT(int) VRDECreateServer (const VRDEINTERFACEHDR *pCallbacks, 1572 1573 1574 1575 1576 typedef DECLCALLBACK (int) FNVRDECREATESERVER(const VRDEINTERFACEHDR *pCallbacks,1577 void *pvCallback,1578 VRDEINTERFACEHDR **ppEntryPoints,1579 HVRDESERVER *phServer);1572 void *pvCallback, 1573 VRDEINTERFACEHDR **ppEntryPoints, 1574 HVRDESERVER *phServer); 1575 1576 typedef DECLCALLBACKTYPE(int, FNVRDECREATESERVER,(const VRDEINTERFACEHDR *pCallbacks, 1577 void *pvCallback, 1578 VRDEINTERFACEHDR **ppEntryPoints, 1579 HVRDESERVER *phServer)); 1580 1580 typedef FNVRDECREATESERVER *PFNVRDECREATESERVER; 1581 1581 … … 1596 1596 DECLEXPORT(const char * const *) VRDESupportedProperties (void); 1597 1597 1598 typedef DECLCALLBACK (const char * const *) FNVRDESUPPORTEDPROPERTIES (void);1598 typedef DECLCALLBACKTYPE(const char * const *, FNVRDESUPPORTEDPROPERTIES,(void)); 1599 1599 typedef FNVRDESUPPORTEDPROPERTIES *PFNVRDESUPPORTEDPROPERTIES; 1600 1600 -
trunk/include/VBox/VBoxDrvCfg-win.h
r82968 r85121 55 55 } VBOXDRVCFG_LOG_SEVERITY; 56 56 57 typedef DECLCALLBACK (void) FNVBOXDRVCFG_LOG(VBOXDRVCFG_LOG_SEVERITY enmSeverity, char *pszMsg, void *pvContext);57 typedef DECLCALLBACKTYPE(void, FNVBOXDRVCFG_LOG,(VBOXDRVCFG_LOG_SEVERITY enmSeverity, char *pszMsg, void *pvContext)); 58 58 typedef FNVBOXDRVCFG_LOG *PFNVBOXDRVCFG_LOG; 59 59 60 60 VBOXDRVCFG_DECL(void) VBoxDrvCfgLoggerSet(PFNVBOXDRVCFG_LOG pfnLog, void *pvLog); 61 61 62 typedef DECLCALLBACK (void) FNVBOXDRVCFG_PANIC(void * pvPanic);62 typedef DECLCALLBACKTYPE(void, FNVBOXDRVCFG_PANIC,(void *pvPanic)); 63 63 typedef FNVBOXDRVCFG_PANIC *PFNVBOXDRVCFG_PANIC; 64 64 VBOXDRVCFG_DECL(void) VBoxDrvCfgPanicSet(PFNVBOXDRVCFG_PANIC pfnPanic, void *pvPanic); -
trunk/include/VBox/VBoxGuest.h
r85024 r85121 819 819 */ 820 820 # if ARCH_BITS == 32 || defined(DOXYGEN_RUNNING) 821 DECLCALLBACKMEMBER(int, pfnServiceEP )(uint32_t u32Session, unsigned iFunction, PVBGLREQHDR pReqHdr, size_t cbReq);821 DECLCALLBACKMEMBER(int, pfnServiceEP,(uint32_t u32Session, unsigned iFunction, PVBGLREQHDR pReqHdr, size_t cbReq)); 822 822 # else 823 823 uint32_t pfnServiceEP; … … 836 836 */ 837 837 # if ARCH_BITS == 16 || defined(DOXYGEN_RUNNING) 838 DECLCALLBACKMEMBER(int, fpfnServiceEP )(uint32_t u32Session, uint16_t iFunction, PVBGLREQHDR fpvData, uint16_t cbData);838 DECLCALLBACKMEMBER(int, fpfnServiceEP,(uint32_t u32Session, uint16_t iFunction, PVBGLREQHDR fpvData, uint16_t cbData)); 839 839 # else 840 840 RTFAR16 fpfnServiceEP; -
trunk/include/VBox/VBoxGuestCoreTypes.h
r82968 r85121 229 229 * @param pvUser Argument given when setting the callback. 230 230 */ 231 typedef DECLCALLBACK (void) FNVBOXGUESTMOUSENOTIFY(void *pvUser);231 typedef DECLCALLBACKTYPE(void, FNVBOXGUESTMOUSENOTIFY,(void *pvUser)); 232 232 /** Pointer to a mouse event notification callback function. */ 233 233 typedef FNVBOXGUESTMOUSENOTIFY *PFNVBOXGUESTMOUSENOTIFY; /**< @todo fix type prefix */ -
trunk/include/VBox/VBoxGuestLib.h
r85099 r85121 243 243 * @param u32Data VBoxGuest 32 bit value to be passed to callback. 244 244 */ 245 typedef DECLCALLBACK (int) FNVBGLHGCMCALLBACK(VMMDevHGCMRequestHeader *pHeader, void *pvData, uint32_t u32Data);245 typedef DECLCALLBACKTYPE(int, FNVBGLHGCMCALLBACK,(VMMDevHGCMRequestHeader *pHeader, void *pvData, uint32_t u32Data)); 246 246 /** Pointer to a FNVBGLHGCMCALLBACK. */ 247 247 typedef FNVBGLHGCMCALLBACK *PFNVBGLHGCMCALLBACK; -
trunk/include/VBox/VBoxNetCfg-win.h
r82968 r85121 122 122 123 123 124 typedef VOID (*LOG_ROUTINE)(LPCSTR szString); /**< I'm not prefixed. */ 125 VBOXNETCFGWIN_DECL(VOID) VBoxNetCfgWinSetLogging(IN LOG_ROUTINE pfnLog); 124 typedef DECLCALLBACKTYPE(void, FNVBOXNETCFGLOGGER,(const char *pszString)); 125 typedef FNVBOXNETCFGLOGGER *PFNVBOXNETCFGLOGGER; 126 VBOXNETCFGWIN_DECL(void) VBoxNetCfgWinSetLogging(IN PFNVBOXNETCFGLOGGER pfnLogger); 126 127 127 128 RT_C_DECLS_END -
trunk/include/VBox/dbg.h
r82968 r85121 423 423 * @param ... Arguments specified in the format string. 424 424 */ 425 DECLCALLBACKMEMBER(int, pfnPrintf )(PDBGCCMDHLP pCmdHlp, size_t *pcbWritten,426 const char *pszFormat, ...) RT_IPRT_FORMAT_ATTR(3, 4);425 DECLCALLBACKMEMBER(int, pfnPrintf,(PDBGCCMDHLP pCmdHlp, size_t *pcbWritten, 426 const char *pszFormat, ...)) RT_IPRT_FORMAT_ATTR(3, 4); 427 427 428 428 /** … … 437 437 * @param args Arguments specified in the format string. 438 438 */ 439 DECLCALLBACKMEMBER(int, pfnPrintfV )(PDBGCCMDHLP pCmdHlp, size_t *pcbWritten,440 const char *pszFormat, va_list args) RT_IPRT_FORMAT_ATTR(3, 0);439 DECLCALLBACKMEMBER(int, pfnPrintfV,(PDBGCCMDHLP pCmdHlp, size_t *pcbWritten, 440 const char *pszFormat, va_list args)) RT_IPRT_FORMAT_ATTR(3, 0); 441 441 442 442 /** … … 451 451 * @param ... Arguments specified in the format string. 452 452 */ 453 DECLCALLBACKMEMBER(size_t, pfnStrPrintf )(PDBGCCMDHLP pCmdHlp, char *pszBuf, size_t cbBuf,454 const char *pszFormat, ...) RT_IPRT_FORMAT_ATTR(4, 5);453 DECLCALLBACKMEMBER(size_t, pfnStrPrintf,(PDBGCCMDHLP pCmdHlp, char *pszBuf, size_t cbBuf, 454 const char *pszFormat, ...)) RT_IPRT_FORMAT_ATTR(4, 5); 455 455 456 456 /** … … 465 465 * @param va Arguments specified in the format string. 466 466 */ 467 DECLCALLBACKMEMBER(size_t, pfnStrPrintfV )(PDBGCCMDHLP pCmdHlp, char *pszBuf, size_t cbBuf,468 const char *pszFormat, va_list va) RT_IPRT_FORMAT_ATTR(4, 0);467 DECLCALLBACKMEMBER(size_t, pfnStrPrintfV,(PDBGCCMDHLP pCmdHlp, char *pszBuf, size_t cbBuf, 468 const char *pszFormat, va_list va)) RT_IPRT_FORMAT_ATTR(4, 0); 469 469 470 470 /** … … 477 477 * @param ... Format arguments, optional. 478 478 */ 479 DECLCALLBACKMEMBER(int, pfnVBoxError )(PDBGCCMDHLP pCmdHlp, int rc, const char *pszFormat, ...) RT_IPRT_FORMAT_ATTR(3, 4);479 DECLCALLBACKMEMBER(int, pfnVBoxError,(PDBGCCMDHLP pCmdHlp, int rc, const char *pszFormat, ...)) RT_IPRT_FORMAT_ATTR(3, 4); 480 480 481 481 /** … … 488 488 * @param args Format arguments, optional. 489 489 */ 490 DECLCALLBACKMEMBER(int, pfnVBoxErrorV )(PDBGCCMDHLP pCmdHlp, int rc,491 const char *pszFormat, va_list args) RT_IPRT_FORMAT_ATTR(3, 0);490 DECLCALLBACKMEMBER(int, pfnVBoxErrorV,(PDBGCCMDHLP pCmdHlp, int rc, 491 const char *pszFormat, va_list args)) RT_IPRT_FORMAT_ATTR(3, 0); 492 492 493 493 /** … … 505 505 * will cause failure. 506 506 */ 507 DECLCALLBACKMEMBER(int, pfnMemRead )(PDBGCCMDHLP pCmdHlp, void *pvBuffer, size_t cbRead, PCDBGCVAR pVarPointer, size_t *pcbRead);507 DECLCALLBACKMEMBER(int, pfnMemRead,(PDBGCCMDHLP pCmdHlp, void *pvBuffer, size_t cbRead, PCDBGCVAR pVarPointer, size_t *pcbRead)); 508 508 509 509 /** … … 519 519 * might have been written to the specified address. 520 520 */ 521 DECLCALLBACKMEMBER(int, pfnMemWrite )(PDBGCCMDHLP pCmdHlp, const void *pvBuffer, size_t cbWrite, PCDBGCVAR pVarPointer, size_t *pcbWritten);521 DECLCALLBACKMEMBER(int, pfnMemWrite,(PDBGCCMDHLP pCmdHlp, const void *pvBuffer, size_t cbWrite, PCDBGCVAR pVarPointer, size_t *pcbWritten)); 522 522 523 523 /** … … 530 530 * @param ... Format arguments. 531 531 */ 532 DECLCALLBACKMEMBER(int, pfnExec )(PDBGCCMDHLP pCmdHlp, const char *pszExpr, ...) RT_IPRT_FORMAT_ATTR(2, 3);532 DECLCALLBACKMEMBER(int, pfnExec,(PDBGCCMDHLP pCmdHlp, const char *pszExpr, ...)) RT_IPRT_FORMAT_ATTR(2, 3); 533 533 534 534 /** … … 542 542 * @param va Format arguments. 543 543 */ 544 DECLCALLBACKMEMBER(int, pfnEvalV )(PDBGCCMDHLP pCmdHlp, PDBGCVAR pResult,545 const char *pszExpr, va_list va) RT_IPRT_FORMAT_ATTR(3, 0);544 DECLCALLBACKMEMBER(int, pfnEvalV,(PDBGCCMDHLP pCmdHlp, PDBGCVAR pResult, 545 const char *pszExpr, va_list va)) RT_IPRT_FORMAT_ATTR(3, 0); 546 546 547 547 /** … … 555 555 * @param va Format arguments. 556 556 */ 557 DECLCALLBACKMEMBER(int, pfnFailV )(PDBGCCMDHLP pCmdHlp, PCDBGCCMD pCmd,558 const char *pszFormat, va_list va) RT_IPRT_FORMAT_ATTR(3, 0);557 DECLCALLBACKMEMBER(int, pfnFailV,(PDBGCCMDHLP pCmdHlp, PCDBGCCMD pCmd, 558 const char *pszFormat, va_list va)) RT_IPRT_FORMAT_ATTR(3, 0); 559 559 560 560 /** … … 572 572 * @see DBGCCmdHlpFailRc 573 573 */ 574 DECLCALLBACKMEMBER(int, pfnFailRcV )(PDBGCCMDHLP pCmdHlp, PCDBGCCMD pCmd, int rc,575 const char *pszFormat, va_list va) RT_IPRT_FORMAT_ATTR(4, 0);574 DECLCALLBACKMEMBER(int, pfnFailRcV,(PDBGCCMDHLP pCmdHlp, PCDBGCCMD pCmd, int rc, 575 const char *pszFormat, va_list va)) RT_IPRT_FORMAT_ATTR(4, 0); 576 576 577 577 /** … … 586 586 * @param iLine The line number. 587 587 */ 588 DECLCALLBACKMEMBER(int, pfnParserError )(PDBGCCMDHLP pCmdHlp, PCDBGCCMD pCmd, int iArg, const char *pszExpr, unsigned iLine);588 DECLCALLBACKMEMBER(int, pfnParserError,(PDBGCCMDHLP pCmdHlp, PCDBGCCMD pCmd, int iArg, const char *pszExpr, unsigned iLine)); 589 589 590 590 /** … … 596 596 * @param pAddress The target address. 597 597 */ 598 DECLCALLBACKMEMBER(int, pfnVarToDbgfAddr )(PDBGCCMDHLP pCmdHlp, PCDBGCVAR pVar, PDBGFADDRESS pAddress);598 DECLCALLBACKMEMBER(int, pfnVarToDbgfAddr,(PDBGCCMDHLP pCmdHlp, PCDBGCVAR pVar, PDBGFADDRESS pAddress)); 599 599 600 600 /** … … 606 606 * @param pResult The result variable. 607 607 */ 608 DECLCALLBACKMEMBER(int, pfnVarFromDbgfAddr )(PDBGCCMDHLP pCmdHlp, PCDBGFADDRESS pAddress, PDBGCVAR pResult);608 DECLCALLBACKMEMBER(int, pfnVarFromDbgfAddr,(PDBGCCMDHLP pCmdHlp, PCDBGFADDRESS pAddress, PDBGCVAR pResult)); 609 609 610 610 /** … … 616 616 * @param pu64Number Where to store the number. 617 617 */ 618 DECLCALLBACKMEMBER(int, pfnVarToNumber )(PDBGCCMDHLP pCmdHlp, PCDBGCVAR pVar, uint64_t *pu64Number);618 DECLCALLBACKMEMBER(int, pfnVarToNumber,(PDBGCCMDHLP pCmdHlp, PCDBGCVAR pVar, uint64_t *pu64Number)); 619 619 620 620 /** … … 626 626 * @param pf Where to store the boolean. 627 627 */ 628 DECLCALLBACKMEMBER(int, pfnVarToBool )(PDBGCCMDHLP pCmdHlp, PCDBGCVAR pVar, bool *pf);628 DECLCALLBACKMEMBER(int, pfnVarToBool,(PDBGCCMDHLP pCmdHlp, PCDBGCVAR pVar, bool *pf)); 629 629 630 630 /** … … 638 638 * @param pcbRange The length of the range. 639 639 */ 640 DECLCALLBACKMEMBER(int, pfnVarGetRange )(PDBGCCMDHLP pCmdHlp, PCDBGCVAR pVar, uint64_t cbElement, uint64_t cbDefault,641 uint64_t *pcbRange) ;640 DECLCALLBACKMEMBER(int, pfnVarGetRange,(PDBGCCMDHLP pCmdHlp, PCDBGCVAR pVar, uint64_t cbElement, uint64_t cbDefault, 641 uint64_t *pcbRange)); 642 642 643 643 /** … … 653 653 * @param pResult The output variable. Can be the same as @a pVar. 654 654 */ 655 DECLCALLBACKMEMBER(int, pfnVarConvert )(PDBGCCMDHLP pCmdHlp, PCDBGCVAR pVar, DBGCVARTYPE enmToType, bool fConvSyms,656 PDBGCVAR pResult) ;655 DECLCALLBACKMEMBER(int, pfnVarConvert,(PDBGCCMDHLP pCmdHlp, PCDBGCVAR pVar, DBGCVARTYPE enmToType, bool fConvSyms, 656 PDBGCVAR pResult)); 657 657 658 658 /** … … 663 663 * @param pCmdHlp Pointer to the command callback structure. 664 664 */ 665 DECLCALLBACKMEMBER(PCDBGFINFOHLP, pfnGetDbgfOutputHlp )(PDBGCCMDHLP pCmdHlp);665 DECLCALLBACKMEMBER(PCDBGFINFOHLP, pfnGetDbgfOutputHlp,(PDBGCCMDHLP pCmdHlp)); 666 666 667 667 /** … … 671 671 * @param pCmdHlp Pointer to the command callback structure. 672 672 */ 673 DECLCALLBACKMEMBER(VMCPUID, pfnGetCurrentCpu )(PDBGCCMDHLP pCmdHlp);673 DECLCALLBACKMEMBER(VMCPUID, pfnGetCurrentCpu,(PDBGCCMDHLP pCmdHlp)); 674 674 675 675 /** … … 680 680 * @param pCmdHlp Pointer to the command callback structure. 681 681 */ 682 DECLCALLBACKMEMBER(CPUMMODE, pfnGetCpuMode )(PDBGCCMDHLP pCmdHlp);682 DECLCALLBACKMEMBER(CPUMMODE, pfnGetCpuMode,(PDBGCCMDHLP pCmdHlp)); 683 683 684 684 /** End marker (DBGCCMDHLP_MAGIC). */ … … 1002 1002 * @param cArgs Number of arguments in the array. 1003 1003 */ 1004 typedef DECLCALLBACK (int) FNDBGCCMD(PCDBGCCMD pCmd, PDBGCCMDHLP pCmdHlp, PUVM pUVM, PCDBGCVAR paArgs, unsigned cArgs);1004 typedef DECLCALLBACKTYPE(int, FNDBGCCMD,(PCDBGCCMD pCmd, PDBGCCMDHLP pCmdHlp, PUVM pUVM, PCDBGCVAR paArgs, unsigned cArgs)); 1005 1005 /** Pointer to a FNDBGCCMD() function. */ 1006 1006 typedef FNDBGCCMD *PFNDBGCCMD; … … 1052 1052 * @param pResult Where to return the result. 1053 1053 */ 1054 typedef DECLCALLBACK (int) FNDBGCFUNC(PCDBGCFUNC pFunc, PDBGCCMDHLP pCmdHlp, PUVM pUVM, PCDBGCVAR paArgs, unsigned cArgs,1055 PDBGCVAR pResult);1054 typedef DECLCALLBACKTYPE(int, FNDBGCFUNC,(PCDBGCFUNC pFunc, PDBGCCMDHLP pCmdHlp, PUVM pUVM, PCDBGCVAR paArgs, unsigned cArgs, 1055 PDBGCVAR pResult)); 1056 1056 /** Pointer to a FNDBGCFUNC() function. */ 1057 1057 typedef FNDBGCFUNC *PFNDBGCFUNC; … … 1097 1097 * @param cMillies Number of milliseconds to wait on input data. 1098 1098 */ 1099 typedef DECLCALLBACK (bool) FNDBGCBACKINPUT(PDBGCBACK pBack, uint32_t cMillies);1099 typedef DECLCALLBACKTYPE(bool, FNDBGCBACKINPUT,(PDBGCBACK pBack, uint32_t cMillies)); 1100 1100 /** Pointer to a FNDBGCBACKINPUT() callback. */ 1101 1101 typedef FNDBGCBACKINPUT *PFNDBGCBACKINPUT; … … 1114 1114 * successful return. 1115 1115 */ 1116 typedef DECLCALLBACK (int) FNDBGCBACKREAD(PDBGCBACK pBack, void *pvBuf, size_t cbBuf, size_t *pcbRead);1116 typedef DECLCALLBACKTYPE(int, FNDBGCBACKREAD,(PDBGCBACK pBack, void *pvBuf, size_t cbBuf, size_t *pcbRead)); 1117 1117 /** Pointer to a FNDBGCBACKREAD() callback. */ 1118 1118 typedef FNDBGCBACKREAD *PFNDBGCBACKREAD; … … 1130 1130 * If NULL the entire buffer must be successfully written. 1131 1131 */ 1132 typedef DECLCALLBACK (int) FNDBGCBACKWRITE(PDBGCBACK pBack, const void *pvBuf, size_t cbBuf, size_t *pcbWritten);1132 typedef DECLCALLBACKTYPE(int, FNDBGCBACKWRITE,(PDBGCBACK pBack, const void *pvBuf, size_t cbBuf, size_t *pcbWritten)); 1133 1133 /** Pointer to a FNDBGCBACKWRITE() callback. */ 1134 1134 typedef FNDBGCBACKWRITE *PFNDBGCBACKWRITE; … … 1142 1142 * @param fReady Whether it's ready (true) or busy (false). 1143 1143 */ 1144 typedef DECLCALLBACK (void) FNDBGCBACKSETREADY(PDBGCBACK pBack, bool fReady);1144 typedef DECLCALLBACKTYPE(void, FNDBGCBACKSETREADY,(PDBGCBACK pBack, bool fReady)); 1145 1145 /** Pointer to a FNDBGCBACKSETREADY() callback. */ 1146 1146 typedef FNDBGCBACKSETREADY *PFNDBGCBACKSETREADY; -
trunk/include/VBox/dbggui.h
r82968 r85121 55 55 uint32_t u32Version; 56 56 /** @copydoc DBGGuiDestroy */ 57 DECLCALLBACKMEMBER(int, pfnDestroy)(PDBGGUI pGui);57 DECLCALLBACKMEMBER(int, pfnDestroy,(PDBGGUI pGui)); 58 58 /** @copydoc DBGGuiAdjustRelativePos */ 59 DECLCALLBACKMEMBER(void, pfnAdjustRelativePos )(PDBGGUI pGui, int x, int y, unsigned cx, unsigned cy);59 DECLCALLBACKMEMBER(void, pfnAdjustRelativePos,(PDBGGUI pGui, int x, int y, unsigned cx, unsigned cy)); 60 60 /** @copydoc DBGGuiShowStatistics */ 61 DECLCALLBACKMEMBER(int, pfnShowStatistics)(PDBGGUI pGui);61 DECLCALLBACKMEMBER(int, pfnShowStatistics,(PDBGGUI pGui)); 62 62 /** @copydoc DBGGuiShowCommandLine */ 63 DECLCALLBACKMEMBER(int, pfnShowCommandLine)(PDBGGUI pGui);63 DECLCALLBACKMEMBER(int, pfnShowCommandLine,(PDBGGUI pGui)); 64 64 /** @copydoc DBGGuiSetParent */ 65 DECLCALLBACKMEMBER(void, pfnSetParent )(PDBGGUI pGui, void *pvParent);65 DECLCALLBACKMEMBER(void, pfnSetParent,(PDBGGUI pGui, void *pvParent)); 66 66 /** @copydoc DBGGuiSetMenu */ 67 DECLCALLBACKMEMBER(void, pfnSetMenu )(PDBGGUI pGui, void *pvMenu);67 DECLCALLBACKMEMBER(void, pfnSetMenu,(PDBGGUI pGui, void *pvMenu)); 68 68 /** The end version. (DBGGUIVT_VERSION) */ 69 69 uint32_t u32EndVersion; … … 95 95 DBGDECL(int) DBGGuiCreate(ISession *pSession, PDBGGUI *ppGui, PCDBGGUIVT *ppGuiVT); 96 96 /** @copydoc DBGGuiCreate */ 97 typedef DECLCALLBACK (int) FNDBGGUICREATE(ISession *pSession, PDBGGUI *ppGui, PCDBGGUIVT *ppGuiVT);97 typedef DECLCALLBACKTYPE(int, FNDBGGUICREATE,(ISession *pSession, PDBGGUI *ppGui, PCDBGGUIVT *ppGuiVT)); 98 98 /** Pointer to DBGGuiCreate. */ 99 99 typedef FNDBGGUICREATE *PFNDBGGUICREATE; … … 110 110 DBGDECL(int) DBGGuiCreateForVM(PUVM pUVM, PDBGGUI *ppGui, PCDBGGUIVT *ppGuiVT); 111 111 /** @copydoc DBGGuiCreateForVM */ 112 typedef DECLCALLBACK (int) FNDBGGUICREATEFORVM(PUVM pUVM, PDBGGUI *ppGui, PCDBGGUIVT *ppGuiVT);112 typedef DECLCALLBACKTYPE(int, FNDBGGUICREATEFORVM,(PUVM pUVM, PDBGGUI *ppGui, PCDBGGUIVT *ppGuiVT)); 113 113 /** Pointer to DBGGuiCreateForVM. */ 114 114 typedef FNDBGGUICREATEFORVM *PFNDBGGUICREATEFORVM; -
trunk/include/VBox/dis.h
r82968 r85121 539 539 * @param cbMaxRead The maximum number of bytes that may be read. 540 540 */ 541 typedef DECLCALLBACK (int) FNDISREADBYTES(PDISSTATE pDis, uint8_t offInstr, uint8_t cbMinRead, uint8_t cbMaxRead);541 typedef DECLCALLBACKTYPE(int, FNDISREADBYTES,(PDISSTATE pDis, uint8_t offInstr, uint8_t cbMinRead, uint8_t cbMaxRead)); 542 542 /** Pointer to a opcode byte reader. */ 543 543 typedef FNDISREADBYTES *PFNDISREADBYTES; … … 765 765 * @param pvUser The user argument. 766 766 */ 767 typedef DECLCALLBACK(int) FNDISGETSYMBOL(PCDISSTATE pDis, uint32_t u32Sel, RTUINTPTR uAddress, char *pszBuf, size_t cchBuf, RTINTPTR *poff, void *pvUser); 767 typedef DECLCALLBACKTYPE(int, FNDISGETSYMBOL,(PCDISSTATE pDis, uint32_t u32Sel, RTUINTPTR uAddress, char *pszBuf, size_t cchBuf, 768 RTINTPTR *poff, void *pvUser)); 768 769 /** Pointer to a FNDISGETSYMBOL(). */ 769 770 typedef FNDISGETSYMBOL *PFNDISGETSYMBOL; -
trunk/include/VBox/hgcmsvc.h
r82968 r85121 576 576 * @param cbParm The size of the function parameters. 577 577 */ 578 typedef DECLCALLBACK (int) FNHGCMSVCEXT(void *pvExtension, uint32_t u32Function, void *pvParm, uint32_t cbParms);578 typedef DECLCALLBACKTYPE(int, FNHGCMSVCEXT,(void *pvExtension, uint32_t u32Function, void *pvParm, uint32_t cbParms)); 579 579 typedef FNHGCMSVCEXT *PFNHGCMSVCEXT; 580 580 … … 688 688 689 689 /** Service initialization entry point. */ 690 typedef DECLCALLBACK (int) VBOXHGCMSVCLOAD(VBOXHGCMSVCFNTABLE *ptable);691 typedef VBOXHGCMSVCLOAD *PFNVBOXHGCMSVCLOAD;690 typedef DECLCALLBACKTYPE(int, FNVBOXHGCMSVCLOAD,(VBOXHGCMSVCFNTABLE *ptable)); 691 typedef FNVBOXHGCMSVCLOAD *PFNVBOXHGCMSVCLOAD; 692 692 #define VBOX_HGCM_SVCLOAD_NAME "VBoxHGCMSvcLoad" 693 693 -
trunk/include/VBox/intnet.h
r82968 r85121 420 420 * @param pIfPort Pointer to the INTNETTRUNKIFPORT instance. 421 421 */ 422 typedef DECLCALLBACK (void) FNINTNETTRUNKIFPORTRELEASEBUSY(PINTNETTRUNKIFPORT pIfPort);422 typedef DECLCALLBACKTYPE(void, FNINTNETTRUNKIFPORTRELEASEBUSY,(PINTNETTRUNKIFPORT pIfPort)); 423 423 /** Pointer to a FNINTNETTRUNKIFPORTRELEASEBUSY function. */ 424 424 typedef FNINTNETTRUNKIFPORTRELEASEBUSY *PFNINTNETTRUNKIFPORTRELEASEBUSY; -
trunk/include/VBox/rawpci.h
r82968 r85121 88 88 * or unmapped). 89 89 */ 90 typedef DECLCALLBACK (int) FNRAWPCICONTIGPHYSMEMINFO(struct RAWPCIPERVM *pVmData, RTHCPHYS HCPhysStart,91 RTGCPHYS GCPhysStart, uint64_t cbMem, PCIRAWMEMINFOACTION enmAction);90 typedef DECLCALLBACKTYPE(int, FNRAWPCICONTIGPHYSMEMINFO,(struct RAWPCIPERVM *pVmData, RTHCPHYS HCPhysStart, 91 RTGCPHYS GCPhysStart, uint64_t cbMem, PCIRAWMEMINFOACTION enmAction)); 92 92 typedef FNRAWPCICONTIGPHYSMEMINFO *PFNRAWPCICONTIGPHYSMEMINFO; 93 93 … … 348 348 * @param iIrq Interrupt number. 349 349 */ 350 typedef DECLCALLBACK (bool) FNRAWPCIISR(void *pvContext, int32_t iIrq);350 typedef DECLCALLBACKTYPE(bool, FNRAWPCIISR,(void *pvContext, int32_t iIrq)); 351 351 typedef FNRAWPCIISR *PFNRAWPCIISR; 352 352 -
trunk/include/VBox/sup.h
r85093 r85121 1114 1114 * @param envp The environment vector. 1115 1115 */ 1116 typedef DECLCALLBACK (int) FNSUPTRUSTEDMAIN(int argc, char **argv, char **envp);1116 typedef DECLCALLBACKTYPE(int, FNSUPTRUSTEDMAIN,(int argc, char **argv, char **envp)); 1117 1117 /** Pointer to FNSUPTRUSTEDMAIN(). */ 1118 1118 typedef FNSUPTRUSTEDMAIN *PFNSUPTRUSTEDMAIN; … … 1151 1151 * @param va The message format arguments. 1152 1152 */ 1153 typedef DECLCALLBACK (void) FNSUPTRUSTEDERROR(const char *pszWhere, SUPINITOP enmWhat, int rc,1154 const char *pszMsgFmt, va_list va) RT_IPRT_FORMAT_ATTR(4, 0);1153 typedef DECLCALLBACKTYPE(void, FNSUPTRUSTEDERROR,(const char *pszWhere, SUPINITOP enmWhat, int rc, 1154 const char *pszMsgFmt, va_list va)) RT_IPRT_FORMAT_ATTR(4, 0); 1155 1155 /** Pointer to FNSUPTRUSTEDERROR. */ 1156 1156 typedef FNSUPTRUSTEDERROR *PFNSUPTRUSTEDERROR; … … 1969 1969 * @param pvUser2 The second user argument. 1970 1970 */ 1971 typedef DECLCALLBACK (void) FNSUPDRVDESTRUCTOR(void *pvObj, void *pvUser1, void *pvUser2);1971 typedef DECLCALLBACKTYPE(void, FNSUPDRVDESTRUCTOR,(void *pvObj, void *pvUser1, void *pvUser2)); 1972 1972 /** Pointer to a FNSUPDRVDESTRUCTOR(). */ 1973 1973 typedef FNSUPDRVDESTRUCTOR *PFNSUPDRVDESTRUCTOR; … … 2434 2434 * @param pReqHdr The request header. Input / Output. Optional. 2435 2435 */ 2436 typedef DECLCALLBACK (int) FNSUPR0SERVICEREQHANDLER(PSUPDRVSESSION pSession, uint32_t uOperation,2437 uint64_t u64Arg, PSUPR0SERVICEREQHDR pReqHdr);2436 typedef DECLCALLBACKTYPE(int, FNSUPR0SERVICEREQHANDLER,(PSUPDRVSESSION pSession, uint32_t uOperation, 2437 uint64_t u64Arg, PSUPR0SERVICEREQHDR pReqHdr)); 2438 2438 /** Pointer to a FNR0SERVICEREQHANDLER(). */ 2439 2439 typedef R0PTRTYPE(FNSUPR0SERVICEREQHANDLER *) PFNSUPR0SERVICEREQHANDLER; -
trunk/include/VBox/vd-ifs-internal.h
r82968 r85121 40 40 41 41 /** 42 * Read data callback. 43 * 44 * @return VBox status code. 45 * @return VERR_VD_NOT_OPENED if no image is opened in HDD container. 46 * @param pvUser The opaque data passed for the operation. 47 * @param uOffset Offset of first reading byte from start of disk. 48 * Must be aligned to a sector boundary. 49 * @param pvBuffer Pointer to buffer for reading data. 50 * @param cbBuffer Number of bytes to read. 51 * Must be aligned to a sector boundary. 52 */ 53 typedef DECLCALLBACKTYPE(int, FNVDPARENTREAD,(void *pvUser, uint64_t uOffset, void *pvBuffer, size_t cbBuffer)); 54 /** Pointer to a FNVDPARENTREAD. */ 55 typedef FNVDPARENTREAD *PFNVDPARENTREAD; 56 57 /** 42 58 * Interface to get the parent state. 43 59 * … … 50 66 * Common interface header. 51 67 */ 52 VDINTERFACE Core; 53 54 /** 55 * Read data callback. 56 * 57 * @return VBox status code. 58 * @return VERR_VD_NOT_OPENED if no image is opened in HDD container. 59 * @param pvUser The opaque data passed for the operation. 60 * @param uOffset Offset of first reading byte from start of disk. 61 * Must be aligned to a sector boundary. 62 * @param pvBuffer Pointer to buffer for reading data. 63 * @param cbBuffer Number of bytes to read. 64 * Must be aligned to a sector boundary. 65 */ 66 DECLR3CALLBACKMEMBER(int, pfnParentRead, (void *pvUser, uint64_t uOffset, void *pvBuffer, size_t cbBuffer)); 68 VDINTERFACE Core; 69 70 /** 71 * Read data callback, see FNVDPARENTREAD for details. 72 */ 73 PFNVDPARENTREAD pfnParentRead; 67 74 68 75 } VDINTERFACEPARENTSTATE, *PVDINTERFACEPARENTSTATE; … … 107 114 * @param rcReq Status code for the completed request. 108 115 */ 109 typedef DECLCALLBACK (int) FNVDXFERCOMPLETED(void *pBackendData, PVDIOCTX pIoCtx, void *pvUser, int rcReq);116 typedef DECLCALLBACKTYPE(int, FNVDXFERCOMPLETED,(void *pBackendData, PVDIOCTX pIoCtx, void *pvUser, int rcReq)); 110 117 /** Pointer to FNVDXFERCOMPLETED() */ 111 118 typedef FNVDXFERCOMPLETED *PFNVDXFERCOMPLETED; -
trunk/include/VBox/vd-ifs.h
r82968 r85121 333 333 * @param rcReq Status code of the completed request. 334 334 */ 335 typedef DECLCALLBACK (int) FNVDCOMPLETED(void *pvUser, int rcReq);335 typedef DECLCALLBACKTYPE(int, FNVDCOMPLETED,(void *pvUser, int rcReq)); 336 336 /** Pointer to FNVDCOMPLETED() */ 337 337 typedef FNVDCOMPLETED *PFNVDCOMPLETED; … … 711 711 * @param uPercentage Completion percentage. 712 712 */ 713 typedef DECLCALLBACK (int) FNVDPROGRESS(void *pvUser, unsigned uPercentage);713 typedef DECLCALLBACKTYPE(int, FNVDPROGRESS,(void *pvUser, unsigned uPercentage)); 714 714 /** Pointer to FNVDPROGRESS() */ 715 715 typedef FNVDPROGRESS *PFNVDPROGRESS; -
trunk/include/VBox/vd-plugin.h
r82968 r85121 85 85 * @param pRegisterCallbacks Pointer to the register callbacks structure. 86 86 */ 87 typedef DECLCALLBACK (int) FNVDPLUGINLOAD(void *pvUser, PVDBACKENDREGISTER pRegisterCallbacks);87 typedef DECLCALLBACKTYPE(int, FNVDPLUGINLOAD,(void *pvUser, PVDBACKENDREGISTER pRegisterCallbacks)); 88 88 typedef FNVDPLUGINLOAD *PFNVDPLUGINLOAD; 89 89 #define VD_PLUGIN_LOAD_NAME "VDPluginLoad" -
trunk/include/VBox/vd.h
r82968 r85121 462 462 * Request completion callback for the async read/write API. 463 463 */ 464 typedef DECLCALLBACK (void) FNVDASYNCTRANSFERCOMPLETE (void *pvUser1, void *pvUser2, int rcReq);464 typedef DECLCALLBACKTYPE(void, FNVDASYNCTRANSFERCOMPLETE,(void *pvUser1, void *pvUser2, int rcReq)); 465 465 /** Pointer to a transfer compelte callback. */ 466 466 typedef FNVDASYNCTRANSFERCOMPLETE *PFNVDASYNCTRANSFERCOMPLETE; … … 1725 1725 * @param rcReq The completion status code. 1726 1726 */ 1727 typedef DECLCALLBACK(void) FNVDIOQUEUEREQCOMPLETE(VDIOQUEUE hVdIoQueue, PVDISK pDisk, 1728 VDIOREQ hVdIoReq, void *pvVdIoReq, 1729 int rcReq); 1727 typedef DECLCALLBACKTYPE(void, FNVDIOQUEUEREQCOMPLETE,(VDIOQUEUE hVdIoQueue, PVDISK pDisk, 1728 VDIOREQ hVdIoReq, void *pvVdIoReq, int rcReq)); 1730 1729 /** Pointer to a VD I/O queue request completion callback. */ 1731 1730 typedef FNVDIOQUEUEREQCOMPLETE *PFNVDIOQUEUEREQCOMPLETE; -
trunk/include/VBox/vmm/cfgm.h
r82968 r85121 82 82 * @param pvUser The argument supplied to VMR3Create(). 83 83 */ 84 typedef DECLCALLBACK (int) FNCFGMCONSTRUCTOR(PUVM pUVM, PVM pVM, void *pvUser);84 typedef DECLCALLBACKTYPE(int, FNCFGMCONSTRUCTOR,(PUVM pUVM, PVM pVM, void *pvUser)); 85 85 /** Pointer to a FNCFGMCONSTRUCTOR(). */ 86 86 typedef FNCFGMCONSTRUCTOR *PFNCFGMCONSTRUCTOR; -
trunk/include/VBox/vmm/dbgf.h
r84766 r85121 906 906 * @param pBp Pointer to the breakpoint information. (readonly) 907 907 */ 908 typedef DECLCALLBACK (int) FNDBGFBPENUM(PUVM pUVM, void *pvUser, PCDBGFBP pBp);908 typedef DECLCALLBACKTYPE(int, FNDBGFBPENUM,(PUVM pUVM, void *pvUser, PCDBGFBP pBp)); 909 909 /** Pointer to a breakpoint enumeration callback function. */ 910 910 typedef FNDBGFBPENUM *PFNDBGFBPENUM; … … 954 954 * @param ... Arguments. 955 955 */ 956 DECLCALLBACKMEMBER(void, pfnPrintf )(PCDBGFINFOHLP pHlp, const char *pszFormat, ...) RT_IPRT_FORMAT_ATTR(2, 3);956 DECLCALLBACKMEMBER(void, pfnPrintf,(PCDBGFINFOHLP pHlp, const char *pszFormat, ...)) RT_IPRT_FORMAT_ATTR(2, 3); 957 957 958 958 /** … … 963 963 * @param args Argument list. 964 964 */ 965 DECLCALLBACKMEMBER(void, pfnPrintfV )(PCDBGFINFOHLP pHlp, const char *pszFormat, va_list args) RT_IPRT_FORMAT_ATTR(2, 0);965 DECLCALLBACKMEMBER(void, pfnPrintfV,(PCDBGFINFOHLP pHlp, const char *pszFormat, va_list args)) RT_IPRT_FORMAT_ATTR(2, 0); 966 966 967 967 /** … … 973 973 * @param pState The getopt state. 974 974 */ 975 DECLCALLBACKMEMBER(void, pfnGetOptError )(PCDBGFINFOHLP pHlp, int rc, union RTGETOPTUNION *pValueUnion,976 struct RTGETOPTSTATE *pState) ;975 DECLCALLBACKMEMBER(void, pfnGetOptError,(PCDBGFINFOHLP pHlp, int rc, union RTGETOPTUNION *pValueUnion, 976 struct RTGETOPTSTATE *pState)); 977 977 } DBGFINFOHLP; 978 978 … … 985 985 * @param pszArgs Argument string. Optional and specific to the handler. 986 986 */ 987 typedef DECLCALLBACK (void) FNDBGFHANDLERDEV(PPDMDEVINS pDevIns, PCDBGFINFOHLP pHlp, const char *pszArgs);987 typedef DECLCALLBACKTYPE(void, FNDBGFHANDLERDEV,(PPDMDEVINS pDevIns, PCDBGFINFOHLP pHlp, const char *pszArgs)); 988 988 /** Pointer to a FNDBGFHANDLERDEV function. */ 989 989 typedef FNDBGFHANDLERDEV *PFNDBGFHANDLERDEV; … … 996 996 * @param pszArgs Argument string. Optional and specific to the handler. 997 997 */ 998 typedef DECLCALLBACK (void) FNDBGFHANDLERDRV(PPDMDRVINS pDrvIns, PCDBGFINFOHLP pHlp, const char *pszArgs);998 typedef DECLCALLBACKTYPE(void, FNDBGFHANDLERDRV,(PPDMDRVINS pDrvIns, PCDBGFINFOHLP pHlp, const char *pszArgs)); 999 999 /** Pointer to a FNDBGFHANDLERDRV function. */ 1000 1000 typedef FNDBGFHANDLERDRV *PFNDBGFHANDLERDRV; … … 1007 1007 * @param pszArgs Argument string. Optional and specific to the handler. 1008 1008 */ 1009 typedef DECLCALLBACK (void) FNDBGFHANDLERINT(PVM pVM, PCDBGFINFOHLP pHlp, const char *pszArgs);1009 typedef DECLCALLBACKTYPE(void, FNDBGFHANDLERINT,(PVM pVM, PCDBGFINFOHLP pHlp, const char *pszArgs)); 1010 1010 /** Pointer to a FNDBGFHANDLERINT function. */ 1011 1011 typedef FNDBGFHANDLERINT *PFNDBGFHANDLERINT; … … 1018 1018 * @param pszArgs Argument string. Optional and specific to the handler. 1019 1019 */ 1020 typedef DECLCALLBACK (void) FNDBGFHANDLEREXT(void *pvUser, PCDBGFINFOHLP pHlp, const char *pszArgs);1020 typedef DECLCALLBACKTYPE(void, FNDBGFHANDLEREXT,(void *pvUser, PCDBGFINFOHLP pHlp, const char *pszArgs)); 1021 1021 /** Pointer to a FNDBGFHANDLEREXT function. */ 1022 1022 typedef FNDBGFHANDLEREXT *PFNDBGFHANDLEREXT; … … 1030 1030 * @param papszArgs Argument vector. 1031 1031 */ 1032 typedef DECLCALLBACK (void) FNDBGFINFOARGVDEV(PPDMDEVINS pDevIns, PCDBGFINFOHLP pHlp, int cArgs, char **papszArgs);1032 typedef DECLCALLBACKTYPE(void, FNDBGFINFOARGVDEV,(PPDMDEVINS pDevIns, PCDBGFINFOHLP pHlp, int cArgs, char **papszArgs)); 1033 1033 /** Pointer to a FNDBGFINFOARGVDEV function. */ 1034 1034 typedef FNDBGFINFOARGVDEV *PFNDBGFINFOARGVDEV; … … 1042 1042 * @param papszArgs Argument vector. 1043 1043 */ 1044 typedef DECLCALLBACK (void) FNDBGFINFOARGVUSB(PPDMUSBINS pUsbIns, PCDBGFINFOHLP pHlp, int cArgs, char **papszArgs);1044 typedef DECLCALLBACKTYPE(void, FNDBGFINFOARGVUSB,(PPDMUSBINS pUsbIns, PCDBGFINFOHLP pHlp, int cArgs, char **papszArgs)); 1045 1045 /** Pointer to a FNDBGFINFOARGVUSB function. */ 1046 1046 typedef FNDBGFINFOARGVUSB *PFNDBGFINFOARGVUSB; … … 1054 1054 * @param papszArgs Argument vector. 1055 1055 */ 1056 typedef DECLCALLBACK (void) FNDBGFINFOARGVDRV(PPDMDRVINS pDrvIns, PCDBGFINFOHLP pHlp, int cArgs, char **papszArgs);1056 typedef DECLCALLBACKTYPE(void, FNDBGFINFOARGVDRV,(PPDMDRVINS pDrvIns, PCDBGFINFOHLP pHlp, int cArgs, char **papszArgs)); 1057 1057 /** Pointer to a FNDBGFINFOARGVDRV function. */ 1058 1058 typedef FNDBGFINFOARGVDRV *PFNDBGFINFOARGVDRV; … … 1066 1066 * @param papszArgs Argument vector. 1067 1067 */ 1068 typedef DECLCALLBACK (void) FNDBGFINFOARGVINT(PVM pVM, PCDBGFINFOHLP pHlp, int cArgs, char **papszArgs);1068 typedef DECLCALLBACKTYPE(void, FNDBGFINFOARGVINT,(PVM pVM, PCDBGFINFOHLP pHlp, int cArgs, char **papszArgs)); 1069 1069 /** Pointer to a FNDBGFINFOARGVINT function. */ 1070 1070 typedef FNDBGFINFOARGVINT *PFNDBGFINFOARGVINT; … … 1078 1078 * @param papszArgs Argument vector. 1079 1079 */ 1080 typedef DECLCALLBACK (void) FNDBGFINFOARGVEXT(void *pvUser, PCDBGFINFOHLP pHlp, int cArgs, char **papszArgs);1080 typedef DECLCALLBACKTYPE(void, FNDBGFINFOARGVEXT,(void *pvUser, PCDBGFINFOHLP pHlp, int cArgs, char **papszArgs)); 1081 1081 /** Pointer to a FNDBGFINFOARGVEXT function. */ 1082 1082 typedef FNDBGFINFOARGVEXT *PFNDBGFINFOARGVEXT; … … 1168 1168 * @param pszDesc The description. 1169 1169 */ 1170 typedef DECLCALLBACK (int) FNDBGFINFOENUM(PUVM pUVM, const char *pszName, const char *pszDesc, void *pvUser);1170 typedef DECLCALLBACKTYPE(int, FNDBGFINFOENUM,(PUVM pUVM, const char *pszName, const char *pszDesc, void *pvUser)); 1171 1171 /** Pointer to a FNDBGFINFOENUM function. */ 1172 1172 typedef FNDBGFINFOENUM *PFNDBGFINFOENUM; … … 1956 1956 * @remarks Does not take the device lock or anything like that. 1957 1957 */ 1958 DECLCALLBACKMEMBER(int, pfnGet )(void *pvUser, struct DBGFREGSUBFIELD const *pSubField, PRTUINT128U puValue);1958 DECLCALLBACKMEMBER(int, pfnGet,(void *pvUser, struct DBGFREGSUBFIELD const *pSubField, PRTUINT128U puValue)); 1959 1959 /** Setter (optional). 1960 1960 * @remarks Does not take the device lock or anything like that. 1961 1961 */ 1962 DECLCALLBACKMEMBER(int, pfnSet )(void *pvUser, struct DBGFREGSUBFIELD const *pSubField, RTUINT128U uValue, RTUINT128U fMask);1962 DECLCALLBACKMEMBER(int, pfnSet,(void *pvUser, struct DBGFREGSUBFIELD const *pSubField, RTUINT128U uValue, RTUINT128U fMask)); 1963 1963 } DBGFREGSUBFIELD; 1964 1964 /** Pointer to a const register sub-field descriptor. */ … … 2017 2017 * @remarks Does not take the device lock or anything like that. 2018 2018 */ 2019 DECLCALLBACKMEMBER(int, pfnGet )(void *pvUser, struct DBGFREGDESC const *pDesc, PDBGFREGVAL pValue);2019 DECLCALLBACKMEMBER(int, pfnGet,(void *pvUser, struct DBGFREGDESC const *pDesc, PDBGFREGVAL pValue)); 2020 2020 /** Setter. 2021 2021 * @remarks Does not take the device lock or anything like that. 2022 2022 */ 2023 DECLCALLBACKMEMBER(int, pfnSet )(void *pvUser, struct DBGFREGDESC const *pDesc, PCDBGFREGVAL pValue, PCDBGFREGVAL pfMask);2023 DECLCALLBACKMEMBER(int, pfnSet,(void *pvUser, struct DBGFREGDESC const *pDesc, PCDBGFREGVAL pValue, PCDBGFREGVAL pfMask)); 2024 2024 /** Aliases (optional). */ 2025 2025 PCDBGFREGALIAS paAliases; … … 2202 2202 * @param pvData Pointer to the instance data. 2203 2203 */ 2204 DECLCALLBACKMEMBER(int, pfnConstruct )(PUVM pUVM, void *pvData);2204 DECLCALLBACKMEMBER(int, pfnConstruct,(PUVM pUVM, void *pvData)); 2205 2205 2206 2206 /** … … 2210 2210 * @param pvData Pointer to the instance data. 2211 2211 */ 2212 DECLCALLBACKMEMBER(void, pfnDestruct )(PUVM pUVM, void *pvData);2212 DECLCALLBACKMEMBER(void, pfnDestruct,(PUVM pUVM, void *pvData)); 2213 2213 2214 2214 /** … … 2222 2222 * @param pvData Pointer to the instance data. 2223 2223 */ 2224 DECLCALLBACKMEMBER(bool, pfnProbe )(PUVM pUVM, void *pvData);2224 DECLCALLBACKMEMBER(bool, pfnProbe,(PUVM pUVM, void *pvData)); 2225 2225 2226 2226 /** … … 2233 2233 * @param pvData Pointer to the instance data. 2234 2234 */ 2235 DECLCALLBACKMEMBER(int, pfnInit )(PUVM pUVM, void *pvData);2235 DECLCALLBACKMEMBER(int, pfnInit,(PUVM pUVM, void *pvData)); 2236 2236 2237 2237 /** … … 2244 2244 * @param pvData Pointer to the instance data. 2245 2245 */ 2246 DECLCALLBACKMEMBER(int, pfnRefresh )(PUVM pUVM, void *pvData);2246 DECLCALLBACKMEMBER(int, pfnRefresh,(PUVM pUVM, void *pvData)); 2247 2247 2248 2248 /** … … 2255 2255 * @param pvData Pointer to the instance data. 2256 2256 */ 2257 DECLCALLBACKMEMBER(void, pfnTerm )(PUVM pUVM, void *pvData);2257 DECLCALLBACKMEMBER(void, pfnTerm,(PUVM pUVM, void *pvData)); 2258 2258 2259 2259 /** … … 2268 2268 * @param cchVersion The size of the version string buffer. 2269 2269 */ 2270 DECLCALLBACKMEMBER(int, pfnQueryVersion )(PUVM pUVM, void *pvData, char *pszVersion, size_t cchVersion);2270 DECLCALLBACKMEMBER(int, pfnQueryVersion,(PUVM pUVM, void *pvData, char *pszVersion, size_t cchVersion)); 2271 2271 2272 2272 /** … … 2283 2283 * @param enmIf The interface identifier. 2284 2284 */ 2285 DECLCALLBACKMEMBER(void *, pfnQueryInterface )(PUVM pUVM, void *pvData, DBGFOSINTERFACE enmIf);2285 DECLCALLBACKMEMBER(void *, pfnQueryInterface,(PUVM pUVM, void *pvData, DBGFOSINTERFACE enmIf)); 2286 2286 2287 2287 /** … … 2300 2300 * @param puScratch Scratch area (initialized to zero, no dtor). 2301 2301 */ 2302 DECLCALLBACKMEMBER(int, pfnStackUnwindAssist )(PUVM pUVM, void *pvData, VMCPUID idCpu, PDBGFSTACKFRAME pFrame,2302 DECLCALLBACKMEMBER(int, pfnStackUnwindAssist,(PUVM pUVM, void *pvData, VMCPUID idCpu, PDBGFSTACKFRAME pFrame, 2303 2303 PRTDBGUNWINDSTATE pState, PCCPUMCTX pInitialCtx, RTDBGAS hAs, 2304 uint64_t *puScratch) ;2304 uint64_t *puScratch)); 2305 2305 2306 2306 /** Trailing magic (DBGFOSREG_MAGIC). */ … … 2347 2347 * holds the necessary buffer size. Optional. 2348 2348 */ 2349 DECLCALLBACKMEMBER(int, pfnQueryKernelLog )(struct DBGFOSIDMESG *pThis, PUVM pUVM, uint32_t fFlags, uint32_t cMessages,2350 char *pszBuf, size_t cbBuf, size_t *pcbActual) ;2349 DECLCALLBACKMEMBER(int, pfnQueryKernelLog,(struct DBGFOSIDMESG *pThis, PUVM pUVM, uint32_t fFlags, uint32_t cMessages, 2350 char *pszBuf, size_t cbBuf, size_t *pcbActual)); 2351 2351 /** Trailing magic (DBGFOSIDMESG_MAGIC). */ 2352 2352 uint32_t u32EndMagic; … … 2407 2407 * @param uArg Extra argument. 2408 2408 */ 2409 typedef DECLCALLBACK (int) FNDBGFPLUGIN(DBGFPLUGINOP enmOperation, PUVM pUVM, uintptr_t uArg);2409 typedef DECLCALLBACKTYPE(int, FNDBGFPLUGIN,(DBGFPLUGINOP enmOperation, PUVM pUVM, uintptr_t uArg)); 2410 2410 /** Pointer to a FNDBGFPLUGIN. */ 2411 2411 typedef FNDBGFPLUGIN *PFNDBGFPLUGIN; … … 2624 2624 * @param pvUser Opaque user data. 2625 2625 */ 2626 typedef DECLCALLBACK(int) FNDBGFR3TYPEVALDUMP(uint32_t off, const char *pszField, uint32_t iLvl, 2627 DBGFTYPEBUILTIN enmType, size_t cbType, 2628 PDBGFTYPEVALBUF pValBuf, uint32_t cValBufs, 2629 void *pvUser); 2626 typedef DECLCALLBACKTYPE(int, FNDBGFR3TYPEVALDUMP,(uint32_t off, const char *pszField, uint32_t iLvl, 2627 DBGFTYPEBUILTIN enmType, size_t cbType, 2628 PDBGFTYPEVALBUF pValBuf, uint32_t cValBufs, void *pvUser)); 2630 2629 /** Pointer to a FNDBGFR3TYPEVALDUMP. */ 2631 2630 typedef FNDBGFR3TYPEVALDUMP *PFNDBGFR3TYPEVALDUMP; … … 2644 2643 * @param pvUser Opaque user data. 2645 2644 */ 2646 typedef DECLCALLBACK (int) FNDBGFR3TYPEDUMP(uint32_t off, const char *pszField, uint32_t iLvl,2647 const char *pszType, uint32_t fTypeFlags,2648 uint32_t cElements, void *pvUser);2645 typedef DECLCALLBACKTYPE(int, FNDBGFR3TYPEDUMP,(uint32_t off, const char *pszField, uint32_t iLvl, 2646 const char *pszType, uint32_t fTypeFlags, 2647 uint32_t cElements, void *pvUser)); 2649 2648 /** Pointer to a FNDBGFR3TYPEDUMP. */ 2650 2649 typedef FNDBGFR3TYPEDUMP *PFNDBGFR3TYPEDUMP; -
trunk/include/VBox/vmm/em.h
r82968 r85121 116 116 * @{ 117 117 */ 118 typedef DECLCALLBACK (uint32_t) FNEMULATEPARAM2UINT32(void *pvParam1, uint64_t val2);119 typedef FNEMULATEPARAM2UINT32 *PFNEMULATEPARAM2UINT32;120 typedef DECLCALLBACK (uint32_t) FNEMULATEPARAM2(void *pvParam1, size_t val2);121 typedef FNEMULATEPARAM2 *PFNEMULATEPARAM2;122 typedef DECLCALLBACK (uint32_t) FNEMULATEPARAM3(void *pvParam1, uint64_t val2, size_t val3);123 typedef FNEMULATEPARAM3 *PFNEMULATEPARAM3;124 typedef DECLCALLBACK (int) FNEMULATELOCKPARAM2(void *pvParam1, uint64_t val2, RTGCUINTREG32 *pf);125 typedef FNEMULATELOCKPARAM2 126 typedef DECLCALLBACK (int) FNEMULATELOCKPARAM3(void *pvParam1, uint64_t val2, size_t cb, RTGCUINTREG32 *pf);127 typedef FNEMULATELOCKPARAM3 118 typedef DECLCALLBACKTYPE(uint32_t, FNEMULATEPARAM2UINT32,(void *pvParam1, uint64_t val2)); 119 typedef FNEMULATEPARAM2UINT32 *PFNEMULATEPARAM2UINT32; 120 typedef DECLCALLBACKTYPE(uint32_t, FNEMULATEPARAM2,(void *pvParam1, size_t val2)); 121 typedef FNEMULATEPARAM2 *PFNEMULATEPARAM2; 122 typedef DECLCALLBACKTYPE(uint32_t, FNEMULATEPARAM3,(void *pvParam1, uint64_t val2, size_t val3)); 123 typedef FNEMULATEPARAM3 *PFNEMULATEPARAM3; 124 typedef DECLCALLBACKTYPE(int, FNEMULATELOCKPARAM2,(void *pvParam1, uint64_t val2, RTGCUINTREG32 *pf)); 125 typedef FNEMULATELOCKPARAM2 *PFNEMULATELOCKPARAM2; 126 typedef DECLCALLBACKTYPE(int, FNEMULATELOCKPARAM3,(void *pvParam1, uint64_t val2, size_t cb, RTGCUINTREG32 *pf)); 127 typedef FNEMULATELOCKPARAM3 *PFNEMULATELOCKPARAM3; 128 128 /** @} */ 129 129 -
trunk/include/VBox/vmm/gim.h
r82968 r85121 109 109 * @param pVM The cross context VM structure. 110 110 */ 111 typedef DECLCALLBACK (void) FNGIMDEBUGBUFAVAIL(PVM pVM);111 typedef DECLCALLBACKTYPE(void, FNGIMDEBUGBUFAVAIL,(PVM pVM)); 112 112 /** Pointer to GIM debug buffer available callback. */ 113 113 typedef FNGIMDEBUGBUFAVAIL *PFNGIMDEBUGBUFAVAIL; -
trunk/include/VBox/vmm/gvmm.h
r82989 r85121 166 166 * @param pvUser The user parameter. 167 167 * */ 168 typedef DECLCALLBACK (int) FNGVMMR0ENUMCALLBACK(PGVM pGVM, void *pvUser);168 typedef DECLCALLBACKTYPE(int, FNGVMMR0ENUMCALLBACK,(PGVM pGVM, void *pvUser)); 169 169 /** Pointer to an VM enumeration callback function. */ 170 170 typedef FNGVMMR0ENUMCALLBACK *PFNGVMMR0ENUMCALLBACK; -
trunk/include/VBox/vmm/iom.h
r82968 r85121 189 189 * @remarks Caller enters the device critical section. 190 190 */ 191 typedef DECLCALLBACK (int) FNIOMIOPORTIN(PPDMDEVINS pDevIns, void *pvUser, RTIOPORT uPort, uint32_t *pu32, unsigned cb);191 typedef DECLCALLBACKTYPE(int, FNIOMIOPORTIN,(PPDMDEVINS pDevIns, void *pvUser, RTIOPORT uPort, uint32_t *pu32, unsigned cb)); 192 192 /** Pointer to a FNIOMIOPORTIN(). */ 193 193 typedef FNIOMIOPORTIN *PFNIOMIOPORTIN; … … 208 208 * @remarks Caller enters the device critical section. 209 209 */ 210 typedef DECLCALLBACK (int) FNIOMIOPORTINSTRING(PPDMDEVINS pDevIns, void *pvUser, RTIOPORT uPort, uint8_t *pbDst,211 uint32_t *pcTransfers, unsigned cb);210 typedef DECLCALLBACKTYPE(int, FNIOMIOPORTINSTRING,(PPDMDEVINS pDevIns, void *pvUser, RTIOPORT uPort, uint8_t *pbDst, 211 uint32_t *pcTransfers, unsigned cb)); 212 212 /** Pointer to a FNIOMIOPORTINSTRING(). */ 213 213 typedef FNIOMIOPORTINSTRING *PFNIOMIOPORTINSTRING; … … 225 225 * @remarks Caller enters the device critical section. 226 226 */ 227 typedef DECLCALLBACK (int) FNIOMIOPORTOUT(PPDMDEVINS pDevIns, void *pvUser, RTIOPORT uPort, uint32_t u32, unsigned cb);227 typedef DECLCALLBACKTYPE(int, FNIOMIOPORTOUT,(PPDMDEVINS pDevIns, void *pvUser, RTIOPORT uPort, uint32_t u32, unsigned cb)); 228 228 /** Pointer to a FNIOMIOPORTOUT(). */ 229 229 typedef FNIOMIOPORTOUT *PFNIOMIOPORTOUT; … … 243 243 * @remarks Caller enters the device critical section. 244 244 */ 245 typedef DECLCALLBACK (int) FNIOMIOPORTOUTSTRING(PPDMDEVINS pDevIns, void *pvUser, RTIOPORT uPort, const uint8_t *pbSrc,246 uint32_t *pcTransfers, unsigned cb);245 typedef DECLCALLBACKTYPE(int, FNIOMIOPORTOUTSTRING,(PPDMDEVINS pDevIns, void *pvUser, RTIOPORT uPort, const uint8_t *pbSrc, 246 uint32_t *pcTransfers, unsigned cb)); 247 247 /** Pointer to a FNIOMIOPORTOUTSTRING(). */ 248 248 typedef FNIOMIOPORTOUTSTRING *PFNIOMIOPORTOUTSTRING; … … 264 264 * @remarks Caller enters the device critical section. 265 265 */ 266 typedef DECLCALLBACK(VBOXSTRICTRC) FNIOMIOPORTNEWIN(PPDMDEVINS pDevIns, void *pvUser, RTIOPORT offPort, uint32_t *pu32, unsigned cb); 266 typedef DECLCALLBACKTYPE(VBOXSTRICTRC, FNIOMIOPORTNEWIN,(PPDMDEVINS pDevIns, void *pvUser, RTIOPORT offPort, 267 uint32_t *pu32, unsigned cb)); 267 268 /** Pointer to a FNIOMIOPORTNEWIN(). */ 268 269 typedef FNIOMIOPORTNEWIN *PFNIOMIOPORTNEWIN; … … 284 285 * @remarks Caller enters the device critical section. 285 286 */ 286 typedef DECLCALLBACK (VBOXSTRICTRC) FNIOMIOPORTNEWINSTRING(PPDMDEVINS pDevIns, void *pvUser, RTIOPORT offPort, uint8_t *pbDst,287 uint32_t *pcTransfers, unsigned cb);287 typedef DECLCALLBACKTYPE(VBOXSTRICTRC, FNIOMIOPORTNEWINSTRING,(PPDMDEVINS pDevIns, void *pvUser, RTIOPORT offPort, uint8_t *pbDst, 288 uint32_t *pcTransfers, unsigned cb)); 288 289 /** Pointer to a FNIOMIOPORTNEWINSTRING(). */ 289 290 typedef FNIOMIOPORTNEWINSTRING *PFNIOMIOPORTNEWINSTRING; … … 302 303 * @remarks Caller enters the device critical section. 303 304 */ 304 typedef DECLCALLBACK(VBOXSTRICTRC) FNIOMIOPORTNEWOUT(PPDMDEVINS pDevIns, void *pvUser, RTIOPORT offPort, uint32_t u32, unsigned cb); 305 typedef DECLCALLBACKTYPE(VBOXSTRICTRC, FNIOMIOPORTNEWOUT,(PPDMDEVINS pDevIns, void *pvUser, RTIOPORT offPort, 306 uint32_t u32, unsigned cb)); 305 307 /** Pointer to a FNIOMIOPORTNEWOUT(). */ 306 308 typedef FNIOMIOPORTNEWOUT *PFNIOMIOPORTNEWOUT; … … 321 323 * @remarks Caller enters the device critical section. 322 324 */ 323 typedef DECLCALLBACK (VBOXSTRICTRC) FNIOMIOPORTNEWOUTSTRING(PPDMDEVINS pDevIns, void *pvUser, RTIOPORT offPort, const uint8_t *pbSrc,324 uint32_t *pcTransfers, unsigned cb);325 typedef DECLCALLBACKTYPE(VBOXSTRICTRC, FNIOMIOPORTNEWOUTSTRING,(PPDMDEVINS pDevIns, void *pvUser, RTIOPORT offPort, 326 const uint8_t *pbSrc, uint32_t *pcTransfers, unsigned cb)); 325 327 /** Pointer to a FNIOMIOPORTNEWOUTSTRING(). */ 326 328 typedef FNIOMIOPORTNEWOUTSTRING *PFNIOMIOPORTNEWOUTSTRING; … … 358 360 * @remarks Caller enters the device critical section. 359 361 */ 360 typedef DECLCALLBACK (int) FNIOMMMIOREAD(PPDMDEVINS pDevIns, void *pvUser, RTGCPHYS GCPhysAddr, void *pv, unsigned cb);362 typedef DECLCALLBACKTYPE(int, FNIOMMMIOREAD,(PPDMDEVINS pDevIns, void *pvUser, RTGCPHYS GCPhysAddr, void *pv, unsigned cb)); 361 363 /** Pointer to a FNIOMMMIOREAD(). */ 362 364 typedef FNIOMMMIOREAD *PFNIOMMMIOREAD; … … 374 376 * @remarks Caller enters the device critical section. 375 377 */ 376 typedef DECLCALLBACK (int) FNIOMMMIOWRITE(PPDMDEVINS pDevIns, void *pvUser, RTGCPHYS GCPhysAddr, void const *pv, unsigned cb);378 typedef DECLCALLBACKTYPE(int, FNIOMMMIOWRITE,(PPDMDEVINS pDevIns, void *pvUser, RTGCPHYS GCPhysAddr, void const *pv, unsigned cb)); 377 379 /** Pointer to a FNIOMMMIOWRITE(). */ 378 380 typedef FNIOMMMIOWRITE *PFNIOMMMIOWRITE; … … 391 393 * @remarks Caller enters the device critical section. 392 394 */ 393 typedef DECLCALLBACK(int) FNIOMMMIOFILL(PPDMDEVINS pDevIns, void *pvUser, RTGCPHYS GCPhysAddr, uint32_t u32Item, unsigned cbItem, unsigned cItems); 395 typedef DECLCALLBACKTYPE(int, FNIOMMMIOFILL,(PPDMDEVINS pDevIns, void *pvUser, RTGCPHYS GCPhysAddr, 396 uint32_t u32Item, unsigned cbItem, unsigned cItems)); 394 397 /** Pointer to a FNIOMMMIOFILL(). */ 395 398 typedef FNIOMMMIOFILL *PFNIOMMMIOFILL; … … 409 412 * @remarks Caller enters the device critical section. 410 413 */ 411 typedef DECLCALLBACK (VBOXSTRICTRC) FNIOMMMIONEWREAD(PPDMDEVINS pDevIns, void *pvUser, RTGCPHYS off, void *pv, uint32_t cb);414 typedef DECLCALLBACKTYPE(VBOXSTRICTRC, FNIOMMMIONEWREAD,(PPDMDEVINS pDevIns, void *pvUser, RTGCPHYS off, void *pv, uint32_t cb)); 412 415 /** Pointer to a FNIOMMMIONEWREAD(). */ 413 416 typedef FNIOMMMIONEWREAD *PFNIOMMMIONEWREAD; … … 426 429 * @remarks Caller enters the device critical section. 427 430 */ 428 typedef DECLCALLBACK(VBOXSTRICTRC) FNIOMMMIONEWWRITE(PPDMDEVINS pDevIns, void *pvUser, RTGCPHYS off, void const *pv, uint32_t cb); 431 typedef DECLCALLBACKTYPE(VBOXSTRICTRC, FNIOMMMIONEWWRITE,(PPDMDEVINS pDevIns, void *pvUser, RTGCPHYS off, 432 void const *pv, uint32_t cb)); 429 433 /** Pointer to a FNIOMMMIONEWWRITE(). */ 430 434 typedef FNIOMMMIONEWWRITE *PFNIOMMMIONEWWRITE; … … 444 448 * @remarks Caller enters the device critical section. 445 449 */ 446 typedef DECLCALLBACK (VBOXSTRICTRC) FNIOMMMIONEWFILL(PPDMDEVINS pDevIns, void *pvUser, RTGCPHYS off,447 uint32_t u32Item, uint32_t cbItem, uint32_t cItems);450 typedef DECLCALLBACKTYPE(VBOXSTRICTRC, FNIOMMMIONEWFILL,(PPDMDEVINS pDevIns, void *pvUser, RTGCPHYS off, 451 uint32_t u32Item, uint32_t cbItem, uint32_t cItems)); 448 452 /** Pointer to a FNIOMMMIONEWFILL(). */ 449 453 typedef FNIOMMMIONEWFILL *PFNIOMMMIONEWFILL; -
trunk/include/VBox/vmm/pdmapi.h
r84826 r85121 68 68 * unmapped. 69 69 */ 70 typedef DECLCALLBACK (void) FNPDMVMMDEVHEAPNOTIFY(PVM pVM, void *pvAllocation, RTGCPHYS GCPhysAllocation);70 typedef DECLCALLBACKTYPE(void, FNPDMVMMDEVHEAPNOTIFY,(PVM pVM, void *pvAllocation, RTGCPHYS GCPhysAllocation)); 71 71 /** Pointer (ring-3) to a FNPDMVMMDEVHEAPNOTIFY function. */ 72 72 typedef R3PTRTYPE(FNPDMVMMDEVHEAPNOTIFY *) PFNPDMVMMDEVHEAPNOTIFY; … … 126 126 * @param pvArg User argument. 127 127 */ 128 typedef DECLCALLBACK (int) FNPDMR3ENUM(PVM pVM, const char *pszFilename, const char *pszName,129 RTUINTPTR ImageBase, size_t cbImage, PDMLDRCTX enmCtx, void *pvArg);128 typedef DECLCALLBACKTYPE(int, FNPDMR3ENUM,(PVM pVM, const char *pszFilename, const char *pszName, 129 RTUINTPTR ImageBase, size_t cbImage, PDMLDRCTX enmCtx, void *pvArg)); 130 130 /** Pointer to a FNPDMR3ENUM() function. */ 131 131 typedef FNPDMR3ENUM *PFNPDMR3ENUM; -
trunk/include/VBox/vmm/pdmasynccompletion.h
r82968 r85121 64 64 * @param rc The status code of the completed request. 65 65 */ 66 typedef DECLCALLBACK (void) FNPDMASYNCCOMPLETEDEV(PPDMDEVINS pDevIns, void *pvUser, int rc);66 typedef DECLCALLBACKTYPE(void, FNPDMASYNCCOMPLETEDEV,(PPDMDEVINS pDevIns, void *pvUser, int rc)); 67 67 /** Pointer to a FNPDMASYNCCOMPLETEDEV(). */ 68 68 typedef FNPDMASYNCCOMPLETEDEV *PFNPDMASYNCCOMPLETEDEV; … … 77 77 * @param rc The status code of the completed request. 78 78 */ 79 typedef DECLCALLBACK (void) FNPDMASYNCCOMPLETEDRV(PPDMDRVINS pDrvIns, void *pvTemplateUser, void *pvUser, int rc);79 typedef DECLCALLBACKTYPE(void, FNPDMASYNCCOMPLETEDRV,(PPDMDRVINS pDrvIns, void *pvTemplateUser, void *pvUser, int rc)); 80 80 /** Pointer to a FNPDMASYNCCOMPLETEDRV(). */ 81 81 typedef FNPDMASYNCCOMPLETEDRV *PFNPDMASYNCCOMPLETEDRV; … … 89 89 * @param rc The status code of the completed request. 90 90 */ 91 typedef DECLCALLBACK (void) FNPDMASYNCCOMPLETEUSB(PPDMUSBINS pUsbIns, void *pvUser, int rc);91 typedef DECLCALLBACKTYPE(void, FNPDMASYNCCOMPLETEUSB,(PPDMUSBINS pUsbIns, void *pvUser, int rc)); 92 92 /** Pointer to a FNPDMASYNCCOMPLETEUSB(). */ 93 93 typedef FNPDMASYNCCOMPLETEUSB *PFNPDMASYNCCOMPLETEUSB; … … 102 102 * @param rc The status code of the completed request. 103 103 */ 104 typedef DECLCALLBACK (void) FNPDMASYNCCOMPLETEINT(PVM pVM, void *pvUser, void *pvUser2, int rc);104 typedef DECLCALLBACKTYPE(void, FNPDMASYNCCOMPLETEINT,(PVM pVM, void *pvUser, void *pvUser2, int rc)); 105 105 /** Pointer to a FNPDMASYNCCOMPLETEINT(). */ 106 106 typedef FNPDMASYNCCOMPLETEINT *PFNPDMASYNCCOMPLETEINT; -
trunk/include/VBox/vmm/pdmaudioifs.h
r82968 r85121 931 931 * @todo r=bird: The @a paDst size is presumable given in @a pOpts->cFrames? 932 932 */ 933 typedef DECLCALLBACK (uint32_t) FNPDMAUDIOMIXBUFCONVFROM(PPDMAUDIOFRAME paDst, const void *pvSrc, uint32_t cbSrc,934 PCPDMAUDMIXBUFCONVOPTS pOpts);933 typedef DECLCALLBACKTYPE(uint32_t, FNPDMAUDIOMIXBUFCONVFROM,(PPDMAUDIOFRAME paDst, const void *pvSrc, uint32_t cbSrc, 934 PCPDMAUDMIXBUFCONVOPTS pOpts)); 935 935 /** Pointer to a convertion-from function used by the PDM audio buffer mixer. */ 936 936 typedef FNPDMAUDIOMIXBUFCONVFROM *PFNPDMAUDIOMIXBUFCONVFROM; … … 945 945 * this implicitly gives the pvDst size too, right? 946 946 */ 947 typedef DECLCALLBACK (void) FNPDMAUDIOMIXBUFCONVTO(void *pvDst, PCPDMAUDIOFRAME paSrc, PCPDMAUDMIXBUFCONVOPTS pOpts);947 typedef DECLCALLBACKTYPE(void, FNPDMAUDIOMIXBUFCONVTO,(void *pvDst, PCPDMAUDIOFRAME paSrc, PCPDMAUDMIXBUFCONVOPTS pOpts)); 948 948 /** Pointer to a convertion-to function used by the PDM audio buffer mixer. */ 949 949 typedef FNPDMAUDIOMIXBUFCONVTO *PFNPDMAUDIOMIXBUFCONVTO; … … 1338 1338 * @param cbUser Size (in bytes) of user argument. 1339 1339 */ 1340 typedef DECLCALLBACK(int) FNPDMHOSTAUDIOCALLBACK(PPDMDRVINS pDrvIns, PDMAUDIOBACKENDCBTYPE enmType, void *pvUser, size_t cbUser); 1340 typedef DECLCALLBACKTYPE(int, FNPDMHOSTAUDIOCALLBACK,(PPDMDRVINS pDrvIns, PDMAUDIOBACKENDCBTYPE enmType, 1341 void *pvUser, size_t cbUser)); 1341 1342 /** Pointer to a FNPDMHOSTAUDIOCALLBACK(). */ 1342 1343 typedef FNPDMHOSTAUDIOCALLBACK *PFNPDMHOSTAUDIOCALLBACK; -
trunk/include/VBox/vmm/pdmblkcache.h
r82968 r85121 71 71 * @param rc The status code of the completed request. 72 72 */ 73 typedef DECLCALLBACK (void) FNPDMBLKCACHEXFERCOMPLETEDRV(PPDMDRVINS pDrvIns, void *pvUser, int rc);73 typedef DECLCALLBACKTYPE(void, FNPDMBLKCACHEXFERCOMPLETEDRV,(PPDMDRVINS pDrvIns, void *pvUser, int rc)); 74 74 /** Pointer to a FNPDMBLKCACHEXFERCOMPLETEDRV(). */ 75 75 typedef FNPDMBLKCACHEXFERCOMPLETEDRV *PFNPDMBLKCACHEXFERCOMPLETEDRV; … … 85 85 * @param hIoXfer I/O transfer handle to ping on completion. 86 86 */ 87 typedef DECLCALLBACK (int) FNPDMBLKCACHEXFERENQUEUEDRV(PPDMDRVINS pDrvIns, PDMBLKCACHEXFERDIR enmXferDir,88 uint64_t off, size_t cbXfer, PCRTSGBUF pSgBuf, PPDMBLKCACHEIOXFER hIoXfer);87 typedef DECLCALLBACKTYPE(int, FNPDMBLKCACHEXFERENQUEUEDRV,(PPDMDRVINS pDrvIns, PDMBLKCACHEXFERDIR enmXferDir, uint64_t off, 88 size_t cbXfer, PCRTSGBUF pSgBuf, PPDMBLKCACHEIOXFER hIoXfer)); 89 89 /** Pointer to a FNPDMBLKCACHEXFERENQUEUEDRV(). */ 90 90 typedef FNPDMBLKCACHEXFERENQUEUEDRV *PFNPDMBLKCACHEXFERENQUEUEDRV; … … 98 98 * @param hIoXfer I/O handle to return on completion. 99 99 */ 100 typedef DECLCALLBACK (int) FNPDMBLKCACHEXFERENQUEUEDISCARDDRV(PPDMDRVINS pDrvIns, PCRTRANGE paRanges, unsigned cRanges,101 PPDMBLKCACHEIOXFER hIoXfer);100 typedef DECLCALLBACKTYPE(int, FNPDMBLKCACHEXFERENQUEUEDISCARDDRV,(PPDMDRVINS pDrvIns, PCRTRANGE paRanges, unsigned cRanges, 101 PPDMBLKCACHEIOXFER hIoXfer)); 102 102 /** Pointer to a FNPDMBLKCACHEXFERENQUEUEDISCARDDRV(). */ 103 103 typedef FNPDMBLKCACHEXFERENQUEUEDISCARDDRV *PFNPDMBLKCACHEXFERENQUEUEDISCARDDRV; … … 110 110 * @param rc The status code of the completed request. 111 111 */ 112 typedef DECLCALLBACK (void) FNPDMBLKCACHEXFERCOMPLETEDEV(PPDMDEVINS pDevIns, void *pvUser, int rc);112 typedef DECLCALLBACKTYPE(void, FNPDMBLKCACHEXFERCOMPLETEDEV,(PPDMDEVINS pDevIns, void *pvUser, int rc)); 113 113 /** Pointer to a FNPDMBLKCACHEXFERCOMPLETEDEV(). */ 114 114 typedef FNPDMBLKCACHEXFERCOMPLETEDEV *PFNPDMBLKCACHEXFERCOMPLETEDEV; … … 124 124 * @param hIoXfer I/O transfer handle to ping on completion. 125 125 */ 126 typedef DECLCALLBACK (int) FNPDMBLKCACHEXFERENQUEUEDEV(PPDMDEVINS pDevIns, PDMBLKCACHEXFERDIR enmXferDir,127 uint64_t off, size_t cbXfer, PCRTSGBUF pSgBuf, PPDMBLKCACHEIOXFER hIoXfer);126 typedef DECLCALLBACKTYPE(int, FNPDMBLKCACHEXFERENQUEUEDEV,(PPDMDEVINS pDevIns, PDMBLKCACHEXFERDIR enmXferDir, uint64_t off, 127 size_t cbXfer, PCRTSGBUF pSgBuf, PPDMBLKCACHEIOXFER hIoXfer)); 128 128 /** Pointer to a FNPDMBLKCACHEXFERENQUEUEDEV(). */ 129 129 typedef FNPDMBLKCACHEXFERENQUEUEDEV *PFNPDMBLKCACHEXFERENQUEUEDEV; … … 137 137 * @param hIoXfer I/O handle to return on completion. 138 138 */ 139 typedef DECLCALLBACK (int) FNPDMBLKCACHEXFERENQUEUEDISCARDDEV(PPDMDEVINS pDevIns, PCRTRANGE paRanges, unsigned cRanges,140 PPDMBLKCACHEIOXFER hIoXfer);139 typedef DECLCALLBACKTYPE(int, FNPDMBLKCACHEXFERENQUEUEDISCARDDEV,(PPDMDEVINS pDevIns, PCRTRANGE paRanges, unsigned cRanges, 140 PPDMBLKCACHEIOXFER hIoXfer)); 141 141 /** Pointer to a FNPDMBLKCACHEXFERENQUEUEDISCARDDEV(). */ 142 142 typedef FNPDMBLKCACHEXFERENQUEUEDISCARDDEV *PFNPDMBLKCACHEXFERENQUEUEDISCARDDEV; … … 149 149 * @param rc The status code of the completed request. 150 150 */ 151 typedef DECLCALLBACK (void) FNPDMBLKCACHEXFERCOMPLETEINT(void *pvUserInt, void *pvUser, int rc);151 typedef DECLCALLBACKTYPE(void, FNPDMBLKCACHEXFERCOMPLETEINT,(void *pvUserInt, void *pvUser, int rc)); 152 152 /** Pointer to a FNPDMBLKCACHEXFERCOMPLETEINT(). */ 153 153 typedef FNPDMBLKCACHEXFERCOMPLETEINT *PFNPDMBLKCACHEXFERCOMPLETEINT; … … 163 163 * @param hIoXfer I/O transfer handle to ping on completion. 164 164 */ 165 typedef DECLCALLBACK (int) FNPDMBLKCACHEXFERENQUEUEINT(void *pvUser, PDMBLKCACHEXFERDIR enmXferDir,166 uint64_t off, size_t cbXfer, PCRTSGBUF pSgBuf, PPDMBLKCACHEIOXFER hIoXfer);165 typedef DECLCALLBACKTYPE(int, FNPDMBLKCACHEXFERENQUEUEINT,(void *pvUser, PDMBLKCACHEXFERDIR enmXferDir, uint64_t off, 166 size_t cbXfer, PCRTSGBUF pSgBuf, PPDMBLKCACHEIOXFER hIoXfer)); 167 167 /** Pointer to a FNPDMBLKCACHEXFERENQUEUEINT(). */ 168 168 typedef FNPDMBLKCACHEXFERENQUEUEINT *PFNPDMBLKCACHEXFERENQUEUEINT; … … 176 176 * @param hIoXfer I/O handle to return on completion. 177 177 */ 178 typedef DECLCALLBACK (int) FNPDMBLKCACHEXFERENQUEUEDISCARDINT(void *pvUser, PCRTRANGE paRanges, unsigned cRanges,179 PPDMBLKCACHEIOXFER hIoXfer);178 typedef DECLCALLBACKTYPE(int, FNPDMBLKCACHEXFERENQUEUEDISCARDINT,(void *pvUser, PCRTRANGE paRanges, unsigned cRanges, 179 PPDMBLKCACHEIOXFER hIoXfer)); 180 180 /** Pointer to a FNPDMBLKCACHEXFERENQUEUEDISCARDINT(). */ 181 181 typedef FNPDMBLKCACHEXFERENQUEUEDISCARDINT *PFNPDMBLKCACHEXFERENQUEUEDISCARDINT; … … 188 188 * @param rc The status code of the completed request. 189 189 */ 190 typedef DECLCALLBACK (void) FNPDMBLKCACHEXFERCOMPLETEUSB(PPDMUSBINS pUsbIns, void *pvUser, int rc);190 typedef DECLCALLBACKTYPE(void, FNPDMBLKCACHEXFERCOMPLETEUSB,(PPDMUSBINS pUsbIns, void *pvUser, int rc)); 191 191 /** Pointer to a FNPDMBLKCACHEXFERCOMPLETEUSB(). */ 192 192 typedef FNPDMBLKCACHEXFERCOMPLETEUSB *PFNPDMBLKCACHEXFERCOMPLETEUSB; … … 202 202 * @param hIoXfer I/O transfer handle to ping on completion. 203 203 */ 204 typedef DECLCALLBACK (int) FNPDMBLKCACHEXFERENQUEUEUSB(PPDMUSBINS pUsbIns, PDMBLKCACHEXFERDIR enmXferDir,205 uint64_t off, size_t cbXfer, PCRTSGBUF pSgBuf, PPDMBLKCACHEIOXFER hIoXfer);204 typedef DECLCALLBACKTYPE(int, FNPDMBLKCACHEXFERENQUEUEUSB,(PPDMUSBINS pUsbIns, PDMBLKCACHEXFERDIR enmXferDir, uint64_t off, 205 size_t cbXfer, PCRTSGBUF pSgBuf, PPDMBLKCACHEIOXFER hIoXfer)); 206 206 /** Pointer to a FNPDMBLKCACHEXFERENQUEUEUSB(). */ 207 207 typedef FNPDMBLKCACHEXFERENQUEUEUSB *PFNPDMBLKCACHEXFERENQUEUEUSB; … … 215 215 * @param hIoXfer I/O handle to return on completion. 216 216 */ 217 typedef DECLCALLBACK (int) FNPDMBLKCACHEXFERENQUEUEDISCARDUSB(PPDMUSBINS pUsbIns, PCRTRANGE paRanges, unsigned cRanges,218 PPDMBLKCACHEIOXFER hIoXfer);217 typedef DECLCALLBACKTYPE(int, FNPDMBLKCACHEXFERENQUEUEDISCARDUSB,(PPDMUSBINS pUsbIns, PCRTRANGE paRanges, unsigned cRanges, 218 PPDMBLKCACHEIOXFER hIoXfer)); 219 219 /** Pointer to a FNPDMBLKCACHEXFERENQUEUEDISCARDUSB(). */ 220 220 typedef FNPDMBLKCACHEXFERENQUEUEDISCARDUSB *PFNPDMBLKCACHEXFERENQUEUEDISCARDUSB; -
trunk/include/VBox/vmm/pdmcommon.h
r82968 r85121 115 115 * @thread EMT(0) 116 116 */ 117 typedef DECLCALLBACK (bool) FNPDMUSBASYNCNOTIFY(PPDMUSBINS pUsbIns);117 typedef DECLCALLBACKTYPE(bool, FNPDMUSBASYNCNOTIFY,(PPDMUSBINS pUsbIns)); 118 118 /** Pointer to a FNPDMUSBASYNCNOTIFY. */ 119 119 typedef FNPDMUSBASYNCNOTIFY *PFNPDMUSBASYNCNOTIFY; … … 131 131 * @thread EMT(0) 132 132 */ 133 typedef DECLCALLBACK (bool) FNPDMDEVASYNCNOTIFY(PPDMDEVINS pDevIns);133 typedef DECLCALLBACKTYPE(bool, FNPDMDEVASYNCNOTIFY,(PPDMDEVINS pDevIns)); 134 134 /** Pointer to a FNPDMDEVASYNCNOTIFY. */ 135 135 typedef FNPDMDEVASYNCNOTIFY *PFNPDMDEVASYNCNOTIFY; … … 147 147 * @thread EMT(0) 148 148 */ 149 typedef DECLCALLBACK (bool) FNPDMDRVASYNCNOTIFY(PPDMDRVINS pDrvIns);149 typedef DECLCALLBACKTYPE(bool, FNPDMDRVASYNCNOTIFY,(PPDMDRVINS pDrvIns)); 150 150 /** Pointer to a FNPDMDRVASYNCNOTIFY. */ 151 151 typedef FNPDMDRVASYNCNOTIFY *PFNPDMDRVASYNCNOTIFY; … … 160 160 * @param u64Arg Optional integer argument for the operation. 161 161 */ 162 typedef DECLCALLBACK (int) FNPDMDEVREQHANDLERR0(PPDMDEVINS pDevIns, uint32_t uOperation, uint64_t u64Arg);162 typedef DECLCALLBACKTYPE(int, FNPDMDEVREQHANDLERR0,(PPDMDEVINS pDevIns, uint32_t uOperation, uint64_t u64Arg)); 163 163 /** Ring-0 pointer to a FNPDMDEVREQHANDLERR0. */ 164 164 typedef R0PTRTYPE(FNPDMDEVREQHANDLERR0 *) PFNPDMDEVREQHANDLERR0; … … 172 172 * @param u64Arg Optional integer argument for the operation. 173 173 */ 174 typedef DECLCALLBACK (int) FNPDMDRVREQHANDLERR0(PPDMDRVINS pDrvIns, uint32_t uOperation, uint64_t u64Arg);174 typedef DECLCALLBACKTYPE(int, FNPDMDRVREQHANDLERR0,(PPDMDRVINS pDrvIns, uint32_t uOperation, uint64_t u64Arg)); 175 175 /** Ring-0 pointer to a FNPDMDRVREQHANDLERR0. */ 176 176 typedef R0PTRTYPE(FNPDMDRVREQHANDLERR0 *) PFNPDMDRVREQHANDLERR0; -
trunk/include/VBox/vmm/pdmdev.h
r85007 r85121 75 75 * times, it can be found in pDevIns->pCfg. 76 76 */ 77 typedef DECLCALLBACK (int) FNPDMDEVCONSTRUCT(PPDMDEVINS pDevIns, int iInstance, PCFGMNODE pCfg);77 typedef DECLCALLBACKTYPE(int, FNPDMDEVCONSTRUCT,(PPDMDEVINS pDevIns, int iInstance, PCFGMNODE pCfg)); 78 78 /** Pointer to a FNPDMDEVCONSTRUCT() function. */ 79 79 typedef FNPDMDEVCONSTRUCT *PFNPDMDEVCONSTRUCT; … … 91 91 * the critical section, so the caller cannot exit it. 92 92 */ 93 typedef DECLCALLBACK (int) FNPDMDEVDESTRUCT(PPDMDEVINS pDevIns);93 typedef DECLCALLBACKTYPE(int, FNPDMDEVDESTRUCT,(PPDMDEVINS pDevIns)); 94 94 /** Pointer to a FNPDMDEVDESTRUCT() function. */ 95 95 typedef FNPDMDEVDESTRUCT *PFNPDMDEVDESTRUCT; … … 114 114 * not normally require any locking. 115 115 */ 116 typedef DECLCALLBACK (void) FNPDMDEVRELOCATE(PPDMDEVINS pDevIns, RTGCINTPTR offDelta);116 typedef DECLCALLBACKTYPE(void, FNPDMDEVRELOCATE,(PPDMDEVINS pDevIns, RTGCINTPTR offDelta)); 117 117 /** Pointer to a FNPDMDEVRELOCATE() function. */ 118 118 typedef FNPDMDEVRELOCATE *PFNPDMDEVRELOCATE; … … 126 126 * @remarks Caller enters the device critical section. 127 127 */ 128 typedef DECLCALLBACK (void) FNPDMDEVPOWERON(PPDMDEVINS pDevIns);128 typedef DECLCALLBACKTYPE(void, FNPDMDEVPOWERON,(PPDMDEVINS pDevIns)); 129 129 /** Pointer to a FNPDMDEVPOWERON() function. */ 130 130 typedef FNPDMDEVPOWERON *PFNPDMDEVPOWERON; … … 138 138 * @remarks Caller enters the device critical section. 139 139 */ 140 typedef DECLCALLBACK (void) FNPDMDEVRESET(PPDMDEVINS pDevIns);140 typedef DECLCALLBACKTYPE(void, FNPDMDEVRESET,(PPDMDEVINS pDevIns)); 141 141 /** Pointer to a FNPDMDEVRESET() function. */ 142 142 typedef FNPDMDEVRESET *PFNPDMDEVRESET; … … 154 154 * @remarks Caller enters the device critical section. 155 155 */ 156 typedef DECLCALLBACK (void) FNPDMDEVSOFTRESET(PPDMDEVINS pDevIns, uint32_t fFlags);156 typedef DECLCALLBACKTYPE(void, FNPDMDEVSOFTRESET,(PPDMDEVINS pDevIns, uint32_t fFlags)); 157 157 /** Pointer to a FNPDMDEVSOFTRESET() function. */ 158 158 typedef FNPDMDEVSOFTRESET *PFNPDMDEVSOFTRESET; … … 189 189 * @remarks Caller enters the device critical section. 190 190 */ 191 typedef DECLCALLBACK (void) FNPDMDEVSUSPEND(PPDMDEVINS pDevIns);191 typedef DECLCALLBACKTYPE(void, FNPDMDEVSUSPEND,(PPDMDEVINS pDevIns)); 192 192 /** Pointer to a FNPDMDEVSUSPEND() function. */ 193 193 typedef FNPDMDEVSUSPEND *PFNPDMDEVSUSPEND; … … 201 201 * @remarks Caller enters the device critical section. 202 202 */ 203 typedef DECLCALLBACK (void) FNPDMDEVRESUME(PPDMDEVINS pDevIns);203 typedef DECLCALLBACKTYPE(void, FNPDMDEVRESUME,(PPDMDEVINS pDevIns)); 204 204 /** Pointer to a FNPDMDEVRESUME() function. */ 205 205 typedef FNPDMDEVRESUME *PFNPDMDEVRESUME; … … 216 216 * @remarks Caller enters the device critical section. 217 217 */ 218 typedef DECLCALLBACK (void) FNPDMDEVPOWEROFF(PPDMDEVINS pDevIns);218 typedef DECLCALLBACKTYPE(void, FNPDMDEVPOWEROFF,(PPDMDEVINS pDevIns)); 219 219 /** Pointer to a FNPDMDEVPOWEROFF() function. */ 220 220 typedef FNPDMDEVPOWEROFF *PFNPDMDEVPOWEROFF; … … 236 236 * @remarks Caller enters the device critical section. 237 237 */ 238 typedef DECLCALLBACK (int) FNPDMDEVATTACH(PPDMDEVINS pDevIns, unsigned iLUN, uint32_t fFlags);238 typedef DECLCALLBACKTYPE(int, FNPDMDEVATTACH,(PPDMDEVINS pDevIns, unsigned iLUN, uint32_t fFlags)); 239 239 /** Pointer to a FNPDMDEVATTACH() function. */ 240 240 typedef FNPDMDEVATTACH *PFNPDMDEVATTACH; … … 255 255 * @remarks Caller enters the device critical section. 256 256 */ 257 typedef DECLCALLBACK (void) FNPDMDEVDETACH(PPDMDEVINS pDevIns, unsigned iLUN, uint32_t fFlags);257 typedef DECLCALLBACKTYPE(void, FNPDMDEVDETACH,(PPDMDEVINS pDevIns, unsigned iLUN, uint32_t fFlags)); 258 258 /** Pointer to a FNPDMDEVDETACH() function. */ 259 259 typedef FNPDMDEVDETACH *PFNPDMDEVDETACH; … … 269 269 * @remarks The device critical section is not entered. 270 270 */ 271 typedef DECLCALLBACK (int) FNPDMDEVQUERYINTERFACE(PPDMDEVINS pDevIns, unsigned iLUN, PPDMIBASE *ppBase);271 typedef DECLCALLBACKTYPE(int, FNPDMDEVQUERYINTERFACE,(PPDMDEVINS pDevIns, unsigned iLUN, PPDMIBASE *ppBase)); 272 272 /** Pointer to a FNPDMDEVQUERYINTERFACE() function. */ 273 273 typedef FNPDMDEVQUERYINTERFACE *PFNPDMDEVQUERYINTERFACE; … … 284 284 * @remarks Caller enters the device critical section. 285 285 */ 286 typedef DECLCALLBACK (int) FNPDMDEVINITCOMPLETE(PPDMDEVINS pDevIns);286 typedef DECLCALLBACKTYPE(int, FNPDMDEVINITCOMPLETE,(PPDMDEVINS pDevIns)); 287 287 /** Pointer to a FNPDMDEVINITCOMPLETE() function. */ 288 288 typedef FNPDMDEVINITCOMPLETE *PFNPDMDEVINITCOMPLETE; … … 1530 1530 * @remarks Caller enters the PDM critical section. 1531 1531 */ 1532 DECLCALLBACKMEMBER(void, pfnSetIrq )(PPDMDEVINS pDevIns, int iIrq, int iLevel, uint32_t uTagSrc);1532 DECLCALLBACKMEMBER(void, pfnSetIrq,(PPDMDEVINS pDevIns, int iIrq, int iLevel, uint32_t uTagSrc)); 1533 1533 1534 1534 /** … … 1540 1540 * @remarks Caller enters the PDM critical section. 1541 1541 */ 1542 DECLCALLBACKMEMBER(int, pfnGetInterrupt )(PPDMDEVINS pDevIns, uint32_t *puTagSrc);1542 DECLCALLBACKMEMBER(int, pfnGetInterrupt,(PPDMDEVINS pDevIns, uint32_t *puTagSrc)); 1543 1543 1544 1544 /** Just a safety precaution. */ … … 1564 1564 * @param pDevIns Device instance of the PIC. 1565 1565 */ 1566 DECLCALLBACKMEMBER(void, pfnSetInterruptFF )(PPDMDEVINS pDevIns);1566 DECLCALLBACKMEMBER(void, pfnSetInterruptFF,(PPDMDEVINS pDevIns)); 1567 1567 1568 1568 /** … … 1571 1571 * @param pDevIns Device instance of the PIC. 1572 1572 */ 1573 DECLCALLBACKMEMBER(void, pfnClearInterruptFF )(PPDMDEVINS pDevIns);1573 DECLCALLBACKMEMBER(void, pfnClearInterruptFF,(PPDMDEVINS pDevIns)); 1574 1574 1575 1575 /** … … 1581 1581 * @param rc What to return if we fail to acquire the lock. 1582 1582 */ 1583 DECLCALLBACKMEMBER(int, pfnLock)(PPDMDEVINS pDevIns, int rc);1583 DECLCALLBACKMEMBER(int, pfnLock,(PPDMDEVINS pDevIns, int rc)); 1584 1584 1585 1585 /** … … 1588 1588 * @param pDevIns The PIC device instance. 1589 1589 */ 1590 DECLCALLBACKMEMBER(void, pfnUnlock)(PPDMDEVINS pDevIns);1590 DECLCALLBACKMEMBER(void, pfnUnlock,(PPDMDEVINS pDevIns)); 1591 1591 1592 1592 /** Just a safety precaution. */ … … 1716 1716 * Actually, as per 2018-07-21 this isn't true (bird). 1717 1717 */ 1718 DECLCALLBACKMEMBER(void, pfnSetIrq )(PPDMDEVINS pDevIns, PCIBDF uBusDevFn, int iIrq, int iLevel, uint32_t uTagSrc);1718 DECLCALLBACKMEMBER(void, pfnSetIrq,(PPDMDEVINS pDevIns, PCIBDF uBusDevFn, int iIrq, int iLevel, uint32_t uTagSrc)); 1719 1719 1720 1720 /** … … 1730 1730 * Actually, as per 2018-07-21 this isn't true (bird). 1731 1731 */ 1732 DECLCALLBACKMEMBER(void, pfnSendMsi )(PPDMDEVINS pDevIns, PCIBDF uBusDevFn, PCMSIMSG pMsi, uint32_t uTagSrc);1732 DECLCALLBACKMEMBER(void, pfnSendMsi,(PPDMDEVINS pDevIns, PCIBDF uBusDevFn, PCMSIMSG pMsi, uint32_t uTagSrc)); 1733 1733 1734 1734 /** … … 1745 1745 * Actually, as per 2018-07-21 this isn't true (bird). 1746 1746 */ 1747 DECLCALLBACKMEMBER(VBOXSTRICTRC, pfnSetEoi )(PPDMDEVINS pDevIns, uint8_t u8Vector);1747 DECLCALLBACKMEMBER(VBOXSTRICTRC, pfnSetEoi,(PPDMDEVINS pDevIns, uint8_t u8Vector)); 1748 1748 1749 1749 /** Just a safety precaution. */ … … 1780 1780 * @sa APICBusDeliver() 1781 1781 */ 1782 DECLCALLBACKMEMBER(int, pfnApicBusDeliver )(PPDMDEVINS pDevIns, uint8_t u8Dest, uint8_t u8DestMode, uint8_t u8DeliveryMode,1783 uint8_t uVector, uint8_t u8Polarity, uint8_t u8TriggerMode, uint32_t uTagSrc) ;1782 DECLCALLBACKMEMBER(int, pfnApicBusDeliver,(PPDMDEVINS pDevIns, uint8_t u8Dest, uint8_t u8DestMode, uint8_t u8DeliveryMode, 1783 uint8_t uVector, uint8_t u8Polarity, uint8_t u8TriggerMode, uint32_t uTagSrc)); 1784 1784 1785 1785 /** … … 1791 1791 * @param rc What to return if we fail to acquire the lock. 1792 1792 */ 1793 DECLCALLBACKMEMBER(int, pfnLock)(PPDMDEVINS pDevIns, int rc);1793 DECLCALLBACKMEMBER(int, pfnLock,(PPDMDEVINS pDevIns, int rc)); 1794 1794 1795 1795 /** … … 1798 1798 * @param pDevIns The IOAPIC device instance. 1799 1799 */ 1800 DECLCALLBACKMEMBER(void, pfnUnlock)(PPDMDEVINS pDevIns);1800 DECLCALLBACKMEMBER(void, pfnUnlock,(PPDMDEVINS pDevIns)); 1801 1801 1802 1802 /** … … 1811 1811 * @sa iommuAmdDeviceMsiRemap(). 1812 1812 */ 1813 DECLCALLBACKMEMBER(int, pfnIommuMsiRemap )(PPDMDEVINS pDevIns, uint16_t uDevIt, PCMSIMSG pMsiIn, PMSIMSG pMsiOut);1813 DECLCALLBACKMEMBER(int, pfnIommuMsiRemap,(PPDMDEVINS pDevIns, uint16_t uDevIt, PCMSIMSG pMsiIn, PMSIMSG pMsiOut)); 1814 1814 1815 1815 /** Just a safety precaution. */ … … 2037 2037 * @remarks The device lock is not taken, however, the DMA device lock is held. 2038 2038 */ 2039 typedef DECLCALLBACK(uint32_t) FNDMATRANSFERHANDLER(PPDMDEVINS pDevIns, void *pvUser, unsigned uChannel, uint32_t off, uint32_t cb); 2039 typedef DECLCALLBACKTYPE(uint32_t, FNDMATRANSFERHANDLER,(PPDMDEVINS pDevIns, void *pvUser, unsigned uChannel, 2040 uint32_t off, uint32_t cb)); 2040 2041 /** Pointer to a FNDMATRANSFERHANDLER(). */ 2041 2042 typedef FNDMATRANSFERHANDLER *PFNDMATRANSFERHANDLER; … … 8217 8218 * @param u32Version VBox version number. 8218 8219 */ 8219 typedef DECLCALLBACK (int) FNPDMVBOXDEVICESREGISTER(PPDMDEVREGCB pCallbacks, uint32_t u32Version);8220 typedef DECLCALLBACKTYPE(int, FNPDMVBOXDEVICESREGISTER,(PPDMDEVREGCB pCallbacks, uint32_t u32Version)); 8220 8221 8221 8222 /** @} */ -
trunk/include/VBox/vmm/pdmdrv.h
r82968 r85121 75 75 * @param fFlags Flags, combination of the PDM_TACH_FLAGS_* \#defines. 76 76 */ 77 typedef DECLCALLBACK (int) FNPDMDRVCONSTRUCT(PPDMDRVINS pDrvIns, PCFGMNODE pCfg, uint32_t fFlags);77 typedef DECLCALLBACKTYPE(int, FNPDMDRVCONSTRUCT,(PPDMDRVINS pDrvIns, PCFGMNODE pCfg, uint32_t fFlags)); 78 78 /** Pointer to a FNPDMDRVCONSTRUCT() function. */ 79 79 typedef FNPDMDRVCONSTRUCT *PFNPDMDRVCONSTRUCT; … … 87 87 * @param pDrvIns The driver instance data. 88 88 */ 89 typedef DECLCALLBACK (void) FNPDMDRVDESTRUCT(PPDMDRVINS pDrvIns);89 typedef DECLCALLBACKTYPE(void, FNPDMDRVDESTRUCT,(PPDMDRVINS pDrvIns)); 90 90 /** Pointer to a FNPDMDRVDESTRUCT() function. */ 91 91 typedef FNPDMDRVDESTRUCT *PFNPDMDRVDESTRUCT; … … 107 107 * @remark A relocation CANNOT fail. 108 108 */ 109 typedef DECLCALLBACK (void) FNPDMDRVRELOCATE(PPDMDRVINS pDrvIns, RTGCINTPTR offDelta);109 typedef DECLCALLBACKTYPE(void, FNPDMDRVRELOCATE,(PPDMDRVINS pDrvIns, RTGCINTPTR offDelta)); 110 110 /** Pointer to a FNPDMDRVRELOCATE() function. */ 111 111 typedef FNPDMDRVRELOCATE *PFNPDMDRVRELOCATE; … … 127 127 * @param pcbOut Where to store the actual size of the output data. 128 128 */ 129 typedef DECLCALLBACK (int) FNPDMDRVIOCTL(PPDMDRVINS pDrvIns, uint32_t uFunction,130 void *pvIn, uint32_t cbIn,131 void *pvOut, uint32_t cbOut, uint32_t *pcbOut);129 typedef DECLCALLBACKTYPE(int, FNPDMDRVIOCTL,(PPDMDRVINS pDrvIns, uint32_t uFunction, 130 void *pvIn, uint32_t cbIn, 131 void *pvOut, uint32_t cbOut, uint32_t *pcbOut)); 132 132 /** Pointer to a FNPDMDRVIOCTL() function. */ 133 133 typedef FNPDMDRVIOCTL *PFNPDMDRVIOCTL; … … 138 138 * @param pDrvIns The driver instance data. 139 139 */ 140 typedef DECLCALLBACK (void) FNPDMDRVPOWERON(PPDMDRVINS pDrvIns);140 typedef DECLCALLBACKTYPE(void, FNPDMDRVPOWERON,(PPDMDRVINS pDrvIns)); 141 141 /** Pointer to a FNPDMDRVPOWERON() function. */ 142 142 typedef FNPDMDRVPOWERON *PFNPDMDRVPOWERON; … … 148 148 * @param pDrvIns The driver instance data. 149 149 */ 150 typedef DECLCALLBACK (void) FNPDMDRVRESET(PPDMDRVINS pDrvIns);150 typedef DECLCALLBACKTYPE(void, FNPDMDRVRESET,(PPDMDRVINS pDrvIns)); 151 151 /** Pointer to a FNPDMDRVRESET() function. */ 152 152 typedef FNPDMDRVRESET *PFNPDMDRVRESET; … … 158 158 * @param pDrvIns The driver instance data. 159 159 */ 160 typedef DECLCALLBACK (void) FNPDMDRVSUSPEND(PPDMDRVINS pDrvIns);160 typedef DECLCALLBACKTYPE(void, FNPDMDRVSUSPEND,(PPDMDRVINS pDrvIns)); 161 161 /** Pointer to a FNPDMDRVSUSPEND() function. */ 162 162 typedef FNPDMDRVSUSPEND *PFNPDMDRVSUSPEND; … … 168 168 * @param pDrvIns The driver instance data. 169 169 */ 170 typedef DECLCALLBACK (void) FNPDMDRVRESUME(PPDMDRVINS pDrvIns);170 typedef DECLCALLBACKTYPE(void, FNPDMDRVRESUME,(PPDMDRVINS pDrvIns)); 171 171 /** Pointer to a FNPDMDRVRESUME() function. */ 172 172 typedef FNPDMDRVRESUME *PFNPDMDRVRESUME; … … 181 181 * @param pDrvIns The driver instance data. 182 182 */ 183 typedef DECLCALLBACK (void) FNPDMDRVPOWEROFF(PPDMDRVINS pDrvIns);183 typedef DECLCALLBACKTYPE(void, FNPDMDRVPOWEROFF,(PPDMDRVINS pDrvIns)); 184 184 /** Pointer to a FNPDMDRVPOWEROFF() function. */ 185 185 typedef FNPDMDRVPOWEROFF *PFNPDMDRVPOWEROFF; … … 198 198 * @param fFlags Flags, combination of the PDM_TACH_FLAGS_* \#defines. 199 199 */ 200 typedef DECLCALLBACK (int) FNPDMDRVATTACH(PPDMDRVINS pDrvIns, uint32_t fFlags);200 typedef DECLCALLBACKTYPE(int, FNPDMDRVATTACH,(PPDMDRVINS pDrvIns, uint32_t fFlags)); 201 201 /** Pointer to a FNPDMDRVATTACH() function. */ 202 202 typedef FNPDMDRVATTACH *PFNPDMDRVATTACH; … … 213 213 * @param fFlags PDM_TACH_FLAGS_NOT_HOT_PLUG or 0. 214 214 */ 215 typedef DECLCALLBACK (void) FNPDMDRVDETACH(PPDMDRVINS pDrvIns, uint32_t fFlags);215 typedef DECLCALLBACKTYPE(void, FNPDMDRVDETACH,(PPDMDRVINS pDrvIns, uint32_t fFlags)); 216 216 /** Pointer to a FNPDMDRVDETACH() function. */ 217 217 typedef FNPDMDRVDETACH *PFNPDMDRVDETACH; … … 1864 1864 * @param u32Version VBox version number. 1865 1865 */ 1866 typedef DECLCALLBACK (int) FNPDMVBOXDRIVERSREGISTER(PCPDMDRVREGCB pCallbacks, uint32_t u32Version);1866 typedef DECLCALLBACKTYPE(int, FNPDMVBOXDRIVERSREGISTER,(PCPDMDRVREGCB pCallbacks, uint32_t u32Version)); 1867 1867 1868 1868 VMMR3DECL(int) PDMR3DrvStaticRegistration(PVM pVM, FNPDMVBOXDRIVERSREGISTER pfnCallback); -
trunk/include/VBox/vmm/pdmpcidev.h
r84509 r85121 56 56 * that is very likely be a lock order violation. 57 57 */ 58 typedef DECLCALLBACK (VBOXSTRICTRC) FNPCICONFIGREAD(PPDMDEVINS pDevIns, PPDMPCIDEV pPciDev,59 uint32_t uAddress, unsigned cb, uint32_t *pu32Value);58 typedef DECLCALLBACKTYPE(VBOXSTRICTRC, FNPCICONFIGREAD,(PPDMDEVINS pDevIns, PPDMPCIDEV pPciDev, 59 uint32_t uAddress, unsigned cb, uint32_t *pu32Value)); 60 60 /** Pointer to a FNPCICONFIGREAD() function. */ 61 61 typedef FNPCICONFIGREAD *PFNPCICONFIGREAD; … … 81 81 * that is very likely be a lock order violation. 82 82 */ 83 typedef DECLCALLBACK (VBOXSTRICTRC) FNPCICONFIGWRITE(PPDMDEVINS pDevIns, PPDMPCIDEV pPciDev,84 uint32_t uAddress, unsigned cb, uint32_t u32Value);83 typedef DECLCALLBACKTYPE(VBOXSTRICTRC, FNPCICONFIGWRITE,(PPDMDEVINS pDevIns, PPDMPCIDEV pPciDev, 84 uint32_t uAddress, unsigned cb, uint32_t u32Value)); 85 85 /** Pointer to a FNPCICONFIGWRITE() function. */ 86 86 typedef FNPCICONFIGWRITE *PFNPCICONFIGWRITE; … … 123 123 * that is very likely be a lock order violation. 124 124 */ 125 typedef DECLCALLBACK (int) FNPCIIOREGIONMAP(PPDMDEVINS pDevIns, PPDMPCIDEV pPciDev, uint32_t iRegion,126 RTGCPHYS GCPhysAddress, RTGCPHYS cb, PCIADDRESSSPACE enmType);125 typedef DECLCALLBACKTYPE(int, FNPCIIOREGIONMAP,(PPDMDEVINS pDevIns, PPDMPCIDEV pPciDev, uint32_t iRegion, 126 RTGCPHYS GCPhysAddress, RTGCPHYS cb, PCIADDRESSSPACE enmType)); 127 127 /** Pointer to a FNPCIIOREGIONMAP() function. */ 128 128 typedef FNPCIIOREGIONMAP *PFNPCIIOREGIONMAP; … … 139 139 * @param enmType Combination of the PCI_ADDRESS_SPACE_* values. 140 140 */ 141 typedef DECLCALLBACK(int) FNPCIIOREGIONOLDSETTER(PPDMPCIDEV pPciDev, uint32_t iRegion, RTGCPHYS cbRegion, PCIADDRESSSPACE enmType); 141 typedef DECLCALLBACKTYPE(int, FNPCIIOREGIONOLDSETTER,(PPDMPCIDEV pPciDev, uint32_t iRegion, RTGCPHYS cbRegion, 142 PCIADDRESSSPACE enmType)); 142 143 /** Pointer to a FNPCIIOREGIONOLDSETTER() function. */ 143 144 typedef FNPCIIOREGIONOLDSETTER *PFNPCIIOREGIONOLDSETTER; … … 153 154 * @sa @bugref{9359} 154 155 */ 155 typedef DECLCALLBACK (int) FNPCIIOREGIONSWAP(PPDMPCIDEV pPciDev, uint32_t iRegion, uint32_t iOtherRegion);156 typedef DECLCALLBACKTYPE(int, FNPCIIOREGIONSWAP,(PPDMPCIDEV pPciDev, uint32_t iRegion, uint32_t iOtherRegion)); 156 157 /** Pointer to a FNPCIIOREGIONSWAP() function. */ 157 158 typedef FNPCIIOREGIONSWAP *PFNPCIIOREGIONSWAP; -
trunk/include/VBox/vmm/pdmpcidevint.h
r82968 r85121 83 83 * @param pu32Value Where to return the register value. 84 84 */ 85 typedef DECLCALLBACK (VBOXSTRICTRC) FNPCIBRIDGECONFIGREAD(PPDMDEVINSR3 pDevIns, uint8_t iBus, uint8_t iDevice,86 uint32_t u32Address, unsigned cb, uint32_t *pu32Value);85 typedef DECLCALLBACKTYPE(VBOXSTRICTRC, FNPCIBRIDGECONFIGREAD,(PPDMDEVINSR3 pDevIns, uint8_t iBus, uint8_t iDevice, 86 uint32_t u32Address, unsigned cb, uint32_t *pu32Value)); 87 87 /** Pointer to a FNPCICONFIGREAD() function. */ 88 88 typedef FNPCIBRIDGECONFIGREAD *PFNPCIBRIDGECONFIGREAD; … … 102 102 * this value is determined by the cb parameter. 103 103 */ 104 typedef DECLCALLBACK (VBOXSTRICTRC) FNPCIBRIDGECONFIGWRITE(PPDMDEVINSR3 pDevIns, uint8_t iBus, uint8_t iDevice,105 uint32_t u32Address, unsigned cb, uint32_t u32Value);104 typedef DECLCALLBACKTYPE(VBOXSTRICTRC, FNPCIBRIDGECONFIGWRITE,(PPDMDEVINSR3 pDevIns, uint8_t iBus, uint8_t iDevice, 105 uint32_t u32Address, unsigned cb, uint32_t u32Value)); 106 106 /** Pointer to a FNPCICONFIGWRITE() function. */ 107 107 typedef FNPCIBRIDGECONFIGWRITE *PFNPCIBRIDGECONFIGWRITE; -
trunk/include/VBox/vmm/pdmqueue.h
r82968 r85121 78 78 * that only one EMT will do queue callbacks at any one time. 79 79 */ 80 typedef DECLCALLBACK (bool) FNPDMQUEUEDEV(PPDMDEVINS pDevIns, PPDMQUEUEITEMCORE pItem);80 typedef DECLCALLBACKTYPE(bool, FNPDMQUEUEDEV,(PPDMDEVINS pDevIns, PPDMQUEUEITEMCORE pItem)); 81 81 /** Pointer to a FNPDMQUEUEDEV(). */ 82 82 typedef FNPDMQUEUEDEV *PFNPDMQUEUEDEV; … … 92 92 * EMT will do queue callbacks at any one time. 93 93 */ 94 typedef DECLCALLBACK (bool) FNPDMQUEUEUSB(PPDMUSBINS pUsbIns, PPDMQUEUEITEMCORE pItem);94 typedef DECLCALLBACKTYPE(bool, FNPDMQUEUEUSB,(PPDMUSBINS pUsbIns, PPDMQUEUEITEMCORE pItem)); 95 95 /** Pointer to a FNPDMQUEUEUSB(). */ 96 96 typedef FNPDMQUEUEUSB *PFNPDMQUEUEUSB; … … 106 106 * EMT will do queue callbacks at any one time. 107 107 */ 108 typedef DECLCALLBACK (bool) FNPDMQUEUEDRV(PPDMDRVINS pDrvIns, PPDMQUEUEITEMCORE pItem);108 typedef DECLCALLBACKTYPE(bool, FNPDMQUEUEDRV,(PPDMDRVINS pDrvIns, PPDMQUEUEITEMCORE pItem)); 109 109 /** Pointer to a FNPDMQUEUEDRV(). */ 110 110 typedef FNPDMQUEUEDRV *PFNPDMQUEUEDRV; … … 120 120 * EMT will do queue callbacks at any one time. 121 121 */ 122 typedef DECLCALLBACK (bool) FNPDMQUEUEINT(PVM pVM, PPDMQUEUEITEMCORE pItem);122 typedef DECLCALLBACKTYPE(bool, FNPDMQUEUEINT,(PVM pVM, PPDMQUEUEITEMCORE pItem)); 123 123 /** Pointer to a FNPDMQUEUEINT(). */ 124 124 typedef FNPDMQUEUEINT *PFNPDMQUEUEINT; … … 134 134 * EMT will do queue callbacks at any one time. 135 135 */ 136 typedef DECLCALLBACK (bool) FNPDMQUEUEEXT(void *pvUser, PPDMQUEUEITEMCORE pItem);136 typedef DECLCALLBACKTYPE(bool, FNPDMQUEUEEXT,(void *pvUser, PPDMQUEUEITEMCORE pItem)); 137 137 /** Pointer to a FNPDMQUEUEEXT(). */ 138 138 typedef FNPDMQUEUEEXT *PFNPDMQUEUEEXT; -
trunk/include/VBox/vmm/pdmsrv.h
r82968 r85121 53 53 * usage is expected in this function it is passed as a parameter. 54 54 */ 55 typedef DECLCALLBACK (int) FNPDMSRVCONSTRUCT(PPDMSRVINS pSrvIns, PCFGMNODE pCfg);55 typedef DECLCALLBACKTYPE(int, FNPDMSRVCONSTRUCT,(PPDMSRVINS pSrvIns, PCFGMNODE pCfg)); 56 56 /** Pointer to a FNPDMSRVCONSTRUCT() function. */ 57 57 typedef FNPDMSRVCONSTRUCT *PFNPDMSRVCONSTRUCT; … … 65 65 * @param pSrvIns The service instance data. 66 66 */ 67 typedef DECLCALLBACK (void) FNPDMSRVDESTRUCT(PPDMSRVINS pSrvIns);67 typedef DECLCALLBACKTYPE(void, FNPDMSRVDESTRUCT,(PPDMSRVINS pSrvIns)); 68 68 /** Pointer to a FNPDMSRVDESTRUCT() function. */ 69 69 typedef FNPDMSRVDESTRUCT *PFNPDMSRVDESTRUCT; … … 74 74 * @param pSrvIns The service instance data. 75 75 */ 76 typedef DECLCALLBACK (void) FNPDMSRVPOWERON(PPDMSRVINS pSrvIns);76 typedef DECLCALLBACKTYPE(void, FNPDMSRVPOWERON,(PPDMSRVINS pSrvIns)); 77 77 /** Pointer to a FNPDMSRVPOWERON() function. */ 78 78 typedef FNPDMSRVPOWERON *PFNPDMSRVPOWERON; … … 84 84 * @param pSrvIns The service instance data. 85 85 */ 86 typedef DECLCALLBACK (void) FNPDMSRVRESET(PPDMSRVINS pSrvIns);86 typedef DECLCALLBACKTYPE(void, FNPDMSRVRESET,(PPDMSRVINS pSrvIns)); 87 87 /** Pointer to a FNPDMSRVRESET() function. */ 88 88 typedef FNPDMSRVRESET *PFNPDMSRVRESET; … … 94 94 * @param pSrvIns The service instance data. 95 95 */ 96 typedef DECLCALLBACK (void) FNPDMSRVSUSPEND(PPDMSRVINS pSrvIns);96 typedef DECLCALLBACKTYPE(void, FNPDMSRVSUSPEND,(PPDMSRVINS pSrvIns)); 97 97 /** Pointer to a FNPDMSRVSUSPEND() function. */ 98 98 typedef FNPDMSRVSUSPEND *PFNPDMSRVSUSPEND; … … 104 104 * @param pSrvIns The service instance data. 105 105 */ 106 typedef DECLCALLBACK (void) FNPDMSRVRESUME(PPDMSRVINS pSrvIns);106 typedef DECLCALLBACKTYPE(void, FNPDMSRVRESUME,(PPDMSRVINS pSrvIns)); 107 107 /** Pointer to a FNPDMSRVRESUME() function. */ 108 108 typedef FNPDMSRVRESUME *PFNPDMSRVRESUME; … … 113 113 * @param pSrvIns The service instance data. 114 114 */ 115 typedef DECLCALLBACK (void) FNPDMSRVPOWEROFF(PPDMSRVINS pSrvIns);115 typedef DECLCALLBACKTYPE(void, FNPDMSRVPOWEROFF,(PPDMSRVINS pSrvIns)); 116 116 /** Pointer to a FNPDMSRVPOWEROFF() function. */ 117 117 typedef FNPDMSRVPOWEROFF *PFNPDMSRVPOWEROFF; … … 124 124 * @param pSrvIns The service instance data. 125 125 */ 126 typedef DECLCALLBACK (void) FNPDMSRVDETACH(PPDMSRVINS pSrvIns, PPDMDEVINS pDevIns, PPDMDRVINS pDrvIns);126 typedef DECLCALLBACKTYPE(void, FNPDMSRVDETACH,(PPDMSRVINS pSrvIns, PPDMDEVINS pDevIns, PPDMDRVINS pDrvIns)); 127 127 /** Pointer to a FNPDMSRVDETACH() function. */ 128 128 typedef FNPDMSRVDETACH *PFNPDMSRVDETACH; … … 329 329 * @param u32Version VBox version number. 330 330 */ 331 typedef DECLCALLBACK (int) FNPDMVBOXSERVICESREGISTER(PPDMSRVREGCB pCallbacks, uint32_t u32Version);331 typedef DECLCALLBACKTYPE(int, FNPDMVBOXSERVICESREGISTER,(PPDMSRVREGCB pCallbacks, uint32_t u32Version)); 332 332 333 333 -
trunk/include/VBox/vmm/pdmstorageifs.h
r82968 r85121 144 144 * @param uPercent Completion percentage. 145 145 */ 146 typedef DECLCALLBACK (int) FNSIMPLEPROGRESS(void *pvUser, unsigned uPercentage);146 typedef DECLCALLBACKTYPE(int, FNSIMPLEPROGRESS,(void *pvUser, unsigned uPercentage)); 147 147 /** Pointer to FNSIMPLEPROGRESS() */ 148 148 typedef FNSIMPLEPROGRESS *PFNSIMPLEPROGRESS; -
trunk/include/VBox/vmm/pdmtask.h
r82968 r85121 58 58 * callback. No other locks will be held either. 59 59 */ 60 typedef DECLCALLBACK (void) FNPDMTASKDEV(PPDMDEVINS pDevIns, void *pvUser);60 typedef DECLCALLBACKTYPE(void, FNPDMTASKDEV,(PPDMDEVINS pDevIns, void *pvUser)); 61 61 /** Pointer to a FNPDMTASKDEV(). */ 62 62 typedef FNPDMTASKDEV *PFNPDMTASKDEV; … … 70 70 * @remarks No other locks will be held. 71 71 */ 72 typedef DECLCALLBACK (void) FNPDMTASKDRV(PPDMDRVINS pDrvIns, void *pvUser);72 typedef DECLCALLBACKTYPE(void, FNPDMTASKDRV,(PPDMDRVINS pDrvIns, void *pvUser)); 73 73 /** Pointer to a FNPDMTASKDRV(). */ 74 74 typedef FNPDMTASKDRV *PFNPDMTASKDRV; … … 82 82 * @remarks No other locks will be held. 83 83 */ 84 typedef DECLCALLBACK (void) FNPDMTASKUSB(PPDMUSBINS pUsbIns, void *pvUser);84 typedef DECLCALLBACKTYPE(void, FNPDMTASKUSB,(PPDMUSBINS pUsbIns, void *pvUser)); 85 85 /** Pointer to a FNPDMTASKUSB(). */ 86 86 typedef FNPDMTASKUSB *PFNPDMTASKUSB; … … 94 94 * @remarks No other locks will be held. 95 95 */ 96 typedef DECLCALLBACK (void) FNPDMTASKINT(PVM pVM, void *pvUser);96 typedef DECLCALLBACKTYPE(void, FNPDMTASKINT,(PVM pVM, void *pvUser)); 97 97 /** Pointer to a FNPDMTASKINT(). */ 98 98 typedef FNPDMTASKINT *PFNPDMTASKINT; -
trunk/include/VBox/vmm/pdmthread.h
r82968 r85121 94 94 * @param pThread The PDM thread data. 95 95 */ 96 typedef DECLCALLBACK (int) FNPDMTHREADDEV(PPDMDEVINS pDevIns, PPDMTHREAD pThread);96 typedef DECLCALLBACKTYPE(int, FNPDMTHREADDEV,(PPDMDEVINS pDevIns, PPDMTHREAD pThread)); 97 97 /** Pointer to a FNPDMTHREADDEV(). */ 98 98 typedef FNPDMTHREADDEV *PFNPDMTHREADDEV; … … 105 105 * @param pThread The PDM thread data. 106 106 */ 107 typedef DECLCALLBACK (int) FNPDMTHREADUSB(PPDMUSBINS pUsbIns, PPDMTHREAD pThread);107 typedef DECLCALLBACKTYPE(int, FNPDMTHREADUSB,(PPDMUSBINS pUsbIns, PPDMTHREAD pThread)); 108 108 /** Pointer to a FNPDMTHREADUSB(). */ 109 109 typedef FNPDMTHREADUSB *PFNPDMTHREADUSB; … … 116 116 * @param pThread The PDM thread data. 117 117 */ 118 typedef DECLCALLBACK (int) FNPDMTHREADDRV(PPDMDRVINS pDrvIns, PPDMTHREAD pThread);118 typedef DECLCALLBACKTYPE(int, FNPDMTHREADDRV,(PPDMDRVINS pDrvIns, PPDMTHREAD pThread)); 119 119 /** Pointer to a FNPDMTHREADDRV(). */ 120 120 typedef FNPDMTHREADDRV *PFNPDMTHREADDRV; … … 127 127 * @param pThread The PDM thread data. 128 128 */ 129 typedef DECLCALLBACK (int) FNPDMTHREADINT(PVM pVM, PPDMTHREAD pThread);129 typedef DECLCALLBACKTYPE(int, FNPDMTHREADINT,(PVM pVM, PPDMTHREAD pThread)); 130 130 /** Pointer to a FNPDMTHREADINT(). */ 131 131 typedef FNPDMTHREADINT *PFNPDMTHREADINT; … … 150 150 * @param pThread The PDM thread data. 151 151 */ 152 typedef DECLCALLBACK (int) FNPDMTHREADWAKEUPDEV(PPDMDEVINS pDevIns, PPDMTHREAD pThread);152 typedef DECLCALLBACKTYPE(int, FNPDMTHREADWAKEUPDEV,(PPDMDEVINS pDevIns, PPDMTHREAD pThread)); 153 153 /** Pointer to a FNPDMTHREADDEV(). */ 154 154 typedef FNPDMTHREADWAKEUPDEV *PFNPDMTHREADWAKEUPDEV; … … 161 161 * @param pThread The PDM thread data. 162 162 */ 163 typedef DECLCALLBACK (int) FNPDMTHREADWAKEUPUSB(PPDMUSBINS pUsbIns, PPDMTHREAD pThread);163 typedef DECLCALLBACKTYPE(int, FNPDMTHREADWAKEUPUSB,(PPDMUSBINS pUsbIns, PPDMTHREAD pThread)); 164 164 /** Pointer to a FNPDMTHREADUSB(). */ 165 165 typedef FNPDMTHREADWAKEUPUSB *PFNPDMTHREADWAKEUPUSB; … … 172 172 * @param pThread The PDM thread data. 173 173 */ 174 typedef DECLCALLBACK (int) FNPDMTHREADWAKEUPDRV(PPDMDRVINS pDrvIns, PPDMTHREAD pThread);174 typedef DECLCALLBACKTYPE(int, FNPDMTHREADWAKEUPDRV,(PPDMDRVINS pDrvIns, PPDMTHREAD pThread)); 175 175 /** Pointer to a FNPDMTHREADDRV(). */ 176 176 typedef FNPDMTHREADWAKEUPDRV *PFNPDMTHREADWAKEUPDRV; … … 183 183 * @param pThread The PDM thread data. 184 184 */ 185 typedef DECLCALLBACK (int) FNPDMTHREADWAKEUPINT(PVM pVM, PPDMTHREAD pThread);185 typedef DECLCALLBACKTYPE(int, FNPDMTHREADWAKEUPINT,(PVM pVM, PPDMTHREAD pThread)); 186 186 /** Pointer to a FNPDMTHREADWAKEUPINT(). */ 187 187 typedef FNPDMTHREADWAKEUPINT *PFNPDMTHREADWAKEUPINT; -
trunk/include/VBox/vmm/pdmusb.h
r82968 r85121 1073 1073 * @param u32Version VBox version number. 1074 1074 */ 1075 typedef DECLCALLBACK (int) FNPDMVBOXUSBREGISTER(PCPDMUSBREGCB pCallbacks, uint32_t u32Version);1075 typedef DECLCALLBACKTYPE(int, FNPDMVBOXUSBREGISTER,(PCPDMUSBREGCB pCallbacks, uint32_t u32Version)); 1076 1076 1077 1077 VMMR3DECL(int) PDMR3UsbCreateEmulatedDevice(PUVM pUVM, const char *pszDeviceName, PCFGMNODE pDeviceNode, PCRTUUID pUuid, -
trunk/include/VBox/vmm/pgm.h
r82968 r85121 81 81 * indicator. Relocation can not fail! 82 82 */ 83 typedef DECLCALLBACK (bool) FNPGMRELOCATE(PVM pVM, RTGCPTR GCPtrOld, RTGCPTR GCPtrNew, PGMRELOCATECALL enmMode, void *pvUser);83 typedef DECLCALLBACKTYPE(bool, FNPGMRELOCATE,(PVM pVM, RTGCPTR GCPtrOld, RTGCPTR GCPtrNew, PGMRELOCATECALL enmMode, void *pvUser)); 84 84 /** Pointer to a relocation callback function. */ 85 85 typedef FNPGMRELOCATE *PFNPGMRELOCATE; … … 203 203 * @thread EMT(pVCpu) 204 204 */ 205 typedef DECLCALLBACK (VBOXSTRICTRC) FNPGMRZPHYSPFHANDLER(PVMCC pVM, PVMCPUCC pVCpu, RTGCUINT uErrorCode, PCPUMCTXCORE pRegFrame,206 RTGCPTR pvFault, RTGCPHYS GCPhysFault, void *pvUser);205 typedef DECLCALLBACKTYPE(VBOXSTRICTRC, FNPGMRZPHYSPFHANDLER,(PVMCC pVM, PVMCPUCC pVCpu, RTGCUINT uErrorCode, PCPUMCTXCORE pRegFrame, 206 RTGCPTR pvFault, RTGCPHYS GCPhysFault, void *pvUser)); 207 207 /** Pointer to PGM access callback. */ 208 208 typedef FNPGMRZPHYSPFHANDLER *PFNPGMRZPHYSPFHANDLER; … … 234 234 * @thread EMT(pVCpu) 235 235 */ 236 typedef DECLCALLBACK(VBOXSTRICTRC) FNPGMPHYSHANDLER(PVMCC pVM, PVMCPUCC pVCpu, RTGCPHYS GCPhys, void *pvPhys, void *pvBuf, size_t cbBuf, 237 PGMACCESSTYPE enmAccessType, PGMACCESSORIGIN enmOrigin, void *pvUser); 236 typedef DECLCALLBACKTYPE(VBOXSTRICTRC, FNPGMPHYSHANDLER,(PVMCC pVM, PVMCPUCC pVCpu, RTGCPHYS GCPhys, void *pvPhys, 237 void *pvBuf, size_t cbBuf, PGMACCESSTYPE enmAccessType, 238 PGMACCESSORIGIN enmOrigin, void *pvUser)); 238 239 /** Pointer to PGM access callback. */ 239 240 typedef FNPGMPHYSHANDLER *PFNPGMPHYSHANDLER; … … 611 612 * @param pvUser Callback user argument. 612 613 */ 613 typedef DECLCALLBACK (int) FNPGMPHYSNEMCHECKPAGE(PVMCC pVM, PVMCPUCC pVCpu, RTGCPHYS GCPhys, PPGMPHYSNEMPAGEINFO pInfo, void *pvUser);614 typedef DECLCALLBACKTYPE(int, FNPGMPHYSNEMCHECKPAGE,(PVMCC pVM, PVMCPUCC pVCpu, RTGCPHYS GCPhys, PPGMPHYSNEMPAGEINFO pInfo, void *pvUser)); 614 615 /** Pointer to a FNPGMPHYSNEMCHECKPAGE function. */ 615 616 typedef FNPGMPHYSNEMCHECKPAGE *PFNPGMPHYSNEMCHECKPAGE; … … 630 631 * @param pvUser The user argument. 631 632 */ 632 typedef DECLCALLBACK(int) FNPGMPHYSNEMENUMCALLBACK(PVMCC pVM, PVMCPUCC pVCpu, RTGCPHYS GCPhys, uint8_t *pu2NemState, void *pvUser); 633 typedef DECLCALLBACKTYPE(int, FNPGMPHYSNEMENUMCALLBACK,(PVMCC pVM, PVMCPUCC pVCpu, RTGCPHYS GCPhys, 634 uint8_t *pu2NemState, void *pvUser)); 633 635 /** Pointer to a FNPGMPHYSNEMENUMCALLBACK function. */ 634 636 typedef FNPGMPHYSNEMENUMCALLBACK *PFNPGMPHYSNEMENUMCALLBACK; -
trunk/include/VBox/vmm/ssm.h
r83776 r85121 117 117 * SSMR3PutStructEx. 118 118 */ 119 typedef DECLCALLBACK (int) FNSSMFIELDGETPUT(PSSMHANDLE pSSM, const struct SSMFIELD *pField, void *pvStruct,120 uint32_t fFlags, bool fGetOrPut, void *pvUser);119 typedef DECLCALLBACKTYPE(int, FNSSMFIELDGETPUT,(PSSMHANDLE pSSM, const struct SSMFIELD *pField, void *pvStruct, 120 uint32_t fFlags, bool fGetOrPut, void *pvUser)); 121 121 /** Pointer to a SSMFIELD Get/Put callback. */ 122 122 typedef FNSSMFIELDGETPUT *PFNSSMFIELDGETPUT; … … 422 422 * @thread Any. 423 423 */ 424 typedef DECLCALLBACK (int) FNSSMDEVLIVEPREP(PPDMDEVINS pDevIns, PSSMHANDLE pSSM);424 typedef DECLCALLBACKTYPE(int, FNSSMDEVLIVEPREP,(PPDMDEVINS pDevIns, PSSMHANDLE pSSM)); 425 425 /** Pointer to a FNSSMDEVLIVEPREP() function. */ 426 426 typedef FNSSMDEVLIVEPREP *PFNSSMDEVLIVEPREP; … … 439 439 * @thread Any. 440 440 */ 441 typedef DECLCALLBACK (int) FNSSMDEVLIVEEXEC(PPDMDEVINS pDevIns, PSSMHANDLE pSSM, uint32_t uPass);441 typedef DECLCALLBACKTYPE(int, FNSSMDEVLIVEEXEC,(PPDMDEVINS pDevIns, PSSMHANDLE pSSM, uint32_t uPass)); 442 442 /** Pointer to a FNSSMDEVLIVEEXEC() function. */ 443 443 typedef FNSSMDEVLIVEEXEC *PFNSSMDEVLIVEEXEC; … … 462 462 * @thread Any. 463 463 */ 464 typedef DECLCALLBACK (int) FNSSMDEVLIVEVOTE(PPDMDEVINS pDevIns, PSSMHANDLE pSSM, uint32_t uPass);464 typedef DECLCALLBACKTYPE(int, FNSSMDEVLIVEVOTE,(PPDMDEVINS pDevIns, PSSMHANDLE pSSM, uint32_t uPass)); 465 465 /** Pointer to a FNSSMDEVLIVEVOTE() function. */ 466 466 typedef FNSSMDEVLIVEVOTE *PFNSSMDEVLIVEVOTE; … … 474 474 * @remarks The caller enters the device critical section prior to the call. 475 475 */ 476 typedef DECLCALLBACK (int) FNSSMDEVSAVEPREP(PPDMDEVINS pDevIns, PSSMHANDLE pSSM);476 typedef DECLCALLBACKTYPE(int, FNSSMDEVSAVEPREP,(PPDMDEVINS pDevIns, PSSMHANDLE pSSM)); 477 477 /** Pointer to a FNSSMDEVSAVEPREP() function. */ 478 478 typedef FNSSMDEVSAVEPREP *PFNSSMDEVSAVEPREP; … … 486 486 * @remarks The caller enters the device critical section prior to the call. 487 487 */ 488 typedef DECLCALLBACK (int) FNSSMDEVSAVEEXEC(PPDMDEVINS pDevIns, PSSMHANDLE pSSM);488 typedef DECLCALLBACKTYPE(int, FNSSMDEVSAVEEXEC,(PPDMDEVINS pDevIns, PSSMHANDLE pSSM)); 489 489 /** Pointer to a FNSSMDEVSAVEEXEC() function. */ 490 490 typedef FNSSMDEVSAVEEXEC *PFNSSMDEVSAVEEXEC; … … 498 498 * @remarks The caller enters the device critical section prior to the call. 499 499 */ 500 typedef DECLCALLBACK (int) FNSSMDEVSAVEDONE(PPDMDEVINS pDevIns, PSSMHANDLE pSSM);500 typedef DECLCALLBACKTYPE(int, FNSSMDEVSAVEDONE,(PPDMDEVINS pDevIns, PSSMHANDLE pSSM)); 501 501 /** Pointer to a FNSSMDEVSAVEDONE() function. */ 502 502 typedef FNSSMDEVSAVEDONE *PFNSSMDEVSAVEDONE; … … 510 510 * @remarks The caller enters the device critical section prior to the call. 511 511 */ 512 typedef DECLCALLBACK (int) FNSSMDEVLOADPREP(PPDMDEVINS pDevIns, PSSMHANDLE pSSM);512 typedef DECLCALLBACKTYPE(int, FNSSMDEVLOADPREP,(PPDMDEVINS pDevIns, PSSMHANDLE pSSM)); 513 513 /** Pointer to a FNSSMDEVLOADPREP() function. */ 514 514 typedef FNSSMDEVLOADPREP *PFNSSMDEVLOADPREP; … … 525 525 * @remarks The caller enters the device critical section prior to the call. 526 526 */ 527 typedef DECLCALLBACK (int) FNSSMDEVLOADEXEC(PPDMDEVINS pDevIns, PSSMHANDLE pSSM, uint32_t uVersion, uint32_t uPass);527 typedef DECLCALLBACKTYPE(int, FNSSMDEVLOADEXEC,(PPDMDEVINS pDevIns, PSSMHANDLE pSSM, uint32_t uVersion, uint32_t uPass)); 528 528 /** Pointer to a FNSSMDEVLOADEXEC() function. */ 529 529 typedef FNSSMDEVLOADEXEC *PFNSSMDEVLOADEXEC; … … 537 537 * @remarks The caller enters the device critical section prior to the call. 538 538 */ 539 typedef DECLCALLBACK (int) FNSSMDEVLOADDONE(PPDMDEVINS pDevIns, PSSMHANDLE pSSM);539 typedef DECLCALLBACKTYPE(int, FNSSMDEVLOADDONE,(PPDMDEVINS pDevIns, PSSMHANDLE pSSM)); 540 540 /** Pointer to a FNSSMDEVLOADDONE() function. */ 541 541 typedef FNSSMDEVLOADDONE *PFNSSMDEVLOADDONE; … … 557 557 * @thread Any. 558 558 */ 559 typedef DECLCALLBACK (int) FNSSMUSBLIVEPREP(PPDMUSBINS pUsbIns, PSSMHANDLE pSSM);559 typedef DECLCALLBACKTYPE(int, FNSSMUSBLIVEPREP,(PPDMUSBINS pUsbIns, PSSMHANDLE pSSM)); 560 560 /** Pointer to a FNSSMUSBLIVEPREP() function. */ 561 561 typedef FNSSMUSBLIVEPREP *PFNSSMUSBLIVEPREP; … … 574 574 * @thread Any. 575 575 */ 576 typedef DECLCALLBACK (int) FNSSMUSBLIVEEXEC(PPDMUSBINS pUsbIns, PSSMHANDLE pSSM, uint32_t uPass);576 typedef DECLCALLBACKTYPE(int, FNSSMUSBLIVEEXEC,(PPDMUSBINS pUsbIns, PSSMHANDLE pSSM, uint32_t uPass)); 577 577 /** Pointer to a FNSSMUSBLIVEEXEC() function. */ 578 578 typedef FNSSMUSBLIVEEXEC *PFNSSMUSBLIVEEXEC; … … 597 597 * @thread Any. 598 598 */ 599 typedef DECLCALLBACK (int) FNSSMUSBLIVEVOTE(PPDMUSBINS pUsbIns, PSSMHANDLE pSSM, uint32_t uPass);599 typedef DECLCALLBACKTYPE(int, FNSSMUSBLIVEVOTE,(PPDMUSBINS pUsbIns, PSSMHANDLE pSSM, uint32_t uPass)); 600 600 /** Pointer to a FNSSMUSBLIVEVOTE() function. */ 601 601 typedef FNSSMUSBLIVEVOTE *PFNSSMUSBLIVEVOTE; … … 609 609 * @param pSSM SSM operation handle. 610 610 */ 611 typedef DECLCALLBACK (int) FNSSMUSBSAVEPREP(PPDMUSBINS pUsbIns, PSSMHANDLE pSSM);611 typedef DECLCALLBACKTYPE(int, FNSSMUSBSAVEPREP,(PPDMUSBINS pUsbIns, PSSMHANDLE pSSM)); 612 612 /** Pointer to a FNSSMUSBSAVEPREP() function. */ 613 613 typedef FNSSMUSBSAVEPREP *PFNSSMUSBSAVEPREP; … … 621 621 * @param pSSM SSM operation handle. 622 622 */ 623 typedef DECLCALLBACK (int) FNSSMUSBSAVEEXEC(PPDMUSBINS pUsbIns, PSSMHANDLE pSSM);623 typedef DECLCALLBACKTYPE(int, FNSSMUSBSAVEEXEC,(PPDMUSBINS pUsbIns, PSSMHANDLE pSSM)); 624 624 /** Pointer to a FNSSMUSBSAVEEXEC() function. */ 625 625 typedef FNSSMUSBSAVEEXEC *PFNSSMUSBSAVEEXEC; … … 633 633 * @param pSSM SSM operation handle. 634 634 */ 635 typedef DECLCALLBACK (int) FNSSMUSBSAVEDONE(PPDMUSBINS pUsbIns, PSSMHANDLE pSSM);635 typedef DECLCALLBACKTYPE(int, FNSSMUSBSAVEDONE,(PPDMUSBINS pUsbIns, PSSMHANDLE pSSM)); 636 636 /** Pointer to a FNSSMUSBSAVEDONE() function. */ 637 637 typedef FNSSMUSBSAVEDONE *PFNSSMUSBSAVEDONE; … … 645 645 * @param pSSM SSM operation handle. 646 646 */ 647 typedef DECLCALLBACK (int) FNSSMUSBLOADPREP(PPDMUSBINS pUsbIns, PSSMHANDLE pSSM);647 typedef DECLCALLBACKTYPE(int, FNSSMUSBLOADPREP,(PPDMUSBINS pUsbIns, PSSMHANDLE pSSM)); 648 648 /** Pointer to a FNSSMUSBLOADPREP() function. */ 649 649 typedef FNSSMUSBLOADPREP *PFNSSMUSBLOADPREP; … … 660 660 * that doesn't specify a pfnSaveLive callback. 661 661 */ 662 typedef DECLCALLBACK (int) FNSSMUSBLOADEXEC(PPDMUSBINS pUsbIns, PSSMHANDLE pSSM, uint32_t uVersion, uint32_t uPass);662 typedef DECLCALLBACKTYPE(int, FNSSMUSBLOADEXEC,(PPDMUSBINS pUsbIns, PSSMHANDLE pSSM, uint32_t uVersion, uint32_t uPass)); 663 663 /** Pointer to a FNSSMUSBLOADEXEC() function. */ 664 664 typedef FNSSMUSBLOADEXEC *PFNSSMUSBLOADEXEC; … … 672 672 * @param pSSM SSM operation handle. 673 673 */ 674 typedef DECLCALLBACK (int) FNSSMUSBLOADDONE(PPDMUSBINS pUsbIns, PSSMHANDLE pSSM);674 typedef DECLCALLBACKTYPE(int, FNSSMUSBLOADDONE,(PPDMUSBINS pUsbIns, PSSMHANDLE pSSM)); 675 675 /** Pointer to a FNSSMUSBLOADDONE() function. */ 676 676 typedef FNSSMUSBLOADDONE *PFNSSMUSBLOADDONE; … … 692 692 * @thread Any. 693 693 */ 694 typedef DECLCALLBACK (int) FNSSMDRVLIVEPREP(PPDMDRVINS pDrvIns, PSSMHANDLE pSSM);694 typedef DECLCALLBACKTYPE(int, FNSSMDRVLIVEPREP,(PPDMDRVINS pDrvIns, PSSMHANDLE pSSM)); 695 695 /** Pointer to a FNSSMDRVLIVEPREP() function. */ 696 696 typedef FNSSMDRVLIVEPREP *PFNSSMDRVLIVEPREP; … … 709 709 * @thread Any. 710 710 */ 711 typedef DECLCALLBACK (int) FNSSMDRVLIVEEXEC(PPDMDRVINS pDrvIns, PSSMHANDLE pSSM, uint32_t uPass);711 typedef DECLCALLBACKTYPE(int, FNSSMDRVLIVEEXEC,(PPDMDRVINS pDrvIns, PSSMHANDLE pSSM, uint32_t uPass)); 712 712 /** Pointer to a FNSSMDRVLIVEEXEC() function. */ 713 713 typedef FNSSMDRVLIVEEXEC *PFNSSMDRVLIVEEXEC; … … 732 732 * @thread Any. 733 733 */ 734 typedef DECLCALLBACK (int) FNSSMDRVLIVEVOTE(PPDMDRVINS pDrvIns, PSSMHANDLE pSSM, uint32_t uPass);734 typedef DECLCALLBACKTYPE(int, FNSSMDRVLIVEVOTE,(PPDMDRVINS pDrvIns, PSSMHANDLE pSSM, uint32_t uPass)); 735 735 /** Pointer to a FNSSMDRVLIVEVOTE() function. */ 736 736 typedef FNSSMDRVLIVEVOTE *PFNSSMDRVLIVEVOTE; … … 744 744 * @param pSSM SSM operation handle. 745 745 */ 746 typedef DECLCALLBACK (int) FNSSMDRVSAVEPREP(PPDMDRVINS pDrvIns, PSSMHANDLE pSSM);746 typedef DECLCALLBACKTYPE(int, FNSSMDRVSAVEPREP,(PPDMDRVINS pDrvIns, PSSMHANDLE pSSM)); 747 747 /** Pointer to a FNSSMDRVSAVEPREP() function. */ 748 748 typedef FNSSMDRVSAVEPREP *PFNSSMDRVSAVEPREP; … … 755 755 * @param pSSM SSM operation handle. 756 756 */ 757 typedef DECLCALLBACK (int) FNSSMDRVSAVEEXEC(PPDMDRVINS pDrvIns, PSSMHANDLE pSSM);757 typedef DECLCALLBACKTYPE(int, FNSSMDRVSAVEEXEC,(PPDMDRVINS pDrvIns, PSSMHANDLE pSSM)); 758 758 /** Pointer to a FNSSMDRVSAVEEXEC() function. */ 759 759 typedef FNSSMDRVSAVEEXEC *PFNSSMDRVSAVEEXEC; … … 766 766 * @param pSSM SSM operation handle. 767 767 */ 768 typedef DECLCALLBACK (int) FNSSMDRVSAVEDONE(PPDMDRVINS pDrvIns, PSSMHANDLE pSSM);768 typedef DECLCALLBACKTYPE(int, FNSSMDRVSAVEDONE,(PPDMDRVINS pDrvIns, PSSMHANDLE pSSM)); 769 769 /** Pointer to a FNSSMDRVSAVEDONE() function. */ 770 770 typedef FNSSMDRVSAVEDONE *PFNSSMDRVSAVEDONE; … … 777 777 * @param pSSM SSM operation handle. 778 778 */ 779 typedef DECLCALLBACK (int) FNSSMDRVLOADPREP(PPDMDRVINS pDrvIns, PSSMHANDLE pSSM);779 typedef DECLCALLBACKTYPE(int, FNSSMDRVLOADPREP,(PPDMDRVINS pDrvIns, PSSMHANDLE pSSM)); 780 780 /** Pointer to a FNSSMDRVLOADPREP() function. */ 781 781 typedef FNSSMDRVLOADPREP *PFNSSMDRVLOADPREP; … … 791 791 * that doesn't specify a pfnSaveLive callback. 792 792 */ 793 typedef DECLCALLBACK (int) FNSSMDRVLOADEXEC(PPDMDRVINS pDrvIns, PSSMHANDLE pSSM, uint32_t uVersion, uint32_t uPass);793 typedef DECLCALLBACKTYPE(int, FNSSMDRVLOADEXEC,(PPDMDRVINS pDrvIns, PSSMHANDLE pSSM, uint32_t uVersion, uint32_t uPass)); 794 794 /** Pointer to a FNSSMDRVLOADEXEC() function. */ 795 795 typedef FNSSMDRVLOADEXEC *PFNSSMDRVLOADEXEC; … … 802 802 * @param pSSM SSM operation handle. 803 803 */ 804 typedef DECLCALLBACK (int) FNSSMDRVLOADDONE(PPDMDRVINS pDrvIns, PSSMHANDLE pSSM);804 typedef DECLCALLBACKTYPE(int, FNSSMDRVLOADDONE,(PPDMDRVINS pDrvIns, PSSMHANDLE pSSM)); 805 805 /** Pointer to a FNSSMDRVLOADDONE() function. */ 806 806 typedef FNSSMDRVLOADDONE *PFNSSMDRVLOADDONE; … … 822 822 * @thread Any. 823 823 */ 824 typedef DECLCALLBACK (int) FNSSMINTLIVEPREP(PVM pVM, PSSMHANDLE pSSM);824 typedef DECLCALLBACKTYPE(int, FNSSMINTLIVEPREP,(PVM pVM, PSSMHANDLE pSSM)); 825 825 /** Pointer to a FNSSMINTLIVEPREP() function. */ 826 826 typedef FNSSMINTLIVEPREP *PFNSSMINTLIVEPREP; … … 838 838 * @thread Any. 839 839 */ 840 typedef DECLCALLBACK (int) FNSSMINTLIVEEXEC(PVM pVM, PSSMHANDLE pSSM, uint32_t uPass);840 typedef DECLCALLBACKTYPE(int, FNSSMINTLIVEEXEC,(PVM pVM, PSSMHANDLE pSSM, uint32_t uPass)); 841 841 /** Pointer to a FNSSMINTLIVEEXEC() function. */ 842 842 typedef FNSSMINTLIVEEXEC *PFNSSMINTLIVEEXEC; … … 860 860 * @thread Any. 861 861 */ 862 typedef DECLCALLBACK (int) FNSSMINTLIVEVOTE(PVM pVM, PSSMHANDLE pSSM, uint32_t uPass);862 typedef DECLCALLBACKTYPE(int, FNSSMINTLIVEVOTE,(PVM pVM, PSSMHANDLE pSSM, uint32_t uPass)); 863 863 /** Pointer to a FNSSMINTLIVEVOTE() function. */ 864 864 typedef FNSSMINTLIVEVOTE *PFNSSMINTLIVEVOTE; … … 871 871 * @param pSSM SSM operation handle. 872 872 */ 873 typedef DECLCALLBACK (int) FNSSMINTSAVEPREP(PVM pVM, PSSMHANDLE pSSM);873 typedef DECLCALLBACKTYPE(int, FNSSMINTSAVEPREP,(PVM pVM, PSSMHANDLE pSSM)); 874 874 /** Pointer to a FNSSMINTSAVEPREP() function. */ 875 875 typedef FNSSMINTSAVEPREP *PFNSSMINTSAVEPREP; … … 882 882 * @param pSSM SSM operation handle. 883 883 */ 884 typedef DECLCALLBACK (int) FNSSMINTSAVEEXEC(PVM pVM, PSSMHANDLE pSSM);884 typedef DECLCALLBACKTYPE(int, FNSSMINTSAVEEXEC,(PVM pVM, PSSMHANDLE pSSM)); 885 885 /** Pointer to a FNSSMINTSAVEEXEC() function. */ 886 886 typedef FNSSMINTSAVEEXEC *PFNSSMINTSAVEEXEC; … … 893 893 * @param pSSM SSM operation handle. 894 894 */ 895 typedef DECLCALLBACK (int) FNSSMINTSAVEDONE(PVM pVM, PSSMHANDLE pSSM);895 typedef DECLCALLBACKTYPE(int, FNSSMINTSAVEDONE,(PVM pVM, PSSMHANDLE pSSM)); 896 896 /** Pointer to a FNSSMINTSAVEDONE() function. */ 897 897 typedef FNSSMINTSAVEDONE *PFNSSMINTSAVEDONE; … … 904 904 * @param pSSM SSM operation handle. 905 905 */ 906 typedef DECLCALLBACK (int) FNSSMINTLOADPREP(PVM pVM, PSSMHANDLE pSSM);906 typedef DECLCALLBACKTYPE(int, FNSSMINTLOADPREP,(PVM pVM, PSSMHANDLE pSSM)); 907 907 /** Pointer to a FNSSMINTLOADPREP() function. */ 908 908 typedef FNSSMINTLOADPREP *PFNSSMINTLOADPREP; … … 918 918 * that doesn't specify a pfnSaveLive callback. 919 919 */ 920 typedef DECLCALLBACK (int) FNSSMINTLOADEXEC(PVM pVM, PSSMHANDLE pSSM, uint32_t uVersion, uint32_t uPass);920 typedef DECLCALLBACKTYPE(int, FNSSMINTLOADEXEC,(PVM pVM, PSSMHANDLE pSSM, uint32_t uVersion, uint32_t uPass)); 921 921 /** Pointer to a FNSSMINTLOADEXEC() function. */ 922 922 typedef FNSSMINTLOADEXEC *PFNSSMINTLOADEXEC; … … 929 929 * @param pSSM SSM operation handle. 930 930 */ 931 typedef DECLCALLBACK (int) FNSSMINTLOADDONE(PVM pVM, PSSMHANDLE pSSM);931 typedef DECLCALLBACKTYPE(int, FNSSMINTLOADDONE,(PVM pVM, PSSMHANDLE pSSM)); 932 932 /** Pointer to a FNSSMINTLOADDONE() function. */ 933 933 typedef FNSSMINTLOADDONE *PFNSSMINTLOADDONE; … … 948 948 * @thread Any. 949 949 */ 950 typedef DECLCALLBACK (int) FNSSMEXTLIVEPREP(PSSMHANDLE pSSM, void *pvUser);950 typedef DECLCALLBACKTYPE(int, FNSSMEXTLIVEPREP,(PSSMHANDLE pSSM, void *pvUser)); 951 951 /** Pointer to a FNSSMEXTLIVEPREP() function. */ 952 952 typedef FNSSMEXTLIVEPREP *PFNSSMEXTLIVEPREP; … … 964 964 * @thread Any. 965 965 */ 966 typedef DECLCALLBACK (int) FNSSMEXTLIVEEXEC(PSSMHANDLE pSSM, void *pvUser, uint32_t uPass);966 typedef DECLCALLBACKTYPE(int, FNSSMEXTLIVEEXEC,(PSSMHANDLE pSSM, void *pvUser, uint32_t uPass)); 967 967 /** Pointer to a FNSSMEXTLIVEEXEC() function. */ 968 968 typedef FNSSMEXTLIVEEXEC *PFNSSMEXTLIVEEXEC; … … 986 986 * @thread Any. 987 987 */ 988 typedef DECLCALLBACK (int) FNSSMEXTLIVEVOTE(PSSMHANDLE pSSM, void *pvUser, uint32_t uPass);988 typedef DECLCALLBACKTYPE(int, FNSSMEXTLIVEVOTE,(PSSMHANDLE pSSM, void *pvUser, uint32_t uPass)); 989 989 /** Pointer to a FNSSMEXTLIVEVOTE() function. */ 990 990 typedef FNSSMEXTLIVEVOTE *PFNSSMEXTLIVEVOTE; … … 997 997 * @param pvUser User argument. 998 998 */ 999 typedef DECLCALLBACK (int) FNSSMEXTSAVEPREP(PSSMHANDLE pSSM, void *pvUser);999 typedef DECLCALLBACKTYPE(int, FNSSMEXTSAVEPREP,(PSSMHANDLE pSSM, void *pvUser)); 1000 1000 /** Pointer to a FNSSMEXTSAVEPREP() function. */ 1001 1001 typedef FNSSMEXTSAVEPREP *PFNSSMEXTSAVEPREP; … … 1008 1008 * @author The lack of return code is for legacy reasons. 1009 1009 */ 1010 typedef DECLCALLBACK (void) FNSSMEXTSAVEEXEC(PSSMHANDLE pSSM, void *pvUser);1010 typedef DECLCALLBACKTYPE(void, FNSSMEXTSAVEEXEC,(PSSMHANDLE pSSM, void *pvUser)); 1011 1011 /** Pointer to a FNSSMEXTSAVEEXEC() function. */ 1012 1012 typedef FNSSMEXTSAVEEXEC *PFNSSMEXTSAVEEXEC; … … 1019 1019 * @param pvUser User argument. 1020 1020 */ 1021 typedef DECLCALLBACK (int) FNSSMEXTSAVEDONE(PSSMHANDLE pSSM, void *pvUser);1021 typedef DECLCALLBACKTYPE(int, FNSSMEXTSAVEDONE,(PSSMHANDLE pSSM, void *pvUser)); 1022 1022 /** Pointer to a FNSSMEXTSAVEDONE() function. */ 1023 1023 typedef FNSSMEXTSAVEDONE *PFNSSMEXTSAVEDONE; … … 1030 1030 * @param pvUser User argument. 1031 1031 */ 1032 typedef DECLCALLBACK (int) FNSSMEXTLOADPREP(PSSMHANDLE pSSM, void *pvUser);1032 typedef DECLCALLBACKTYPE(int, FNSSMEXTLOADPREP,(PSSMHANDLE pSSM, void *pvUser)); 1033 1033 /** Pointer to a FNSSMEXTLOADPREP() function. */ 1034 1034 typedef FNSSMEXTLOADPREP *PFNSSMEXTLOADPREP; … … 1045 1045 * @remark The odd return value is for legacy reasons. 1046 1046 */ 1047 typedef DECLCALLBACK (int) FNSSMEXTLOADEXEC(PSSMHANDLE pSSM, void *pvUser, uint32_t uVersion, uint32_t uPass);1047 typedef DECLCALLBACKTYPE(int, FNSSMEXTLOADEXEC,(PSSMHANDLE pSSM, void *pvUser, uint32_t uVersion, uint32_t uPass)); 1048 1048 /** Pointer to a FNSSMEXTLOADEXEC() function. */ 1049 1049 typedef FNSSMEXTLOADEXEC *PFNSSMEXTLOADEXEC; … … 1056 1056 * @param pvUser User argument. 1057 1057 */ 1058 typedef DECLCALLBACK (int) FNSSMEXTLOADDONE(PSSMHANDLE pSSM, void *pvUser);1058 typedef DECLCALLBACKTYPE(int, FNSSMEXTLOADDONE,(PSSMHANDLE pSSM, void *pvUser)); 1059 1059 /** Pointer to a FNSSMEXTLOADDONE() function. */ 1060 1060 typedef FNSSMEXTLOADDONE *PFNSSMEXTLOADDONE; … … 1084 1084 * @param cbToWrite The number of bytes to write. 1085 1085 */ 1086 DECLCALLBACKMEMBER(int, pfnWrite )(void *pvUser, uint64_t offStream, const void *pvBuf, size_t cbToWrite);1086 DECLCALLBACKMEMBER(int, pfnWrite,(void *pvUser, uint64_t offStream, const void *pvBuf, size_t cbToWrite)); 1087 1087 1088 1088 /** … … 1098 1098 * end of the stream is encountered. 1099 1099 */ 1100 DECLCALLBACKMEMBER(int, pfnRead )(void *pvUser, uint64_t offStream, void *pvBuf, size_t cbToRead, size_t *pcbRead);1100 DECLCALLBACKMEMBER(int, pfnRead,(void *pvUser, uint64_t offStream, void *pvBuf, size_t cbToRead, size_t *pcbRead)); 1101 1101 1102 1102 /** … … 1112 1112 * @param poffActual Where to store the new file position. Optional. 1113 1113 */ 1114 DECLCALLBACKMEMBER(int, pfnSeek )(void *pvUser, int64_t offSeek, unsigned uMethod, uint64_t *poffActual);1114 DECLCALLBACKMEMBER(int, pfnSeek,(void *pvUser, int64_t offSeek, unsigned uMethod, uint64_t *poffActual)); 1115 1115 1116 1116 /** … … 1120 1120 * @param pvUser The user argument. 1121 1121 */ 1122 DECLCALLBACKMEMBER(uint64_t, pfnTell )(void *pvUser);1122 DECLCALLBACKMEMBER(uint64_t, pfnTell,(void *pvUser)); 1123 1123 1124 1124 /** … … 1131 1131 * @param pcb Where to return the size/length. 1132 1132 */ 1133 DECLCALLBACKMEMBER(int, pfnSize )(void *pvUser, uint64_t *pcb);1133 DECLCALLBACKMEMBER(int, pfnSize,(void *pvUser, uint64_t *pcb)); 1134 1134 1135 1135 /** … … 1141 1141 * @remarks The method is expected to do a LogRel on failure. 1142 1142 */ 1143 DECLCALLBACKMEMBER(int, pfnIsOk )(void *pvUser);1143 DECLCALLBACKMEMBER(int, pfnIsOk,(void *pvUser)); 1144 1144 1145 1145 /** … … 1150 1150 * @param fCancelled True if the operation was cancelled. 1151 1151 */ 1152 DECLCALLBACKMEMBER(int, pfnClose )(void *pvUser, bool fCancelled);1152 DECLCALLBACKMEMBER(int, pfnClose,(void *pvUser, bool fCancelled)); 1153 1153 1154 1154 /** Struct magic + version (SSMSTRMOPS_VERSION). */ -
trunk/include/VBox/vmm/stam.h
r84119 r85121 1191 1191 * @param pvSample The sample registered using STAMR3RegisterCallback. 1192 1192 */ 1193 typedef void FNSTAMR3CALLBACKRESET(PVM pVM, void *pvSample);1193 typedef DECLCALLBACKTYPE(void, FNSTAMR3CALLBACKRESET,(PVM pVM, void *pvSample)); 1194 1194 /** Pointer to a STAM sample reset callback. */ 1195 1195 typedef FNSTAMR3CALLBACKRESET *PFNSTAMR3CALLBACKRESET; … … 1203 1203 * @param cchBuf The size of the buffer. 1204 1204 */ 1205 typedef void FNSTAMR3CALLBACKPRINT(PVM pVM, void *pvSample, char *pszBuf, size_t cchBuf);1205 typedef DECLCALLBACKTYPE(void, FNSTAMR3CALLBACKPRINT,(PVM pVM, void *pvSample, char *pszBuf, size_t cchBuf)); 1206 1206 /** Pointer to a STAM sample print callback. */ 1207 1207 typedef FNSTAMR3CALLBACKPRINT *PFNSTAMR3CALLBACKPRINT; … … 1247 1247 * @param pvUser The pvUser argument given to STAMR3Enum(). 1248 1248 */ 1249 typedef DECLCALLBACK (int) FNSTAMR3ENUM(const char *pszName, STAMTYPE enmType, void *pvSample, STAMUNIT enmUnit,1250 STAMVISIBILITY enmVisiblity, const char *pszDesc, void *pvUser);1249 typedef DECLCALLBACKTYPE(int, FNSTAMR3ENUM,(const char *pszName, STAMTYPE enmType, void *pvSample, STAMUNIT enmUnit, 1250 STAMVISIBILITY enmVisiblity, const char *pszDesc, void *pvUser)); 1251 1251 /** Pointer to a FNSTAMR3ENUM(). */ 1252 1252 typedef FNSTAMR3ENUM *PFNSTAMR3ENUM; -
trunk/include/VBox/vmm/tm.h
r82968 r85121 165 165 * @param pvUser User argument specified upon timer creation. 166 166 */ 167 typedef DECLCALLBACK (void) FNTMTIMERDEV(PPDMDEVINS pDevIns, PTMTIMER pTimer, void *pvUser);167 typedef DECLCALLBACKTYPE(void, FNTMTIMERDEV,(PPDMDEVINS pDevIns, PTMTIMER pTimer, void *pvUser)); 168 168 /** Pointer to a device timer callback function. */ 169 169 typedef FNTMTIMERDEV *PFNTMTIMERDEV; … … 177 177 * @param pvUser User argument specified upon timer creation. 178 178 */ 179 typedef DECLCALLBACK (void) FNTMTIMERUSB(PPDMUSBINS pUsbIns, PTMTIMER pTimer, void *pvUser);179 typedef DECLCALLBACKTYPE(void, FNTMTIMERUSB,(PPDMUSBINS pUsbIns, PTMTIMER pTimer, void *pvUser)); 180 180 /** Pointer to a timer callback for a USB device. */ 181 181 typedef FNTMTIMERUSB *PFNTMTIMERUSB; … … 188 188 * @param pvUser User argument specified upon timer creation. 189 189 */ 190 typedef DECLCALLBACK (void) FNTMTIMERDRV(PPDMDRVINS pDrvIns, PTMTIMER pTimer, void *pvUser);190 typedef DECLCALLBACKTYPE(void, FNTMTIMERDRV,(PPDMDRVINS pDrvIns, PTMTIMER pTimer, void *pvUser)); 191 191 /** Pointer to a driver timer callback function. */ 192 192 typedef FNTMTIMERDRV *PFNTMTIMERDRV; … … 198 198 * @param pTimer The timer handle. 199 199 */ 200 typedef DECLCALLBACK (void) FNTMTIMERSRV(PPDMSRVINS pSrvIns, PTMTIMER pTimer);200 typedef DECLCALLBACKTYPE(void, FNTMTIMERSRV,(PPDMSRVINS pSrvIns, PTMTIMER pTimer)); 201 201 /** Pointer to a service timer callback function. */ 202 202 typedef FNTMTIMERSRV *PFNTMTIMERSRV; … … 209 209 * @param pvUser User argument specified upon timer creation. 210 210 */ 211 typedef DECLCALLBACK (void) FNTMTIMERINT(PVM pVM, PTMTIMER pTimer, void *pvUser);211 typedef DECLCALLBACKTYPE(void, FNTMTIMERINT,(PVM pVM, PTMTIMER pTimer, void *pvUser)); 212 212 /** Pointer to internal timer callback function. */ 213 213 typedef FNTMTIMERINT *PFNTMTIMERINT; … … 218 218 * @param pvUser User argument as specified when the timer was created. 219 219 */ 220 typedef DECLCALLBACK (void) FNTMTIMEREXT(void *pvUser);220 typedef DECLCALLBACKTYPE(void, FNTMTIMEREXT,(void *pvUser)); 221 221 /** Pointer to an external timer callback function. */ 222 222 typedef FNTMTIMEREXT *PFNTMTIMEREXT; -
trunk/include/VBox/vmm/vmapi.h
r82968 r85121 68 68 * @param args Error message arguments. 69 69 */ 70 typedef DECLCALLBACK (void) FNVMATERROR(PUVM pUVM, void *pvUser, int rc, RT_SRC_POS_DECL, const char *pszError, va_list args);70 typedef DECLCALLBACKTYPE(void, FNVMATERROR,(PUVM pUVM, void *pvUser, int rc, RT_SRC_POS_DECL, const char *pszError, va_list args)); 71 71 /** Pointer to a VM error callback. */ 72 72 typedef FNVMATERROR *PFNVMATERROR; … … 118 118 * @param va Error message arguments. 119 119 */ 120 typedef DECLCALLBACK (void) FNVMATRUNTIMEERROR(PUVM pUVM, void *pvUser, uint32_t fFlags, const char *pszErrorId,121 const char *pszFormat, va_list va) RT_IPRT_FORMAT_ATTR(5, 0);120 typedef DECLCALLBACKTYPE(void, FNVMATRUNTIMEERROR,(PUVM pUVM, void *pvUser, uint32_t fFlags, const char *pszErrorId, 121 const char *pszFormat, va_list va)) RT_IPRT_FORMAT_ATTR(5, 0); 122 122 /** Pointer to a VM runtime error callback. */ 123 123 typedef FNVMATRUNTIMEERROR *PFNVMATRUNTIMEERROR; … … 158 158 * @param pvUser The user argument. 159 159 */ 160 typedef DECLCALLBACK (void) FNVMATSTATE(PUVM pUVM, VMSTATE enmState, VMSTATE enmOldState, void *pvUser);160 typedef DECLCALLBACKTYPE(void, FNVMATSTATE,(PUVM pUVM, VMSTATE enmState, VMSTATE enmOldState, void *pvUser)); 161 161 /** Pointer to a VM state callback. */ 162 162 typedef FNVMATSTATE *PFNVMATSTATE; … … 363 363 * @param pvUser User specified argument. 364 364 */ 365 typedef DECLCALLBACK (int) FNVMPROGRESS(PUVM pUVM, unsigned uPercent, void *pvUser);365 typedef DECLCALLBACKTYPE(int, FNVMPROGRESS,(PUVM pUVM, unsigned uPercent, void *pvUser)); 366 366 /** Pointer to a FNVMPROGRESS function. */ 367 367 typedef FNVMPROGRESS *PFNVMPROGRESS; -
trunk/include/VBox/vmm/vmm.h
r84458 r85121 98 98 * @param pvUser The user argument. 99 99 */ 100 typedef DECLCALLBACK (int) FNVMMR0CALLRING3NOTIFICATION(PVMCPUCC pVCpu, VMMCALLRING3 enmOperation, void *pvUser);100 typedef DECLCALLBACKTYPE(int, FNVMMR0CALLRING3NOTIFICATION,(PVMCPUCC pVCpu, VMMCALLRING3 enmOperation, void *pvUser)); 101 101 /** Pointer to a FNRTMPNOTIFICATION(). */ 102 102 typedef FNVMMR0CALLRING3NOTIFICATION *PFNVMMR0CALLRING3NOTIFICATION; … … 113 113 * @param pvUser The user argument. 114 114 */ 115 typedef DECLCALLBACK (VBOXSTRICTRC) FNVMMEMTRENDEZVOUS(PVM pVM, PVMCPU pVCpu, void *pvUser);115 typedef DECLCALLBACKTYPE(VBOXSTRICTRC, FNVMMEMTRENDEZVOUS,(PVM pVM, PVMCPU pVCpu, void *pvUser)); 116 116 /** Pointer to a rendezvous callback function. */ 117 117 typedef FNVMMEMTRENDEZVOUS *PFNVMMEMTRENDEZVOUS; -
trunk/include/VBox/vrdpusb.h
r82968 r85121 69 69 PREMOTEUSBBACKEND pInstance; 70 70 71 DECLCALLBACKMEMBER(int, pfnOpen ) (PREMOTEUSBBACKEND pInstance, const char *pszAddress, size_t cbAddress, PREMOTEUSBDEVICE *ppDevice);72 DECLCALLBACKMEMBER(void, pfnClose ) (PREMOTEUSBDEVICE pDevice);73 DECLCALLBACKMEMBER(int, pfnReset ) (PREMOTEUSBDEVICE pDevice);74 DECLCALLBACKMEMBER(int, pfnSetConfig ) (PREMOTEUSBDEVICE pDevice, uint8_t u8Cfg);75 DECLCALLBACKMEMBER(int, pfnClaimInterface ) (PREMOTEUSBDEVICE pDevice, uint8_t u8Ifnum);76 DECLCALLBACKMEMBER(int, pfnReleaseInterface ) (PREMOTEUSBDEVICE pDevice, uint8_t u8Ifnum);77 DECLCALLBACKMEMBER(int, pfnInterfaceSetting ) (PREMOTEUSBDEVICE pDevice, uint8_t u8Ifnum, uint8_t u8Setting);78 DECLCALLBACKMEMBER(int, pfnQueueURB ) (PREMOTEUSBDEVICE pDevice, uint8_t u8Type, uint8_t u8Ep, uint8_t u8Direction, uint32_t u32Len, void *pvData, void *pvURB, PREMOTEUSBQURB *ppRemoteURB);79 DECLCALLBACKMEMBER(int, pfnReapURB ) (PREMOTEUSBDEVICE pDevice, uint32_t u32Millies, void **ppvURB, uint32_t *pu32Len, uint32_t *pu32Err);80 DECLCALLBACKMEMBER(int, pfnClearHaltedEP ) (PREMOTEUSBDEVICE pDevice, uint8_t u8Ep);81 DECLCALLBACKMEMBER(void, pfnCancelURB ) (PREMOTEUSBDEVICE pDevice, PREMOTEUSBQURB pRemoteURB);82 DECLCALLBACKMEMBER(int, pfnWakeup ) (PREMOTEUSBDEVICE pDevice);71 DECLCALLBACKMEMBER(int, pfnOpen,(PREMOTEUSBBACKEND pInstance, const char *pszAddress, size_t cbAddress, PREMOTEUSBDEVICE *ppDevice)); 72 DECLCALLBACKMEMBER(void, pfnClose,(PREMOTEUSBDEVICE pDevice)); 73 DECLCALLBACKMEMBER(int, pfnReset,(PREMOTEUSBDEVICE pDevice)); 74 DECLCALLBACKMEMBER(int, pfnSetConfig,(PREMOTEUSBDEVICE pDevice, uint8_t u8Cfg)); 75 DECLCALLBACKMEMBER(int, pfnClaimInterface,(PREMOTEUSBDEVICE pDevice, uint8_t u8Ifnum)); 76 DECLCALLBACKMEMBER(int, pfnReleaseInterface,(PREMOTEUSBDEVICE pDevice, uint8_t u8Ifnum)); 77 DECLCALLBACKMEMBER(int, pfnInterfaceSetting,(PREMOTEUSBDEVICE pDevice, uint8_t u8Ifnum, uint8_t u8Setting)); 78 DECLCALLBACKMEMBER(int, pfnQueueURB,(PREMOTEUSBDEVICE pDevice, uint8_t u8Type, uint8_t u8Ep, uint8_t u8Direction, uint32_t u32Len, void *pvData, void *pvURB, PREMOTEUSBQURB *ppRemoteURB)); 79 DECLCALLBACKMEMBER(int, pfnReapURB,(PREMOTEUSBDEVICE pDevice, uint32_t u32Millies, void **ppvURB, uint32_t *pu32Len, uint32_t *pu32Err)); 80 DECLCALLBACKMEMBER(int, pfnClearHaltedEP,(PREMOTEUSBDEVICE pDevice, uint8_t u8Ep)); 81 DECLCALLBACKMEMBER(void, pfnCancelURB,(PREMOTEUSBDEVICE pDevice, PREMOTEUSBQURB pRemoteURB)); 82 DECLCALLBACKMEMBER(int, pfnWakeup,(PREMOTEUSBDEVICE pDevice)); 83 83 } REMOTEUSBCALLBACK; 84 84 -
trunk/include/VBox/vscsi.h
r82968 r85121 290 290 * The virtual SCSI request completed callback. 291 291 */ 292 typedef DECLCALLBACK (void) FNVSCSIREQCOMPLETED(VSCSIDEVICE hVScsiDevice,293 void *pvVScsiDeviceUser,294 void *pvVScsiReqUser,295 int rcScsiCode,296 bool fRedoPossible,297 int rcReq,298 size_t cbXfer,299 VSCSIXFERDIR enmXferDir,300 size_t cbSense);292 typedef DECLCALLBACKTYPE(void, FNVSCSIREQCOMPLETED,(VSCSIDEVICE hVScsiDevice, 293 void *pvVScsiDeviceUser, 294 void *pvVScsiReqUser, 295 int rcScsiCode, 296 bool fRedoPossible, 297 int rcReq, 298 size_t cbXfer, 299 VSCSIXFERDIR enmXferDir, 300 size_t cbSense)); 301 301 /** Pointer to a virtual SCSI request completed callback. */ 302 302 typedef FNVSCSIREQCOMPLETED *PFNVSCSIREQCOMPLETED; -
trunk/include/VBox/vusb.h
r82968 r85121 937 937 * @thread The reset thread or EMT. 938 938 */ 939 typedef DECLCALLBACK (void) FNVUSBRESETDONE(PVUSBIDEVICE pDevice, int rc, void *pvUser);939 typedef DECLCALLBACKTYPE(void, FNVUSBRESETDONE,(PVUSBIDEVICE pDevice, int rc, void *pvUser)); 940 940 /** Pointer to a device reset completion callback function (FNUSBRESETDONE). */ 941 941 typedef FNVUSBRESETDONE *PFNVUSBRESETDONE; -
trunk/include/iprt/asn1.h
r84310 r85121 69 69 * @param pv Pointer to the memory that shall be freed. Not NULL. 70 70 */ 71 DECLCALLBACKMEMBER(void, pfnFree )(struct RTASN1ALLOCATORVTABLE const *pThis, PRTASN1ALLOCATION pAllocation,72 void *pv) ;71 DECLCALLBACKMEMBER(void, pfnFree,(struct RTASN1ALLOCATORVTABLE const *pThis, PRTASN1ALLOCATION pAllocation, 72 void *pv)); 73 73 /** 74 74 * Allocates a chunk of memory, all initialized to zero. … … 82 82 * pInfo->cbAllocated on success. 83 83 */ 84 DECLCALLBACKMEMBER(int, pfnAlloc )(struct RTASN1ALLOCATORVTABLE const *pThis, PRTASN1ALLOCATION pAllocation,85 void **ppv, size_t cb) ;84 DECLCALLBACKMEMBER(int, pfnAlloc,(struct RTASN1ALLOCATORVTABLE const *pThis, PRTASN1ALLOCATION pAllocation, 85 void **ppv, size_t cb)); 86 86 /** 87 87 * Reallocates a memory allocation. … … 104 104 * pInfo->cbAllocated on success. 105 105 */ 106 DECLCALLBACKMEMBER(int, pfnRealloc )(struct RTASN1ALLOCATORVTABLE const *pThis, PRTASN1ALLOCATION pAllocation,107 void *pvOld, void **ppvNew, size_t cbNew) ;106 DECLCALLBACKMEMBER(int, pfnRealloc,(struct RTASN1ALLOCATORVTABLE const *pThis, PRTASN1ALLOCATION pAllocation, 107 void *pvOld, void **ppvNew, size_t cbNew)); 108 108 109 109 /** … … 115 115 * @param papvArray Pointer to the pointer array to be freed. Not NULL. 116 116 */ 117 DECLCALLBACKMEMBER(void, pfnFreeArray )(struct RTASN1ALLOCATORVTABLE const *pThis, PRTASN1ARRAYALLOCATION pAllocation,118 void **papvArray) ;117 DECLCALLBACKMEMBER(void, pfnFreeArray,(struct RTASN1ALLOCATORVTABLE const *pThis, PRTASN1ARRAYALLOCATION pAllocation, 118 void **papvArray)); 119 119 /** 120 120 * Grows the array to at least @a cMinEntries. … … 131 131 * on successful return. 132 132 */ 133 DECLCALLBACKMEMBER(int, pfnGrowArray )(struct RTASN1ALLOCATORVTABLE const *pThis, PRTASN1ARRAYALLOCATION pAllocation,134 void ***ppapvArray, uint32_t cMinEntries) ;133 DECLCALLBACKMEMBER(int, pfnGrowArray,(struct RTASN1ALLOCATORVTABLE const *pThis, PRTASN1ARRAYALLOCATION pAllocation, 134 void ***ppapvArray, uint32_t cMinEntries)); 135 135 /** 136 136 * Shrinks the array (depends on allocator policy). … … 147 147 * @param cCurrent The new entry count. 148 148 */ 149 DECLCALLBACKMEMBER(void, pfnShrinkArray )(struct RTASN1ALLOCATORVTABLE const *pThis, PRTASN1ARRAYALLOCATION pAllocation,150 void ***ppapvArray, uint32_t cNew, uint32_t cCurrent) ;149 DECLCALLBACKMEMBER(void, pfnShrinkArray,(struct RTASN1ALLOCATORVTABLE const *pThis, PRTASN1ARRAYALLOCATION pAllocation, 150 void ***ppapvArray, uint32_t cNew, uint32_t cCurrent)); 151 151 } RTASN1ALLOCATORVTABLE; 152 152 /** Pointer to an ASN.1 allocator vtable. */ … … 307 307 * @param pvUser Callback user parameter. 308 308 */ 309 typedef DECLCALLBACK(int) FNRTASN1ENUMCALLBACK(struct RTASN1CORE *pAsn1Core, const char *pszName, uint32_t uDepth, void *pvUser); 309 typedef DECLCALLBACKTYPE(int, FNRTASN1ENUMCALLBACK,(struct RTASN1CORE *pAsn1Core, const char *pszName, uint32_t uDepth, 310 void *pvUser)); 310 311 /** Pointer to an ASN.1 object enumeration callback. */ 311 312 typedef FNRTASN1ENUMCALLBACK *PFNRTASN1ENUMCALLBACK; … … 320 321 * @param pErrInfo Where to store extended error info. Optional. 321 322 */ 322 typedef DECLCALLBACK (int) FNRTASN1ENCODEWRITER(const void *pvBuf, size_t cbToWrite, void *pvUser, PRTERRINFO pErrInfo);323 typedef DECLCALLBACKTYPE(int, FNRTASN1ENCODEWRITER,(const void *pvBuf, size_t cbToWrite, void *pvUser, PRTERRINFO pErrInfo)); 323 324 /** Pointer to an ASN.1 encoding writer callback. */ 324 325 typedef FNRTASN1ENCODEWRITER *PFNRTASN1ENCODEWRITER; … … 337 338 * @param pThisCore Pointer to the ASN.1 core to destroy. 338 339 */ 339 typedef DECLCALLBACK (void) FNRTASN1COREVTDTOR(PRTASN1CORE pThisCore);340 typedef DECLCALLBACKTYPE(void, FNRTASN1COREVTDTOR,(PRTASN1CORE pThisCore)); 340 341 /** Pointer to a FNRTASN1COREVTDTOR method. */ 341 342 typedef FNRTASN1COREVTDTOR *PFNRTASN1COREVTDTOR; … … 350 351 * @param pvUser Callback user argument. 351 352 */ 352 typedef DECLCALLBACK (int) FNRTASN1COREVTENUM(PRTASN1CORE pThisCore, PFNRTASN1ENUMCALLBACK pfnCallback,353 uint32_t uDepth, void *pvUser);353 typedef DECLCALLBACKTYPE(int, FNRTASN1COREVTENUM,(PRTASN1CORE pThisCore, PFNRTASN1ENUMCALLBACK pfnCallback, 354 uint32_t uDepth, void *pvUser)); 354 355 /** Pointer to a FNRTASN1COREVTENUM method. */ 355 356 typedef FNRTASN1COREVTENUM *PFNRTASN1COREVTENUM; … … 364 365 * @param pAllocator The allocator to use. 365 366 */ 366 typedef DECLCALLBACK(int) FNRTASN1COREVTCLONE(PRTASN1CORE pThisCore, PCRTASN1CORE pSrcCore, PCRTASN1ALLOCATORVTABLE pAllocator); 367 typedef DECLCALLBACKTYPE(int, FNRTASN1COREVTCLONE,(PRTASN1CORE pThisCore, PCRTASN1CORE pSrcCore, 368 PCRTASN1ALLOCATORVTABLE pAllocator)); 367 369 /** Pointer to a FNRTASN1COREVTCLONE method. */ 368 370 typedef FNRTASN1COREVTCLONE *PFNRTASN1COREVTCLONE; … … 377 379 * @param pRightCore Pointer to the ASN.1 core of the right side object. 378 380 */ 379 typedef DECLCALLBACK (int) FNRTASN1COREVTCOMPARE(PCRTASN1CORE pLeftCore, PCRTASN1CORE pRightCore);381 typedef DECLCALLBACKTYPE(int, FNRTASN1COREVTCOMPARE,(PCRTASN1CORE pLeftCore, PCRTASN1CORE pRightCore)); 380 382 /** Pointer to a FNRTASN1COREVTCOMPARE method. */ 381 383 typedef FNRTASN1COREVTCOMPARE *PFNRTASN1COREVTCOMPARE; … … 390 392 * @param pszErrorTag Tag for the additional error details. 391 393 */ 392 typedef DECLCALLBACK (int) FNRTASN1COREVTCHECKSANITY(PCRTASN1CORE pThisCore, uint32_t fFlags,393 PRTERRINFO pErrInfo, const char *pszErrorTag);394 typedef DECLCALLBACKTYPE(int, FNRTASN1COREVTCHECKSANITY,(PCRTASN1CORE pThisCore, uint32_t fFlags, 395 PRTERRINFO pErrInfo, const char *pszErrorTag)); 394 396 /** Pointer to a FNRTASN1COREVTCHECKSANITY method. */ 395 397 typedef FNRTASN1COREVTCHECKSANITY *PFNRTASN1COREVTCHECKSANITY; … … 407 409 * @param pErrInfo Where to return extra error information. Optional. 408 410 */ 409 typedef DECLCALLBACK (int) FNRTASN1COREVTENCODEPREP(PRTASN1CORE pThisCore, uint32_t fFlags, PRTERRINFO pErrInfo);411 typedef DECLCALLBACKTYPE(int, FNRTASN1COREVTENCODEPREP,(PRTASN1CORE pThisCore, uint32_t fFlags, PRTERRINFO pErrInfo)); 410 412 /** Pointer to a FNRTASN1COREVTENCODEWRITE method. */ 411 413 typedef FNRTASN1COREVTENCODEPREP *PFNRTASN1COREVTENCODEPREP; … … 424 426 * @param pErrInfo Where to return extra error information. Optional. 425 427 */ 426 typedef DECLCALLBACK (int) FNRTASN1COREVTENCODEWRITE(PRTASN1CORE pThisCore, uint32_t fFlags, PFNRTASN1ENCODEWRITER pfnWriter,427 void *pvUser, PRTERRINFO pErrInfo);428 typedef DECLCALLBACKTYPE(int, FNRTASN1COREVTENCODEWRITE,(PRTASN1CORE pThisCore, uint32_t fFlags, PFNRTASN1ENCODEWRITER pfnWriter, 429 void *pvUser, PRTERRINFO pErrInfo)); 428 430 /** Pointer to a FNRTASN1COREVTENCODEWRITE method. */ 429 431 typedef FNRTASN1COREVTENCODEWRITE *PFNRTASN1COREVTENCODEWRITE; -
trunk/include/iprt/avl.h
r82968 r85121 68 68 /** Callback function for AVLPVDoWithAll(). 69 69 * @returns IPRT status codes. */ 70 typedef DECLCALLBACK (int) AVLPVCALLBACK(PAVLPVNODECORE, void *);70 typedef DECLCALLBACKTYPE(int, AVLPVCALLBACK,(PAVLPVNODECORE, void *)); 71 71 /** Pointer to callback function for AVLPVDoWithAll(). */ 72 72 typedef AVLPVCALLBACK *PAVLPVCALLBACK; … … 109 109 /** Callback function for AVLULDoWithAll(). 110 110 * @returns IPRT status codes. */ 111 typedef DECLCALLBACK (int) AVLULCALLBACK(PAVLULNODECORE, void*);111 typedef DECLCALLBACKTYPE(int, AVLULCALLBACK,(PAVLULNODECORE, void*)); 112 112 /** Pointer to callback function for AVLULDoWithAll(). */ 113 113 typedef AVLULCALLBACK *PAVLULCALLBACK; … … 157 157 /** Callback function for AVLPVDoWithAll(). 158 158 * @returns IPRT status codes. */ 159 typedef DECLCALLBACK (int) AVLRPVCALLBACK(PAVLRPVNODECORE, void *);159 typedef DECLCALLBACKTYPE(int, AVLRPVCALLBACK,(PAVLRPVNODECORE, void *)); 160 160 /** Pointer to callback function for AVLPVDoWithAll(). */ 161 161 typedef AVLRPVCALLBACK *PAVLRPVCALLBACK; … … 201 201 /** Callback function for AVLU32DoWithAll() & AVLU32Destroy(). 202 202 * @returns IPRT status codes. */ 203 typedef DECLCALLBACK (int) AVLU32CALLBACK(PAVLU32NODECORE, void*);203 typedef DECLCALLBACKTYPE(int, AVLU32CALLBACK,(PAVLU32NODECORE, void*)); 204 204 /** Pointer to callback function for AVLU32DoWithAll() & AVLU32Destroy(). */ 205 205 typedef AVLU32CALLBACK *PAVLU32CALLBACK; … … 256 256 /** Callback function for RTAvloU32DoWithAll(). 257 257 * @returns IPRT status codes. */ 258 typedef DECLCALLBACK (int) AVLOU32CALLBACK(PAVLOU32NODECORE pNode, void *pvUser);258 typedef DECLCALLBACKTYPE(int, AVLOU32CALLBACK,(PAVLOU32NODECORE pNode, void *pvUser)); 259 259 /** Pointer to callback function for RTAvloU32DoWithAll(). */ 260 260 typedef AVLOU32CALLBACK *PAVLOU32CALLBACK; … … 290 290 /** Callback function for RTAvllU32DoWithAll() & RTAvllU32Destroy(). 291 291 * @returns IPRT status codes. */ 292 typedef DECLCALLBACK (int) AVLLU32CALLBACK(PAVLLU32NODECORE, void*);292 typedef DECLCALLBACKTYPE(int, AVLLU32CALLBACK,(PAVLLU32NODECORE, void*)); 293 293 /** Pointer to callback function for RTAvllU32DoWithAll() & RTAvllU32Destroy(). */ 294 294 typedef AVLLU32CALLBACK *PAVLLU32CALLBACK; … … 333 333 /** Callback function for AVLU64DoWithAll() & AVLU64Destroy(). 334 334 * @returns IPRT status codes. */ 335 typedef DECLCALLBACK (int) AVLU64CALLBACK(PAVLU64NODECORE, void*);335 typedef DECLCALLBACKTYPE(int, AVLU64CALLBACK,(PAVLU64NODECORE, void*)); 336 336 /** Pointer to callback function for AVLU64DoWithAll() & AVLU64Destroy(). */ 337 337 typedef AVLU64CALLBACK *PAVLU64CALLBACK; … … 380 380 /** Callback function for AVLRU64DoWithAll(). 381 381 * @returns IPRT status codes. */ 382 typedef DECLCALLBACK (int) AVLRU64CALLBACK(PAVLRU64NODECORE, void *);382 typedef DECLCALLBACKTYPE(int, AVLRU64CALLBACK,(PAVLRU64NODECORE, void *)); 383 383 /** Pointer to callback function for AVLU64DoWithAll(). */ 384 384 typedef AVLRU64CALLBACK *PAVLRU64CALLBACK; … … 438 438 /** Callback function for RTAvloGCPhysDoWithAll() and RTAvloGCPhysDestroy(). 439 439 * @returns IPRT status codes. */ 440 typedef DECLCALLBACK (int) AVLOGCPHYSCALLBACK(PAVLOGCPHYSNODECORE pNode, void *pvUser);440 typedef DECLCALLBACKTYPE(int, AVLOGCPHYSCALLBACK,(PAVLOGCPHYSNODECORE pNode, void *pvUser)); 441 441 /** Pointer to callback function for RTAvloGCPhysDoWithAll() and RTAvloGCPhysDestroy(). */ 442 442 typedef AVLOGCPHYSCALLBACK *PAVLOGCPHYSCALLBACK; … … 492 492 /** Callback function for RTAvlroGCPhysDoWithAll() and RTAvlroGCPhysDestroy(). 493 493 * @returns IPRT status codes. */ 494 typedef DECLCALLBACK (int) AVLROGCPHYSCALLBACK(PAVLROGCPHYSNODECORE pNode, void *pvUser);494 typedef DECLCALLBACKTYPE(int, AVLROGCPHYSCALLBACK,(PAVLROGCPHYSNODECORE pNode, void *pvUser)); 495 495 /** Pointer to callback function for RTAvlroGCPhysDoWithAll() and RTAvlroGCPhysDestroy(). */ 496 496 typedef AVLROGCPHYSCALLBACK *PAVLROGCPHYSCALLBACK; … … 537 537 /** Callback function for RTAvlGCPtrDoWithAll(). 538 538 * @returns IPRT status codes. */ 539 typedef DECLCALLBACK (int) AVLGCPTRCALLBACK(PAVLGCPTRNODECORE pNode, void *pvUser);539 typedef DECLCALLBACKTYPE(int, AVLGCPTRCALLBACK,(PAVLGCPTRNODECORE pNode, void *pvUser)); 540 540 /** Pointer to callback function for RTAvlGCPtrDoWithAll(). */ 541 541 typedef AVLGCPTRCALLBACK *PAVLGCPTRCALLBACK; … … 588 588 /** Callback function for RTAvloGCPtrDoWithAll(). 589 589 * @returns IPRT status codes. */ 590 typedef DECLCALLBACK (int) AVLOGCPTRCALLBACK(PAVLOGCPTRNODECORE pNode, void *pvUser);590 typedef DECLCALLBACKTYPE(int, AVLOGCPTRCALLBACK,(PAVLOGCPTRNODECORE pNode, void *pvUser)); 591 591 /** Pointer to callback function for RTAvloGCPtrDoWithAll(). */ 592 592 typedef AVLOGCPTRCALLBACK *PAVLOGCPTRCALLBACK; … … 635 635 /** Callback function for RTAvlrGCPtrDoWithAll() and RTAvlrGCPtrDestroy(). 636 636 * @returns IPRT status codes. */ 637 typedef DECLCALLBACK (int) AVLRGCPTRCALLBACK(PAVLRGCPTRNODECORE pNode, void *pvUser);637 typedef DECLCALLBACKTYPE(int, AVLRGCPTRCALLBACK,(PAVLRGCPTRNODECORE pNode, void *pvUser)); 638 638 /** Pointer to callback function for RTAvlrGCPtrDoWithAll() and RTAvlrGCPtrDestroy(). */ 639 639 typedef AVLRGCPTRCALLBACK *PAVLRGCPTRCALLBACK; … … 692 692 /** Callback function for RTAvlroGCPtrDoWithAll() and RTAvlroGCPtrDestroy(). 693 693 * @returns IPRT status codes. */ 694 typedef DECLCALLBACK (int) AVLROGCPTRCALLBACK(PAVLROGCPTRNODECORE pNode, void *pvUser);694 typedef DECLCALLBACKTYPE(int, AVLROGCPTRCALLBACK,(PAVLROGCPTRNODECORE pNode, void *pvUser)); 695 695 /** Pointer to callback function for RTAvlroGCPtrDoWithAll() and RTAvlroGCPtrDestroy(). */ 696 696 typedef AVLROGCPTRCALLBACK *PAVLROGCPTRCALLBACK; … … 751 751 /** Callback function for RTAvlrooGCPtrDoWithAll() and RTAvlrooGCPtrDestroy(). 752 752 * @returns IPRT status codes. */ 753 typedef DECLCALLBACK (int) AVLROOGCPTRCALLBACK(PAVLROOGCPTRNODECORE pNode, void *pvUser);753 typedef DECLCALLBACKTYPE(int, AVLROOGCPTRCALLBACK,(PAVLROOGCPTRNODECORE pNode, void *pvUser)); 754 754 /** Pointer to callback function for RTAvlrooGCPtrDoWithAll() and RTAvlrooGCPtrDestroy(). */ 755 755 typedef AVLROOGCPTRCALLBACK *PAVLROOGCPTRCALLBACK; … … 803 803 /** Callback function for RTAvlUIntPtrDoWithAll() and RTAvlUIntPtrDestroy(). 804 804 * @returns IPRT status codes. */ 805 typedef DECLCALLBACK (int) AVLUINTPTRCALLBACK(PAVLUINTPTRNODECORE pNode, void *pvUser);805 typedef DECLCALLBACKTYPE(int, AVLUINTPTRCALLBACK,(PAVLUINTPTRNODECORE pNode, void *pvUser)); 806 806 /** Pointer to callback function for RTAvlUIntPtrDoWithAll() and RTAvlUIntPtrDestroy(). */ 807 807 typedef AVLUINTPTRCALLBACK *PAVLUINTPTRCALLBACK; … … 854 854 /** Callback function for RTAvlrUIntPtrDoWithAll() and RTAvlrUIntPtrDestroy(). 855 855 * @returns IPRT status codes. */ 856 typedef DECLCALLBACK (int) AVLRUINTPTRCALLBACK(PAVLRUINTPTRNODECORE pNode, void *pvUser);856 typedef DECLCALLBACKTYPE(int, AVLRUINTPTRCALLBACK,(PAVLRUINTPTRNODECORE pNode, void *pvUser)); 857 857 /** Pointer to callback function for RTAvlrUIntPtrDoWithAll() and RTAvlrUIntPtrDestroy(). */ 858 858 typedef AVLRUINTPTRCALLBACK *PAVLRUINTPTRCALLBACK; … … 911 911 /** Callback function for RTAvloHCPhysDoWithAll() and RTAvloHCPhysDestroy(). 912 912 * @returns IPRT status codes. */ 913 typedef DECLCALLBACK (int) AVLOHCPHYSCALLBACK(PAVLOHCPHYSNODECORE pNode, void *pvUser);913 typedef DECLCALLBACKTYPE(int, AVLOHCPHYSCALLBACK,(PAVLOHCPHYSNODECORE pNode, void *pvUser)); 914 914 /** Pointer to callback function for RTAvloHCPhysDoWithAll() and RTAvloHCPhysDestroy(). */ 915 915 typedef AVLOHCPHYSCALLBACK *PAVLOHCPHYSCALLBACK; … … 962 962 /** Callback function for RTAvloIOPortDoWithAll() and RTAvloIOPortDestroy(). 963 963 * @returns IPRT status codes. */ 964 typedef DECLCALLBACK (int) AVLOIOPORTCALLBACK(PAVLOIOPORTNODECORE pNode, void *pvUser);964 typedef DECLCALLBACKTYPE(int, AVLOIOPORTCALLBACK,(PAVLOIOPORTNODECORE pNode, void *pvUser)); 965 965 /** Pointer to callback function for RTAvloIOPortDoWithAll() and RTAvloIOPortDestroy(). */ 966 966 typedef AVLOIOPORTCALLBACK *PAVLOIOPORTCALLBACK; … … 1014 1014 /** Callback function for RTAvlroIOPortDoWithAll() and RTAvlroIOPortDestroy(). 1015 1015 * @returns IPRT status codes. */ 1016 typedef DECLCALLBACK (int) AVLROIOPORTCALLBACK(PAVLROIOPORTNODECORE pNode, void *pvUser);1016 typedef DECLCALLBACKTYPE(int, AVLROIOPORTCALLBACK,(PAVLROIOPORTNODECORE pNode, void *pvUser)); 1017 1017 /** Pointer to callback function for RTAvlroIOPortDoWithAll() and RTAvlroIOPortDestroy(). */ 1018 1018 typedef AVLROIOPORTCALLBACK *PAVLROIOPORTCALLBACK; … … 1064 1064 /** Callback function for RTAvlHCPhysDoWithAll() and RTAvlHCPhysDestroy(). 1065 1065 * @returns IPRT status codes. */ 1066 typedef DECLCALLBACK (int) AVLHCPHYSCALLBACK(PAVLHCPHYSNODECORE pNode, void *pvUser);1066 typedef DECLCALLBACKTYPE(int, AVLHCPHYSCALLBACK,(PAVLHCPHYSNODECORE pNode, void *pvUser)); 1067 1067 /** Pointer to callback function for RTAvlHCPhysDoWithAll() and RTAvlHCPhysDestroy(). */ 1068 1068 typedef AVLHCPHYSCALLBACK *PAVLHCPHYSCALLBACK; … … 1113 1113 /** Callback function for RTAvlGCPhysDoWithAll() and RTAvlGCPhysDestroy(). 1114 1114 * @returns IPRT status codes. */ 1115 typedef DECLCALLBACK (int) AVLGCPHYSCALLBACK(PAVLGCPHYSNODECORE pNode, void *pvUser);1115 typedef DECLCALLBACKTYPE(int, AVLGCPHYSCALLBACK,(PAVLGCPHYSNODECORE pNode, void *pvUser)); 1116 1116 /** Pointer to callback function for RTAvlGCPhysDoWithAll() and RTAvlGCPhysDestroy(). */ 1117 1117 typedef AVLGCPHYSCALLBACK *PAVLGCPHYSCALLBACK; … … 1160 1160 /** Callback function for RTAvlrGCPtrDoWithAll() and RTAvlrGCPtrDestroy(). 1161 1161 * @returns IPRT status codes. */ 1162 typedef DECLCALLBACK (int) AVLRFOFFCALLBACK(PAVLRFOFFNODECORE pNode, void *pvUser);1162 typedef DECLCALLBACKTYPE(int, AVLRFOFFCALLBACK,(PAVLRFOFFNODECORE pNode, void *pvUser)); 1163 1163 /** Pointer to callback function for RTAvlrGCPtrDoWithAll() and RTAvlrGCPtrDestroy(). */ 1164 1164 typedef AVLRFOFFCALLBACK *PAVLRFOFFCALLBACK; -
trunk/include/iprt/cdefs.h
r85096 r85121 1312 1312 #endif 1313 1313 1314 /** @def RT_CB_LOG_CAST 1315 * Helper for logging function pointers to function may throw stuff. 1316 * 1317 * Not needed for function pointer types declared using our DECLCALLBACK 1318 * macros, only external types. */ 1319 #if defined(_MSC_VER) && defined(RT_EXCEPTIONS_ENABLED) 1320 # define RT_CB_LOG_CAST(a_pfnCallback) ((uintptr_t)(a_pfnCallback) + 1 - 1) 1321 #else 1322 # define RT_CB_LOG_CAST(a_pfnCallback) (a_pfnCallback) 1323 #endif 1324 1314 1325 1315 1326 … … 1488 1499 1489 1500 /** @def DECLCALLBACK 1501 * How to declare an call back function. 1502 * @param type The return type of the function declaration. 1503 * @note Use DECLCALLBACKTYPE for typedefs. 1504 */ 1505 #define DECLCALLBACK(type) DECL_NOTHROW(type RT_FAR_CODE RTCALL) 1506 1507 /** @def DECLCALLBACKTYPE_EX 1490 1508 * How to declare an call back function type. 1491 1509 * @param type The return type of the function declaration. 1492 */ 1493 #ifdef _MSC_VER 1494 # define DECLCALLBACK(type) type RT_FAR_CODE RTCALL 1495 #else 1496 # define DECLCALLBACK(type) DECL_NOTHROW_TYPEDEF(type RT_FAR_CODE RTCALL) 1497 #endif 1498 1510 * @param cconv Calling convention. 1511 * @param name The name of the typedef 1512 * @param args The argument list enclosed in parentheses. 1513 * @note DECL_NOTHROW is implied, but not supported by all compilers yet. 1514 */ 1515 #if RT_CLANG_PREREQ(6,0) 1516 # define DECLCALLBACKTYPE_EX(type, cconv, name, args) __attribute__((__nothrow__)) type cconv name args 1517 #elif defined(_MSC_VER) && defined(__cplusplus) && defined(_MSC_EXTENSIONS) 1518 # define DECLCALLBACKTYPE_EX(type, cconv, name, args) type cconv name args throw() 1519 #else 1520 # define DECLCALLBACKTYPE_EX(type, cconv, name, args) type cconv name args 1521 #endif 1522 /** @def DECLCALLBACKTYPE 1523 * How to declare an call back function type. 1524 * @param type The return type of the function declaration. 1525 * @param name The name of the typedef 1526 * @param args The argument list enclosed in parentheses. 1527 * @note DECL_NOTHROW is implied, but not supported by all compilers yet. 1528 */ 1529 #define DECLCALLBACKTYPE(type, name, args) DECLCALLBACKTYPE_EX(type, RT_FAR_CODE RTCALL, name, args) 1530 1531 /** @def DECLCALLBACKPTR_EX 1532 * How to declare an call back function pointer. 1533 * @param type The return type of the function declaration. 1534 * @param cconv Calling convention. 1535 * @param name The name of the variable member. 1536 * @param args The argument list enclosed in parentheses. 1537 * @note DECL_NOTHROW is implied, but not supported by all compilers yet. 1538 */ 1539 #if defined(__IBMC__) || defined(__IBMCPP__) 1540 # define DECLCALLBACKPTR_EX(type, cconv, name, args) type (* cconv name) args 1541 #elif RT_CLANG_PREREQ(6,0) 1542 # define DECLCALLBACKPTR_EX(type, cconv, name, args) __attribute__((__nothrow__)) type (cconv * name) args 1543 #elif defined(_MSC_VER) && defined(__cplusplus) && defined(_MSC_EXTENSIONS) 1544 # define DECLCALLBACKPTR_EX(type, cconv, name, args) type (cconv * name) args throw() 1545 #else 1546 # define DECLCALLBACKPTR_EX(type, cconv, name, args) type (cconv * name) args 1547 #endif 1499 1548 /** @def DECLCALLBACKPTR 1500 1549 * How to declare an call back function pointer. 1501 1550 * @param type The return type of the function declaration. 1502 1551 * @param name The name of the variable member. 1552 * @param args The argument list enclosed in parentheses. 1503 1553 * @note DECL_NOTHROW is implied, but not supported by all compilers yet. 1504 1554 */ 1555 #define DECLCALLBACKPTR(type, name, args) DECLCALLBACKPTR_EX(type, RT_FAR_CODE RTCALL, name, args) 1556 1557 /** @def DECLCALLBACKMEMBER_EX 1558 * How to declare an call back function pointer member. 1559 * @param type The return type of the function declaration. 1560 * @param cconv Calling convention. 1561 * @param name The name of the struct/union/class member. 1562 * @param args The argument list enclosed in parentheses. 1563 * @note DECL_NOTHROW is implied, but not supported by all compilers yet. 1564 */ 1505 1565 #if defined(__IBMC__) || defined(__IBMCPP__) 1506 # define DECLCALLBACKPTR(type, name) type (* RTCALL name) 1507 #else 1508 # define DECLCALLBACKPTR(type, name) DECL_NOTHROW_PFN(type, RT_FAR_CODE RTCALL, name) 1509 #endif 1510 1566 # define DECLCALLBACKMEMBER_EX(type, cconv, name, args) type (* cconv name) args 1567 #elif RT_CLANG_PREREQ(6,0) 1568 # define DECLCALLBACKMEMBER_EX(type, cconv, name, args) __attribute__((__nothrow__)) type (cconv *name) args 1569 #elif defined(_MSC_VER) && defined(__cplusplus) && defined(_MSC_EXTENSIONS) 1570 # define DECLCALLBACKMEMBER_EX(type, cconv, name, args) type (cconv *name) args throw() 1571 #else 1572 # define DECLCALLBACKMEMBER_EX(type, cconv, name, args) type (cconv *name) args 1573 #endif 1511 1574 /** @def DECLCALLBACKMEMBER 1512 1575 * How to declare an call back function pointer member. 1513 1576 * @param type The return type of the function declaration. 1514 1577 * @param name The name of the struct/union/class member. 1578 * @param args The argument list enclosed in parentheses. 1515 1579 * @note DECL_NOTHROW is implied, but not supported by all compilers yet. 1516 */ 1517 #if defined(__IBMC__) || defined(__IBMCPP__) 1518 # define DECLCALLBACKMEMBER(type, name) type (* RTCALL name) 1519 #else 1520 # define DECLCALLBACKMEMBER(type, name) DECL_NOTHROW_PFN(type, RT_FAR_CODE RTCALL, name) 1521 #endif 1580 * @note Will be renamed to DECLCALLBACKMEMBER. 1581 */ 1582 #define DECLCALLBACKMEMBER(type, name, args) DECLCALLBACKMEMBER_EX(type, RT_FAR_CODE RTCALL, name, args) 1522 1583 1523 1584 /** @def DECLR3CALLBACKMEMBER … … 1529 1590 */ 1530 1591 #if defined(IN_RING3) || defined(DOXYGEN_RUNNING) 1531 # define DECLR3CALLBACKMEMBER(type, name, args) DECLCALLBACKMEMBER(type, name) args1532 #else 1533 # define DECLR3CALLBACKMEMBER(type, name, args) 1592 # define DECLR3CALLBACKMEMBER(type, name, args) DECLCALLBACKMEMBER(type, name, args) 1593 #else 1594 # define DECLR3CALLBACKMEMBER(type, name, args) RTR3PTR name 1534 1595 #endif 1535 1596 … … 1542 1603 */ 1543 1604 #if defined(IN_RC) || defined(DOXYGEN_RUNNING) 1544 # define DECLRCCALLBACKMEMBER(type, name, args) DECLCALLBACKMEMBER(type, name) args1545 #else 1546 # define DECLRCCALLBACKMEMBER(type, name, args) 1605 # define DECLRCCALLBACKMEMBER(type, name, args) DECLCALLBACKMEMBER(type, name, args) 1606 #else 1607 # define DECLRCCALLBACKMEMBER(type, name, args) RTRCPTR name 1547 1608 #endif 1548 1609 #if defined(IN_RC) || defined(DOXYGEN_RUNNING) 1549 # define DECLRGCALLBACKMEMBER(type, name, args) DECLCALLBACKMEMBER(type, name) args1550 #else 1551 # define DECLRGCALLBACKMEMBER(type, name, args) 1610 # define DECLRGCALLBACKMEMBER(type, name, args) DECLCALLBACKMEMBER(type, name, args) 1611 #else 1612 # define DECLRGCALLBACKMEMBER(type, name, args) RTRGPTR name 1552 1613 #endif 1553 1614 … … 1560 1621 */ 1561 1622 #if defined(IN_RING0) || defined(DOXYGEN_RUNNING) 1562 # define DECLR0CALLBACKMEMBER(type, name, args) DECLCALLBACKMEMBER(type, name) args1563 #else 1564 # define DECLR0CALLBACKMEMBER(type, name, args) 1623 # define DECLR0CALLBACKMEMBER(type, name, args) DECLCALLBACKMEMBER(type, name, args) 1624 #else 1625 # define DECLR0CALLBACKMEMBER(type, name, args) RTR0PTR name 1565 1626 #endif 1566 1627 -
trunk/include/iprt/cpp/restbase.h
r82968 r85121 213 213 * May return an object on failure. 214 214 */ 215 typedef DECLCALLBACK (int) FNDESERIALIZEINSTANCEFROMJSON(RTCRestJsonCursor const &a_rCursor, RTCRestObjectBase **a_ppInstance);215 typedef DECLCALLBACKTYPE(int, FNDESERIALIZEINSTANCEFROMJSON,(RTCRestJsonCursor const &a_rCursor, RTCRestObjectBase **a_ppInstance)); 216 216 /** Pointer to a FNDESERIALIZEINSTANCEFROMJSON function. */ 217 217 typedef FNDESERIALIZEINSTANCEFROMJSON *PFNDESERIALIZEINSTANCEFROMJSON; -
trunk/include/iprt/cpp/restclient.h
r82968 r85121 120 120 * is the sum of the previously returned @a *pcbActual values. 121 121 */ 122 typedef DECLCALLBACK (int) FNPRODUCER(RTCRestBinaryParameter *a_pThis, void *a_pvDst, size_t a_cbDst,123 uint64_t a_offContent, size_t *a_pcbActual) /*RT_NOEXCEPT*/;122 typedef DECLCALLBACKTYPE(int, FNPRODUCER,(RTCRestBinaryParameter *a_pThis, void *a_pvDst, size_t a_cbDst, 123 uint64_t a_offContent, size_t *a_pcbActual)) /*RT_NOEXCEPT*/; 124 124 /** Pointer to a byte producer callback. */ 125 125 typedef FNPRODUCER *PFNPRODUCER; … … 258 258 * is the sum of the previous @a a_cbSrc values. 259 259 */ 260 typedef DECLCALLBACK (int) FNCONSUMER(RTCRestBinaryResponse *a_pThis, const void *a_pvSrc, size_t a_cbSrc,261 uint32_t a_uHttpStatus, uint64_t a_offContent, uint64_t a_cbContent) /*RT_NOEXCEPT*/;260 typedef DECLCALLBACKTYPE(int, FNCONSUMER,(RTCRestBinaryResponse *a_pThis, const void *a_pvSrc, size_t a_cbSrc, 261 uint32_t a_uHttpStatus, uint64_t a_offContent, uint64_t a_cbContent)) /*RT_NOEXCEPT*/; 262 262 /** Pointer to a byte consumer callback. */ 263 263 typedef FNCONSUMER *PFNCONSUMER; -
trunk/include/iprt/cpp/xml.h
r84001 r85121 363 363 */ 364 364 365 typedef xmlParserInput* FNEXTERNALENTITYLOADER(const char *aURI, 366 const char *aID, 367 xmlParserCtxt *aCtxt); 365 typedef DECLCALLBACKTYPE_EX(xmlParserInput *, RT_NOTHING, FNEXTERNALENTITYLOADER,(const char *aURI, const char *aID, 366 xmlParserCtxt *aCtxt)); 368 367 typedef FNEXTERNALENTITYLOADER *PFNEXTERNALENTITYLOADER; 369 368 … … 1139 1138 struct Data *m; 1140 1139 1141 static int ReadCallback(void *aCtxt, char *aBuf, int aLen) ;1142 static int CloseCallback (void *aCtxt);1140 static int ReadCallback(void *aCtxt, char *aBuf, int aLen) RT_NOTHROW_PROTO; 1141 static int CloseCallback(void *aCtxt) RT_NOTHROW_PROTO; 1143 1142 }; 1144 1143 … … 1170 1169 1171 1170 private: 1172 static int WriteCallbackForSize(void *pvUser, const char *pachBuf, int cbToWrite) ;1173 static int WriteCallbackForReal(void *pvUser, const char *pachBuf, int cbToWrite) ;1174 static int CloseCallback(void *pvUser) ;1171 static int WriteCallbackForSize(void *pvUser, const char *pachBuf, int cbToWrite) RT_NOTHROW_PROTO; 1172 static int WriteCallbackForReal(void *pvUser, const char *pachBuf, int cbToWrite) RT_NOTHROW_PROTO; 1173 static int CloseCallback(void *pvUser) RT_NOTHROW_PROTO; 1175 1174 1176 1175 /** Pointer to the destination string while we're in the write() call. */ … … 1207 1206 void write(const char *pcszFilename, bool fSafe); 1208 1207 1209 static int WriteCallback(void *aCtxt, const char *aBuf, int aLen) ;1210 static int CloseCallback(void *aCtxt) ;1208 static int WriteCallback(void *aCtxt, const char *aBuf, int aLen) RT_NOTHROW_PROTO; 1209 static int CloseCallback(void *aCtxt) RT_NOTHROW_PROTO; 1211 1210 1212 1211 /** The suffix used by XmlFileWriter::write() for the temporary file. */ -
trunk/include/iprt/crypto/applecodesign.h
r84509 r85121 252 252 * @param pvUser User argument. 253 253 */ 254 typedef DECLCALLBACK (int) FNRTCRAPPLECSDIGESTAREA(RTCRDIGEST hDigest, size_t off, size_t cb, void *pvUser);254 typedef DECLCALLBACKTYPE(int, FNRTCRAPPLECSDIGESTAREA,(RTCRDIGEST hDigest, size_t off, size_t cb, void *pvUser)); 255 255 /** Pointer to a image digest callback. */ 256 256 typedef FNRTCRAPPLECSDIGESTAREA *PFNRTCRAPPLECSDIGESTAREA; -
trunk/include/iprt/crypto/digest.h
r82968 r85121 66 66 * Allocates the digest data. 67 67 */ 68 DECLCALLBACKMEMBER(void *, pfnNew )(void);68 DECLCALLBACKMEMBER(void *, pfnNew,(void)); 69 69 70 70 /** … … 73 73 * @param pvState The opaque message digest state. 74 74 */ 75 DECLCALLBACKMEMBER(void, pfnFree )(void *pvState);75 DECLCALLBACKMEMBER(void, pfnFree,(void *pvState)); 76 76 77 77 /** … … 82 82 * @param cbData The amount of data to add to the digest. 83 83 */ 84 DECLCALLBACKMEMBER(void, pfnUpdate )(void *pvState, const void *pvData, size_t cbData);84 DECLCALLBACKMEMBER(void, pfnUpdate,(void *pvState, const void *pvData, size_t cbData)); 85 85 86 86 /** … … 91 91 * least RTCRDIGESTDESC::cbHash bytes large. 92 92 */ 93 DECLCALLBACKMEMBER(void, pfnFinal )(void *pvState, uint8_t *pbHash);93 DECLCALLBACKMEMBER(void, pfnFinal,(void *pvState, uint8_t *pbHash)); 94 94 95 95 /** … … 103 103 * @param fReInit Set if this is a re-init call. 104 104 */ 105 DECLCALLBACKMEMBER(int, pfnInit )(void *pvState, void *pvOpaque, bool fReInit);105 DECLCALLBACKMEMBER(int, pfnInit,(void *pvState, void *pvOpaque, bool fReInit)); 106 106 107 107 /** … … 112 112 * @param pvState The opaque message digest state. 113 113 */ 114 DECLCALLBACKMEMBER(void, pfnDelete )(void *pvState);114 DECLCALLBACKMEMBER(void, pfnDelete,(void *pvState)); 115 115 116 116 /** … … 123 123 * @param pvSrcState The opaque message digest state to clone (source). 124 124 */ 125 DECLCALLBACKMEMBER(int, pfnClone )(void *pvState, void const *pvSrcState);125 DECLCALLBACKMEMBER(int, pfnClone,(void *pvState, void const *pvSrcState)); 126 126 127 127 /** … … 135 135 * @param pvState The opaque message digest state. 136 136 */ 137 DECLCALLBACKMEMBER(uint32_t, pfnGetHashSize )(void *pvState);137 DECLCALLBACKMEMBER(uint32_t, pfnGetHashSize,(void *pvState)); 138 138 139 139 /** … … 143 143 * @param pvState The opaque message digest state. 144 144 */ 145 DECLCALLBACKMEMBER(RTDIGESTTYPE, pfnGetDigestType )(void *pvState);145 DECLCALLBACKMEMBER(RTDIGESTTYPE, pfnGetDigestType,(void *pvState)); 146 146 } RTCRDIGESTDESC; 147 147 /** Pointer to const message digest details and vtable. */ -
trunk/include/iprt/crypto/pkcs7.h
r84380 r85121 485 485 * @param pErrInfo Optional error info buffer. 486 486 */ 487 typedef DECLCALLBACK (int) FNRTCRPKCS7VERIFYCERTCALLBACK(PCRTCRX509CERTIFICATE pCert, RTCRX509CERTPATHS hCertPaths,488 uint32_t fFlags, void *pvUser, PRTERRINFO pErrInfo);487 typedef DECLCALLBACKTYPE(int, FNRTCRPKCS7VERIFYCERTCALLBACK,(PCRTCRX509CERTIFICATE pCert, RTCRX509CERTPATHS hCertPaths, 488 uint32_t fFlags, void *pvUser, PRTERRINFO pErrInfo)); 489 489 /** Pointer to a FNRTCRPKCS7VERIFYCERTCALLBACK callback. */ 490 490 typedef FNRTCRPKCS7VERIFYCERTCALLBACK *PFNRTCRPKCS7VERIFYCERTCALLBACK; -
trunk/include/iprt/crypto/pkix.h
r84251 r85121 200 200 * none. 201 201 */ 202 DECLCALLBACKMEMBER(int, pfnInit )(struct RTCRPKIXSIGNATUREDESC const *pDesc, void *pvState, void *pvOpaque, bool fSigning,203 RTCRKEY hKey, PCRTASN1DYNTYPE pParams) ;202 DECLCALLBACKMEMBER(int, pfnInit,(struct RTCRPKIXSIGNATUREDESC const *pDesc, void *pvState, void *pvOpaque, bool fSigning, 203 RTCRKEY hKey, PCRTASN1DYNTYPE pParams)); 204 204 205 205 /** … … 214 214 * @param fSigning Exactly the same value as the init call. 215 215 */ 216 DECLCALLBACKMEMBER(int, pfnReset )(struct RTCRPKIXSIGNATUREDESC const *pDesc, void *pvState, bool fSigning);216 DECLCALLBACKMEMBER(int, pfnReset,(struct RTCRPKIXSIGNATUREDESC const *pDesc, void *pvState, bool fSigning)); 217 217 218 218 /** … … 226 226 * @param fSigning Exactly the same value as the init call. 227 227 */ 228 DECLCALLBACKMEMBER(void, pfnDelete )(struct RTCRPKIXSIGNATUREDESC const *pDesc, void *pvState, bool fSigning);228 DECLCALLBACKMEMBER(void, pfnDelete,(struct RTCRPKIXSIGNATUREDESC const *pDesc, void *pvState, bool fSigning)); 229 229 230 230 /** … … 249 249 * @param cbSignature The size of the signature (in bytes). 250 250 */ 251 DECLCALLBACKMEMBER(int, pfnVerify )(struct RTCRPKIXSIGNATUREDESC const *pDesc, void *pvState, RTCRKEY hKey,252 RTCRDIGEST hDigest, void const *pvSignature, size_t cbSignature) ;251 DECLCALLBACKMEMBER(int, pfnVerify,(struct RTCRPKIXSIGNATUREDESC const *pDesc, void *pvState, RTCRKEY hKey, 252 RTCRDIGEST hDigest, void const *pvSignature, size_t cbSignature)); 253 253 254 254 /** … … 277 277 * case of VERR_BUFFER_OVERFLOW. 278 278 */ 279 DECLCALLBACKMEMBER(int, pfnSign )(struct RTCRPKIXSIGNATUREDESC const *pDesc, void *pvState, RTCRKEY hKey,280 RTCRDIGEST hDigest, void *pvSignature, size_t *pcbSignature) ;279 DECLCALLBACKMEMBER(int, pfnSign,(struct RTCRPKIXSIGNATUREDESC const *pDesc, void *pvState, RTCRKEY hKey, 280 RTCRDIGEST hDigest, void *pvSignature, size_t *pcbSignature)); 281 281 282 282 } RTCRPKIXSIGNATUREDESC; … … 435 435 * none. 436 436 */ 437 DECLCALLBACKMEMBER(int, pfnInit )(struct RTCRPKIXENCRYPTIONDESC const *pDesc, void *pvState, void *pvOpaque, bool fEncrypt,438 PCRTASN1BITSTRING pKey, PCRTASN1DYNTYPE pParams) ;437 DECLCALLBACKMEMBER(int, pfnInit,(struct RTCRPKIXENCRYPTIONDESC const *pDesc, void *pvState, void *pvOpaque, bool fEncrypt, 438 PCRTASN1BITSTRING pKey, PCRTASN1DYNTYPE pParams)); 439 439 440 440 /** … … 451 451 * @param enmOperation Same as for the earlier pfnInit call. 452 452 */ 453 DECLCALLBACKMEMBER(int, pfnReset )(struct RTCRPKIXENCRYPTIONDESC const *pDesc, void *pvState, bool fEncrypt);453 DECLCALLBACKMEMBER(int, pfnReset,(struct RTCRPKIXENCRYPTIONDESC const *pDesc, void *pvState, bool fEncrypt)); 454 454 455 455 /** … … 464 464 * @param enmOperation Same as for the earlier pfnInit call. 465 465 */ 466 DECLCALLBACKMEMBER(void, pfnDelete )(struct RTCRPKIXENCRYPTIONDESC const *pDesc, void *pvState, bool fEncrypt);466 DECLCALLBACKMEMBER(void, pfnDelete,(struct RTCRPKIXENCRYPTIONDESC const *pDesc, void *pvState, bool fEncrypt)); 467 467 468 468 /** … … 487 487 * @param fFinal Whether this is the final call. 488 488 */ 489 DECLCALLBACKMEMBER(int, pfnEncrypt )(struct RTCRPKIXENCRYPTIONDESC const *pDesc, void *pvState,489 DECLCALLBACKMEMBER(int, pfnEncrypt,(struct RTCRPKIXENCRYPTIONDESC const *pDesc, void *pvState, 490 490 void const *pvPlaintext, size_t cbPlaintext, 491 void *pvCiphertext, size_t cbMaxCiphertext, size_t *pcbCiphertext, bool fFinal) ;491 void *pvCiphertext, size_t cbMaxCiphertext, size_t *pcbCiphertext, bool fFinal)); 492 492 493 493 /** … … 503 503 * @param fFinal Whether this is the final call. 504 504 */ 505 DECLCALLBACKMEMBER(int, pfnEncryptLength )(struct RTCRPKIXENCRYPTIONDESC const *pDesc, void *pvState,506 size_t cbPlaintext, size_t *pcbCiphertext, bool fFinal) ;505 DECLCALLBACKMEMBER(int, pfnEncryptLength,(struct RTCRPKIXENCRYPTIONDESC const *pDesc, void *pvState, 506 size_t cbPlaintext, size_t *pcbCiphertext, bool fFinal)); 507 507 508 508 /** … … 527 527 * @param fFinal Whether this is the final call. 528 528 */ 529 DECLCALLBACKMEMBER(int, pfnDecrypt )(struct RTCRPKIXENCRYPTIONDESC const *pDesc, void *pvState,529 DECLCALLBACKMEMBER(int, pfnDecrypt,(struct RTCRPKIXENCRYPTIONDESC const *pDesc, void *pvState, 530 530 void const *pvCiphertext, size_t cbCiphertext, 531 void *pvPlaintext, size_t cbMaxPlaintext, size_t *pcbPlaintext, bool fFinal) ;531 void *pvPlaintext, size_t cbMaxPlaintext, size_t *pcbPlaintext, bool fFinal)); 532 532 533 533 /** … … 543 543 * @param fFinal Whether this is the final call. 544 544 */ 545 DECLCALLBACKMEMBER(int, pfnDecryptLength )(struct RTCRPKIXENCRYPTIONDESC const *pDesc, void *pvState,546 size_t cbCiphertext, size_t *pcbPlaintext, bool fFinal) ;545 DECLCALLBACKMEMBER(int, pfnDecryptLength,(struct RTCRPKIXENCRYPTIONDESC const *pDesc, void *pvState, 546 size_t cbCiphertext, size_t *pcbPlaintext, bool fFinal)); 547 547 } RTCRPKIXENCRYPTIONDESC; 548 548 /** Pointer to a public key encryption schema provider descriptor. */ -
trunk/include/iprt/dbg.h
r83085 r85121 283 283 * @param pvDst Where to put the bytes we read. 284 284 */ 285 DECLCALLBACKMEMBER(int, pfnReadStack )(struct RTDBGUNWINDSTATE *pThis, RTUINTPTR uSp, size_t cbToRead, void *pvDst);285 DECLCALLBACKMEMBER(int, pfnReadStack,(struct RTDBGUNWINDSTATE *pThis, RTUINTPTR uSp, size_t cbToRead, void *pvDst)); 286 286 /** User argument (useful for pfnReadStack). */ 287 287 void *pvUser; … … 653 653 * @param pvUser User argument. 654 654 */ 655 typedef DECLCALLBACK (void) FNRTDBGCFGLOG(RTDBGCFG hDbgCfg, uint32_t iLevel, const char *pszMsg, void *pvUser);655 typedef DECLCALLBACKTYPE(void, FNRTDBGCFGLOG,(RTDBGCFG hDbgCfg, uint32_t iLevel, const char *pszMsg, void *pvUser)); 656 656 /** Pointer to a log callback. */ 657 657 typedef FNRTDBGCFGLOG *PFNRTDBGCFGLOG; … … 686 686 * @param pvUser2 Second user parameter. 687 687 */ 688 typedef DECLCALLBACK (int) FNRTDBGCFGOPEN(RTDBGCFG hDbgCfg, const char *pszFilename, void *pvUser1, void *pvUser2);688 typedef DECLCALLBACKTYPE(int, FNRTDBGCFGOPEN,(RTDBGCFG hDbgCfg, const char *pszFilename, void *pvUser1, void *pvUser2)); 689 689 /** Pointer to a open-file callback used to the RTDbgCfgOpen functions. */ 690 690 typedef FNRTDBGCFGOPEN *PFNRTDBGCFGOPEN; -
trunk/include/iprt/dvm.h
r82968 r85121 154 154 * @param pfAllocated Where to store the allocation status on success. 155 155 */ 156 typedef DECLCALLBACK(int) FNDVMVOLUMEQUERYBLOCKSTATUS(void *pvUser, uint64_t off, 157 uint64_t cb, bool *pfAllocated); 156 typedef DECLCALLBACKTYPE(int, FNDVMVOLUMEQUERYBLOCKSTATUS,(void *pvUser, uint64_t off, uint64_t cb, bool *pfAllocated)); 158 157 /** Pointer to a query block allocation status callback. */ 159 158 typedef FNDVMVOLUMEQUERYBLOCKSTATUS *PFNDVMVOLUMEQUERYBLOCKSTATUS; -
trunk/include/iprt/errcore.h
r85076 r85121 293 293 * @param cbChars Number of bytes in the character array pointed to by pachChars. 294 294 */ 295 typedef DECLCALLBACK (size_t) FNRTSTROUTPUT(void *pvArg, const char *pachChars, size_t cbChars);295 typedef DECLCALLBACKTYPE(size_t, FNRTSTROUTPUT,(void *pvArg, const char *pachChars, size_t cbChars)); 296 296 /** Pointer to callback function. */ 297 297 typedef FNRTSTROUTPUT *PFNRTSTROUTPUT; -
trunk/include/iprt/fs.h
r82968 r85121 624 624 * @param pvUser The user argument. 625 625 */ 626 typedef DECLCALLBACK (int) FNRTFSMOUNTPOINTENUM(const char *pszMountpoint, void *pvUser);626 typedef DECLCALLBACKTYPE(int, FNRTFSMOUNTPOINTENUM,(const char *pszMountpoint, void *pvUser)); 627 627 /** Pointer to a FNRTFSMOUNTPOINTENUM(). */ 628 628 typedef FNRTFSMOUNTPOINTENUM *PFNRTFSMOUNTPOINTENUM; -
trunk/include/iprt/ftp.h
r82841 r85121 223 223 * @param pcszUser User name. 224 224 */ 225 DECLCALLBACKMEMBER(int, pfnOnUserConnect)(PRTFTPCALLBACKDATA pData, const char *pcszUser);225 DECLCALLBACKMEMBER(int, pfnOnUserConnect,(PRTFTPCALLBACKDATA pData, const char *pcszUser)); 226 226 /** 227 227 * Callback which gets invoked when a user tries to authenticate with a password. … … 232 232 * @param pcszPassword Password to authenticate with. 233 233 */ 234 DECLCALLBACKMEMBER(int, pfnOnUserAuthenticate)(PRTFTPCALLBACKDATA pData, const char *pcszUser, const char *pcszPassword);234 DECLCALLBACKMEMBER(int, pfnOnUserAuthenticate,(PRTFTPCALLBACKDATA pData, const char *pcszUser, const char *pcszPassword)); 235 235 /** 236 236 * Callback which gets invoked when a user disconnected. … … 240 240 * @param pcszUser User name which disconnected. 241 241 */ 242 DECLCALLBACKMEMBER(int, pfnOnUserDisconnect)(PRTFTPCALLBACKDATA pData, const char *pcszUser);242 DECLCALLBACKMEMBER(int, pfnOnUserDisconnect,(PRTFTPCALLBACKDATA pData, const char *pcszUser)); 243 243 /** 244 244 * Callback which gets invoked when the client wants to start reading or writing a file. … … 250 250 * @param ppvHandle Opaque file handle only known to the callback implementation. 251 251 */ 252 DECLCALLBACKMEMBER(int, pfnOnFileOpen)(PRTFTPCALLBACKDATA pData, const char *pcszPath, uint32_t fMode, void **ppvHandle);252 DECLCALLBACKMEMBER(int, pfnOnFileOpen,(PRTFTPCALLBACKDATA pData, const char *pcszPath, uint32_t fMode, void **ppvHandle)); 253 253 /** 254 254 * Callback which gets invoked when the client wants to read from a file. … … 261 261 * @param pcbRead How much (in bytes) was read. Optional. 262 262 */ 263 DECLCALLBACKMEMBER(int, pfnOnFileRead)(PRTFTPCALLBACKDATA pData, void *pvHandle, void *pvBuf, size_t cbToRead, size_t *pcbRead);263 DECLCALLBACKMEMBER(int, pfnOnFileRead,(PRTFTPCALLBACKDATA pData, void *pvHandle, void *pvBuf, size_t cbToRead, size_t *pcbRead)); 264 264 /** 265 265 * Callback which gets invoked when the client is done reading from or writing to a file. … … 269 269 * @param ppvHandle Opaque file handle only known to the callback implementation. 270 270 */ 271 DECLCALLBACKMEMBER(int, pfnOnFileClose)(PRTFTPCALLBACKDATA pData, void *pvHandle);271 DECLCALLBACKMEMBER(int, pfnOnFileClose,(PRTFTPCALLBACKDATA pData, void *pvHandle)); 272 272 /** 273 273 * Callback which gets invoked when the client wants to retrieve the size of a specific file. … … 278 278 * @param puSize Where to store the file size on success. 279 279 */ 280 DECLCALLBACKMEMBER(int, pfnOnFileGetSize)(PRTFTPCALLBACKDATA pData, const char *pcszPath, uint64_t *puSize);280 DECLCALLBACKMEMBER(int, pfnOnFileGetSize,(PRTFTPCALLBACKDATA pData, const char *pcszPath, uint64_t *puSize)); 281 281 /** 282 282 * Callback which gets invoked when the client wants to retrieve information about a file. … … 288 288 * @returns VBox status code. 289 289 */ 290 DECLCALLBACKMEMBER(int, pfnOnFileStat)(PRTFTPCALLBACKDATA pData, const char *pcszPath, PRTFSOBJINFO pFsObjInfo);290 DECLCALLBACKMEMBER(int, pfnOnFileStat,(PRTFTPCALLBACKDATA pData, const char *pcszPath, PRTFSOBJINFO pFsObjInfo)); 291 291 /** 292 292 * Callback which gets invoked when setting the current working directory. … … 296 296 * @param pcszCWD Current working directory to set. 297 297 */ 298 DECLCALLBACKMEMBER(int, pfnOnPathSetCurrent)(PRTFTPCALLBACKDATA pData, const char *pcszCWD);298 DECLCALLBACKMEMBER(int, pfnOnPathSetCurrent,(PRTFTPCALLBACKDATA pData, const char *pcszCWD)); 299 299 /** 300 300 * Callback which gets invoked when a client wants to retrieve the current working directory. … … 305 305 * @param cbPWD Size of buffer in bytes. 306 306 */ 307 DECLCALLBACKMEMBER(int, pfnOnPathGetCurrent)(PRTFTPCALLBACKDATA pData, char *pszPWD, size_t cbPWD);307 DECLCALLBACKMEMBER(int, pfnOnPathGetCurrent,(PRTFTPCALLBACKDATA pData, char *pszPWD, size_t cbPWD)); 308 308 /** 309 309 * Callback which gets invoked when the client wants to move up a directory (relative to the current working directory). … … 312 312 * @param pData Pointer to generic callback data. 313 313 */ 314 DECLCALLBACKMEMBER(int, pfnOnPathUp)(PRTFTPCALLBACKDATA pData);314 DECLCALLBACKMEMBER(int, pfnOnPathUp,(PRTFTPCALLBACKDATA pData)); 315 315 /** 316 316 * Callback which gets invoked when the server wants to open a directory for reading. … … 322 322 * @param ppvHandle Where to return the opaque directory handle. 323 323 */ 324 DECLCALLBACKMEMBER(int, pfnOnDirOpen)(PRTFTPCALLBACKDATA pData, const char *pcszPath, void **ppvHandle);324 DECLCALLBACKMEMBER(int, pfnOnDirOpen,(PRTFTPCALLBACKDATA pData, const char *pcszPath, void **ppvHandle)); 325 325 /** 326 326 * Callback which gets invoked when the server wants to close a directory handle. … … 330 330 * @param pvHandle Directory handle to close. 331 331 */ 332 DECLCALLBACKMEMBER(int, pfnOnDirClose)(PRTFTPCALLBACKDATA pData, void *pvHandle);332 DECLCALLBACKMEMBER(int, pfnOnDirClose,(PRTFTPCALLBACKDATA pData, void *pvHandle)); 333 333 /** 334 334 * Callback which gets invoked when the server wants to read the next directory entry. … … 343 343 * @param ppszTarget Where to return the allocated string of the target (if a link). Currently unused. 344 344 */ 345 DECLCALLBACKMEMBER(int, pfnOnDirRead )(PRTFTPCALLBACKDATA pData, void *pvHandle, char **ppszEntry,346 PRTFSOBJINFO pInfo, char **ppszOwner, char **ppszGroup, char **ppszTarget) ;345 DECLCALLBACKMEMBER(int, pfnOnDirRead,(PRTFTPCALLBACKDATA pData, void *pvHandle, char **ppszEntry, 346 PRTFSOBJINFO pInfo, char **ppszOwner, char **ppszGroup, char **ppszTarget)); 347 347 } RTFTPSERVERCALLBACKS; 348 348 /** Pointer to a FTP server callback data table. */ -
trunk/include/iprt/fuzz.h
r83428 r85121 170 170 * @param pvUser Opaque user data passed in RTFuzzCtxStateExport(). 171 171 */ 172 typedef DECLCALLBACK (int) FNRTFUZZCTXEXPORT(RTFUZZCTX hFuzzCtx, const void *pvBuf, size_t cbWrite, void *pvUser);172 typedef DECLCALLBACKTYPE(int, FNRTFUZZCTXEXPORT,(RTFUZZCTX hFuzzCtx, const void *pvBuf, size_t cbWrite, void *pvUser)); 173 173 /** Pointer to a fuzzing context state export callback. */ 174 174 typedef FNRTFUZZCTXEXPORT *PFNRTFUZZCTXEXPORT; … … 184 184 * @param pvUser Opaque user data passed in RTFuzzCtxCreateFromState(). 185 185 */ 186 typedef DECLCALLBACK (int) FNRTFUZZCTXIMPORT(RTFUZZCTX hFuzzCtx, void *pvBuf, size_t cbRead, size_t *pcbRead, void *pvUser);186 typedef DECLCALLBACKTYPE(int, FNRTFUZZCTXIMPORT,(RTFUZZCTX hFuzzCtx, void *pvBuf, size_t cbRead, size_t *pcbRead, void *pvUser)); 187 187 /** Pointer to a fuzzing context state export callback. */ 188 188 typedef FNRTFUZZCTXIMPORT *PFNRTFUZZCTXIMPORT; … … 938 938 * @param pvUser Opaque user data. 939 939 */ 940 typedef DECLCALLBACK (int) FNFUZZCLIENTCONSUME(const void *pvBuf, size_t cbBuf, void *pvUser);940 typedef DECLCALLBACKTYPE(int, FNFUZZCLIENTCONSUME,(const void *pvBuf, size_t cbBuf, void *pvUser)); 941 941 /** Pointer to a client consumption callback. */ 942 942 typedef FNFUZZCLIENTCONSUME *PFNFUZZCLIENTCONSUME; -
trunk/include/iprt/handletable.h
r82968 r85121 64 64 * @param pvUser The user context argument specified when creating the table. 65 65 */ 66 typedef DECLCALLBACK (int) FNRTHANDLETABLERETAIN(RTHANDLETABLE hHandleTable, void *pvObj, void *pvCtx, void *pvUser);66 typedef DECLCALLBACKTYPE(int, FNRTHANDLETABLERETAIN,(RTHANDLETABLE hHandleTable, void *pvObj, void *pvCtx, void *pvUser)); 67 67 /** Pointer to a FNHANDLETABLERETAIN. */ 68 68 typedef FNRTHANDLETABLERETAIN *PFNRTHANDLETABLERETAIN; … … 79 79 * 80 80 */ 81 typedef DECLCALLBACK (void) FNRTHANDLETABLEDELETE(RTHANDLETABLE hHandleTable, uint32_t h, void *pvObj, void *pvCtx, void *pvUser);81 typedef DECLCALLBACKTYPE(void, FNRTHANDLETABLEDELETE,(RTHANDLETABLE hHandleTable, uint32_t h, void *pvObj, void *pvCtx, void *pvUser)); 82 82 /** Pointer to a FNRTHANDLETABLEDELETE. */ 83 83 typedef FNRTHANDLETABLEDELETE *PFNRTHANDLETABLEDELETE; -
trunk/include/iprt/heap.h
r82968 r85121 184 184 * @param ... Format arguments. 185 185 */ 186 typedef DECLCALLBACK (void) FNRTHEAPSIMPLEPRINTF(const char *pszFormat, ...) RT_IPRT_FORMAT_ATTR(1, 2);186 typedef DECLCALLBACKTYPE(void, FNRTHEAPSIMPLEPRINTF,(const char *pszFormat, ...)) RT_IPRT_FORMAT_ATTR(1, 2); 187 187 /** Pointer to a FNRTHEAPSIMPLEPRINTF function. */ 188 188 typedef FNRTHEAPSIMPLEPRINTF *PFNRTHEAPSIMPLEPRINTF; … … 339 339 * @param ... Format arguments. 340 340 */ 341 typedef DECLCALLBACK (void) FNRTHEAPOFFSETPRINTF(const char *pszFormat, ...) RT_IPRT_FORMAT_ATTR(1, 2);341 typedef DECLCALLBACKTYPE(void, FNRTHEAPOFFSETPRINTF,(const char *pszFormat, ...)) RT_IPRT_FORMAT_ATTR(1, 2); 342 342 /** Pointer to a FNRTHEAPOFFSETPRINTF function. */ 343 343 typedef FNRTHEAPOFFSETPRINTF *PFNRTHEAPOFFSETPRINTF; -
trunk/include/iprt/http.h
r82968 r85121 515 515 * @param cbDowloaded How much was downloaded thus far. 516 516 */ 517 typedef DECLCALLBACK(void) FNRTHTTPDOWNLDPROGRCALLBACK(RTHTTP hHttp, void *pvUser, uint64_t cbDownloadTotal, uint64_t cbDownloaded); 517 typedef DECLCALLBACKTYPE(void, FNRTHTTPDOWNLDPROGRCALLBACK,(RTHTTP hHttp, void *pvUser, uint64_t cbDownloadTotal, 518 uint64_t cbDownloaded)); 518 519 /** Pointer to a download progress callback. */ 519 520 typedef FNRTHTTPDOWNLDPROGRCALLBACK *PFNRTHTTPDOWNLDPROGRCALLBACK; … … 546 547 * value is the sum of the previous @a cbBuf values. 547 548 */ 548 typedef DECLCALLBACK (int) FNRTHTTPDOWNLOADCALLBACK(RTHTTP hHttp, void const *pvBuf, size_t cbBuf, uint32_t uHttpStatus,549 uint64_t offContent, uint64_t cbContent, void *pvUser);549 typedef DECLCALLBACKTYPE(int, FNRTHTTPDOWNLOADCALLBACK,(RTHTTP hHttp, void const *pvBuf, size_t cbBuf, uint32_t uHttpStatus, 550 uint64_t offContent, uint64_t cbContent, void *pvUser)); 550 551 /** Pointer to a download data receiver callback. */ 551 552 typedef FNRTHTTPDOWNLOADCALLBACK *PFNRTHTTPDOWNLOADCALLBACK; … … 594 595 * value is the sum of the previously returned @a *pcbActual values. 595 596 */ 596 typedef DECLCALLBACK (int) FNRTHTTPUPLOADCALLBACK(RTHTTP hHttp, void *pvBuf, size_t cbBuf, uint64_t offContent,597 size_t *pcbActual, void *pvUser);597 typedef DECLCALLBACKTYPE(int, FNRTHTTPUPLOADCALLBACK,(RTHTTP hHttp, void *pvBuf, size_t cbBuf, uint64_t offContent, 598 size_t *pcbActual, void *pvUser)); 598 599 /** Pointer to an upload data producer callback. */ 599 600 typedef FNRTHTTPUPLOADCALLBACK *PFNRTHTTPUPLOADCALLBACK; … … 631 632 * - ':end-of-headers' -- marks the end of header callbacks. 632 633 */ 633 typedef DECLCALLBACK (int) FNRTHTTPHEADERCALLBACK(RTHTTP hHttp, uint32_t uMatchWord, const char *pchField, size_t cchField,634 const char *pchValue, size_t cchValue, void *pvUser);634 typedef DECLCALLBACKTYPE(int, FNRTHTTPHEADERCALLBACK,(RTHTTP hHttp, uint32_t uMatchWord, const char *pchField, size_t cchField, 635 const char *pchValue, size_t cchValue, void *pvUser)); 635 636 /** Pointer to a header field consumer callback. */ 636 637 typedef FNRTHTTPHEADERCALLBACK *PFNRTHTTPHEADERCALLBACK; … … 662 663 663 664 /** @name thin wrappers for setting one or a few related curl options 664 * @remarks Temporary. Will not be included in the 6.0 release!665 * @remarks Temporary. Will not be included in the 7.0 release! 665 666 * @{ */ 666 typedef size_t FNRTHTTPREADCALLBACKRAW(void *pbDst, size_t cbItem, size_t cItems, void *pvUser);667 typedef DECLCALLBACKTYPE_EX(size_t, RT_NOTHING, FNRTHTTPREADCALLBACKRAW,(void *pbDst, size_t cbItem, size_t cItems, void *pvUser)); 667 668 typedef FNRTHTTPREADCALLBACKRAW *PFNRTHTTPREADCALLBACKRAW; 668 669 #define RT_HTTP_READCALLBACK_ABORT 0x10000000 /* CURL_READFUNC_ABORT */ 669 670 RTR3DECL(int) RTHttpRawSetReadCallback(RTHTTP hHttp, PFNRTHTTPREADCALLBACKRAW pfnRead, void *pvUser); 670 671 671 typedef size_t FNRTHTTPWRITECALLBACKRAW(char *pbSrc, size_t cbItem, size_t cItems, void *pvUser);672 typedef DECLCALLBACKTYPE_EX(size_t, RT_NOTHING, FNRTHTTPWRITECALLBACKRAW,(char *pbSrc, size_t cbItem, size_t cItems, void *pvUser)); 672 673 typedef FNRTHTTPWRITECALLBACKRAW *PFNRTHTTPWRITECALLBACKRAW; 673 674 RTR3DECL(int) RTHttpRawSetWriteCallback(RTHTTP hHttp, PFNRTHTTPWRITECALLBACKRAW pfnWrite, void *pvUser); -
trunk/include/iprt/initterm.h
r82968 r85121 207 207 * @param pvUser User argument passed to RTTermRegisterCallback. 208 208 */ 209 typedef DECLCALLBACK (void) FNRTTERMCALLBACK(RTTERMREASON enmReason, int32_t iStatus, void *pvUser);209 typedef DECLCALLBACKTYPE(void, FNRTTERMCALLBACK,(RTTERMREASON enmReason, int32_t iStatus, void *pvUser)); 210 210 /** Pointer to an IPRT termination callback function. */ 211 211 typedef FNRTTERMCALLBACK *PFNRTTERMCALLBACK; -
trunk/include/iprt/ioqueue.h
r82968 r85121 113 113 * @returns Flag whether the provider is supported. 114 114 */ 115 DECLCALLBACKMEMBER(bool, pfnIsSupported ) (void);115 DECLCALLBACKMEMBER(bool, pfnIsSupported,(void)); 116 116 117 117 /** … … 124 124 * @param cCqEntries Number of entries for the completion queue. 125 125 */ 126 DECLCALLBACKMEMBER(int, pfnQueueInit) (RTIOQUEUEPROV hIoQueueProv, uint32_t fFlags, 127 uint32_t cSqEntries, uint32_t cCqEntries); 126 DECLCALLBACKMEMBER(int, pfnQueueInit,(RTIOQUEUEPROV hIoQueueProv, uint32_t fFlags, uint32_t cSqEntries, uint32_t cCqEntries)); 128 127 129 128 /** … … 134 133 * @param hIoQueueProv The I/O queue provider instance to destroy. 135 134 */ 136 DECLCALLBACKMEMBER(void, pfnQueueDestroy ) (RTIOQUEUEPROV hIoQueueProv);135 DECLCALLBACKMEMBER(void, pfnQueueDestroy,(RTIOQUEUEPROV hIoQueueProv)); 137 136 138 137 /** … … 145 144 * @param pHandle The handle to register. 146 145 */ 147 DECLCALLBACKMEMBER(int, pfnHandleRegister ) (RTIOQUEUEPROV hIoQueueProv, PCRTHANDLE pHandle);146 DECLCALLBACKMEMBER(int, pfnHandleRegister,(RTIOQUEUEPROV hIoQueueProv, PCRTHANDLE pHandle)); 148 147 149 148 /** … … 156 155 * @param pHandle The handle to deregister. 157 156 */ 158 DECLCALLBACKMEMBER(int, pfnHandleDeregister ) (RTIOQUEUEPROV hIoQueueProv, PCRTHANDLE pHandle);157 DECLCALLBACKMEMBER(int, pfnHandleDeregister,(RTIOQUEUEPROV hIoQueueProv, PCRTHANDLE pHandle)); 159 158 160 159 /** … … 171 170 * @param pvUser Opaque user data which is passed back in the completion event. 172 171 */ 173 DECLCALLBACKMEMBER(int, pfnReqPrepare) (RTIOQUEUEPROV hIoQueueProv, PCRTHANDLE pHandle, RTIOQUEUEOP enmOp, 174 uint64_t off, void *pvBuf, size_t cbBuf, uint32_t fReqFlags, 175 void *pvUser); 172 DECLCALLBACKMEMBER(int, pfnReqPrepare,(RTIOQUEUEPROV hIoQueueProv, PCRTHANDLE pHandle, RTIOQUEUEOP enmOp, 173 uint64_t off, void *pvBuf, size_t cbBuf, uint32_t fReqFlags, void *pvUser)); 176 174 177 175 /** … … 188 186 * @param pvUser Opaque user data which is passed back in the completion event. 189 187 */ 190 DECLCALLBACKMEMBER(int, pfnReqPrepareSg) (RTIOQUEUEPROV hIoQueueProv, PCRTHANDLE pHandle, RTIOQUEUEOP enmOp, 191 uint64_t off, PCRTSGBUF pSgBuf, size_t cbSg, uint32_t fReqFlags, 192 void *pvUser); 188 DECLCALLBACKMEMBER(int, pfnReqPrepareSg,(RTIOQUEUEPROV hIoQueueProv, PCRTHANDLE pHandle, RTIOQUEUEOP enmOp, 189 uint64_t off, PCRTSGBUF pSgBuf, size_t cbSg, uint32_t fReqFlags, void *pvUser)); 193 190 194 191 /** … … 199 196 * @param pcReqsCommitted Where to store the number of requests actually committed. 200 197 */ 201 DECLCALLBACKMEMBER(int, pfnCommit ) (RTIOQUEUEPROV hIoQueueProv, uint32_t *pcReqsCommitted);198 DECLCALLBACKMEMBER(int, pfnCommit,(RTIOQUEUEPROV hIoQueueProv, uint32_t *pcReqsCommitted)); 202 199 203 200 /** … … 213 210 * @param fFlags Additional flags controlling the wait behavior. 214 211 */ 215 DECLCALLBACKMEMBER(int, pfnEvtWait )(RTIOQUEUEPROV hIoQueueProv, PRTIOQUEUECEVT paCEvt, uint32_t cCEvt,216 uint32_t cMinWait, uint32_t *pcCEvt, uint32_t fFlags);212 DECLCALLBACKMEMBER(int, pfnEvtWait,(RTIOQUEUEPROV hIoQueueProv, PRTIOQUEUECEVT paCEvt, uint32_t cCEvt, 213 uint32_t cMinWait, uint32_t *pcCEvt, uint32_t fFlags)); 217 214 218 215 /** … … 222 219 * @param hIoQueueProv The I/O queue provider instance. 223 220 */ 224 DECLCALLBACKMEMBER(int, pfnEvtWaitWakeup ) (RTIOQUEUEPROV hIoQueueProv);221 DECLCALLBACKMEMBER(int, pfnEvtWaitWakeup,(RTIOQUEUEPROV hIoQueueProv)); 225 222 226 223 /** Marks the end of the structure (RTIOQUEUEPROVVTABLE_VERSION). */ -
trunk/include/iprt/ldr.h
r83084 r85121 161 161 * @param off Where to start reading relative to the start of the raw image. 162 162 */ 163 DECLCALLBACKMEMBER(int, pfnRead )(PRTLDRREADER pReader, void *pvBuf, size_t cb, RTFOFF off);163 DECLCALLBACKMEMBER(int, pfnRead,(PRTLDRREADER pReader, void *pvBuf, size_t cb, RTFOFF off)); 164 164 165 165 /** … … 169 169 * @param pReader Pointer to the reader instance. 170 170 */ 171 DECLCALLBACKMEMBER(RTFOFF, pfnTell )(PRTLDRREADER pReader);171 DECLCALLBACKMEMBER(RTFOFF, pfnTell,(PRTLDRREADER pReader)); 172 172 173 173 /** … … 177 177 * @param pReader Pointer to the reader instance. 178 178 */ 179 DECLCALLBACKMEMBER(uint64_t, pfnSize )(PRTLDRREADER pReader);179 DECLCALLBACKMEMBER(uint64_t, pfnSize,(PRTLDRREADER pReader)); 180 180 181 181 /** … … 190 190 * The size of the mapping can be obtained by calling pfnSize(). 191 191 */ 192 DECLCALLBACKMEMBER(int, pfnMap )(PRTLDRREADER pReader, const void **ppvBits);192 DECLCALLBACKMEMBER(int, pfnMap,(PRTLDRREADER pReader, const void **ppvBits)); 193 193 194 194 /** … … 199 199 * @param pvBits Memory pointer returned by pfnMap(). 200 200 */ 201 DECLCALLBACKMEMBER(int, pfnUnmap )(PRTLDRREADER pReader, const void *pvBits);201 DECLCALLBACKMEMBER(int, pfnUnmap,(PRTLDRREADER pReader, const void *pvBits)); 202 202 203 203 /** … … 207 207 * @param pReader Pointer to the reader instance. 208 208 */ 209 DECLCALLBACKMEMBER(const char *, pfnLogName )(PRTLDRREADER pReader);209 DECLCALLBACKMEMBER(const char *, pfnLogName,(PRTLDRREADER pReader)); 210 210 211 211 /** … … 216 216 * @param pReader Pointer to the reader instance. 217 217 */ 218 DECLCALLBACKMEMBER(int, pfnDestroy )(PRTLDRREADER pReader);218 DECLCALLBACKMEMBER(int, pfnDestroy,(PRTLDRREADER pReader)); 219 219 } RTLDRREADER; 220 220 … … 511 511 * @param pvUser The user parameter. 512 512 */ 513 typedef DECLCALLBACK (int) FNRTLDRRDRMEMREAD(void *pvBuf, size_t cb, size_t off, void *pvUser);513 typedef DECLCALLBACKTYPE(int, FNRTLDRRDRMEMREAD,(void *pvBuf, size_t cb, size_t off, void *pvUser)); 514 514 /** Pointer to a RTLdrOpenInMemory reader callback. */ 515 515 typedef FNRTLDRRDRMEMREAD *PFNRTLDRRDRMEMREAD; … … 523 523 * @param cbImage The image size. 524 524 */ 525 typedef DECLCALLBACK (void) FNRTLDRRDRMEMDTOR(void *pvUser, size_t cbImage);525 typedef DECLCALLBACKTYPE(void, FNRTLDRRDRMEMDTOR,(void *pvUser, size_t cbImage)); 526 526 /** Pointer to a RTLdrOpenInMemory destructor callback. */ 527 527 typedef FNRTLDRRDRMEMDTOR *PFNRTLDRRDRMEMDTOR; … … 679 679 * @param pvUser User argument. 680 680 */ 681 typedef DECLCALLBACK (int) FNRTLDRIMPORT(RTLDRMOD hLdrMod, const char *pszModule, const char *pszSymbol, unsigned uSymbol,682 PRTLDRADDR pValue, void *pvUser);681 typedef DECLCALLBACKTYPE(int, FNRTLDRIMPORT,(RTLDRMOD hLdrMod, const char *pszModule, const char *pszSymbol, unsigned uSymbol, 682 PRTLDRADDR pValue, void *pvUser)); 683 683 /** Pointer to a FNRTLDRIMPORT() callback function. */ 684 684 typedef FNRTLDRIMPORT *PFNRTLDRIMPORT; … … 726 726 * @param pvUser The user argument specified to RTLdrEnumSymbols(). 727 727 */ 728 typedef DECLCALLBACK (int) FNRTLDRENUMSYMS(RTLDRMOD hLdrMod, const char *pszSymbol, unsigned uSymbol, RTLDRADDR Value, void *pvUser);728 typedef DECLCALLBACKTYPE(int, FNRTLDRENUMSYMS,(RTLDRMOD hLdrMod, const char *pszSymbol, unsigned uSymbol, RTLDRADDR Value, void *pvUser)); 729 729 /** Pointer to a FNRTLDRENUMSYMS() callback function. */ 730 730 typedef FNRTLDRENUMSYMS *PFNRTLDRENUMSYMS; … … 897 897 * @param pvUser The user parameter specified to RTLdrEnumDbgInfo. 898 898 */ 899 typedef DECLCALLBACK (int) FNRTLDRENUMDBG(RTLDRMOD hLdrMod, PCRTLDRDBGINFO pDbgInfo, void *pvUser);899 typedef DECLCALLBACKTYPE(int, FNRTLDRENUMDBG,(RTLDRMOD hLdrMod, PCRTLDRDBGINFO pDbgInfo, void *pvUser)); 900 900 /** Pointer to a debug info enumerator callback. */ 901 901 typedef FNRTLDRENUMDBG *PFNRTLDRENUMDBG; … … 986 986 * @param pvUser The user parameter specified to RTLdrEnumSegments. 987 987 */ 988 typedef DECLCALLBACK (int) FNRTLDRENUMSEGS(RTLDRMOD hLdrMod, PCRTLDRSEG pSeg, void *pvUser);988 typedef DECLCALLBACKTYPE(int, FNRTLDRENUMSEGS,(RTLDRMOD hLdrMod, PCRTLDRSEG pSeg, void *pvUser)); 989 989 /** Pointer to a segment enumerator callback. */ 990 990 typedef FNRTLDRENUMSEGS *PFNRTLDRENUMSEGS; … … 1224 1224 * 1225 1225 */ 1226 typedef DECLCALLBACK (int) FNRTLDRVALIDATESIGNEDDATA(RTLDRMOD hLdrMod, RTLDRSIGNATURETYPE enmSignature,1227 void const *pvSignature, size_t cbSignature,1228 void const *pvExternalData, size_t cbExternalData,1229 PRTERRINFO pErrInfo, void *pvUser);1226 typedef DECLCALLBACKTYPE(int, FNRTLDRVALIDATESIGNEDDATA,(RTLDRMOD hLdrMod, RTLDRSIGNATURETYPE enmSignature, 1227 void const *pvSignature, size_t cbSignature, 1228 void const *pvExternalData, size_t cbExternalData, 1229 PRTERRINFO pErrInfo, void *pvUser)); 1230 1230 /** Pointer to a signature verification callback. */ 1231 1231 typedef FNRTLDRVALIDATESIGNEDDATA *PFNRTLDRVALIDATESIGNEDDATA; -
trunk/include/iprt/log.h
r84054 r85121 198 198 * @param ... Optional arguments as specified in the format string. 199 199 */ 200 typedef DECLCALLBACK (void) FNRTLOGGER(const char *pszFormat, ...) RT_IPRT_FORMAT_ATTR(1, 2);200 typedef DECLCALLBACKTYPE(void, FNRTLOGGER,(const char *pszFormat, ...)) RT_IPRT_FORMAT_ATTR(1, 2); 201 201 /** Pointer to logger function. */ 202 202 typedef FNRTLOGGER *PFNRTLOGGER; … … 207 207 * @param pLogger Pointer to the logger instance which is to be flushed. 208 208 */ 209 typedef DECLCALLBACK (void) FNRTLOGFLUSH(PRTLOGGER pLogger);209 typedef DECLCALLBACKTYPE(void, FNRTLOGFLUSH,(PRTLOGGER pLogger)); 210 210 /** Pointer to flush function. */ 211 211 typedef FNRTLOGFLUSH *PFNRTLOGFLUSH; … … 216 216 * @param pLogger Pointer to the logger instance which is to be flushed. 217 217 */ 218 typedef DECLCALLBACK (void) FNRTLOGFLUSHGC(PRTLOGGERRC pLogger);218 typedef DECLCALLBACKTYPE(void, FNRTLOGFLUSHGC,(PRTLOGGERRC pLogger)); 219 219 /** Pointer to logger function. */ 220 220 typedef RCPTRTYPE(FNRTLOGFLUSHGC *) PFNRTLOGFLUSHGC; … … 227 227 * @param ... Optional arguments specified in the format string. 228 228 */ 229 typedef DECLCALLBACK (void) FNRTLOGPHASEMSG(PRTLOGGER pLogger, const char *pszFormat, ...) RT_IPRT_FORMAT_ATTR(2, 3);229 typedef DECLCALLBACKTYPE(void, FNRTLOGPHASEMSG,(PRTLOGGER pLogger, const char *pszFormat, ...)) RT_IPRT_FORMAT_ATTR(2, 3); 230 230 /** Pointer to header/footer message callback function. */ 231 231 typedef FNRTLOGPHASEMSG *PFNRTLOGPHASEMSG; … … 239 239 * and others are out of bounds). 240 240 */ 241 typedef DECLCALLBACK (void) FNRTLOGPHASE(PRTLOGGER pLogger, RTLOGPHASE enmLogPhase, PFNRTLOGPHASEMSG pfnLogPhaseMsg);241 typedef DECLCALLBACKTYPE(void, FNRTLOGPHASE,(PRTLOGGER pLogger, RTLOGPHASE enmLogPhase, PFNRTLOGPHASEMSG pfnLogPhaseMsg)); 242 242 /** Pointer to log header/footer callback function. */ 243 243 typedef FNRTLOGPHASE *PFNRTLOGPHASE; … … 255 255 * @param pvUser The user argument. 256 256 */ 257 typedef DECLCALLBACK (size_t) FNRTLOGPREFIX(PRTLOGGER pLogger, char *pchBuf, size_t cchBuf, void *pvUser);257 typedef DECLCALLBACKTYPE(size_t, FNRTLOGPREFIX,(PRTLOGGER pLogger, char *pchBuf, size_t cchBuf, void *pvUser)); 258 258 /** Pointer to prefix callback function. */ 259 259 typedef FNRTLOGPREFIX *PFNRTLOGPREFIX; … … 2418 2418 * @param cbChars Number of bytes in the character array pointed to by pachChars. 2419 2419 */ 2420 typedef DECLCALLBACK (size_t) FNRTSTROUTPUT(void *pvArg, const char *pachChars, size_t cbChars);2420 typedef DECLCALLBACKTYPE(size_t, FNRTSTROUTPUT,(void *pvArg, const char *pachChars, size_t cbChars)); 2421 2421 /** Pointer to callback function. */ 2422 2422 typedef FNRTSTROUTPUT *PFNRTSTROUTPUT; -
trunk/include/iprt/memcache.h
r82968 r85121 76 76 * @remarks No serialization is performed. 77 77 */ 78 typedef DECLCALLBACK (int) FNMEMCACHECTOR(RTMEMCACHE hMemCache, void *pvObj, void *pvUser);78 typedef DECLCALLBACKTYPE(int, FNMEMCACHECTOR,(RTMEMCACHE hMemCache, void *pvObj, void *pvUser)); 79 79 /** Pointer to an object constructor for the memory cache. */ 80 80 typedef FNMEMCACHECTOR *PFNMEMCACHECTOR; … … 91 91 * @remarks No serialization is performed. 92 92 */ 93 typedef DECLCALLBACK (void) FNMEMCACHEDTOR(RTMEMCACHE hMemCache, void *pvObj, void *pvUser);93 typedef DECLCALLBACKTYPE(void, FNMEMCACHEDTOR,(RTMEMCACHE hMemCache, void *pvObj, void *pvUser)); 94 94 /** Pointer to an object destructor for the memory cache. */ 95 95 typedef FNMEMCACHEDTOR *PFNMEMCACHEDTOR; -
trunk/include/iprt/mp.h
r82968 r85121 295 295 * @param pvUser2 The 2nd user argument. 296 296 */ 297 typedef DECLCALLBACK (void) FNRTMPWORKER(RTCPUID idCpu, void *pvUser1, void *pvUser2);297 typedef DECLCALLBACKTYPE(void, FNRTMPWORKER,(RTCPUID idCpu, void *pvUser1, void *pvUser2)); 298 298 /** Pointer to a FNRTMPWORKER. */ 299 299 typedef FNRTMPWORKER *PFNRTMPWORKER; … … 462 462 * @param pvUser The user argument. 463 463 */ 464 typedef DECLCALLBACK (void) FNRTMPNOTIFICATION(RTMPEVENT enmEvent, RTCPUID idCpu, void *pvUser);464 typedef DECLCALLBACKTYPE(void, FNRTMPNOTIFICATION,(RTMPEVENT enmEvent, RTCPUID idCpu, void *pvUser)); 465 465 /** Pointer to a FNRTMPNOTIFICATION(). */ 466 466 typedef FNRTMPNOTIFICATION *PFNRTMPNOTIFICATION; -
trunk/include/iprt/nt/nt.h
r85088 r85121 228 228 # pragma warning(disable:4005) /* sdk/v7.1/include/sal_supp.h(57) : warning C4005: '__useHeader' : macro redefinition */ 229 229 # pragma warning(disable:4471) /* wdm.h(11057) : warning C4471: '_POOL_TYPE' : a forward declaration of an unscoped enumeration must have an underlying type (int assumed) */ 230 # endif 231 # if _MSC_VER >= 1900 /*RT_MSC_VER_VC140*/ 232 # ifdef __cplusplus 233 # pragma warning(disable:5039) /* warning C5039: 'KeInitializeDpc': pointer or reference to potentially throwing function passed to 'extern "C"' function under -EHc. Undefined behavior may occur if this function throws an exception. */ 234 # endif 230 235 # endif 231 236 -
trunk/include/iprt/nt/wdm.h
r83782 r85121 51 51 # pragma warning(disable:4471) /* wdm.h(11057) : warning C4471: '_POOL_TYPE' : a forward declaration of an unscoped enumeration must have an underlying type (int assumed) */ 52 52 #endif 53 # if _MSC_VER >= 1900 /*RT_MSC_VER_VC140*/ 54 # ifdef __cplusplus 55 # pragma warning(disable:5039) /* warning C5039: 'KeInitializeDpc': pointer or reference to potentially throwing function passed to 'extern "C"' function under -EHc. Undefined behavior may occur if this function throws an exception. */ 56 # endif 57 # endif 53 58 #include <wdm.h> 54 59 #pragma warning(pop) -
trunk/include/iprt/once.h
r82968 r85121 50 50 * @param pvUser The user parameter. 51 51 */ 52 typedef DECLCALLBACK (int32_t) FNRTONCE(void *pvUser);52 typedef DECLCALLBACKTYPE(int32_t, FNRTONCE,(void *pvUser)); 53 53 /** Pointer to a FNRTONCE. */ 54 54 typedef FNRTONCE *PFNRTONCE; … … 61 61 * initterm.h). 62 62 */ 63 typedef DECLCALLBACK (void) FNRTONCECLEANUP(void *pvUser, bool fLazyCleanUpOk);63 typedef DECLCALLBACKTYPE(void, FNRTONCECLEANUP,(void *pvUser, bool fLazyCleanUpOk)); 64 64 /** Pointer to a FNRTONCE. */ 65 65 typedef FNRTONCECLEANUP *PFNRTONCECLEANUP; -
trunk/include/iprt/path.h
r84509 r85121 1131 1131 * @param pvUser2 The second user parameter. 1132 1132 */ 1133 typedef DECLCALLBACK (int) FNRTPATHTRAVERSER(char const *pchPath, size_t cchPath, void *pvUser1, void *pvUser2);1133 typedef DECLCALLBACKTYPE(int, FNRTPATHTRAVERSER,(char const *pchPath, size_t cchPath, void *pvUser1, void *pvUser2)); 1134 1134 /** Pointer to a FNRTPATHTRAVERSER. */ 1135 1135 typedef FNRTPATHTRAVERSER *PFNRTPATHTRAVERSER; -
trunk/include/iprt/power.h
r82968 r85121 63 63 * @param pvUser The user argument. 64 64 */ 65 typedef DECLCALLBACK (void) FNRTPOWERNOTIFICATION(RTPOWEREVENT enmEvent, void *pvUser);65 typedef DECLCALLBACKTYPE(void, FNRTPOWERNOTIFICATION,(RTPOWEREVENT enmEvent, void *pvUser)); 66 66 /** Pointer to a FNRTPOWERNOTIFICATION(). */ 67 67 typedef FNRTPOWERNOTIFICATION *PFNRTPOWERNOTIFICATION; -
trunk/include/iprt/s3.h
r82968 r85121 57 57 * @param pvUser The user parameter given to RTS3SetProgressCallback. 58 58 */ 59 typedef DECLCALLBACK (int) FNRTS3PROGRESS(unsigned uPercent, void *pvUser);59 typedef DECLCALLBACKTYPE(int, FNRTS3PROGRESS,(unsigned uPercent, void *pvUser)); 60 60 /** Pointer to a S3 progress callback. */ 61 61 typedef FNRTS3PROGRESS *PFNRTS3PROGRESS; -
trunk/include/iprt/sort.h
r82968 r85121 49 49 * @param pvUser The user argument passed to the sorting function. 50 50 */ 51 typedef DECLCALLBACK (int) FNRTSORTCMP(void const *pvElement1, void const *pvElement2, void *pvUser);51 typedef DECLCALLBACKTYPE(int, FNRTSORTCMP,(void const *pvElement1, void const *pvElement2, void *pvUser)); 52 52 /** Pointer to a compare function. */ 53 53 typedef FNRTSORTCMP *PFNRTSORTCMP; … … 62 62 * @param pvUser User argument for the callback. 63 63 */ 64 typedef DECLCALLBACK (void) FNRTSORT(void *pvArray, size_t cElements, size_t cbElement, PFNRTSORTCMP pfnCmp, void *pvUser);64 typedef DECLCALLBACKTYPE(void, FNRTSORT,(void *pvArray, size_t cElements, size_t cbElement, PFNRTSORTCMP pfnCmp, void *pvUser)); 65 65 /** Pointer to a sorter function for an array of variable sized elements. */ 66 66 typedef FNRTSORT *PFNRTSORT; … … 74 74 * @param pvUser User argument for the callback. 75 75 */ 76 typedef DECLCALLBACK (void) FNRTSORTAPV(void **papvArray, size_t cElements, PFNRTSORTCMP pfnCmp, void *pvUser);76 typedef DECLCALLBACKTYPE(void, FNRTSORTAPV,(void **papvArray, size_t cElements, PFNRTSORTCMP pfnCmp, void *pvUser)); 77 77 /** Pointer to a pointer array sorter function. */ 78 78 typedef FNRTSORTAPV *PFNRTSORTAPV; -
trunk/include/iprt/string.h
r84207 r85121 1625 1625 * @param cbChars Number of bytes in the character array pointed to by pachChars. 1626 1626 */ 1627 typedef DECLCALLBACK (size_t) FNRTSTROUTPUT(void *pvArg, const char *pachChars, size_t cbChars);1627 typedef DECLCALLBACKTYPE(size_t, FNRTSTROUTPUT,(void *pvArg, const char *pachChars, size_t cbChars)); 1628 1628 /** Pointer to callback function. */ 1629 1629 typedef FNRTSTROUTPUT *PFNRTSTROUTPUT; … … 1681 1681 * @param chArgSize The argument size specifier, 'l' or 'L'. 1682 1682 */ 1683 typedef DECLCALLBACK (size_t) FNSTRFORMAT(void *pvArg, PFNRTSTROUTPUT pfnOutput, void *pvArgOutput,1684 const char **ppszFormat, va_list *pArgs, int cchWidth,1685 int cchPrecision, unsigned fFlags, char chArgSize);1683 typedef DECLCALLBACKTYPE(size_t, FNSTRFORMAT,(void *pvArg, PFNRTSTROUTPUT pfnOutput, void *pvArgOutput, 1684 const char **ppszFormat, va_list *pArgs, int cchWidth, 1685 int cchPrecision, unsigned fFlags, char chArgSize)); 1686 1686 /** Pointer to a FNSTRFORMAT() function. */ 1687 1687 typedef FNSTRFORMAT *PFNSTRFORMAT; … … 1899 1899 * @param pvUser The user argument. 1900 1900 */ 1901 typedef DECLCALLBACK (size_t) FNRTSTRFORMATTYPE(PFNRTSTROUTPUT pfnOutput, void *pvArgOutput,1902 const char *pszType, void const *pvValue,1903 int cchWidth, int cchPrecision, unsigned fFlags,1904 void *pvUser);1901 typedef DECLCALLBACKTYPE(size_t, FNRTSTRFORMATTYPE,(PFNRTSTROUTPUT pfnOutput, void *pvArgOutput, 1902 const char *pszType, void const *pvValue, 1903 int cchWidth, int cchPrecision, unsigned fFlags, 1904 void *pvUser)); 1905 1905 /** Pointer to a FNRTSTRFORMATTYPE. */ 1906 1906 typedef FNRTSTRFORMATTYPE *PFNRTSTRFORMATTYPE; … … 3291 3291 * @param pvUser The user specified argument. 3292 3292 */ 3293 typedef DECLCALLBACK (int) FNRTSTRSPACECALLBACK(PRTSTRSPACECORE pStr, void *pvUser);3293 typedef DECLCALLBACKTYPE(int, FNRTSTRSPACECALLBACK,(PRTSTRSPACECORE pStr, void *pvUser)); 3294 3294 /** Pointer to callback function for RTStrSpaceEnumerate() and RTStrSpaceDestroy(). */ 3295 3295 typedef FNRTSTRSPACECALLBACK *PFNRTSTRSPACECALLBACK; -
trunk/include/iprt/table.h
r82968 r85121 50 50 * @param cb The number of bytes to allocate. (Never 0.) 51 51 */ 52 typedef DECLCALLBACK (void *) FNRTTABALLOC(PRTTABALLOCATOR pAllocator, size_t cb);52 typedef DECLCALLBACKTYPE(void *, FNRTTABALLOC,(PRTTABALLOCATOR pAllocator, size_t cb)); 53 53 /** Pointer to a FNRTTABALLOC() function. */ 54 54 typedef FNRTTABALLOC *PFNRTTABALLOC; … … 60 60 * @param pv The memory to free. (can be NULL) 61 61 */ 62 typedef DECLCALLBACK (void *) FNRTTABFREE(PRTTABALLOCATOR pAllocator, void *pv);62 typedef DECLCALLBACKTYPE(void *, FNRTTABFREE,(PRTTABALLOCATOR pAllocator, void *pv)); 63 63 /** Pointer to a FNRTTABFREE() function. */ 64 64 typedef FNRTTABFREE *PFNRTTABFREE; … … 95 95 * @param pvUser The user argument. 96 96 */ 97 typedef DECLCALLBACK (int) FNRTTABCOMP(const void *pvItem1, const void *pvItem2, void *pvUser);97 typedef DECLCALLBACKTYPE(int, FNRTTABCOMP,(const void *pvItem1, const void *pvItem2, void *pvUser)); 98 98 /** Pointer to a FNRTTABCOMP() function. */ 99 99 typedef FNRTTABCOMP *PFNRTTABCOMP; … … 109 109 * @param pvUser The user argument. 110 110 */ 111 typedef DECLCALLBACK (void *) FNRTTABDUPLICATE(const void *pvItem, void *pvUser);111 typedef DECLCALLBACKTYPE(void *, FNRTTABDUPLICATE,(const void *pvItem, void *pvUser)); 112 112 /** Pointer to a FNRTTABDUPLICATE() function. */ 113 113 typedef FNRTTABDUPLICATE *PFNRTTABDUPLICATE; … … 121 121 * @param pvUser The user argument. 122 122 */ 123 typedef DECLCALLBACK (void) FNRTTABCALLBACK(const void *pvItem, void *pvUser);123 typedef DECLCALLBACKTYPE(void, FNRTTABCALLBACK,(const void *pvItem, void *pvUser)); 124 124 /** Pointer to a FNRTTABCALLBACK() function. */ 125 125 typedef FNRTTABCALLBACK *PFNRTTABCALLBACK; … … 157 157 * @param pfnComp The comparision function. 158 158 */ 159 DECLCALLBACKMEMBER(PRTTAB, pfnCreate )(PCRTTABOPS pOps, unsigned fCreateFlags, PRTTABALLOCATOR pAllocator, PFNRTTABCOMP pfnComp);159 DECLCALLBACKMEMBER(PRTTAB, pfnCreate,(PCRTTABOPS pOps, unsigned fCreateFlags, PRTTABALLOCATOR pAllocator, PFNRTTABCOMP pfnComp)); 160 160 161 161 /** … … 170 170 * @param pAllocator Custom allocator. Pass NULL to use the same allocator as pTab. 171 171 */ 172 DECLCALLBACKMEMBER(PRTTAB, pfnDuplicate )(PCRTTAB pTab, PFNRTTABDUPLICATE pfnDuplicate, PFNRTTABCALLBACK pfnNewCB, PRTTABALLOCATOR pAllocator);172 DECLCALLBACKMEMBER(PRTTAB, pfnDuplicate,(PCRTTAB pTab, PFNRTTABDUPLICATE pfnDuplicate, PFNRTTABCALLBACK pfnNewCB, PRTTABALLOCATOR pAllocator)); 173 173 174 174 /** … … 177 177 * @param pTab The table to destroy. 178 178 */ 179 DECLCALLBACKMEMBER(void, pfnDestroy )(PRTTAB pTab);179 DECLCALLBACKMEMBER(void, pfnDestroy,(PRTTAB pTab)); 180 180 181 181 /** … … 189 189 * @param pvItem The item which will be inserted if an matching item was not found in the table. 190 190 */ 191 DECLCALLBACKMEMBER(void **, pfnProbe )(PRTTAB pTab, void *pvItem);191 DECLCALLBACKMEMBER(void **, pfnProbe,(PRTTAB pTab, void *pvItem)); 192 192 193 193 /** … … 199 199 * @param pvItem The item which is to be inserted. 200 200 */ 201 DECLCALLBACKMEMBER(void *, pfnInsert )(PRTTAB pTab, void *pvItem);201 DECLCALLBACKMEMBER(void *, pfnInsert,(PRTTAB pTab, void *pvItem)); 202 202 203 203 /** … … 210 210 * @param pvItem The item which is to be inserted. 211 211 */ 212 DECLCALLBACKMEMBER(void *, pfnReplace )(PRTTAB pTab, void *pvItem);212 DECLCALLBACKMEMBER(void *, pfnReplace,(PRTTAB pTab, void *pvItem)); 213 213 214 214 /** … … 220 220 * @param pvItem The item which is to be inserted. 221 221 */ 222 DECLCALLBACKMEMBER(void *, pfnRemove )(PRTTAB pTab, const void *pvItem);222 DECLCALLBACKMEMBER(void *, pfnRemove,(PRTTAB pTab, const void *pvItem)); 223 223 224 224 /** … … 230 230 * @param pvItem The item which is to be inserted. 231 231 */ 232 DECLCALLBACKMEMBER(void *, pfnFind )(PRTTAB pTab, const void *pvItem);232 DECLCALLBACKMEMBER(void *, pfnFind,(PRTTAB pTab, const void *pvItem)); 233 233 234 234 /** … … 244 244 * @param pTravNew Pointer to a preallocated structure. Optional. 245 245 */ 246 DECLCALLBACKMEMBER(PRTTABTRAVERSERCORE, pfnTravInit )(PRTTAB pTab, PRTTABTRAVERSER pTravNew);246 DECLCALLBACKMEMBER(PRTTABTRAVERSERCORE, pfnTravInit,(PRTTAB pTab, PRTTABTRAVERSER pTravNew)); 247 247 248 248 /** … … 258 258 * @param pTravNew Pointer to a preallocated structure. Optional. 259 259 */ 260 DECLCALLBACKMEMBER(PRTTABTRAVERSERCORE, pfnTravFirst )(PRTTAB pTab, PRTTABTRAVERSER pTravNew);260 DECLCALLBACKMEMBER(PRTTABTRAVERSERCORE, pfnTravFirst,(PRTTAB pTab, PRTTABTRAVERSER pTravNew)); 261 261 262 262 /** … … 272 272 * @param pTravNew Pointer to a preallocated structure. Optional. 273 273 */ 274 DECLCALLBACKMEMBER(PRTTABTRAVERSERCORE, pfnTravLast )(PRTTAB pTab, PRTTABTRAVERSER pTravNew);274 DECLCALLBACKMEMBER(PRTTABTRAVERSERCORE, pfnTravLast,(PRTTAB pTab, PRTTABTRAVERSER pTravNew)); 275 275 276 276 /** … … 287 287 * @param pvItem The item to find the match to. 288 288 */ 289 DECLCALLBACKMEMBER(PRTTABTRAVERSERCORE, pfnTravFind )(PRTTAB pTab, PRTTABTRAVERSER pTravNew, const void *pvItem);289 DECLCALLBACKMEMBER(PRTTABTRAVERSERCORE, pfnTravFind,(PRTTAB pTab, PRTTABTRAVERSER pTravNew, const void *pvItem)); 290 290 291 291 /** … … 305 305 * @param pvItem The item to be inserted. 306 306 */ 307 DECLCALLBACKMEMBER(PRTTABTRAVERSERCORE, pfnTravInsert )(PRTTAB pTab, PRTTABTRAVERSER pTravNew, void *pvItem);307 DECLCALLBACKMEMBER(PRTTABTRAVERSERCORE, pfnTravInsert,(PRTTAB pTab, PRTTABTRAVERSER pTravNew, void *pvItem)); 308 308 309 309 /** … … 316 316 * @param pTravNew Pointer to a preallocated structure. Optional. 317 317 */ 318 DECLCALLBACKMEMBER(PRTTABTRAVERSERCORE, pfnTravDuplicate )(PRTTABTRAVERSERCORE pTrav, PCRTTABTRAVERSER pTravNew);318 DECLCALLBACKMEMBER(PRTTABTRAVERSERCORE, pfnTravDuplicate,(PRTTABTRAVERSERCORE pTrav, PCRTTABTRAVERSER pTravNew)); 319 319 320 320 /** … … 326 326 * @param pTrav The traverser which is to be free. 327 327 */ 328 DECLCALLBACKMEMBER(void, pfnTravFree )(PRTTABTRAVERSERCORE pTrav);328 DECLCALLBACKMEMBER(void, pfnTravFree,(PRTTABTRAVERSERCORE pTrav)); 329 329 330 330 /** … … 334 334 * @param pTrav The traverser. 335 335 */ 336 DECLCALLBACKMEMBER(void *, pfnTravCur )(PCRTTABTRAVERSERCORE pTrav);336 DECLCALLBACKMEMBER(void *, pfnTravCur,(PCRTTABTRAVERSERCORE pTrav)); 337 337 338 338 /** … … 342 342 * @param pTrav The traverser. 343 343 */ 344 DECLCALLBACKMEMBER(void *, pfnTravNext )(PRTTABTRAVERSERCORE pTrav);344 DECLCALLBACKMEMBER(void *, pfnTravNext,(PRTTABTRAVERSERCORE pTrav)); 345 345 346 346 /** … … 350 350 * @param pTrav The traverser. 351 351 */ 352 DECLCALLBACKMEMBER(void *, pfnTravPrev )(PRTTABTRAVERSERCORE pTrav);352 DECLCALLBACKMEMBER(void *, pfnTravPrev,(PRTTABTRAVERSERCORE pTrav)); 353 353 354 354 /** … … 364 364 * @param pvItem The item to be inserted. 365 365 */ 366 DECLCALLBACKMEMBER(void *, pfnTravReplace )(PRTTABTRAVERSERCORE pTrav, void *pvItem);366 DECLCALLBACKMEMBER(void *, pfnTravReplace,(PRTTABTRAVERSERCORE pTrav, void *pvItem)); 367 367 368 368 /** The type of table type. */ -
trunk/include/iprt/tcp.h
r82968 r85121 60 60 * @param pvUser User argument. 61 61 */ 62 typedef DECLCALLBACK (int) FNRTTCPSERVE(RTSOCKET hSocket, void *pvUser);62 typedef DECLCALLBACKTYPE(int, FNRTTCPSERVE,(RTSOCKET hSocket, void *pvUser)); 63 63 /** Pointer to a RTTCPSERVE(). */ 64 64 typedef FNRTTCPSERVE *PFNRTTCPSERVE; -
trunk/include/iprt/thread.h
r83124 r85121 238 238 * @param pvUser User argument. 239 239 */ 240 typedef DECLCALLBACK (int) FNRTTHREAD(RTTHREAD ThreadSelf, void *pvUser);240 typedef DECLCALLBACKTYPE(int, FNRTTHREAD,(RTTHREAD ThreadSelf, void *pvUser)); 241 241 /** Pointer to a FNRTTHREAD(). */ 242 242 typedef FNRTTHREAD *PFNRTTHREAD; … … 281 281 #ifndef RT_OS_LINUX /* XXX crashes genksyms at least on 32-bit Linux hosts */ 282 282 /** Pointer to a RTThreadCreate function. */ 283 typedef DECLCALLBACKPTR(int, PFNRTTHREADCREATE )(PRTTHREAD pThread, PFNRTTHREAD pfnThread, void *pvUser, size_t cbStack,284 RTTHREADTYPE enmType, unsigned fFlags, const char *pszName) ;283 typedef DECLCALLBACKPTR(int, PFNRTTHREADCREATE,(PRTTHREAD pThread, PFNRTTHREAD pfnThread, void *pvUser, size_t cbStack, 284 RTTHREADTYPE enmType, unsigned fFlags, const char *pszName)); 285 285 #endif 286 286 … … 645 645 * @param pvUser User argument. 646 646 */ 647 typedef DECLCALLBACK (void) FNRTTHREADCTXHOOK(RTTHREADCTXEVENT enmEvent, void *pvUser);647 typedef DECLCALLBACKTYPE(void, FNRTTHREADCTXHOOK,(RTTHREADCTXEVENT enmEvent, void *pvUser)); 648 648 /** Pointer to a context switching hook. */ 649 649 typedef FNRTTHREADCTXHOOK *PFNRTTHREADCTXHOOK; … … 873 873 * @param pvValue The current value. 874 874 */ 875 typedef DECLCALLBACK (void) FNRTTLSDTOR(void *pvValue);875 typedef DECLCALLBACKTYPE(void, FNRTTLSDTOR,(void *pvValue)); 876 876 /** Pointer to a FNRTTLSDTOR. */ 877 877 typedef FNRTTLSDTOR *PFNRTTLSDTOR; -
trunk/include/iprt/time.h
r83484 r85121 977 977 * @param u64PrevNanoTS The previously returned timestamp (as it was read it). 978 978 */ 979 DECLCALLBACKMEMBER(void, pfnBad )(PRTTIMENANOTSDATA pData, uint64_t u64NanoTS, uint64_t u64DeltaPrev, uint64_t u64PrevNanoTS);979 DECLCALLBACKMEMBER(void, pfnBad,(PRTTIMENANOTSDATA pData, uint64_t u64NanoTS, uint64_t u64DeltaPrev, uint64_t u64PrevNanoTS)); 980 980 981 981 /** … … 985 985 * @param pData Pointer to this structure. 986 986 */ 987 DECLCALLBACKMEMBER(uint64_t, pfnRediscover )(PRTTIMENANOTSDATA pData);987 DECLCALLBACKMEMBER(uint64_t, pfnRediscover,(PRTTIMENANOTSDATA pData)); 988 988 989 989 /** … … 998 998 * (UINT16_MAX-1). 999 999 */ 1000 DECLCALLBACKMEMBER(uint64_t, pfnBadCpuIndex )(PRTTIMENANOTSDATA pData, uint16_t idApic, uint16_t iCpuSet, uint16_t iGipCpu);1000 DECLCALLBACKMEMBER(uint64_t, pfnBadCpuIndex,(PRTTIMENANOTSDATA pData, uint16_t idApic, uint16_t iCpuSet, uint16_t iGipCpu)); 1001 1001 1002 1002 /** Number of 1ns steps because of overshooting the period. */ … … 1068 1068 1069 1069 /** Internal RTTimeNanoTS worker (assembly). */ 1070 typedef DECLCALLBACK (uint64_t) FNTIMENANOTSINTERNAL(PRTTIMENANOTSDATA pData);1070 typedef DECLCALLBACKTYPE(uint64_t, FNTIMENANOTSINTERNAL,(PRTTIMENANOTSDATA pData)); 1071 1071 /** Pointer to an internal RTTimeNanoTS worker (assembly). */ 1072 1072 typedef FNTIMENANOTSINTERNAL *PFNTIMENANOTSINTERNAL; -
trunk/include/iprt/timer.h
r82968 r85121 81 81 * this will be 1 when a cpu comes back online. 82 82 */ 83 typedef DECLCALLBACK (void) FNRTTIMER(PRTTIMER pTimer, void *pvUser, uint64_t iTick);83 typedef DECLCALLBACKTYPE(void, FNRTTIMER,(PRTTIMER pTimer, void *pvUser, uint64_t iTick)); 84 84 /** Pointer to FNRTTIMER() function. */ 85 85 typedef FNRTTIMER *PFNRTTIMER; … … 290 290 * skipped ticks when lagging behind. 291 291 */ 292 typedef DECLCALLBACK (void) FNRTTIMERLR(RTTIMERLR hTimerLR, void *pvUser, uint64_t iTick);292 typedef DECLCALLBACKTYPE(void, FNRTTIMERLR,(RTTIMERLR hTimerLR, void *pvUser, uint64_t iTick)); 293 293 /** Pointer to FNRTTIMER() function. */ 294 294 typedef FNRTTIMERLR *PFNRTTIMERLR; -
trunk/include/iprt/trace.h
r82968 r85121 111 111 * @param pvUser The user argument. 112 112 */ 113 typedef DECLCALLBACK (int) FNRTTRACEBUFCALLBACK(RTTRACEBUF hTraceBuf, uint32_t iEntry, uint64_t NanoTS,114 RTCPUID idCpu, const char *pszMsg, void *pvUser);113 typedef DECLCALLBACKTYPE(int, FNRTTRACEBUFCALLBACK,(RTTRACEBUF hTraceBuf, uint32_t iEntry, uint64_t NanoTS, 114 RTCPUID idCpu, const char *pszMsg, void *pvUser)); 115 115 /** Pointer to trace buffer enumeration callback function. */ 116 116 typedef FNRTTRACEBUFCALLBACK *PFNRTTRACEBUFCALLBACK; -
trunk/include/iprt/tracelog.h
r82968 r85121 261 261 * @param pcbWritten Where to store the number of bytes written on success, optional. 262 262 */ 263 typedef DECLCALLBACK (int) FNRTTRACELOGWRSTREAM(void *pvUser, const void *pvBuf, size_t cbBuf, size_t *pcbWritten);263 typedef DECLCALLBACKTYPE(int, FNRTTRACELOGWRSTREAM,(void *pvUser, const void *pvBuf, size_t cbBuf, size_t *pcbWritten)); 264 264 /** Pointer to a writer stream callback. */ 265 265 typedef FNRTTRACELOGWRSTREAM *PFNRTTRACELOGWRSTREAM; … … 279 279 * @param cMsTimeout How long to wait for something to arrive 280 280 */ 281 typedef DECLCALLBACK (int) FNRTTRACELOGRDRSTREAM(void *pvUser, void *pvBuf, size_t cbBuf, size_t *pcbRead,282 RTMSINTERVAL cMsTimeout);281 typedef DECLCALLBACKTYPE(int, FNRTTRACELOGRDRSTREAM,(void *pvUser, void *pvBuf, size_t cbBuf, size_t *pcbRead, 282 RTMSINTERVAL cMsTimeout)); 283 283 /** Pointer to a writer stream callback. */ 284 284 typedef FNRTTRACELOGRDRSTREAM *PFNRTTRACELOGRDRSTREAM; … … 291 291 * @param pvUser Opaque user data passed on trace log writer creation. 292 292 */ 293 typedef DECLCALLBACK (int) FNRTTRACELOGSTREAMCLOSE(void *pvUser);293 typedef DECLCALLBACKTYPE(int, FNRTTRACELOGSTREAMCLOSE,(void *pvUser)); 294 294 /** Pointer to a stream close callback. */ 295 295 typedef FNRTTRACELOGSTREAMCLOSE *PFNRTTRACELOGSTREAMCLOSE; -
trunk/include/iprt/types.h
r84407 r85121 1127 1127 * @see PFNRT 1128 1128 */ 1129 typedef DECLCALLBACK (void) FNRT(void);1129 typedef DECLCALLBACKTYPE(void, FNRT,(void)); 1130 1130 1131 1131 /** Generic function pointer. … … 1147 1147 */ 1148 1148 typedef FNRT *PFNRT; 1149 1150 /** Variant on PFNRT that takes one pointer argument. */ 1151 typedef DECLCALLBACKTYPE(void, FNRT1,(void *pvArg)); 1152 /** Pointer to FNRT1. */ 1153 typedef FNRT1 *PFNRT1; 1149 1154 1150 1155 /** Millisecond interval. */ … … 2798 2803 * @param pvUser The user specified argument. 2799 2804 */ 2800 typedef DECLCALLBACK (int) FNRTPROGRESS(unsigned uPrecentage, void *pvUser);2805 typedef DECLCALLBACKTYPE(int, FNRTPROGRESS,(unsigned uPrecentage, void *pvUser)); 2801 2806 /** Pointer to a generic progress callback function, FNRTPROCESS(). */ 2802 2807 typedef FNRTPROGRESS *PFNRTPROGRESS; … … 2809 2814 * @param va Arguments for the format string. 2810 2815 */ 2811 typedef DECLCALLBACK (void) FNRTDUMPPRINTFV(void *pvUser, const char *pszFormat, va_list va) RT_IPRT_FORMAT_ATTR(2, 0);2816 typedef DECLCALLBACKTYPE(void, FNRTDUMPPRINTFV,(void *pvUser, const char *pszFormat, va_list va) RT_IPRT_FORMAT_ATTR(2, 0)); 2812 2817 /** Pointer to a generic printf-like function for dumping. */ 2813 2818 typedef FNRTDUMPPRINTFV *PFNRTDUMPPRINTFV; -
trunk/include/iprt/udp.h
r82968 r85121 59 59 * @param pvUser User argument. 60 60 */ 61 typedef DECLCALLBACK (int) FNRTUDPSERVE(RTSOCKET Sock, void *pvUser);61 typedef DECLCALLBACKTYPE(int, FNRTUDPSERVE,(RTSOCKET Sock, void *pvUser)); 62 62 /** Pointer to a RTUDPSERVE(). */ 63 63 typedef FNRTUDPSERVE *PFNRTUDPSERVE; -
trunk/include/iprt/vfslowlevel.h
r84194 r85121 180 180 * @param pvThis The implementation specific file data. 181 181 */ 182 DECLCALLBACKMEMBER(int, pfnClose )(void *pvThis);182 DECLCALLBACKMEMBER(int, pfnClose,(void *pvThis)); 183 183 184 184 /** … … 192 192 * @sa RTVfsObjQueryInfo, RTFileQueryInfo, RTPathQueryInfo 193 193 */ 194 DECLCALLBACKMEMBER(int, pfnQueryInfo )(void *pvThis, PRTFSOBJINFO pObjInfo, RTFSOBJATTRADD enmAddAttr);194 DECLCALLBACKMEMBER(int, pfnQueryInfo,(void *pvThis, PRTFSOBJINFO pObjInfo, RTFSOBJATTRADD enmAddAttr)); 195 195 196 196 /** Marks the end of the structure (RTVFSOBJOPS_VERSION). */ … … 223 223 * @param phVfsDir Where to return the handle to the root directory. 224 224 */ 225 DECLCALLBACKMEMBER(int, pfnOpenRoot )(void *pvThis, PRTVFSDIR phVfsDir);225 DECLCALLBACKMEMBER(int, pfnOpenRoot,(void *pvThis, PRTVFSDIR phVfsDir)); 226 226 227 227 /** … … 237 237 * @param pfUsed Where to store whether the given range is in use. 238 238 */ 239 DECLCALLBACKMEMBER(int, pfnQueryRangeState )(void *pvThis, uint64_t off, size_t cb, bool *pfUsed);239 DECLCALLBACKMEMBER(int, pfnQueryRangeState,(void *pvThis, uint64_t off, size_t cb, bool *pfUsed)); 240 240 241 241 /** @todo There will be more methods here to optimize opening and … … 254 254 * @param p??? Return other stuff... 255 255 */ 256 DECLCALLBACKMEMBER(int, pfnTraverse )(void *pvThis, const char *pszPath, size_t *poffPath, PRTVFS??? phVfs?, ???* p???);256 DECLCALLBACKMEMBER(int, pfnTraverse,(void *pvThis, const char *pszPath, size_t *poffPath, PRTVFS??? phVfs?, ???* p???)); 257 257 #endif 258 258 … … 344 344 * @sa RTFileSetMode 345 345 */ 346 DECLCALLBACKMEMBER(int, pfnSetMode )(void *pvThis, RTFMODE fMode, RTFMODE fMask);346 DECLCALLBACKMEMBER(int, pfnSetMode,(void *pvThis, RTFMODE fMode, RTFMODE fMask)); 347 347 348 348 /** … … 364 364 * @sa RTFileSetTimes 365 365 */ 366 DECLCALLBACKMEMBER(int, pfnSetTimes )(void *pvThis, PCRTTIMESPEC pAccessTime, PCRTTIMESPEC pModificationTime,367 PCRTTIMESPEC pChangeTime, PCRTTIMESPEC pBirthTime) ;366 DECLCALLBACKMEMBER(int, pfnSetTimes,(void *pvThis, PCRTTIMESPEC pAccessTime, PCRTTIMESPEC pModificationTime, 367 PCRTTIMESPEC pChangeTime, PCRTTIMESPEC pBirthTime)); 368 368 369 369 /** … … 379 379 * @sa RTFileSetOwner 380 380 */ 381 DECLCALLBACKMEMBER(int, pfnSetOwner )(void *pvThis, RTUID uid, RTGID gid);381 DECLCALLBACKMEMBER(int, pfnSetOwner,(void *pvThis, RTUID uid, RTGID gid)); 382 382 383 383 /** Marks the end of the structure (RTVFSOBJSETOPS_VERSION). */ … … 423 423 * @note Setting this member to NULL is okay for write-only streams. 424 424 */ 425 DECLCALLBACKMEMBER(int, pfnNext )(void *pvThis, char **ppszName, RTVFSOBJTYPE *penmType, PRTVFSOBJ phVfsObj);425 DECLCALLBACKMEMBER(int, pfnNext,(void *pvThis, char **ppszName, RTVFSOBJTYPE *penmType, PRTVFSOBJ phVfsObj)); 426 426 427 427 /** … … 439 439 * @note Setting this member to NULL is okay for read-only streams. 440 440 */ 441 DECLCALLBACKMEMBER(int, pfnAdd )(void *pvThis, const char *pszPath, RTVFSOBJ hVfsObj, uint32_t fFlags);441 DECLCALLBACKMEMBER(int, pfnAdd,(void *pvThis, const char *pszPath, RTVFSOBJ hVfsObj, uint32_t fFlags)); 442 442 443 443 /** … … 467 467 * handle can be cast to a file if necessary. 468 468 */ 469 DECLCALLBACKMEMBER(int, pfnPushFile )(void *pvThis, const char *pszPath, uint64_t cbFile,470 PCRTFSOBJINFO paObjInfo, uint32_t cObjInfo, uint32_t fFlags, PRTVFSIOSTREAM phVfsIos) ;469 DECLCALLBACKMEMBER(int, pfnPushFile,(void *pvThis, const char *pszPath, uint64_t cbFile, 470 PCRTFSOBJINFO paObjInfo, uint32_t cObjInfo, uint32_t fFlags, PRTVFSIOSTREAM phVfsIos)); 471 471 472 472 /** … … 481 481 * @note Setting this member to NULL is okay for read-only streams. 482 482 */ 483 DECLCALLBACKMEMBER(int, pfnEnd )(void *pvThis);483 DECLCALLBACKMEMBER(int, pfnEnd,(void *pvThis)); 484 484 485 485 /** Marks the end of the structure (RTVFSFSSTREAMOPS_VERSION). */ … … 577 577 * @sa RTFileOpen, RTDirOpen 578 578 */ 579 DECLCALLBACKMEMBER(int, pfnOpen )(void *pvThis, const char *pszEntry, uint64_t fOpenFile,580 uint32_t fObjFlags, PRTVFSOBJ phVfsObj) ;579 DECLCALLBACKMEMBER(int, pfnOpen,(void *pvThis, const char *pszEntry, uint64_t fOpenFile, 580 uint32_t fObjFlags, PRTVFSOBJ phVfsObj)); 581 581 582 582 /** … … 596 596 * directory (or may current dir on a drive letter). 597 597 */ 598 DECLCALLBACKMEMBER(int, pfnFollowAbsoluteSymlink )(void *pvThis, const char *pszRoot, PRTVFSDIR phVfsDir);598 DECLCALLBACKMEMBER(int, pfnFollowAbsoluteSymlink,(void *pvThis, const char *pszRoot, PRTVFSDIR phVfsDir)); 599 599 600 600 /** … … 609 609 * @sa RTFileOpen. 610 610 */ 611 DECLCALLBACKMEMBER(int, pfnOpenFile )(void *pvThis, const char *pszFilename, uint64_t fOpen, PRTVFSFILE phVfsFile);611 DECLCALLBACKMEMBER(int, pfnOpenFile,(void *pvThis, const char *pszFilename, uint64_t fOpen, PRTVFSFILE phVfsFile)); 612 612 613 613 /** … … 626 626 * @sa RTDirOpen. 627 627 */ 628 DECLCALLBACKMEMBER(int, pfnOpenDir )(void *pvThis, const char *pszSubDir, uint32_t fFlags, PRTVFSDIR phVfsDir);628 DECLCALLBACKMEMBER(int, pfnOpenDir,(void *pvThis, const char *pszSubDir, uint32_t fFlags, PRTVFSDIR phVfsDir)); 629 629 630 630 /** … … 640 640 * @sa RTDirCreate. 641 641 */ 642 DECLCALLBACKMEMBER(int, pfnCreateDir )(void *pvThis, const char *pszSubDir, RTFMODE fMode, PRTVFSDIR phVfsDir);642 DECLCALLBACKMEMBER(int, pfnCreateDir,(void *pvThis, const char *pszSubDir, RTFMODE fMode, PRTVFSDIR phVfsDir)); 643 643 644 644 /** … … 653 653 * @sa RTSymlinkCreate. 654 654 */ 655 DECLCALLBACKMEMBER(int, pfnOpenSymlink )(void *pvThis, const char *pszSymlink, PRTVFSSYMLINK phVfsSymlink);655 DECLCALLBACKMEMBER(int, pfnOpenSymlink,(void *pvThis, const char *pszSymlink, PRTVFSSYMLINK phVfsSymlink)); 656 656 657 657 /** … … 667 667 * @sa RTSymlinkCreate. 668 668 */ 669 DECLCALLBACKMEMBER(int, pfnCreateSymlink )(void *pvThis, const char *pszSymlink, const char *pszTarget,670 RTSYMLINKTYPE enmType, PRTVFSSYMLINK phVfsSymlink) ;669 DECLCALLBACKMEMBER(int, pfnCreateSymlink,(void *pvThis, const char *pszSymlink, const char *pszTarget, 670 RTSYMLINKTYPE enmType, PRTVFSSYMLINK phVfsSymlink)); 671 671 672 672 /** … … 682 682 * @sa RTPathQueryInfo, RTVFSOBJOPS::pfnQueryInfo 683 683 */ 684 DECLCALLBACKMEMBER(int, pfnQueryEntryInfo )(void *pvThis, const char *pszEntry,685 PRTFSOBJINFO pObjInfo, RTFSOBJATTRADD enmAddAttr) ;684 DECLCALLBACKMEMBER(int, pfnQueryEntryInfo,(void *pvThis, const char *pszEntry, 685 PRTFSOBJINFO pObjInfo, RTFSOBJATTRADD enmAddAttr)); 686 686 687 687 /** … … 696 696 * @sa RTFileRemove, RTDirRemove, RTSymlinkRemove. 697 697 */ 698 DECLCALLBACKMEMBER(int, pfnUnlinkEntry )(void *pvThis, const char *pszEntry, RTFMODE fType);698 DECLCALLBACKMEMBER(int, pfnUnlinkEntry,(void *pvThis, const char *pszEntry, RTFMODE fType)); 699 699 700 700 /** … … 713 713 * directories within a file system. 714 714 */ 715 DECLCALLBACKMEMBER(int, pfnRenameEntry )(void *pvThis, const char *pszEntry, RTFMODE fType, const char *pszNewName);715 DECLCALLBACKMEMBER(int, pfnRenameEntry,(void *pvThis, const char *pszEntry, RTFMODE fType, const char *pszNewName)); 716 716 717 717 /** … … 722 722 * @param pvThis The implementation specific directory data. 723 723 */ 724 DECLCALLBACKMEMBER(int, pfnRewindDir )(void *pvThis);724 DECLCALLBACKMEMBER(int, pfnRewindDir,(void *pvThis)); 725 725 726 726 /** … … 735 735 * @sa RTDirReadEx 736 736 */ 737 DECLCALLBACKMEMBER(int, pfnReadDir )(void *pvThis, PRTDIRENTRYEX pDirEntry, size_t *pcbDirEntry, RTFSOBJATTRADD enmAddAttr);737 DECLCALLBACKMEMBER(int, pfnReadDir,(void *pvThis, PRTDIRENTRYEX pDirEntry, size_t *pcbDirEntry, RTFSOBJATTRADD enmAddAttr)); 738 738 739 739 /** Marks the end of the structure (RTVFSDIROPS_VERSION). */ … … 810 810 * @sa RTSymlinkRead 811 811 */ 812 DECLCALLBACKMEMBER(int, pfnRead )(void *pvThis, char *pszTarget, size_t cbTarget);812 DECLCALLBACKMEMBER(int, pfnRead,(void *pvThis, char *pszTarget, size_t cbTarget)); 813 813 814 814 /** Marks the end of the structure (RTVFSSYMLINKOPS_VERSION). */ … … 881 881 * RTVfsFileReadAt, RTFileRead, RTFileReadAt. 882 882 */ 883 DECLCALLBACKMEMBER(int, pfnRead )(void *pvThis, RTFOFF off, PCRTSGBUF pSgBuf, bool fBlocking, size_t *pcbRead);883 DECLCALLBACKMEMBER(int, pfnRead,(void *pvThis, RTFOFF off, PCRTSGBUF pSgBuf, bool fBlocking, size_t *pcbRead)); 884 884 885 885 /** … … 900 900 * @sa RTFileWrite, RTFileWriteAt. 901 901 */ 902 DECLCALLBACKMEMBER(int, pfnWrite )(void *pvThis, RTFOFF off, PCRTSGBUF pSgBuf, bool fBlocking, size_t *pcbWritten);902 DECLCALLBACKMEMBER(int, pfnWrite,(void *pvThis, RTFOFF off, PCRTSGBUF pSgBuf, bool fBlocking, size_t *pcbWritten)); 903 903 904 904 /** … … 909 909 * @sa RTFileFlush. 910 910 */ 911 DECLCALLBACKMEMBER(int, pfnFlush )(void *pvThis);911 DECLCALLBACKMEMBER(int, pfnFlush,(void *pvThis)); 912 912 913 913 /** … … 926 926 * @sa RTPollSetAdd, RTPoll, RTPollNoResume. 927 927 */ 928 DECLCALLBACKMEMBER(int, pfnPollOne )(void *pvThis, uint32_t fEvents, RTMSINTERVAL cMillies, bool fIntr,929 uint32_t *pfRetEvents) ;928 DECLCALLBACKMEMBER(int, pfnPollOne,(void *pvThis, uint32_t fEvents, RTMSINTERVAL cMillies, bool fIntr, 929 uint32_t *pfRetEvents)); 930 930 931 931 /** … … 937 937 * @sa RTFileTell 938 938 */ 939 DECLCALLBACKMEMBER(int, pfnTell )(void *pvThis, PRTFOFF poffActual);939 DECLCALLBACKMEMBER(int, pfnTell,(void *pvThis, PRTFOFF poffActual)); 940 940 941 941 /** … … 947 947 * @remarks This is optional and can be NULL. 948 948 */ 949 DECLCALLBACKMEMBER(int, pfnSkip )(void *pvThis, RTFOFF cb);949 DECLCALLBACKMEMBER(int, pfnSkip,(void *pvThis, RTFOFF cb)); 950 950 951 951 /** … … 957 957 * @remarks This is optional and can be NULL. 958 958 */ 959 DECLCALLBACKMEMBER(int, pfnZeroFill )(void *pvThis, RTFOFF cb);959 DECLCALLBACKMEMBER(int, pfnZeroFill,(void *pvThis, RTFOFF cb)); 960 960 961 961 /** Marks the end of the structure (RTVFSIOSTREAMOPS_VERSION). */ … … 1036 1036 * @sa RTFileSeek 1037 1037 */ 1038 DECLCALLBACKMEMBER(int, pfnSeek )(void *pvThis, RTFOFF offSeek, unsigned uMethod, PRTFOFF poffActual);1038 DECLCALLBACKMEMBER(int, pfnSeek,(void *pvThis, RTFOFF offSeek, unsigned uMethod, PRTFOFF poffActual)); 1039 1039 1040 1040 /** … … 1046 1046 * @sa RTFileQuerySize 1047 1047 */ 1048 DECLCALLBACKMEMBER(int, pfnQuerySize )(void *pvThis, uint64_t *pcbFile);1048 DECLCALLBACKMEMBER(int, pfnQuerySize,(void *pvThis, uint64_t *pcbFile)); 1049 1049 1050 1050 /** … … 1066 1066 * @sa RTFileSetSize, RTFileSetAllocationSize 1067 1067 */ 1068 DECLCALLBACKMEMBER(int, pfnSetSize )(void *pvThis, uint64_t cbFile, uint32_t fFlags);1068 DECLCALLBACKMEMBER(int, pfnSetSize,(void *pvThis, uint64_t cbFile, uint32_t fFlags)); 1069 1069 1070 1070 /** … … 1080 1080 * @sa RTFileQueryMaxSizeEx 1081 1081 */ 1082 DECLCALLBACKMEMBER(int, pfnQueryMaxSize )(void *pvThis, uint64_t *pcbMax);1082 DECLCALLBACKMEMBER(int, pfnQueryMaxSize,(void *pvThis, uint64_t *pcbMax)); 1083 1083 1084 1084 /** @todo There will be more methods here. */ … … 1337 1337 * available. Optional. 1338 1338 */ 1339 DECLCALLBACKMEMBER(int, pfnValidate )(PCRTVFSCHAINELEMENTREG pProviderReg, PRTVFSCHAINSPEC pSpec,1340 PRTVFSCHAINELEMSPEC pElement, uint32_t *poffError, PRTERRINFO pErrInfo) ;1339 DECLCALLBACKMEMBER(int, pfnValidate,(PCRTVFSCHAINELEMENTREG pProviderReg, PRTVFSCHAINSPEC pSpec, 1340 PRTVFSCHAINELEMSPEC pElement, uint32_t *poffError, PRTERRINFO pErrInfo)); 1341 1341 1342 1342 /** … … 1356 1356 * available. Optional. 1357 1357 */ 1358 DECLCALLBACKMEMBER(int, pfnInstantiate )(PCRTVFSCHAINELEMENTREG pProviderReg, PCRTVFSCHAINSPEC pSpec,1358 DECLCALLBACKMEMBER(int, pfnInstantiate,(PCRTVFSCHAINELEMENTREG pProviderReg, PCRTVFSCHAINSPEC pSpec, 1359 1359 PCRTVFSCHAINELEMSPEC pElement, RTVFSOBJ hPrevVfsObj, 1360 PRTVFSOBJ phVfsObj, uint32_t *poffError, PRTERRINFO pErrInfo) ;1360 PRTVFSOBJ phVfsObj, uint32_t *poffError, PRTERRINFO pErrInfo)); 1361 1361 1362 1362 /** … … 1377 1377 * element that is being considered for reuse. 1378 1378 */ 1379 DECLCALLBACKMEMBER(bool, pfnCanReuseElement )(PCRTVFSCHAINELEMENTREG pProviderReg,1379 DECLCALLBACKMEMBER(bool, pfnCanReuseElement,(PCRTVFSCHAINELEMENTREG pProviderReg, 1380 1380 PCRTVFSCHAINSPEC pSpec, PCRTVFSCHAINELEMSPEC pElement, 1381 PCRTVFSCHAINSPEC pReuseSpec, PCRTVFSCHAINELEMSPEC pReuseElement) ;1381 PCRTVFSCHAINSPEC pReuseSpec, PCRTVFSCHAINELEMSPEC pReuseElement)); 1382 1382 1383 1383 /** End marker (RTVFSCHAINELEMENTREG_VERSION). */ -
trunk/include/iprt/win/commctrl.h
r85108 r85121 1 1 /** @file 2 * Safe way to include shlobj.h.2 * Safe way to include commctrl.h. 3 3 */ 4 4 … … 24 24 */ 25 25 26 #ifndef IPRT_INCLUDED_win_ shlobj_h27 #define IPRT_INCLUDED_win_ shlobj_h26 #ifndef IPRT_INCLUDED_win_commctrl_h 27 #define IPRT_INCLUDED_win_commctrl_h 28 28 #ifndef RT_WITHOUT_PRAGMA_ONCE 29 29 # pragma once … … 32 32 #ifdef _MSC_VER 33 33 # pragma warning(push) 34 # pragma warning(disable:4668) /* warning C4668: 'USE_SP_ALTPLATFORM_INFO_V1' is not defined as a preprocessor macro, replacing with '0' for '#if/#elif' */35 # if _MSC_VER >= 1800 /*RT_MSC_VER_VC120*/36 # pragma warning(disable:4005) /* sdk/v7.1/include/sal_supp.h(57) : warning C4005: '__useHeader' : macro redefinition */37 # pragma warning(disable:4255) /* windef.h(227) : warning C4255: 'NEARPROC' : no function prototype given: converting '()' to '(void)' */38 # endif39 34 # if _MSC_VER >= 1900 /*RT_MSC_VER_VC140*/ 40 # pragma warning(disable:4091) /* sdk/v7.1/include/shlobj.h(1151): warning C4091: 'typedef ': ignored on left of 'tagGPFIDL_FLAGS' when no variable is declared */ 41 # endif 42 # if _MSC_VER >= 1910 /*RT_MSC_VER_VC141*/ 43 # pragma warning(disable:4768) /* sdk/v7.1/include/shlobj.h(1065): warning C4768: __declspec attributes before linkage specification are ignored */ 35 # ifdef __cplusplus 36 # pragma warning(disable:5039) /* commctrl.h(8323): warning C5039: 'DSA_DestroyCallback': pointer or reference to potentially throwing function passed to 'extern "C"' function under -EHc. Undefined behavior may occur if this function throws an exception. */ 37 # endif 44 38 # endif 45 39 #endif 46 40 47 #include < shlobj.h>41 #include <commctrl.h> 48 42 49 43 #ifdef _MSC_VER … … 51 45 #endif 52 46 53 #endif /* !IPRT_INCLUDED_win_ shlobj_h */47 #endif /* !IPRT_INCLUDED_win_commctrl_h */ 54 48 -
trunk/include/iprt/win/credentialprovider.h
r85108 r85121 1 1 /** @file 2 * Safe way to include shlobj.h.2 * Safe way to include credentialprovider.h. 3 3 */ 4 4 … … 24 24 */ 25 25 26 #ifndef IPRT_INCLUDED_win_ shlobj_h27 #define IPRT_INCLUDED_win_ shlobj_h26 #ifndef IPRT_INCLUDED_win_credentialprovider_h 27 #define IPRT_INCLUDED_win_credentialprovider_h 28 28 #ifndef RT_WITHOUT_PRAGMA_ONCE 29 29 # pragma once … … 32 32 #ifdef _MSC_VER 33 33 # pragma warning(push) 34 # pragma warning(disable:4668) /* warning C4668: 'USE_SP_ALTPLATFORM_INFO_V1' is not defined as a preprocessor macro, replacing with '0' for '#if/#elif' */35 # if _MSC_VER >= 1800 /*RT_MSC_VER_VC120*/36 # pragma warning(disable:4005) /* sdk/v7.1/include/sal_supp.h(57) : warning C4005: '__useHeader' : macro redefinition */37 # pragma warning(disable:4255) /* windef.h(227) : warning C4255: 'NEARPROC' : no function prototype given: converting '()' to '(void)' */38 # endif39 34 # if _MSC_VER >= 1900 /*RT_MSC_VER_VC140*/ 40 # pragma warning(disable:4091) /* sdk/v7.1/include/shlobj.h(1151): warning C4091: 'typedef ': ignored on left of 'tagGPFIDL_FLAGS' when no variable is declared */ 41 # endif 42 # if _MSC_VER >= 1910 /*RT_MSC_VER_VC141*/ 43 # pragma warning(disable:4768) /* sdk/v7.1/include/shlobj.h(1065): warning C4768: __declspec attributes before linkage specification are ignored */ 35 # ifdef __cplusplus 36 # pragma warning(disable:5039) /* commctrl.h(8323): warning C5039: 'DSA_DestroyCallback': pointer or reference to potentially throwing function passed to 'extern "C"' function under -EHc. Undefined behavior may occur if this function throws an exception. */ 37 # endif 44 38 # endif 45 39 #endif 46 40 47 #include < shlobj.h>41 #include <credentialprovider.h> 48 42 49 43 #ifdef _MSC_VER … … 51 45 #endif 52 46 53 #endif /* !IPRT_INCLUDED_win_ shlobj_h */47 #endif /* !IPRT_INCLUDED_win_credentialprovider_h */ 54 48 -
trunk/include/iprt/win/d3d9.h
r82968 r85121 38 38 # pragma warning(disable:4005) /* sdk/v7.1/include/sal_supp.h(57) : warning C4005: '__useHeader' : macro redefinition */ 39 39 # endif 40 # ifdef __cplusplus 41 # if _MSC_VER >= 1900 /*RT_MSC_VER_VC140*/ 42 # pragma warning(disable:5039) /* winbase.h(13179): warning C5039: 'TpSetCallbackCleanupGroup': pointer or reference to potentially throwing function passed to 'extern "C"' function under -EHc. Undefined behavior may occur if this function throws an exception. */ 43 # endif 44 # endif 40 45 #endif 41 46 -
trunk/include/iprt/win/objbase.h
r82968 r85121 39 39 # pragma warning(disable:4005) /* sdk/v7.1/include/sal_supp.h(57) : warning C4005: '__useHeader' : macro redefinition */ 40 40 # endif 41 # ifdef __cplusplus 42 # if _MSC_VER >= 1900 /*RT_MSC_VER_VC140*/ 43 # pragma warning(disable:5039) /* winbase.h(13179): warning C5039: 'TpSetCallbackCleanupGroup': pointer or reference to potentially throwing function passed to 'extern "C"' function under -EHc. Undefined behavior may occur if this function throws an exception. */ 44 # endif 45 # endif 41 46 #endif 42 47 -
trunk/include/iprt/win/objidl.h
r82968 r85121 30 30 #endif 31 31 32 #pragma warning(push) 33 #pragma warning(disable:4668) /* '__midl' is not defined as a preprocessor macro, replacing with '0' for '#if/#elif' */ 34 #if _MSC_VER >= 1800 /*RT_MSC_VER_VC120*/ 35 # pragma warning(disable:4005) /* sdk/v7.1/include/sal_supp.h(57) : warning C4005: '__useHeader' : macro redefinition */ 36 # pragma warning(disable:4255) /* windef.h(227) : warning C4255: 'NEARPROC' : no function prototype given: converting '()' to '(void)' */ 32 #ifdef _MSC_VER 33 # pragma warning(push) 34 # pragma warning(disable:4668) /* '__midl' is not defined as a preprocessor macro, replacing with '0' for '#if/#elif' */ 35 # if _MSC_VER >= 1800 /*RT_MSC_VER_VC120*/ 36 # pragma warning(disable:4005) /* sdk/v7.1/include/sal_supp.h(57) : warning C4005: '__useHeader' : macro redefinition */ 37 # pragma warning(disable:4255) /* windef.h(227) : warning C4255: 'NEARPROC' : no function prototype given: converting '()' to '(void)' */ 38 # endif 39 # ifdef __cplusplus 40 # if _MSC_VER >= 1900 /*RT_MSC_VER_VC140*/ 41 # pragma warning(disable:5039) /* winbase.h(13179): warning C5039: 'TpSetCallbackCleanupGroup': pointer or reference to potentially throwing function passed to 'extern "C"' function under -EHc. Undefined behavior may occur if this function throws an exception. */ 42 # endif 43 # endif 37 44 #endif 38 45 39 46 #include <objidl.h> 40 47 41 #pragma warning(pop) 48 #ifdef _MSC_VER 49 # pragma warning(pop) 50 #endif 42 51 43 52 #endif /* !IPRT_INCLUDED_win_objidl_h */ -
trunk/include/iprt/win/setupapi.h
r82968 r85121 30 30 #endif 31 31 32 #pragma warning(push) 33 #pragma warning(disable:4668) /* warning C4668: 'USE_SP_ALTPLATFORM_INFO_V1' is not defined as a preprocessor macro, replacing with '0' for '#if/#elif' */ 32 #ifdef _MSC_VER 33 # pragma warning(push) 34 # pragma warning(disable:4668) /* warning C4668: 'USE_SP_ALTPLATFORM_INFO_V1' is not defined as a preprocessor macro, replacing with '0' for '#if/#elif' */ 35 # ifdef __cplusplus 36 # if _MSC_VER >= 1900 /*RT_MSC_VER_VC140*/ 37 # pragma warning(disable:5039) /* winbase.h(13179): warning C5039: 'TpSetCallbackCleanupGroup': pointer or reference to potentially throwing function passed to 'extern "C"' function under -EHc. Undefined behavior may occur if this function throws an exception. */ 38 # endif 39 # endif 40 #endif 34 41 35 42 #include <setupapi.h> 36 43 37 #pragma warning(pop) 44 #ifdef _MSC_VER 45 # pragma warning(pop) 46 #endif 38 47 39 48 #endif /* !IPRT_INCLUDED_win_setupapi_h */ -
trunk/include/iprt/win/shlobj.h
r84406 r85121 39 39 # if _MSC_VER >= 1900 /*RT_MSC_VER_VC140*/ 40 40 # pragma warning(disable:4091) /* sdk/v7.1/include/shlobj.h(1151): warning C4091: 'typedef ': ignored on left of 'tagGPFIDL_FLAGS' when no variable is declared */ 41 # ifdef __cplusplus 42 # pragma warning(disable:5039) /* commctrl.h(8323): warning C5039: 'DSA_DestroyCallback': pointer or reference to potentially throwing function passed to 'extern "C"' function under -EHc. Undefined behavior may occur if this function throws an exception. */ 43 # endif 41 44 # endif 42 45 # if _MSC_VER >= 1910 /*RT_MSC_VER_VC141*/ -
trunk/include/iprt/win/windows.h
r82968 r85121 41 41 # pragma warning(disable:4005) /* sdk/v7.1/include/sal_supp.h(57) : warning C4005: '__useHeader' : macro redefinition */ 42 42 # endif 43 # ifndef __cplusplus 43 # ifdef __cplusplus 44 # if _MSC_VER >= 1900 /*RT_MSC_VER_VC140*/ 45 # pragma warning(disable:5039) /* winbase.h(13179): warning C5039: 'TpSetCallbackCleanupGroup': pointer or reference to potentially throwing function passed to 'extern "C"' function under -EHc. Undefined behavior may occur if this function throws an exception. */ 46 # endif 47 # else 44 48 # pragma warning(disable:4255) /* warning C4255: 'FARPROC' : no function prototype given: converting '()' to '(void)' */ 45 49 # endif -
trunk/include/iprt/win/winsock2.h
r82968 r85121 43 43 # pragma warning(disable:4005) /* sdk/v7.1/include/sal_supp.h(57) : warning C4005: '__useHeader' : macro redefinition */ 44 44 # endif 45 # if _MSC_VER >= 1900 /*RT_MSC_VER_VC140*/ 46 # ifdef __cplusplus 47 # pragma warning(disable:5039) /* winbase.h(13179): warning C5039: 'TpSetCallbackCleanupGroup': pointer or reference to potentially throwing function passed to 'extern "C"' function under -EHc. Undefined behavior may occur if this function throws an exception. */ 48 # endif 49 # endif 45 50 #endif 46 51 -
trunk/include/iprt/win/ws2tcpip.h
r82968 r85121 30 30 #endif 31 31 32 #pragma warning(push) 33 #pragma warning(disable:4668) /* 'NDIS_SUPPORT_NDIS6' is not defined as a preprocessor macro, replacing with '0' for '#if/#elif' */ 34 #if _MSC_VER >= 1800 /*RT_MSC_VER_VC120*/ 35 # pragma warning(disable:4005) /* sdk/v7.1/include/sal_supp.h(57) : warning C4005: '__useHeader' : macro redefinition */ 36 # pragma warning(disable:4255) /* windef.h(227) : warning C4255: 'NEARPROC' : no function prototype given: converting '()' to '(void)' */ 32 #ifdef _MSC_VER 33 # pragma warning(push) 34 # pragma warning(disable:4668) /* 'NDIS_SUPPORT_NDIS6' is not defined as a preprocessor macro, replacing with '0' for '#if/#elif' */ 35 # if _MSC_VER >= 1800 /*RT_MSC_VER_VC120*/ 36 # pragma warning(disable:4005) /* sdk/v7.1/include/sal_supp.h(57) : warning C4005: '__useHeader' : macro redefinition */ 37 # pragma warning(disable:4255) /* windef.h(227) : warning C4255: 'NEARPROC' : no function prototype given: converting '()' to '(void)' */ 38 # endif 39 # if _MSC_VER >= 1900 /*RT_MSC_VER_VC140*/ 40 # ifdef __cplusplus 41 # pragma warning(disable:5039) /* ws2tcpip.h(874): warning C5039: 'WSAIoctl': pointer or reference to potentially throwing function passed to 'extern "C"' function under -EHc. Undefined behavior may occur if this function throws an exception. */ 42 # endif 43 # endif 37 44 #endif 38 45 39 46 #include <ws2tcpip.h> 40 47 41 #pragma warning(pop) 48 #ifdef _MSC_VER 49 # pragma warning(pop) 50 #endif 42 51 43 52 #endif /* !IPRT_INCLUDED_win_ws2tcpip_h */ -
trunk/include/iprt/zip.h
r84234 r85121 50 50 * @param cbBuf Size of the compressed data. 51 51 */ 52 typedef DECLCALLBACK (int) FNRTZIPOUT(void *pvUser, const void *pvBuf, size_t cbBuf);52 typedef DECLCALLBACKTYPE(int, FNRTZIPOUT,(void *pvUser, const void *pvBuf, size_t cbBuf)); 53 53 /** Pointer to FNRTZIPOUT() function. */ 54 54 typedef FNRTZIPOUT *PFNRTZIPOUT; … … 63 63 * @param pcbBuf Number of bytes actually stored in the buffer. 64 64 */ 65 typedef DECLCALLBACK (int) FNRTZIPIN(void *pvUser, void *pvBuf, size_t cbBuf, size_t *pcbBuf);65 typedef DECLCALLBACKTYPE(int, FNRTZIPIN,(void *pvUser, void *pvBuf, size_t cbBuf, size_t *pcbBuf)); 66 66 /** Pointer to FNRTZIPIN() function. */ 67 67 typedef FNRTZIPIN *PFNRTZIPIN;
Note:
See TracChangeset
for help on using the changeset viewer.