VirtualBox

Ignore:
Timestamp:
Aug 23, 2021 10:29:03 AM (4 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
146427
Message:

*: More VALID_PTR -> RT_VALID_PTR/AssertPtr.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/HostServices/GuestProperties/VBoxGuestPropSvc.cpp

    r90238 r90792  
    330330    static DECLCALLBACK(int) svcUnload(void *pvService)
    331331    {
    332         AssertLogRelReturn(VALID_PTR(pvService), VERR_INVALID_PARAMETER);
     332        AssertLogRelReturn(RT_VALID_PTR(pvService), VERR_INVALID_PARAMETER);
    333333        SELF *pSelf = reinterpret_cast<SELF *>(pvService);
    334334        int rc = pSelf->uninit();
     
    367367                                      uint64_t tsArrival)
    368368    {
    369         AssertLogRelReturnVoid(VALID_PTR(pvService));
     369        AssertLogRelReturnVoid(RT_VALID_PTR(pvService));
    370370        LogFlowFunc(("pvService=%p, callHandle=%p, u32ClientID=%u, pvClient=%p, u32Function=%u, cParms=%u, paParms=%p\n", pvService, callHandle, u32ClientID, pvClient, u32Function, cParms, paParms));
    371371        SELF *pSelf = reinterpret_cast<SELF *>(pvService);
     
    384384                                         VBOXHGCMSVCPARM paParms[])
    385385    {
    386         AssertLogRelReturn(VALID_PTR(pvService), VERR_INVALID_PARAMETER);
     386        AssertLogRelReturn(RT_VALID_PTR(pvService), VERR_INVALID_PARAMETER);
    387387        LogFlowFunc(("pvService=%p, u32Function=%u, cParms=%u, paParms=%p\n", pvService, u32Function, cParms, paParms));
    388388        SELF *pSelf = reinterpret_cast<SELF *>(pvService);
     
    400400                                                  void *pvExtension)
    401401    {
    402         AssertLogRelReturn(VALID_PTR(pvService), VERR_INVALID_PARAMETER);
     402        AssertLogRelReturn(RT_VALID_PTR(pvService), VERR_INVALID_PARAMETER);
    403403        SELF *pSelf = reinterpret_cast<SELF *>(pvService);
    404404        pSelf->mpfnHostCallback = pfnExtension;
Note: See TracChangeset for help on using the changeset viewer.

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