2024-01-31 08:32:13 +01:00
|
|
|
#ifndef SESSION_H
|
|
|
|
#define SESSION_H
|
|
|
|
|
|
|
|
#include "common.h"
|
|
|
|
|
|
|
|
#include "driver.h"
|
|
|
|
|
2024-05-11 14:54:58 +02:00
|
|
|
NTSTATUS
|
2024-01-31 08:32:13 +01:00
|
|
|
SessionInitialiseStructure();
|
|
|
|
|
|
|
|
VOID
|
|
|
|
SessionInitialiseCallbackConfiguration();
|
|
|
|
|
|
|
|
VOID
|
|
|
|
SessionIsActive(_Out_ PBOOLEAN Flag);
|
|
|
|
|
|
|
|
VOID
|
|
|
|
SessionGetProcess(_Out_ PEPROCESS* Process);
|
|
|
|
|
|
|
|
VOID
|
|
|
|
SessionGetProcessId(_Out_ PLONG ProcessId);
|
|
|
|
|
|
|
|
VOID
|
2024-04-13 06:40:51 +02:00
|
|
|
SessionGetCallbackConfiguration(
|
|
|
|
_Out_ POB_CALLBACKS_CONFIG* CallbackConfiguration);
|
2024-01-31 08:32:13 +01:00
|
|
|
|
|
|
|
VOID
|
|
|
|
SessionTerminate();
|
|
|
|
|
|
|
|
NTSTATUS
|
|
|
|
SessionInitialise(_In_ PIRP Irp);
|
|
|
|
|
|
|
|
VOID
|
|
|
|
SessionTerminateProcess();
|
|
|
|
|
2024-02-14 17:56:03 +01:00
|
|
|
VOID
|
|
|
|
SessionIncrementIrpsProcessedCount();
|
|
|
|
|
|
|
|
VOID
|
|
|
|
SessionIncrementReportCount();
|
|
|
|
|
|
|
|
VOID
|
|
|
|
SessionIncrementHeartbeatCount();
|
|
|
|
|
2024-01-31 08:32:13 +01:00
|
|
|
#endif
|