+#define RTL_UNLOAD_EVENT_TRACE_NUMBER 64
+RTL_UNLOAD_EVENT_TRACE RtlpUnloadEventTrace[RTL_UNLOAD_EVENT_TRACE_NUMBER];
Why did you add these? If you don't need them for the stub implementation, I recommend submitting a revised patch without them.
-Alex