From 109afeaeda4e0d4ae3f5f6b616bfc4db13c86d15 Mon Sep 17 00:00:00 2001 From: Archie_UwU Date: Mon, 25 Dec 2023 13:46:17 +0100 Subject: [PATCH] Update SDK for example plugin --- ExamplePlugin/include/Aurie/shared.hpp | 23 +++++++++++++++++++---- 1 file changed, 19 insertions(+), 4 deletions(-) diff --git a/ExamplePlugin/include/Aurie/shared.hpp b/ExamplePlugin/include/Aurie/shared.hpp index 74de238..88fad5b 100644 --- a/ExamplePlugin/include/Aurie/shared.hpp +++ b/ExamplePlugin/include/Aurie/shared.hpp @@ -48,7 +48,7 @@ #endif // AURIE_FWK_MINOR #ifndef AURIE_FWK_PATCH -#define AURIE_FWK_PATCH 0 +#define AURIE_FWK_PATCH 2 #endif // AURIE_FWK_PATCH @@ -145,6 +145,21 @@ namespace Aurie ) = 0; }; + struct AurieOperationInfo + { + union + { + uint8_t Flags; + struct + { + bool IsFutureCall : 1; + bool Reserved : 7; + }; + }; + + PVOID ModuleBaseAddress; + }; + // Always points to the initial Aurie image // Initialized in either ArProcessAttach or __aurie_fwk_init inline AurieModule* g_ArInitialImage = nullptr; @@ -163,9 +178,9 @@ namespace Aurie ); using AurieModuleCallback = void(*)( - IN const AurieModule* const AffectedModule, - IN const AurieModuleOperationType OperationType, - IN const bool IsFutureCall + IN AurieModule* AffectedModule, + IN AurieModuleOperationType OperationType, + OPTIONAL IN OUT AurieOperationInfo* OperationInfo ); }