VirtualBox

Changeset 106888 in vbox for trunk/src/VBox/Additions


Ignore:
Timestamp:
Nov 8, 2024 1:39:52 PM (2 months ago)
Author:
vboxsync
Message:

Additions/VBoxGuest-win: Don't mix NTSTATUS and IPRT/VBox status codes. bugref:10734

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Additions/common/VBoxGuest/VBoxGuest-win.cpp

    r106696 r106888  
    10101010                                       void **ppvMMIOBase, uint32_t *pcbMMIO)
    10111011{
    1012     AssertPtrReturn(pDevExt, VERR_INVALID_POINTER);
    1013     AssertPtrReturn(ppvMMIOBase, VERR_INVALID_POINTER);
     1012    AssertPtrReturn(pDevExt, STATUS_INVALID_PARAMETER);
     1013    AssertPtrReturn(ppvMMIOBase, STATUS_INVALID_PARAMETER);
    10141014    /* pcbMMIO is optional. */
    10151015
     
    10621062                                        void **ppvMmioReq)
    10631063{
    1064     AssertPtrReturn(pDevExt, VERR_INVALID_POINTER);
    1065     AssertPtrReturn(ppvMmioReq, VERR_INVALID_POINTER);
     1064    AssertPtrReturn(pDevExt, STATUS_INVALID_PARAMETER);
     1065    AssertPtrReturn(ppvMmioReq, STATUS_INVALID_PARAMETER);
    10661066
    10671067    NTSTATUS rc = STATUS_SUCCESS;
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