mirror of
https://gitlab.com/niansa/PolicyToolLib.git
synced 2025-03-06 20:48:27 +01:00
Improved an error message
This commit is contained in:
parent
e73e1e0f21
commit
d5e1890801
1 changed files with 1 additions and 1 deletions
|
@ -84,7 +84,7 @@ class AdminImpersonate : public ModuleBase {
|
|||
static
|
||||
NTSTATUS NTAPI DetourNtAccessCheckAndAuditAlarm(PUNICODE_STRING A, HANDLE B, PUNICODE_STRING C, PUNICODE_STRING D, PSECURITY_DESCRIPTOR E, ACCESS_MASK F,
|
||||
PGENERIC_MAPPING G, BOOLEAN H, PACCESS_MASK I , PBOOLEAN J, PBOOLEAN K) {
|
||||
auto res = MessageBoxA(nullptr, "Unsupported method called.", "Policy Tool Warning", MB_CANCELTRYCONTINUE);
|
||||
auto res = MessageBoxA(nullptr, "Unsupported NT function called: NtAccessCheckAndAuditAlarm" , "Policy Tool Warning", MB_CANCELTRYCONTINUE);
|
||||
switch (res) {
|
||||
case IDCANCEL: return STATUS_NOT_IMPLEMENTED;
|
||||
case IDTRYAGAIN: return STATUS_SUCCESS;
|
||||
|
|
Loading…
Add table
Reference in a new issue