mirror of
https://github.com/LegacyUpdate/LegacyUpdate.git
synced 2025-01-22 14:12:07 -05:00
9 lines
137 B
C
9 lines
137 B
C
#include <windows.h>
|
|
#include <nsis/pluginapi.h>
|
|
#include "User.h"
|
|
|
|
PLUGIN_METHOD(IsAdmin) {
|
|
PLUGIN_INIT();
|
|
|
|
pushint(IsUserAdmin());
|
|
}
|