VirtualBox

Changeset 13529 in vbox for trunk/src/VBox/HostDrivers


Ignore:
Timestamp:
Oct 23, 2008 11:27:32 AM (16 years ago)
Author:
vboxsync
Message:

Wrap the RTPowerSignalEvent call.

Location:
trunk/src/VBox/HostDrivers/Support/win
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/HostDrivers/Support/win/SUPDrv-win.cpp

    r13496 r13529  
    8383static NTSTATUS            VBoxDrvNtErr2NtStatus(int rc);
    8484
     85/*******************************************************************************
     86*   External Functions                                                         *
     87*******************************************************************************/
     88DECLASM(int)   UNWIND_WRAP(RTPowerSignalEvent)(RTPOWEREVENT enmEvent);
    8589
    8690/*******************************************************************************
     
    542546
    543547        /* Inform any clients that have registered themselves with IPRT. */
    544         RTPowerSignalEvent(((unsigned)pArgument2 == 0) ? RTPOWEREVENT_SUSPEND : RTPOWEREVENT_RESUME);
     548        UNWIND_WRAP(RTPowerSignalEvent)(((unsigned)pArgument2 == 0) ? RTPOWEREVENT_SUSPEND : RTPOWEREVENT_RESUME);
    545549    }
    546550}
  • trunk/src/VBox/HostDrivers/Support/win/SUPDrvA-win.asm

    r13435 r13529  
    161161NtWrapDyn2DrvFunctionWithAllRegParams  supdrvNtWrap, AssertMsg1
    162162;NtWrapDyn2DrvFunctionWithAllRegParams  supdrvNtWrap, AssertMsg2             - can't wrap this buster.
     163NtWrapDyn2DrvFunctionWithAllRegParams   supdrvNtWrap, RTPowerSignalEvent
    163164
    164165
     
    291292
    292293
    293 
    294294 %endif ; RT_ARCH_AMD64
    295295%endif ; RT_WITH_W64_UNWIND_HACK
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