Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
HIllya51 committed Nov 14, 2024
1 parent ef2cb8b commit 2072333
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 12 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/buildluna.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ name: buildluna
on:
workflow_call:
jobs:
build_xp:
hook_xp:
runs-on: windows-2019
permissions:
id-token: write
Expand All @@ -19,7 +19,7 @@ jobs:

- uses: actions/upload-artifact@v4
with:
name: hook_winxp
name: hook_xp
path: cpp/LunaHook/builds/Release_English_winxp

hook:
Expand Down
22 changes: 12 additions & 10 deletions cpp/LunaHook/LunaHook/util/ntxpundef.h
Original file line number Diff line number Diff line change
@@ -1,19 +1,21 @@
#ifndef NTXPUNDEF_H
#define NTXPUNDEF_H
#if (_WIN32_WINNT <= _WIN32_WINNT_WIN7)
typedef
__drv_sameIRQL
typedef __drv_sameIRQL
__drv_functionClass(EXCEPTION_ROUTINE)
EXCEPTION_DISPOSITION
NTAPI
EXCEPTION_ROUTINE(
__inout struct _EXCEPTION_RECORD* ExceptionRecord,
__inout struct _EXCEPTION_RECORD *ExceptionRecord,
__in PVOID EstablisherFrame,
__inout struct _CONTEXT* ContextRecord,
__in PVOID DispatcherContext
);
typedef EXCEPTION_ROUTINE* PEXCEPTION_ROUTINE;
typedef struct _EXCEPTION_REGISTRATION_RECORD {
struct _EXCEPTION_REGISTRATION_RECORD* Next;
__inout struct _CONTEXT *ContextRecord,
__in PVOID DispatcherContext);
typedef EXCEPTION_ROUTINE *PEXCEPTION_ROUTINE;
typedef struct _EXCEPTION_REGISTRATION_RECORD
{
struct _EXCEPTION_REGISTRATION_RECORD *Next;
PEXCEPTION_ROUTINE Handler;
} EXCEPTION_REGISTRATION_RECORD;

#endif // !EXCEPTION_REGISTRATION_RECORD
#endif // !EXCEPTION_REGISTRATION_RECORD
#endif // NTXPUNDEF_H

0 comments on commit 2072333

Please sign in to comment.