Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/taviso/loadlibrary.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTavis Ormandy <taviso@gmail.com>2021-02-03 18:50:01 +0300
committerTavis Ormandy <taviso@gmail.com>2021-02-03 18:50:01 +0300
commit890a53efd1e6d3c5f65a6cb1343cafce17e5213a (patch)
tree9300a51e17e950d3bea973da56df44b4c3b0db46
parentcae8b63d6bd4024ed0280e8672e0296a49dce6e3 (diff)
put EventTracing code in the right place
-rw-r--r--peloader/winapi/Event.c8
-rw-r--r--peloader/winapi/EventTracing.c8
2 files changed, 8 insertions, 8 deletions
diff --git a/peloader/winapi/Event.c b/peloader/winapi/Event.c
index 319527c..c432527 100644
--- a/peloader/winapi/Event.c
+++ b/peloader/winapi/Event.c
@@ -47,14 +47,6 @@ static BOOL WINAPI ResetEvent(HANDLE hEvent)
return TRUE;
}
-static ULONG WINAPI EventActivityIdControl(ULONG ControlCode, LPGUID ActivityId)
-{
- DebugLog("%u, %p", ControlCode, ActivityId);
- return 1;
-};
-
-
DECLARE_CRT_EXPORT("CreateEventW", CreateEventW);
DECLARE_CRT_EXPORT("SetEvent", SetEvent);
DECLARE_CRT_EXPORT("ResetEvent", ResetEvent);
-DECLARE_CRT_EXPORT("EventActivityIdControl", EventActivityIdControl);
diff --git a/peloader/winapi/EventTracing.c b/peloader/winapi/EventTracing.c
index aa41406..852c67f 100644
--- a/peloader/winapi/EventTracing.c
+++ b/peloader/winapi/EventTracing.c
@@ -40,5 +40,13 @@ STATIC ULONG WINAPI UnregisterTraceGuids(HANDLE RegistrationHandle)
return STATUS_SUCCESS;
}
+static ULONG WINAPI EventActivityIdControl(ULONG ControlCode, LPGUID ActivityId)
+{
+ DebugLog("%u, %p", ControlCode, ActivityId);
+ return STATUS_SUCCESS;
+};
+
+
+DECLARE_CRT_EXPORT("EventActivityIdControl", EventActivityIdControl);
DECLARE_CRT_EXPORT("RegisterTraceGuidsW", RegisterTraceGuidsW);
DECLARE_CRT_EXPORT("UnregisterTraceGuids", UnregisterTraceGuids);