mirror of
https://github.com/reactos/reactos.git
synced 2025-08-05 21:53:06 +00:00
[NDK][RTL] Implement RtlGetUnloadEventTrace. CORE-16671
This commit is contained in:
parent
6c93669012
commit
6f232770d3
3 changed files with 13 additions and 1 deletions
|
@ -679,7 +679,7 @@
|
||||||
@ stdcall RtlGetSecurityDescriptorRMControl(ptr ptr)
|
@ stdcall RtlGetSecurityDescriptorRMControl(ptr ptr)
|
||||||
@ stdcall RtlGetSetBootStatusData(ptr long long ptr long long)
|
@ stdcall RtlGetSetBootStatusData(ptr long long ptr long long)
|
||||||
@ stdcall RtlGetThreadErrorMode()
|
@ stdcall RtlGetThreadErrorMode()
|
||||||
@ stdcall -stub RtlGetUnloadEventTrace()
|
@ stdcall RtlGetUnloadEventTrace()
|
||||||
@ stdcall RtlGetUserInfoHeap(ptr long ptr ptr ptr)
|
@ stdcall RtlGetUserInfoHeap(ptr long ptr ptr ptr)
|
||||||
@ stdcall RtlGetVersion(ptr)
|
@ stdcall RtlGetVersion(ptr)
|
||||||
@ stdcall RtlHashUnicodeString(ptr long long ptr)
|
@ stdcall RtlHashUnicodeString(ptr long long ptr)
|
||||||
|
|
|
@ -1224,6 +1224,8 @@ typedef struct _RTL_FLS_DATA
|
||||||
//
|
//
|
||||||
// Unload Event Trace Structure for RtlGetUnloadEventTrace
|
// Unload Event Trace Structure for RtlGetUnloadEventTrace
|
||||||
//
|
//
|
||||||
|
#define RTL_UNLOAD_EVENT_TRACE_NUMBER 64
|
||||||
|
|
||||||
typedef struct _RTL_UNLOAD_EVENT_TRACE
|
typedef struct _RTL_UNLOAD_EVENT_TRACE
|
||||||
{
|
{
|
||||||
PVOID BaseAddress;
|
PVOID BaseAddress;
|
||||||
|
|
|
@ -10,8 +10,18 @@
|
||||||
#define NDEBUG
|
#define NDEBUG
|
||||||
#include <debug.h>
|
#include <debug.h>
|
||||||
|
|
||||||
|
static RTL_UNLOAD_EVENT_TRACE RtlpUnloadEventTrace[RTL_UNLOAD_EVENT_TRACE_NUMBER];
|
||||||
|
|
||||||
/* FUNCTIONS ******************************************************************/
|
/* FUNCTIONS ******************************************************************/
|
||||||
|
|
||||||
|
PRTL_UNLOAD_EVENT_TRACE
|
||||||
|
NTAPI
|
||||||
|
RtlGetUnloadEventTrace(VOID)
|
||||||
|
{
|
||||||
|
/* Just return a pointer to an array, according to MSDN */
|
||||||
|
return RtlpUnloadEventTrace;
|
||||||
|
}
|
||||||
|
|
||||||
BOOLEAN
|
BOOLEAN
|
||||||
NTAPI
|
NTAPI
|
||||||
RtlTraceDatabaseAdd(IN PRTL_TRACE_DATABASE Database,
|
RtlTraceDatabaseAdd(IN PRTL_TRACE_DATABASE Database,
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue