VirtualBox

Changeset 93260 in vbox for trunk/src/VBox/Runtime/nt


Ignore:
Timestamp:
Jan 17, 2022 9:54:11 AM (3 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
149322
Message:

IPRT/NtProcessStartup-stub.cpp: DriverEntry is stdcall. Docs. bugref:10162

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Runtime/nt/NtProcessStartup-stub.cpp

    r93251 r93260  
    3232
    3333
     34/**
     35 * This is the entrypoint the linker picks, however it is never called for
     36 * ring-0 binaries.
     37 */
    3438extern "C" void __cdecl NtProcessStartup(void *pvIgnored);
    3539extern "C" void __cdecl NtProcessStartup(void *pvIgnored)
     
    4145
    4246#ifdef IN_RING0
    43 extern "C" long DriverEntry(void *pvDrvObjIgn, void *pvRegPathIgn)
     47/**
     48 * This dummy entry point is required for using BufferOverflowK.lib and
     49 * /guard:cf and /GS.  It is never called.
     50 */
     51extern "C" long __stdcall DriverEntry(void *pvDrvObjIgn, void *pvRegPathIgn);
     52extern "C" long __stdcall DriverEntry(void *pvDrvObjIgn, void *pvRegPathIgn)
    4453{
    4554    ASMBreakpoint();
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