From 91dc26d5a95a47f1602a12e98119b027419a8d20 Mon Sep 17 00:00:00 2001 From: vxunderground <57078196+vxunderground@users.noreply.github.com> Date: Thu, 14 Jul 2022 22:48:51 -0500 Subject: [PATCH] Create RfGetCurrentThread.cpp --- Windows API/RfGetCurrentThread.cpp | 4 ++++ 1 file changed, 4 insertions(+) create mode 100644 Windows API/RfGetCurrentThread.cpp diff --git a/Windows API/RfGetCurrentThread.cpp b/Windows API/RfGetCurrentThread.cpp new file mode 100644 index 0000000..5af20d2 --- /dev/null +++ b/Windows API/RfGetCurrentThread.cpp @@ -0,0 +1,4 @@ +HANDLE RfGetCurrentThread(VOID) +{ + return ((HANDLE)(LONG_PTR)-2); +}