Skip to content

Commit

Permalink
fix process elevated function name
Browse files Browse the repository at this point in the history
  • Loading branch information
Adam- committed Mar 11, 2024
1 parent 3917830 commit b245698
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion liblauncher/elevation.cpp
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#include <Windows.h>
#include <jni.h>

extern "C" JNIEXPORT jboolean JNICALL Java_net_runelite_launcher_FilePermissionManager_isProcessElevated(JNIEnv *env, jclass clazz, jlong pid) {
extern "C" JNIEXPORT jboolean JNICALL Java_net_runelite_launcher_JagexLauncherCompatibility_isProcessElevated(JNIEnv *env, jclass clazz, jlong pid) {
HANDLE process = OpenProcess(PROCESS_QUERY_INFORMATION, FALSE, pid);
if (process == nullptr) {
return false;
Expand Down

0 comments on commit b245698

Please sign in to comment.