mirror of
https://github.com/reactos/reactos.git
synced 2025-05-25 12:14:32 +00:00
[NDK] ldrfuncs.h: Add RtlDllShutdownInProgress; make the header C++-compatible (#6071)
The function is added here, because it is loader-related and thus making sense there, instead of in rtlfuncs.h.
This commit is contained in:
parent
2dd0c6c32b
commit
48456d9108
1 changed files with 17 additions and 1 deletions
|
@ -28,6 +28,10 @@ Author:
|
||||||
#include <ntimage.h>
|
#include <ntimage.h>
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#ifdef __cplusplus
|
||||||
|
extern "C" {
|
||||||
|
#endif
|
||||||
|
|
||||||
//
|
//
|
||||||
// Resource Functions
|
// Resource Functions
|
||||||
//
|
//
|
||||||
|
@ -59,7 +63,6 @@ LdrEnumResources(
|
||||||
_Out_writes_to_(*ResourceCount,*ResourceCount) LDR_ENUM_RESOURCE_INFO *Resources
|
_Out_writes_to_(*ResourceCount,*ResourceCount) LDR_ENUM_RESOURCE_INFO *Resources
|
||||||
);
|
);
|
||||||
|
|
||||||
|
|
||||||
NTSTATUS
|
NTSTATUS
|
||||||
NTAPI
|
NTAPI
|
||||||
LdrFindResourceDirectory_U(
|
LdrFindResourceDirectory_U(
|
||||||
|
@ -144,4 +147,17 @@ LdrEnumerateLoadedModules(
|
||||||
_In_opt_ PVOID Context
|
_In_opt_ PVOID Context
|
||||||
);
|
);
|
||||||
|
|
||||||
|
#ifdef NTOS_MODE_USER
|
||||||
|
NTSYSAPI
|
||||||
|
BOOLEAN
|
||||||
|
NTAPI
|
||||||
|
RtlDllShutdownInProgress(
|
||||||
|
VOID
|
||||||
|
);
|
||||||
|
#endif
|
||||||
|
|
||||||
|
#ifdef __cplusplus
|
||||||
|
}
|
||||||
|
#endif
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
|
Loading…
Reference in a new issue