VirtualBox

Changeset 54997 in vbox for trunk/include/iprt


Ignore:
Timestamp:
Mar 28, 2015 12:19:24 AM (10 years ago)
Author:
vboxsync
Message:

supHardNt: Never call WinVerifyTrust and friends when owning the loader lock, they do an awful lot of loader work (GetProcAddress and sometimes LoadLibrary).

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/include/iprt/nt/nt.h

    r53819 r54997  
    21652165                                            PFNRT, PVOID, PHANDLE, PCLIENT_ID);
    21662166
     2167#ifndef RTL_CRITICAL_SECTION_FLAG_NO_DEBUG_INFO
     2168typedef struct _RTL_CRITICAL_SECTION
     2169{
     2170    struct _RTL_CRITICAL_SECTION_DEBUG *DebugInfo;
     2171    LONG            LockCount;
     2172    LONG            Recursioncount;
     2173    HANDLE          OwningThread;
     2174    HANDLE          LockSemaphore;
     2175    ULONG_PTR       SpinCount;
     2176} RTL_CRITICAL_SECTION;
     2177typedef RTL_CRITICAL_SECTION *PRTL_CRITICAL_SECTION;
     2178#endif
     2179
    21672180RT_C_DECLS_END
    21682181/** @} */
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