2024-01-13 22:33:57 +01:00
|
|
|
#ifndef APC_H
|
|
|
|
#define APC_H
|
|
|
|
|
|
|
|
#include "common.h"
|
|
|
|
|
|
|
|
#include "apc.h"
|
|
|
|
|
|
|
|
#include "driver.h"
|
|
|
|
#include "imports.h"
|
|
|
|
|
|
|
|
VOID
|
2024-08-04 08:30:31 +02:00
|
|
|
GetApcContextByIndex(_Out_ PVOID* Context, _In_ UINT32 Index);
|
2024-01-13 22:33:57 +01:00
|
|
|
|
|
|
|
VOID
|
2024-08-04 08:30:31 +02:00
|
|
|
GetApcContext(_Out_ PVOID* Context, _In_ UINT32 ContextIdentifier);
|
2024-01-13 22:33:57 +01:00
|
|
|
|
|
|
|
BOOLEAN
|
2024-05-11 14:54:58 +02:00
|
|
|
FreeApcContextStructure(_Inout_ PAPC_CONTEXT_HEADER Context);
|
2024-01-13 22:33:57 +01:00
|
|
|
|
|
|
|
VOID
|
2024-08-04 08:30:31 +02:00
|
|
|
IncrementApcCount(_In_ UINT32 ContextId);
|
2024-01-13 22:33:57 +01:00
|
|
|
|
|
|
|
VOID
|
2024-08-04 08:30:31 +02:00
|
|
|
FreeApcAndDecrementApcCount(_Inout_ PRKAPC Apc, _In_ UINT32 ContextId);
|
2024-01-13 22:33:57 +01:00
|
|
|
|
|
|
|
NTSTATUS
|
|
|
|
QueryActiveApcContextsForCompletion();
|
|
|
|
|
|
|
|
VOID
|
|
|
|
InsertApcContext(_In_ PVOID Context);
|
|
|
|
|
|
|
|
BOOLEAN
|
|
|
|
DrvUnloadFreeAllApcContextStructures();
|
|
|
|
|
|
|
|
#endif
|