if (LDR_IS_DATAFILE(hLibModule))
{
// FIXME: This SEH should go inside RtlImageNtHeader instead
+ // See https://jira.reactos.org/browse/CORE-14857
_SEH2_TRY
{
/* This is a LOAD_LIBRARY_AS_DATAFILE module, check if it's a valid one */
}
else
{
- ok_int(handlers, g_DLL_DETACH);
+ ok_int(handlers, g_DLL_DETACH); // For failures, see https://jira.reactos.org/browse/CORE-14857
}
if (InterlockedCompareExchange(&g_DllMainExcept, 0xffffff, dwReason) == dwReason)
/*
* @implemented
+ * @note This needs SEH (See https://jira.reactos.org/browse/CORE-14857)
*/
NTSTATUS
NTAPI