Skip to content

Commit

Permalink
Update SDK for example plugin
Browse files Browse the repository at this point in the history
  • Loading branch information
Archie-osu committed Dec 25, 2023
1 parent 5cf1f91 commit 109afea
Showing 1 changed file with 19 additions and 4 deletions.
23 changes: 19 additions & 4 deletions ExamplePlugin/include/Aurie/shared.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -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


Expand Down Expand Up @@ -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;
Expand All @@ -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
);
}

Expand Down

0 comments on commit 109afea

Please sign in to comment.