mirror of
https://github.com/reactos/reactos.git
synced 2025-07-30 22:31:38 +00:00
Add RtlDllShutdownInProgress().
svn path=/trunk/; revision=26584
This commit is contained in:
parent
8486880a27
commit
9b13eaa0c0
2 changed files with 14 additions and 0 deletions
|
@ -411,6 +411,7 @@ RtlDestroyHeap@4
|
|||
RtlDestroyProcessParameters@4
|
||||
RtlDestroyQueryDebugBuffer@4
|
||||
RtlDetermineDosPathNameType_U@4
|
||||
RtlDllShutdownInProgress@0
|
||||
RtlDoesFileExists_U@4
|
||||
RtlDosPathNameToNtPathName_U@16
|
||||
RtlDosPathNameToRelativeNtPathName_U@16
|
||||
|
|
|
@ -45,6 +45,7 @@ typedef struct _TLS_DATA
|
|||
PLDR_DATA_TABLE_ENTRY Module;
|
||||
} TLS_DATA, *PTLS_DATA;
|
||||
|
||||
static BOOLEAN LdrpDllShutdownInProgress = FALSE;
|
||||
static PTLS_DATA LdrpTlsArray = NULL;
|
||||
static ULONG LdrpTlsCount = 0;
|
||||
static ULONG LdrpTlsSize = 0;
|
||||
|
@ -2485,6 +2486,9 @@ LdrpDetachProcess(BOOLEAN UnloadAll)
|
|||
DPRINT("LdrpDetachProcess() called for %wZ\n",
|
||||
&ExeModule->BaseDllName);
|
||||
|
||||
if (UnloadAll)
|
||||
LdrpDllShutdownInProgress = TRUE;
|
||||
|
||||
CallingCount++;
|
||||
|
||||
ModuleListHead = &NtCurrentPeb()->Ldr->InInitializationOrderModuleList;
|
||||
|
@ -2614,6 +2618,15 @@ LdrpAttachProcess(VOID)
|
|||
return Status;
|
||||
}
|
||||
|
||||
/*
|
||||
* @implemented
|
||||
*/
|
||||
BOOLEAN NTAPI
|
||||
RtlDllShutdownInProgress (VOID)
|
||||
{
|
||||
return LdrpDllShutdownInProgress;
|
||||
}
|
||||
|
||||
/*
|
||||
* @implemented
|
||||
*/
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue