3 #define WIN32_NO_STATUS
10 #include <ndk/rtltypes.h>
11 #include <ndk/umfuncs.h>
17 RtlpInitializeKeyedEvent(VOID
);
20 RtlpCloseKeyedEvent(VOID
);
28 if (dwReason
== DLL_PROCESS_ATTACH
)
30 LdrDisableThreadCalloutsForDll(hDll
);
31 RtlpInitializeKeyedEvent();
33 else if (dwReason
== DLL_PROCESS_DETACH
)
35 RtlpCloseKeyedEvent();