RtlGetUnloadEventTrace function

[This function may be changed or removed from Windows without further notice.]

Enables the dump code to get the unloaded module information from Ntdll.dll for storage in the minidump.

Syntax

 PRTL_UNLOAD_EVENT_TRACE RtlGetUnloadEventTrace(void);

Parameters

This function has no parameters.

Return value

This function returns a pointer to an array. For more information, see Remarks.

Remarks

The RtlpUnloadEventTrace array is defined as follows:

#define RTL_UNLOAD_EVENT_TRACE_NUMBER 64

typedef struct _RTL_UNLOAD_EVENT_TRACE {
    PVOID BaseAddress;   // Base address of dll
    SIZE_T SizeOfImage;  // Size of image
    ULONG Sequence;      // Sequence number for this event
    ULONG TimeDateStamp; // Time and date of image
    ULONG CheckSum;      // Image checksum
    WCHAR ImageName[32]; // Image name
} RTL_UNLOAD_EVENT_TRACE, *PRTL_UNLOAD_EVENT_TRACE;

RTL_UNLOAD_EVENT_TRACE RtlpUnloadEventTrace[RTL_UNLOAD_EVENT_TRACE_NUMBER];

This function has no associated header file. The associated import library, Ntdll.lib, is available in the Windows Driver Kit (WDK). You can also call this function using the LoadLibrary and GetProcAddress functions.

Requirements

Requirement Value
DLL
Ntdll.dll