VirtualBox

Changeset 5542 in vbox


Ignore:
Timestamp:
Oct 27, 2007 12:35:36 PM (17 years ago)
Author:
vboxsync
Message:

Must use kernel mode as the timeout parameter is located on the stack

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Additions/WINNT/VBoxGuest/VBoxGuest.cpp

    r5541 r5542  
    351351    while ((pHeader->fu32Flags & VBOX_HGCM_REQ_DONE) == 0)
    352352    {
    353         /* Specifying UserMode so killing the user process will abort the wait. */
    354353        NTSTATUS rc = KeWaitForSingleObject (&pDevExt->keventNotification, Executive,
    355                                              UserMode, TRUE, &timeout
     354                                             KernelMode, TRUE, &timeout
    356355                                            );
    357356        dprintf(("VBoxHGCMCallback: Wait returned %d fu32Flags=%x\n", rc, pHeader->fu32Flags));
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