VirtualBox

Ignore:
Timestamp:
Apr 14, 2017 3:01:33 PM (8 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
114604
Message:

SUPLib-win.cpp: Use NtClose in term since we cannot import from kernel32 in hardened code.

File:
1 edited

Legend:

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

    r66573 r66577  
    646646    if (pThis->hDevice != NULL)
    647647    {
    648         if (!CloseHandle((HANDLE)pThis->hDevice))
     648        if (!NtClose((HANDLE)pThis->hDevice))
    649649            AssertFailed();
    650650        pThis->hDevice = NIL_RTFILE; /* yes, that's right */
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