VirtualBox

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

HostServices: More VALID_PTR -> RT_VALID_PTR/AssertPtr.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/HostServices/GuestControl/VBoxGuestControlSvc.cpp

    r90267 r90805  
    946946GstCtrlService::svcUnload(void *pvService)
    947947{
    948     AssertLogRelReturn(VALID_PTR(pvService), VERR_INVALID_PARAMETER);
     948    AssertLogRelReturn(RT_VALID_PTR(pvService), VERR_INVALID_PARAMETER);
    949949    SELF *pThis = reinterpret_cast<SELF *>(pvService);
    950950    AssertPtrReturn(pThis, VERR_INVALID_POINTER);
     
    967967
    968968    RT_NOREF(fRestoring, pvClient);
    969     AssertLogRelReturn(VALID_PTR(pvService), VERR_INVALID_PARAMETER);
     969    AssertLogRelReturn(RT_VALID_PTR(pvService), VERR_INVALID_PARAMETER);
    970970    SELF *pThis = reinterpret_cast<SELF *>(pvService);
    971971    AssertPtrReturn(pThis, VERR_INVALID_POINTER);
     
    23832383GstCtrlService::svcHostCall(void *pvService, uint32_t u32Function, uint32_t cParms, VBOXHGCMSVCPARM paParms[])
    23842384{
    2385     AssertLogRelReturn(VALID_PTR(pvService), VERR_INVALID_PARAMETER);
     2385    AssertLogRelReturn(RT_VALID_PTR(pvService), VERR_INVALID_PARAMETER);
    23862386    SELF *pThis = reinterpret_cast<SELF *>(pvService);
    23872387    AssertPtrReturn(pThis, VERR_INVALID_POINTER);
     
    24962496    LogFlowFunc(("pTable=%p\n", pTable));
    24972497
    2498     if (!VALID_PTR(pTable))
    2499     {
     2498    if (!RT_VALID_PTR(pTable))
    25002499        rc = VERR_INVALID_PARAMETER;
    2501     }
    25022500    else
    25032501    {
Note: See TracChangeset for help on using the changeset viewer.

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