VirtualBox

Ignore:
Timestamp:
Sep 17, 2020 5:09:30 PM (4 years ago)
Author:
vboxsync
Message:

DBGF,DBGPlugInWinNt: Extract NtBuildNumber and make it available through the query versions callback

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/VMM/VMMR3/DBGFOS.cpp

    r86112 r86159  
    538538 * @interface_method_impl{DBGFOSIWINNT,pfnQueryVersion, Generic EMT wrapper.}
    539539 */
    540 static DECLCALLBACK(int) dbgfR3OSEmtIWinNt_QueryVersion(PDBGFOSIWINNT pThis, PUVM pUVM, uint32_t *puVersMajor, uint32_t *puVersMinor)
     540static DECLCALLBACK(int) dbgfR3OSEmtIWinNt_QueryVersion(PDBGFOSIWINNT pThis, PUVM pUVM, uint32_t *puVersMajor, uint32_t *puVersMinor,
     541                                                        uint32_t *puBuildNumber, bool *pf32Bit)
    541542{
    542543    PDBGFOSEMTWRAPPER pWrapper = RT_FROM_MEMBER(pThis, DBGFOSEMTWRAPPER, uWrapper.WinNt);
     
    545546
    546547    return VMR3ReqPriorityCallWaitU(pWrapper->pUVM, 0 /*idDstCpu*/,
    547                                    (PFNRT)pWrapper->uDigger.pWinNt->pfnQueryVersion, 4,
    548                                     pWrapper->uDigger.pWinNt, pUVM, puVersMajor, puVersMinor);
     548                                   (PFNRT)pWrapper->uDigger.pWinNt->pfnQueryVersion, 6,
     549                                    pWrapper->uDigger.pWinNt, pUVM, puVersMajor, puVersMinor,
     550                                    puBuildNumber, pf32Bit);
    549551}
    550552
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