VirtualBox

Ignore:
Timestamp:
Aug 23, 2021 7:08:53 PM (4 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
146439
Message:

HostDrivers: More VALID_PTR -> RT_VALID_PTR/AssertPtr.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/HostDrivers/VBoxUSB/win/mon/VBoxUsbMon.cpp

    r88531 r90804  
    296296        PDEVICE_RELATIONS pRel = (PDEVICE_RELATIONS)IoStatus.Information;
    297297        LOG(("pRel = %p", pRel));
    298         if (VALID_PTR(pRel))
    299         {
     298        if (RT_VALID_PTR(pRel))
    300299            *pDevRelations = pRel;
    301         }
    302300        else
    303301        {
     
    370368            {
    371369                WCHAR *pId = (WCHAR *)pIoStatus->Information;
    372                 if (VALID_PTR(pId))
     370                if (RT_VALID_PTR(pId))
    373371                {
    374372                    KIRQL Iqrl = KeGetCurrentIrql();
     
    421419                WCHAR *pTmp;
    422420#endif
    423                 if (VALID_PTR(pId))
     421                if (RT_VALID_PTR(pId))
    424422                {
    425423                    KIRQL Iqrl = KeGetCurrentIrql();
     
    582580                        PDEVICE_RELATIONS pRel = (PDEVICE_RELATIONS)pIoStatus->Information;
    583581                        LOG(("pRel = %p", pRel));
    584                         if (VALID_PTR(pRel))
     582                        if (RT_VALID_PTR(pRel))
    585583                        {
    586584                            for (unsigned i=0;i<pRel->Count;i++)
     
    615613            {
    616614                PDEVICE_CAPABILITIES pCaps = pSl->Parameters.DeviceCapabilities.Capabilities;
    617                 if (VALID_PTR(pCaps))
     615                if (RT_VALID_PTR(pCaps))
    618616                {
    619617                    LOG(("Caps.SilentInstall  = %d", pCaps->SilentInstall));
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